/* Mobile Navigation Fix - Ensures proper toggle behavior */

/* Override any forced display on mobile navigation */
@media (max-width: 768px) {
    /* Default state - menu closed */
    .nav-links:not(.mobile-active) {
        display: none !important;
    }
    
    /* Active state - menu open */
    .nav-links.mobile-active {
        display: flex !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(0, 0, 0, 0.98) !important;
        flex-direction: column !important;
        padding: 20px !important;
        gap: 15px !important;
        margin-top: 10px !important;
        border-radius: 10px !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5) !important;
        z-index: 1000 !important;
    }
    
    /* Ensure mobile menu button is always visible */
    .mobile-menu-btn {
        display: block !important;
        visibility: visible !important;
        position: relative !important;
        z-index: 1001 !important;
    }
}

/* Desktop - ensure menu is always visible */
@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
        visibility: visible !important;
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
}
