/* ==========================================================================
   Karwan-E-Asghar | Animations & Motion Stylesheet
   Choreographed animations with strict prefers-reduced-motion fallback
   ========================================================================== */

/* --- Keyframe Animations --- */

/* Gold Heading Shimmer */
@keyframes goldShimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.gold-shimmer-active {
  animation: goldShimmer 6s linear infinite;
}

/* Subtle Breathing Pulse on WhatsApp elements */
@keyframes whatsappPulse {
  0%   { box-shadow: 0 0 0 0   rgba(37,211,102,.42); }
  70%  { box-shadow: 0 0 0 11px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0   rgba(37,211,102,0); }
}

.pulse-whatsapp {
  animation: whatsappPulse 2.8s infinite;
}

/* Soft Glow for the Sacred Calligraphy */
@keyframes calligraphyGlow {
  0%, 100% { text-shadow: 0 4px 18px rgba(197,160,89,.32); }
  50%       { text-shadow: 0 4px 28px rgba(232,213,181,.65); }
}

.arabic-calligraphy {
  animation: calligraphyGlow 5s ease-in-out infinite;
}

/* --- Scroll Reveal Defaults (Prepared for GSAP or CSS fallback) --- */
.gsap-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}

.gsap-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Strict Prefers Reduced Motion Fallback --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }

  .gold-shimmer-active,
  .pulse-whatsapp,
  .arabic-calligraphy {
    animation: none !important;
    transform: none !important;
  }

  .hero-bg-img { transform: none !important; }

  .gsap-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .package-card:hover,
  .service-card:hover,
  .step-card:hover {
    transform: none !important;
  }

  .package-card:hover .package-img { transform: none !important; }
  .intro-preloader {
    display: none !important;
  }

  .hero-medallion-wrap,
  .hero-medallion-ring {
    animation: none !important;
    transform: none !important;
  }

  .section-divider-gold {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .watermark-wrap {
    transform: none !important;
  }

  .caravan-traveler {
    display: none !important;
  }

}
