/* Custom CSS for the full-page mobile navigation */
@keyframes slideInFromLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes slideOutToLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 50;
    display: none; /* Hidden by default */
}

.mobile-nav.open {
    display: block;
}

.nav-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%; /* 80% of the screen width */
    height: 100%;
    background-color: #1A1A1A; /* Dark background for the nav content */
    animation-duration: 0.3s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-content.slide-in {
    animation-name: slideInFromLeft;
}

.nav-content.slide-out {
    animation-name: slideOutToLeft;
}

.nav-content a {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-content a:hover {
    color: #25C91F; /* Primary color */
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}
