/* ═══════════════════════════════════════════════════ */
/* ═══ ANIMATIONS.CSS — All Keyframes & Transitions ═══ */
/* ═══════════════════════════════════════════════════ */

/* ═══ HERO ANIMATIONS ═══ */
.anim-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.anim-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ CARD ENTRANCE ═══ */
.anim-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.anim-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ SCROLL ARROW ═══ */
@keyframes scrollPulse {
  0%, 100% {
    opacity: .4;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.3);
  }
}

/* ═══ GLOW PULSE (Tenedor Libre free card) ═══ */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(212,168,67,.15);
  }
  50% {
    box-shadow: 0 0 30px rgba(212,168,67,.35),
                0 0 60px rgba(212,168,67,.1);
  }
}

/* ═══ CART PULSE ═══ */
@keyframes cartPulse {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.2); }
  60%  { transform: scale(.95); }
  100% { transform: scale(1); }
}

/* ═══ ZONE NAV GLOW ═══ */
@keyframes navGlow {
  0%, 100% {
    box-shadow: 0 0 0 transparent;
  }
  50% {
    box-shadow: 0 0 12px var(--glow-color, rgba(212,168,67,.3));
  }
}

/* ═══ PREFERS REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
