/* Mobile Navigation styles */
@media screen and (max-width: 1024px) {
    .nav-links {
        position: fixed;
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: #111;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 100px;
        z-index: 9;
    }
    
    .nav-active {
        transform: translateX(0%);
    }

    .burger {
        display: block;
        z-index: 10;
    }
}

/* Logo Sizing */
.nav-logo {
    height: 50px; /* Adjust to fit your navbar height */
    width: auto;
}
/* Prevent scrolling when menu is open */
.no-scroll {
    overflow: hidden;
}

/* Navbar Links Drawer */
@media screen and (max-width: 1024px) {
    .nav-links {
        position: fixed;
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: #000; /* Black Background */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%; /* Full screen drawer for better UX */
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
        z-index: 99;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .nav-links li {
        opacity: 0; /* Hidden until animated by JS */
        margin: 20px 0;
    }
}

/* Burger to X Animation */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
    background-color: #FFD700; /* Yellow accent on active */
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
    background-color: #FFD700;
}

/* Link Fade Animation */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}