/* ===========================
   FONT
=========================== */
@font-face {
    font-family: 'General Sans';
    src: url('Font/GeneralSans-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'General Sans';
    src: url('Font/GeneralSans-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: italic;
}

/* ===========================
   CSS VARIABLES & THEMES
=========================== */
:root {
    --hover-color: #8a8a8a;
    --click-color: #A3C9F1;
    --bg-main: #ffffff;
    --text-main: #333;
    --navbar-bg: #ffffff;
    --navbar-text: #333;
}

body.dark {
    --bg-main: #000000;
    --text-main: #ffffff;
    --navbar-bg: #000000;
    --navbar-text: #ffffff;
}

/* ===========================
   BASE
=========================== */
body {
    overflow-x: hidden;
    font-family: 'General Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--bg-main);
    color: var(--text-main);
}

/* ===========================
   HEADER
=========================== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background-color: var(--navbar-bg);
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 9999;
}

.logo-img {
    height: 65px;
    width: auto;
}

/* ===========================
   MAIN NAV
=========================== */
.main-nav {
    display: flex;
    align-items: center;
}

.main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    font-size: 20px;
}

.main-menu li { margin-right: 30px; }

.nav-item {
    text-decoration: none;
    color: var(--navbar-text);
    padding: 5px 0;
    display: block;
    transition: color 0.2s;
}

.main-item:hover { color: var(--hover-color); }
.main-item.active,
.main-item.clicked { color: var(--click-color); }
body.dark .main-item.active,
body.dark .main-item.clicked { color: var(--click-color); }

/* ===========================
   NAV ACTIONS
=========================== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

/* ===========================
   THEME TOGGLE
=========================== */
.theme-toggle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    outline: 1px solid var(--navbar-text);
    background-color: #000;
    transition: background-color 0.3s ease;
}

body.dark .theme-toggle { background-color: #fff; }

/* ===========================
   HAMBURGER
=========================== */
.hamburger-menu {
    cursor: pointer;
    width: 24px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2px;
    transition: transform 0.3s;
}

.bar {
    width: 100%;
    height: 1.5px;
    background-color: var(--navbar-text);
    border: none;
    box-shadow: none;
    transition: all 0.3s;
}

.hamburger-menu.active .bar:nth-child(1) { transform: rotate(-45deg) translate(-5px, 8px); }
.hamburger-menu.active .bar:nth-child(2) { opacity: 0; }
.hamburger-menu.active .bar:nth-child(3) { transform: rotate(45deg) translate(-5px, -8px); }

/* ===========================
   DROPDOWN
=========================== */
.dropdown-menu {
    list-style: none;
    padding: 10px 20px;
    margin: 0;
    position: absolute;
    top: 70px;
    right: 0;
    background: transparent;
    box-shadow: none;
    z-index: 1000;
    min-width: 150px;
    text-align: right;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.dropdown-menu.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu li { padding: 8px 85px; }
.dropdown-menu a { color: var(--navbar-text); }
.sub-item { font-size: 16px; padding: 0; }
.sub-item:hover { color: var(--hover-color); }
.sub-item.active,
.sub-item.clicked { color: var(--click-color); }

/* ===========================
   ABOUT PAGE
=========================== */
.about-page {
    padding: 80px 60px 0;
}

.about-text-1 {
    margin-top: 0;
    font-size: 32px;
    font-weight: 500;
    text-align: left;
    line-height: 1.4;
    margin-bottom: 80px;
}

.about-text-1 img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    width: auto;
    height: auto;
}

.highlight-font {
    font-family: 'Lora', serif;
    font-style: italic;
    font-weight: 400;
}

.about-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
}

.about-item img {
    width: 500px;
    max-width: 100%;
    flex-shrink: 1;
    border-radius: 12px;
}

.about-item hr {
    flex-basis: 100%;
    width: 100%;
    border: none;
    border-top: 1px solid #ddd;
    margin: 60px 0;
}

.about-text {
    max-width: 100%;
    line-height: 1.8;
    font-size: 18px;
}

/* ===========================
   FOOTER
=========================== */
.main-footer {
    width: 100%;
    height: 250px;
    background-color: #A3C9F1;
    margin-top: 100px;
    position: relative;
}
 
.logo-footer { display: flex; justify-content: left; align-items: center; padding: 40px 60px; }
.footer { display: flex; justify-content: space-between; padding: 60px 60px 0; }
 
.back-to-top {
    position: absolute;
    top: 40px;
    right: 60px;
    background: none;
    font-size: 18px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.2s ease;
}
 
.back-to-top:hover { transform: scale(1.05); }
 
.footer a {
    color: #000;
    text-decoration: none;
}
 
.footer a:hover {
    text-decoration: underline;
}
 
.footer-highlight {
    font-size: 24px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
}