/* Mobile Navigation Styles */

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: #00ff00;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Toggle Animation */
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        transition: left 0.3s ease;
        z-index: 1000;
        padding: 20px 0;
        margin: 0;
        display: flex;
        list-style: none;
    }

    .nav-links.active {
        left: 0;
        display: flex;
    }

    .nav-links li {
        margin: 0;
        padding: 0;
        opacity: 1;
        transform: translateY(0);
        width: 50%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        font-size: 1.2rem;
        font-weight: 400;
        color: #ffffff;
        text-decoration: none;
        padding: 8px 15px;
        border-radius: 8px;
        transition: all 0.3s ease;
        text-align: center;
        background: rgba(255, 255, 255, 0.1);
        margin: 3px 0;
        min-width: 150px;
        width: auto;
        max-width: 200px;
    }

    .nav-links a:hover {
        color: #00ff00;
        background: rgba(0, 255, 0, 0.2);
        transform: scale(1.05);
    }

    .nav-links a.active {
        color: #00ff00;
        background: rgba(0, 255, 0, 0.3);
    }

    .nav-links a::after {
        display: none;
    }

    /* Navbar adjustments for mobile */
    .navbar {
        padding: 1rem 5%;
    }

    .logo {
        font-size: 1.5rem;
    }
}

/* Tablet Styles */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    .nav-links {
        gap: 0.5rem;
    }

    .nav-links a {
        font-size: 1rem;
    }
}

/* Desktop Styles */
@media screen and (min-width: 769px) {
    .mobile-toggle {
        display: none;
    }
    
    .nav-links {
        position: relative;
        display: flex;
        flex-direction: row;
        background: transparent;
        height: auto;
        width: auto;
        left: auto;
        top: auto;
        padding: 0;
        gap: 2rem;
        z-index: auto;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        border-radius: 0;
        background: transparent;
        margin: 0;
        min-width: auto;
        text-align: left;
    }
    
    .nav-links a::after {
        display: block;
    }
}
