/* Mobile Menu Styles */

/* Hide mobile menu button by default (show only on mobile) */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 20;
}

.mobile-menu-btn span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--dark-color);
    border-radius: 3px;
    opacity: 1;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-btn span:nth-child(1) {
    top: 0px;
}

.mobile-menu-btn span:nth-child(2) {
    top: 8px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 16px;
}

/* Hamburger icon animation */
.mobile-menu-btn.active span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-menu-btn.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white-color);
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 10;
        transition: right 0.3s ease;
        padding: 50px 0;
    }
    
    nav ul.show {
        right: 0;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    nav ul li a {
        font-size: 1.2rem;
    }
}

/* Animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
} 