/* Mobile Menu Styles - Updated */

/* Basic mobile menu button styling */
.mobile-menu {
    display: flex;
    cursor: pointer;
    z-index: 9995;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
}

.mobile-menu i {
    font-size: 1.5rem;
    color: white;
}

/* Mobile menu close button */
.mobile-menu-close {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9998;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close i {
    font-size: 1.5rem;
    color: white;
}

/* Overlay for mobile menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9990;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Nav links for mobile */
.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #0a0e17;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right 0.3s ease-in-out;
    z-index: 9992;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

/* Active state for mobile menu */
.nav-links.mobile-active {
    right: 0;
}

/* Prevent scrolling when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Style nav links for mobile */
.nav-links li {
    width: 100%;
    text-align: center;
}

.nav-links a {
    display: block;
    padding: 1rem;
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

/* Desktop view adjustment */
@media (min-width: 769px) {
    .mobile-menu {
        display: none;
    }
    
    .nav-links {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        box-shadow: none;
        padding: 0;
        right: 0;
    }
    
    .nav-links li {
        width: auto;
    }
    
    .nav-links a {
        color: #333;
        font-size: 1rem;
        padding: 0.5rem;
    }
}

/* Add smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
} 