/* Homepage animations - respects prefers-reduced-motion */

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

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.animate-slide-left {
    transform: translateX(-30px);
}

.animate-on-scroll.animate-slide-left.is-visible {
    transform: translateX(0);
}

.animate-on-scroll.animate-slide-right {
    transform: translateX(30px);
}

.animate-on-scroll.animate-slide-right.is-visible {
    transform: translateX(0);
}

.animate-on-scroll.animate-scale {
    transform: scale(0.9);
}

.animate-on-scroll.animate-scale.is-visible {
    transform: scale(1);
}

/* Stagger items */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger-children.is-visible .stagger-item,
.is-visible .stagger-item {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion: disable all animations */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .stagger-item {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
