/* ANIMATIONS STYLESHEET - PARROQUIA SAN FRANCISCO DE ASÍS */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

@keyframes pulseGold {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 160, 40, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(220, 160, 40, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 160, 40, 0);
    }
}

/* ANIMATION UTILITIES */
.animate-fade-in {
    animation: fadeIn var(--transition-normal) forwards;
}

.animate-fade-in-up {
    animation: fadeInUp var(--transition-slow) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-down {
    animation: slideDown var(--transition-normal) forwards;
}

.animate-scale-in {
    animation: scaleIn var(--transition-normal) forwards;
}

/* DELAYS FOR GRID STAGGER */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* HOVER BEHAVIORS */
.hover-lift {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-fast);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.pulse-primary {
    animation: pulseGold 2.5s infinite;
}
