/* ===================================================
   TOP BAR
=================================================== */

.topbar {
    background: #3A4637;
    color: #fff;
    padding: 7px 0;
    font-size: 14px;
}

.top-right a {
    color: #fff;
    margin-left: 12px;
}

/* ===================================================
   LANGUAGE SWITCHER
=================================================== */

.language-switcher {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: transparent;
    border: 1px solid #ffffff55;
    padding: 4px 12px;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

.lang-menu {
    position: absolute;
    top: 38px;
    right: 0;
    background: #ffffff;
    border-radius: 10px;
    padding: 6px 0;
    list-style: none;
    min-width: 180px;
    display: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.18);
    border: 1px solid #dcdcdc;
    z-index: 9999;
}

    .lang-menu.show {
        display: block;
    }

    .lang-menu li {
        padding: 10px 16px;
        font-size: 14px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .lang-menu li:hover {
            background: #f2f5f1;
            color: #2A7F62;
        }

/* ===================================================
   HEADER
=================================================== */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #eee;
}

.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px 6vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: 130px;
}

/* ===================================================
   NAVIGATION
=================================================== */

.main-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

    .main-nav a,
    .nav-link {
        font-weight: 500;
        color: #2a3a28;
        text-decoration: none;
        background: none;
        border: none;
        cursor: pointer;
        position: relative;
    }

        /* Hover underline effect */
        .main-nav a::after,
        .nav-link::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -4px;
            width: 0;
            height: 2px;
            background: #2A7F62;
            transition: 0.3s;
        }

        .main-nav a:hover::after,
        .nav-link:hover::after {
            width: 100%;
        }

/* ===================================================
   DROPDOWN
=================================================== */

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 42px;
    left: 0;
    background: #ffffff;
    border-radius: 10px;
    min-width: 220px;
    padding: 12px 0;
    display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    animation: fadeIn 0.2s ease;
}

    .dropdown-menu a {
        display: block;
        padding: 10px 18px;
        font-size: 14px;
        color: #2a3a28;
    }

        .dropdown-menu a:hover {
            background: #f3f7f4;
            color: #2A7F62;
        }

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

/* ===================================================
   HAMBURGER
=================================================== */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

    .hamburger span {
        width: 22px;
        height: 2px;
        background: #2a3a28;
    }

/* ===================================================
   SEARCH OVERLAY
=================================================== */

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    visibility: hidden;
    opacity: 0;
    transition: .3s;
    z-index: 9999;
}

    .search-overlay.open {
        visibility: visible;
        opacity: 1;
    }

.search-box {
    background: white;
    padding: 18px;
    border-radius: 10px;
    width: min(600px,90%);
    margin: 150px auto 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===================================================
   MOBILE RESPONSIVE
=================================================== */

@media (max-width: 992px) {

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 260px;
        background: #ffffff;
        flex-direction: column;
        padding: 80px 24px;
        gap: 20px;
        transition: 0.3s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    }

        .main-nav.active {
            right: 0;
        }

    .nav-dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 10px;
        display: none;
    }

        .dropdown-menu.show {
            display: block;
        }

    .hamburger {
        display: flex;
    }
}

/* ===================================================
   ANIMATION
=================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
