/* Mobile Menu Fixes */
@media (max-width: 768px) {
    /* Force hamburger visibility */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;
        z-index: 10000;
        position: relative;
        width: 30px;
        height: 25px;
        justify-content: space-between;
    }
    
    .hamburger span {
        width: 25px;
        height: 3px;
        background: var(--text-primary, #ffffff);
        transition: 0.3s;
        display: block;
        border-radius: 2px;
    }
    
    /* Navigation container fixes */
    .nav-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100%;
    }
    
    /* Hide desktop navigation */
    .nav-cta {
        display: none !important;
    }
    
    /* Mobile menu styles */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 9999;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 0;
        list-style: none;
    }
    
    .nav-link {
        font-size: 1.5rem !important;
        padding: 1rem 2rem !important;
        color: var(--text-primary, #ffffff) !important;
        text-decoration: none !important;
        display: block !important;
        transition: color 0.3s ease;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--neon-blue, #00ffff) !important;
    }
    
    /* Hamburger animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
        background: var(--neon-pink, #ff0080);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
        background: var(--neon-pink, #ff0080);
    }
    
    /* Prevent body scroll when menu open */
    body.menu-open {
        overflow: hidden !important;
    }
    
    /* Logo adjustments */
    .logo {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .logo-image {
        height: 60px;
        width: auto;
    }
    
    .logo-text {
        font-size: 1.6rem;
    }
}

/* Fallback for very small screens */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px !important;
    }
    
    .hamburger {
        width: 25px !important;
        height: 20px !important;
    }
    
    .hamburger span {
        width: 20px !important;
        height: 2px !important;
    }
    
    .nav-link {
        font-size: 1.3rem !important;
        padding: 0.8rem 1.5rem !important;
    }
}

/* Ensure visibility on all mobile devices */
@media screen and (max-width: 768px) {
    .hamburger {
        visibility: visible !important;
        opacity: 1 !important;
        display: flex !important;
    }
}