/* animations.css */

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

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

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

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Classes */
.animate-fade-in-up {
    animation: fadeInUp var(--transition-slow) forwards;
}

.animate-fade-in {
    animation: fadeIn var(--transition-slow) forwards;
}

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

.pulse-whatsapp {
    animation: pulse-ring 2s infinite;
}

/* Hover Micro-animations */
.hover-lift {
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.hover-glow-gold {
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.hover-glow-gold:hover {
    border-color: var(--color-gold);
    box-shadow: 0 0 15px var(--color-gold-light);
}

/* Interaction delay helpers */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

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