/* Animaciones modernas sin animate.css */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@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 fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Clases de animación */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animated.fadeInUp {
    animation-name: fadeInUp;
}

.animated.fadeInLeft {
    animation-name: fadeInLeft;
}

.animated.fadeInRight {
    animation-name: fadeInRight;
}

.animated.fadeIn {
    animation-name: fadeIn;
}

/* Delays */
.delay-02s {
    animation-delay: 0.2s;
}

.delay-04s {
    animation-delay: 0.4s;
}

.delay-05s {
    animation-delay: 0.5s;
}

.delay-08s {
    animation-delay: 0.8s;
}

/* Reducir animaciones en conexiones lentas */
@media (prefers-reduced-motion: reduce) {
    .animated {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
