/* ============================================
   Keyframe Animations
   ============================================ */

/* === Gradient Mesh (Hero background) === */

@keyframes meshShift {
  0% {
    background-position: 0% 50%, 100% 50%, 50% 100%;
  }
  33% {
    background-position: 100% 50%, 0% 100%, 0% 0%;
  }
  66% {
    background-position: 50% 0%, 50% 50%, 100% 50%;
  }
  100% {
    background-position: 0% 50%, 100% 50%, 50% 100%;
  }
}

/* === Glow Pulse (subtle breathing on amber elements) === */

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(240, 165, 0, 0.15);
  }
  50% {
    box-shadow: 0 0 30px rgba(240, 165, 0, 0.25);
  }
}

/* === Fade In (CSS fallback for no-JS) === */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Mobile menu slide in === */

@keyframes menuSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Float (ambient movement for decorative elements) === */

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* === Initial state for GSAP scroll reveals === */

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

/* === 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;
  }

  .hero-mesh {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero h1 {
    -webkit-text-fill-color: var(--color-text);
  }

  .glass-card::after {
    display: none;
  }

  .product-card::before {
    display: none;
  }

  body.is-loading {
    opacity: 1;
  }

  .scroll-progress {
    display: none;
  }
}
