/* ==========================================================================
   animations.css — Keyframes, transitions & motion
   Monarca Parking Lot Services
   The original design relied on Tailwind utility transitions and the built-in
   `animate-bounce` utility (mobile sticky call button). Those are preserved by
   Tailwind. This file documents/owns custom motion and the accessibility-
   driven reduced-motion overrides (additive — does not change default visuals).
   ========================================================================== */

/* Service-card icon transition is declared inline via Tailwind utility classes
   (transition-transform group-hover:scale-110) and in components.css. No extra
   keyframes are required to reproduce the original appearance. */

/* -------------------------------------------------------------------------
   Accessibility: respect users who request reduced motion (WCAG 2.3.3).
   This ONLY affects users who have explicitly enabled "Reduce Motion" in
   their OS — default visitors see the exact original animations.
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  /* Stop the perpetual bounce on the mobile sticky call button. */
  .animate-bounce {
    animation: none !important;
  }
}
