/* Custom Animations - Tailwind handles all styling */

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Initial animation classes */
.fade-in-up {
    animation: fadeInUp 0.7s ease-out;
}

.fade-in-up-delay-1 {
    animation: fadeInUp 0.7s ease-out 0.2s both;
}

.fade-in-up-delay-2 {
    animation: fadeInUp 0.7s ease-out 0.4s both;
}

.fade-in-up-delay-3 {
    animation: fadeInUp 0.7s ease-out 0.6s both;
}

.fade-in-scale {
    animation: fadeInScale 0.7s ease-out 0.3s both;
}

.fade-in-left-delay {
    animation: fadeInLeft 0.7s ease-out 0.8s both;
}

/* Scroll-triggered animations */
.fade-in-up-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left-on-scroll {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left-on-scroll.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right-on-scroll {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right-on-scroll.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-scale-on-scroll {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in-scale-on-scroll.visible {
    opacity: 1;
    transform: scale(1);
}

/* Mobile menu animation */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

#mobileMenu.show {
    max-height: 500px;
    opacity: 1;
}
