/* animations.css - Scroll and layout animations */

/* Initial states for scroll animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

/* Active states toggled by Intersection Observer in JS */
.fade-up.visible,
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delays for staggered animations elements inside a grid/list */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Add a subtle float animation to the hero background if needed */
@keyframes subtle-zoom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.hero-bg-placeholder {
    animation: subtle-zoom 20s infinite alternate ease-in-out;
}