:root {
    --primary-green: #1B4332;
    --gold: #D4AF37;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --glass-hover: rgba(255, 255, 255, 0.95);
    --transition: 0.3s ease;
}


/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* ===== NAVBAR ===== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}


/* Logo */

.logo img {
    height: 60px;
}


/* ===== DESKTOP NAV ===== */

.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.nav-links li {
    list-style: none;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 5px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-green);
}


/* ===== GLASS DROPDOWN ===== */

.dropdown {
    position: relative;
}

.dropdown-menu.glass-bg {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 220px;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu.glass-bg li {
    padding: 10px 20px;
    list-style: none;
    transition: background 0.3s ease;
}

.dropdown-menu.glass-bg li:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-green);
}


/* ===== DESKTOP SEARCH + ACTIONS ===== */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-actions .desktop-search {
    position: relative;
}

.nav-actions .desktop-search input {
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid #ccc;
    outline: none;
    width: 200px;
    transition: var(--transition);
}

.nav-actions .desktop-search input:focus {
    border-color: var(--primary-green);
}

.nav-actions .desktop-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--primary-green);
}

.nav-actions .contact-btn {
    background: var(--primary-green);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-actions .contact-btn:hover {
    background: var(--gold);
    color: var(--white);
}


/* ===== SEARCH DROPDOWN ===== */

.search-form {
    position: relative;
}

.search-results {
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: none;
    z-index: 999;
}

.search-results.active {
    display: block;
}

.search-item {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease;
}

.search-item:hover {
    background: #f5f5f5;
}

.search-item:last-child {
    border-bottom: none;
}


/* ===== HAMBURGER + MOBILE ===== */

.hamburger,
.mobile-center-search {
    display: none;
}


/* ===== MOBILE VIEW ===== */

@media (max-width: 992px) {
    /* Hide desktop nav + actions */
    .desktop-nav,
    .nav-actions {
        display: none;
    }
    /* Show hamburger + mobile search */
    .hamburger {
        display: block;
        font-size: 28px;
        cursor: pointer;
        color: var(--primary-green);
    }
    .mobile-center-search {
        display: flex;
        align-items: center;
        background: var(--glass);
        border-radius: 50px;
        padding: 5px 15px;
        width: 50%;
        flex-shrink: 0;
    }
    .mobile-center-search input {
        border: none;
        background: transparent;
        outline: none;
        width: 100%;
        font-size: 14px;
    }
    .mobile-center-search button {
        border: none;
        background: transparent;
        color: var(--primary-green);
        cursor: pointer;
    }
    .logo img {
        height: 55px;
    }
    /* ===== MOBILE SIDEBAR ===== */
    .mobile-sidebar {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        /* hidden by default */
        width: 75vw;
        /* smaller width for mobile */
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.85);
        /* glass effect */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        z-index: 2000;
        padding: 30px 20px;
        border-radius: 8px 0 0 8px;
        /* rounded edge */
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
    }
    .mobile-sidebar.active {
        right: 0;
    }
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
    }
    .mobile-nav-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .mobile-nav-links li {
        margin-bottom: 15px;
    }
    .mobile-nav-links a {
        text-decoration: none;
        color: #333;
        font-weight: 500;
        font-size: 16px;
        display: block;
        padding: 10px 15px;
        border-radius: 8px;
        transition: var(--transition);
    }
    .mobile-nav-links a:hover {
        background: rgba(255, 255, 255, 0.95);
    }
    /* Mobile Dropdown */
    .mobile-submenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        list-style: none;
        padding-left: 15px;
        margin-top: 5px;
    }
    .mobile-dropdown.active .mobile-submenu {
        max-height: 500px;
    }
    .arrow {
        float: right;
        transition: transform 0.3s ease;
    }
    .mobile-dropdown.active .arrow {
        transform: rotate(180deg);
    }
    /* Contact Button */
    .mobile-contact-link {
        background: var(--primary-green);
        color: #ffffff;
        padding: 12px 20px;
        border-radius: 50px;
        display: block;
        text-align: center;
        font-weight: 600;
        font-size: 16px;
        margin-top: 15px;
        transition: var(--transition);
    }
    .mobile-contact-link:hover {
        background: var(--gold);
        color: #ffffff;
    }
}


/* ===== HIDE MOBILE SIDEBAR ON DESKTOP ===== */

@media (min-width: 993px) {
    .mobile-sidebar,
    .sidebar-overlay,
    .mobile-center-search,
    .hamburger {
        display: none !important;
    }
}


/* ===== OVERLAY ===== */

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 1500;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}


/* Target the specific mobile links to prevent override */

.mobile-nav-links a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    font-size: 16px;
    display: block;
    padding: 12px;
    border-radius: 8px;
}


/* FIXED: Mobile Contact Link Color */

.mobile-sidebar .mobile-contact-link {
    background: var(--primary-green) !important;
    color: #ffffff !important;
    text-align: center;
    margin-top: 20px;
    font-weight: 600;
}

/*Day and night*/

html.dark-mode {
    background-color: #050807 !important;
}

html.dark-mode body {
    background-color: #050807 !important;
    color: #ffffff !important;
}