/* --- Core Variables & Global Resets --- */

:root {
    --primary-green: #2E7D32;
    --hover-green: #1B5E20;
    --accent-gold: #FFB300;
    --bg-dark: #0b0f0c;
    --text-white: #ffffff;
    --text-muted: #A0A0A0;
    --header-border-glass: rgba(255, 255, 255, 0.08);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--text-white);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}


/* --- Header & Layout Container --- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: black;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--header-border-glass);
    transition: all 0.3s ease;
}


/* Scroll variant triggered dynamically by JavaScript */

.site-header.scrolled {
    background-color: rgba(11, 15, 12, 0.85);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* --- Logo Scaling --- */

.logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    /* Matches layout structure in image_169a6c.jpg */
    width: auto;
    display: block;
    object-fit: contain;
}


/* --- Desktop Menu Typography --- */

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: white;
    text-decoration: none;
    transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

.mobile-only-cta {
    display: none;
}


/* --- Pill Shape Call to Action --- */

.nav-cta {
    background-color: var(--primary-green);
    color: var(--text-white);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.nav-cta:hover {
    background-color: var(--hover-green);
    transform: translateY(-1px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}


/* --- Responsive Hamburger Toggle Button --- */

.hamburger-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    padding: 0;
    z-index: 1100;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}


/* --- Tablet & Mobile Optimization (Media Query Breakpoint) --- */

@media (max-width: 991px) {
    .header-container {
        padding: 1rem 1.5rem;
    }
    .desktop-only-cta {
        display: none;
    }
    .hamburger-toggle {
        display: flex;
    }
    /* Full height slide-out drawer panel */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background-color: rgba(11, 15, 12, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--header-border-glass);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 4rem 3rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .nav-menu.is-active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        margin-bottom: 3rem;
    }
    .nav-link {
        font-size: 1.1rem;
        display: block;
        width: 100%;
    }
    .mobile-only-cta {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.9rem;
    }
    .hamburger-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    .hamburger-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}