/* ========================================
   MOBILE MENU - NUCLEAR OPTION CSS
   OVERRIDES EVERYTHING
   ======================================== */

/* HAMBURGER */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10000 !important;
    position: relative !important;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    transition: 0.3s;
    display: block !important;
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* MOBILE BREAKPOINT */
@media (max-width: 968px) {
    /* KILL ALL TRANSPARENT NAV STYLES ON MOBILE */
    body.has-fullwidth-hero header,
    body header,
    header {
        background: white !important;
        border-bottom: 1px solid rgba(42, 101, 88, 0.1) !important;
        backdrop-filter: none !important;
    }
    
    /* Show hamburger */
    .menu-toggle {
        display: flex !important;
    }
    
    /* Logo always dark on mobile */
    header .logo-text,
    body.has-fullwidth-hero header .logo-text,
    body header .logo-text {
        color: var(--primary) !important;
        text-shadow: none !important;
    }
    
    /* Hamburger always dark on mobile */
    .menu-toggle span,
    body.has-fullwidth-hero .menu-toggle span,
    body header .menu-toggle span {
        background: var(--primary) !important;
    }
    
    /* FORCE HIDE DESKTOP NAV */
    nav > .nav-links,
    nav .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 100% !important;
        height: 100vh !important;
        background: white !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 100px 2rem 2rem 2rem !important;
        gap: 2rem !important;
        transition: left 0.3s ease !important;
        z-index: 9999 !important;
        overflow-y: auto !important;
        align-items: flex-start !important;
    }
    
    /* REMOVE ALL CONFLICTING ACTIVE CLASSES */
    .nav-links.active {
        left: 0 !important;
    }
    
    /* Nav links styling */
    .nav-links li {
        width: 100% !important;
        list-style: none !important;
    }
    
    .nav-links a,
    body.has-fullwidth-hero .nav-links a,
    body header .nav-links a {
        color: var(--dark) !important;
        font-size: 1.2rem !important;
        padding: 1rem 0 !important;
        display: block !important;
        text-shadow: none !important;
        text-decoration: none !important;
    }
    
    /* CTA button */
    .nav-links .nav-cta,
    .nav-links a.nav-cta {
        background: var(--primary) !important;
        color: white !important;
        padding: 1rem 2rem !important;
        border-radius: 8px !important;
    }
    
    .nav-links .nav-cta i {
        color: white !important;
    }
}
