/* Page Load Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animations */
.about-grid .about-card:nth-child(1) { animation-delay: 0.1s; }
.about-grid .about-card:nth-child(2) { animation-delay: 0.2s; }
.about-grid .about-card:nth-child(3) { animation-delay: 0.3s; }
.about-grid .about-card:nth-child(4) { animation-delay: 0.4s; }
.about-grid .about-card:nth-child(5) { animation-delay: 0.5s; }
.about-grid .about-card:nth-child(6) { animation-delay: 0.6s; }

.stats-grid .stat-card:nth-child(1) { animation-delay: 0.1s; }
.stats-grid .stat-card:nth-child(2) { animation-delay: 0.2s; }
.stats-grid .stat-card:nth-child(3) { animation-delay: 0.3s; }
.stats-grid .stat-card:nth-child(4) { animation-delay: 0.4s; }

.categories-grid .category-card:nth-child(1) { animation-delay: 0.1s; }
.categories-grid .category-card:nth-child(2) { animation-delay: 0.2s; }
.categories-grid .category-card:nth-child(3) { animation-delay: 0.3s; }
.categories-grid .category-card:nth-child(4) { animation-delay: 0.4s; }
.categories-grid .category-card:nth-child(5) { animation-delay: 0.5s; }
.categories-grid .category-card:nth-child(6) { animation-delay: 0.6s; }

.contact-info-grid .contact-info-item:nth-child(1) { animation-delay: 0.1s; }
.contact-info-grid .contact-info-item:nth-child(2) { animation-delay: 0.2s; }
.contact-info-grid .contact-info-item:nth-child(3) { animation-delay: 0.3s; }

/* Smooth transitions */
* {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Performance optimized animations */
.card,
.about-card,
.category-card,
.venue-card {
    will-change: transform;
    transform: translateZ(0);
}

/* Mobile menu animations */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav {
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        z-index: 999;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-list a {
        font-size: 1.1rem;
        padding: 10px 0;
        display: block;
        border-bottom: 1px solid var(--light);
    }
}

