/* ==========================================================================
   ABIYA CATERING - ANIMATIONS & EFFECTS
   Inspired by Roister Template — Rich, Traditional, Premium
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SHOWSTOPPER PRELOADER (Abiya Catering Official Identity)
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #260309 0%, #100104 100%);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

/* Official Abiya Catering 01.PNG Emblem Preloader */
.preloader-emblem-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-emblem-logo {
  width: 130px;
  max-width: 70vw;
  height: auto;
  max-height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(197, 160, 89, 0.5)) drop-shadow(0 8px 30px rgba(0, 0, 0, 0.45));
  animation: preloaderEmblemPulse 2.2s ease-in-out infinite alternate;
}

@keyframes preloaderEmblemPulse {
  0% {
    transform: scale(0.95);
    filter: drop-shadow(0 0 18px rgba(197, 160, 89, 0.4)) drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
  }
  100% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 35px rgba(197, 160, 89, 0.8)) drop-shadow(0 0 50px rgba(229, 8, 60, 0.35));
  }
}

.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(197, 160, 89, 0.25);
  border-top-color: var(--color-gold);
  border-right-color: var(--color-abiya-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-top: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 480px) {
  .preloader-emblem-wrap {
    width: 115px;
    height: 115px;
  }
  .preloader-emblem-logo {
    width: 105px;
    max-height: 105px;
  }
  .preloader-spinner {
    width: 32px;
    height: 32px;
  }
}

/* --------------------------------------------------------------------------
   1.1 MAGIC CURSOR (Inspired by Roister Template)
   -------------------------------------------------------------------------- */
.cursor, .cursor2 {
  position: fixed;
  pointer-events: none;
  z-index: 1000000; /* Must stay above luxury lightbox modal (99999) & all full-screen overlays */
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.cursor {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: url('../assets/images/01.PNG') no-repeat center center;
  background-size: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              height 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 0.25s ease,
              opacity 0.3s ease;
}

.cursor2 {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(197, 160, 89, 0.6);
  background: rgba(197, 160, 89, 0.05);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease, 
              background-color 0.3s ease, 
              transform 0.16s ease-out;
}

/* Hover state on clickable elements */
body.cursor-hover .cursor {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 14px rgba(197, 160, 89, 0.95));
}

body.cursor-hover .cursor2 {
  width: 68px;
  height: 68px;
  border-color: var(--color-gold-light);
  background: rgba(197, 160, 89, 0.15);
  backdrop-filter: blur(1px);
}

/* Hide default cursor on desktop fine-pointer devices for a seamless experience */
@media (hover: hover) and (pointer: fine) {
  body, a, button, .btn, .nav-link, .occasion-card, .why-card, .food-card, .package-card,
  .gallery-lightbox, .gallery-lightbox *, .lightbox-close-btn, .lightbox-nav-btn, .lightbox-enquire-btn {
    cursor: none !important;
  }
}

/* Disable custom cursor on touch/mobile devices */
@media (hover: none) and (pointer: coarse), (max-width: 992px) {
  .cursor, .cursor2 {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   1.2 SCRIPT BADGES & ACCENTS (Roister "Nothing You Could Do" Font)
   -------------------------------------------------------------------------- */
.script-tag {
  font-family: var(--font-script);
  font-size: 1.35rem;
  color: var(--color-gold);
  display: inline-block;
  margin-right: 0.35rem;
  text-transform: none;
  font-weight: 400;
  vertical-align: middle;
}

.hero-script-badge {
  font-family: var(--font-script);
  font-size: 1.45rem;
  color: var(--color-gold-light);
  margin-bottom: 0.5rem;
  display: block;
}

.card-script-accent {
  font-family: var(--font-script);
  font-size: 1.05rem;
  color: var(--color-gold-dark);
}

/* --------------------------------------------------------------------------
   2. HERO ENTRANCE ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes heroFadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroScaleIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroBgKenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.12);
  }
}

/* Hero element animations */
.hero-badge {
  opacity: 1;
}

.hero-title {
  opacity: 1;
}

.hero-subtitle {
  opacity: 1;
}

.hero-actions {
  opacity: 1;
}

/* Ken Burns on hero bg */
.hero-bg {
  animation: heroBgKenBurns 20s ease-in-out alternate infinite;
}

/* --------------------------------------------------------------------------
   3. FLOATING & PULSING ELEMENTS
   -------------------------------------------------------------------------- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4); }
  50% { box-shadow: 0 0 20px 8px rgba(197, 160, 89, 0.15); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* WhatsApp float button breathing */
.whatsapp-float {
  animation: pulse 2.5s ease-in-out infinite;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  animation: ripple 2s ease-out infinite;
  z-index: -1;
}

/* Brand emblem subtle float */
.brand-emblem {
  animation: floatSlow 4s ease-in-out infinite;
}

/* Gold ornament shimmer */
.ornament-motif svg {
  animation: pulse 3s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   4. TEXT REVEAL & SPLIT ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes textRevealUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes letterReveal {
  from {
    opacity: 0;
    transform: translateY(20px) rotateX(-20deg);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
    filter: blur(0);
  }
}

@keyframes lineExpand {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Section header entrance - permanently visible */
.section-header .section-tag,
.section-header .section-title,
.section-header .ornament-divider,
.section-header .section-subtitle {
  opacity: 1 !important;
}

/* Ornament line expand */
.ornament-line {
  transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   5. CARD ENTRANCE ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes cardEnter {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cardEnterLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes cardEnterRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Staggered card reveals - permanently visible by default */
.why-card,
.occasion-card,
.food-card,
.value-card,
.package-card,
.menu-item-card,
.contact-info-card {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

/* Stagger delays for grid children */
.is-revealed:nth-child(1) { transition-delay: 0s; }
.is-revealed:nth-child(2) { transition-delay: 0.08s; }
.is-revealed:nth-child(3) { transition-delay: 0.16s; }
.is-revealed:nth-child(4) { transition-delay: 0.24s; }
.is-revealed:nth-child(5) { transition-delay: 0.32s; }
.is-revealed:nth-child(6) { transition-delay: 0.4s; }
.is-revealed:nth-child(7) { transition-delay: 0.48s; }
.is-revealed:nth-child(8) { transition-delay: 0.56s; }

/* --------------------------------------------------------------------------
   6. ENHANCED HOVER EFFECTS (Roister-style)
   -------------------------------------------------------------------------- */

/* Image zoom + overlay on hover */
.occasion-card img,
.food-card img,
.menu-item-card img,
.service-card-media img,
.collage-item img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.6s ease;
}

.occasion-card:hover img,
.food-card:hover img,
.menu-item-card:hover img,
.service-card-detailed:hover .service-card-media img,
.collage-item:hover img {
  transform: scale(1.08);
}

/* Card tilt on hover */
.why-card:hover,
.food-card:hover,
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(63, 10, 17, 0.12);
}

/* Button magnetic hover */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Gold underline expand on hover */
.nav-link::after {
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left;
}

/* --------------------------------------------------------------------------
   7. PARALLAX & SCROLL-LINKED EFFECTS
   -------------------------------------------------------------------------- */
.parallax-bg {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Section backgrounds with subtle parallax shift */
.section-maroon::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: calc(100% + 100px);
  background: radial-gradient(ellipse at 30% 50%, rgba(197, 160, 89, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Decorative floating circles */
.section::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, 0.06);
  pointer-events: none;
  top: 10%;
  right: -60px;
  animation: float 8s ease-in-out infinite;
}

.section:nth-child(even)::after {
  left: -60px;
  right: auto;
  top: auto;
  bottom: 10%;
  animation-delay: -3s;
}

/* --------------------------------------------------------------------------
   8. MARQUEE / SCROLLING TEXT BANNER
   -------------------------------------------------------------------------- */
.marquee-banner {
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-maroon-dark), var(--color-maroon));
  padding: 1rem 0;
  border-top: 1px solid rgba(197, 160, 89, 0.3);
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
  position: relative;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 25s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2.5rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-gold-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.marquee-dot {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   9. COUNTER ANIMATION ENHANCEMENT
   -------------------------------------------------------------------------- */
.stat-item {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.stat-item.is-revealed:nth-child(1) { transition-delay: 0s; }
.stat-item.is-revealed:nth-child(2) { transition-delay: 0.15s; }
.stat-item.is-revealed:nth-child(3) { transition-delay: 0.3s; }
.stat-item.is-revealed:nth-child(4) { transition-delay: 0.45s; }

.stat-number {
  position: relative;
  display: inline-block;
}

.stat-number::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(1);
  width: 40px;
  height: 2px;
  background: var(--color-gold);
}

.stat-item.is-revealed .stat-number::after {
  transform: translateX(-50%) scaleX(1);
}

/* --------------------------------------------------------------------------
   10. TESTIMONIAL CARD TRANSITIONS
   -------------------------------------------------------------------------- */
.testimonial-card {
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card.active {
  animation: cardEnter 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --------------------------------------------------------------------------
   11. PAGE HERO ANIMATIONS
   -------------------------------------------------------------------------- */
.page-hero .hero-content {
  opacity: 1 !important;
}

.page-hero .page-hero-title {
  opacity: 1 !important;
}

.page-hero .page-hero-breadcrumb {
  opacity: 1 !important;
}

/* --------------------------------------------------------------------------
   12. IMAGE TILT / 3D HOVER
   -------------------------------------------------------------------------- */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.tilt-card:hover {
  transform: perspective(800px) rotateY(-3deg) rotateX(2deg) translateZ(10px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Intro image 3D hover */
.intro-image-wrap {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-image-wrap:hover {
  transform: perspective(800px) rotateY(-2deg) rotateX(1.5deg);
}

/* --------------------------------------------------------------------------
   13. SCROLL PROGRESS INDICATOR
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light), var(--color-gold));
  z-index: 10000;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s linear;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   14. CTA SECTION ANIMATION
   -------------------------------------------------------------------------- */
@keyframes ctaGlow {
  0%, 100% { 
    box-shadow: inset 0 0 30px rgba(197, 160, 89, 0.05); 
  }
  50% { 
    box-shadow: inset 0 0 60px rgba(197, 160, 89, 0.1); 
  }
}

.cta-banner {
  animation: ctaGlow 4s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   15. SMOOTH TRANSITIONS FOR INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */

/* Form inputs focus glow */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  animation: pulseGlow 1.5s ease-in-out;
}

/* FAQ accordion smooth open */
.faq-answer {
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s ease,
              padding 0.4s ease;
}

/* Menu tab filter transition */
.menu-category-section {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.menu-category-section[style*="display: none"] {
  opacity: 0;
  transform: translateY(10px);
}

/* --------------------------------------------------------------------------
   16. LOADING SKELETON (for image placeholders)
   -------------------------------------------------------------------------- */
@keyframes skeletonPulse {
  0% { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

.skeleton-loading {
  background: linear-gradient(90deg, 
    var(--color-sand) 25%, 
    var(--color-cream-card) 50%, 
    var(--color-sand) 75%);
  background-size: 200px 100%;
  animation: skeletonPulse 1.5s infinite;
}

/* --------------------------------------------------------------------------
   17. GOLDEN DIVIDER ANIMATION
   -------------------------------------------------------------------------- */
@keyframes goldenShine {
  0% { 
    background-position: -200% center; 
  }
  100% { 
    background-position: 200% center; 
  }
}

.golden-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--color-gold-light), 
    var(--color-gold), 
    var(--color-gold-light), 
    transparent);
  background-size: 200% 100%;
  animation: goldenShine 3s ease-in-out infinite;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   19. DUAL-DIRECTION MARQUEE TICKER (Roister Style)
   -------------------------------------------------------------------------- */
.marquee-banner-dual {
  background: #12100B;
  padding: 0.75rem 0;
  border-top: 2px solid var(--color-abiya-green);
  border-bottom: 2px solid var(--color-abiya-red);
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.marquee-track-left {
  display: flex;
  white-space: nowrap;
  animation: marqueeScrollLeft 28s linear infinite;
  will-change: transform;
}

.marquee-track-right {
  display: flex;
  white-space: nowrap;
  animation: marqueeScrollRight 28s linear infinite;
  will-change: transform;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

.marquee-banner-dual:hover .marquee-track-left,
.marquee-banner-dual:hover .marquee-track-right {
  animation-play-state: paused;
}

@keyframes marqueeScrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeScrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.marquee-item-abiya {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0 2rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
  color: #FFFDF9;
}

.marquee-item-abiya .tag-green {
  color: var(--color-abiya-green-light);
}

.marquee-item-abiya .tag-red {
  color: var(--color-abiya-red-light);
}

.marquee-item-abiya .tag-gold {
  color: var(--color-abiya-gold);
}

.marquee-star {
  color: var(--color-abiya-gold);
  font-size: 1.1rem;
  animation: pulse 2s infinite ease-in-out;
}

/* --------------------------------------------------------------------------
   20. 3D INTERACTIVE TILT CARDS & DYNAMIC GLARE (Apple/Awwwards Style)
   -------------------------------------------------------------------------- */
.tilt-card-3d {
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
}

.card-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle 250px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.3) 0%, transparent 80%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
  mix-blend-mode: overlay;
}

.tilt-card-3d:hover .card-glare {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   21. CULINARY STEAM & AROMA PARTICLES
   -------------------------------------------------------------------------- */
.food-steam-container {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  pointer-events: none;
  z-index: 6;
  opacity: 0.85;
}

.steam-curl {
  position: absolute;
  bottom: 0;
  width: 12px;
  height: 35px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.45) 0%, transparent 75%);
  filter: blur(4px);
  animation: steamRise 3s ease-in-out infinite;
}

.steam-curl:nth-child(1) { left: 10px; animation-delay: 0s; }
.steam-curl:nth-child(2) { left: 24px; animation-delay: 0.8s; height: 42px; }
.steam-curl:nth-child(3) { left: 38px; animation-delay: 1.6s; }

@keyframes steamRise {
  0% {
    opacity: 0;
    transform: translateY(10px) scaleX(0.8) scaleY(0.8);
  }
  40% {
    opacity: 0.65;
  }
  100% {
    opacity: 0;
    transform: translateY(-45px) scaleX(1.8) scaleY(1.5) rotate(15deg);
  }
}

/* --------------------------------------------------------------------------
   22. MAGNETIC BUTTONS & CHROMATIC BORDER ROTATION
   -------------------------------------------------------------------------- */
.btn-magnetic {
  position: relative;
  will-change: transform;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.btn-chromatic {
  position: relative;
  z-index: 1;
  background: #FFFFFF !important;
  color: var(--color-charcoal) !important;
  border: none !important;
  box-shadow: 0 6px 22px rgba(86, 175, 49, 0.25);
  font-weight: 700;
}

.btn-chromatic::before {
  content: '';
  position: absolute;
  inset: -2.5px;
  border-radius: inherit;
  background: linear-gradient(90deg, 
    var(--color-abiya-green), 
    var(--color-abiya-red), 
    var(--color-abiya-gold), 
    var(--color-abiya-green));
  background-size: 300% 300%;
  animation: chromaticBorder 3.5s linear infinite;
  z-index: -1;
}

@keyframes chromaticBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --------------------------------------------------------------------------
   23. FESTIVE CONFETTI CELEBRATION BURST (From Logo Emblem Colors)
   -------------------------------------------------------------------------- */
.confetti-burst-particle {
  position: fixed;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 999999;
  will-change: transform, opacity;
  animation: confettiExplode 0.75s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes confettiExplode {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx, 50px), var(--ty, 50px)) scale(0.3) rotate(var(--rot, 360deg));
  }
}

/* --------------------------------------------------------------------------
   24. HERO GLOW AURA (Emerald & Ruby Ambient Light)
   -------------------------------------------------------------------------- */
.hero-glow-green {
  position: absolute;
  top: 15%;
  left: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(86, 175, 49, 0.22) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 2;
  animation: auraFloat 8s ease-in-out infinite alternate;
}

.hero-glow-red {
  position: absolute;
  bottom: 15%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(229, 8, 60, 0.22) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 2;
  animation: auraFloat 9s ease-in-out infinite alternate-reverse;
}

@keyframes auraFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -25px) scale(1.15); }
}

/* --------------------------------------------------------------------------
   25. ACCESSIBILITY: Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .preloader-spinner {
    animation: none;
  }
  
  .hero-badge,
  .hero-title,
  .hero-subtitle,
  .hero-actions,
  .page-hero .hero-content,
  .page-hero .page-hero-title,
  .page-hero .page-hero-breadcrumb {
    opacity: 1;
    animation: none;
  }
  
  .hero-bg {
    animation: none;
  }
  
  .whatsapp-float {
    animation: none;
  }
  
  .brand-emblem {
    animation: none;
  }
  
  .marquee-track {
    animation: none;
  }
  
  .section::after {
    animation: none;
  }
  
  .cta-banner {
    animation: none;
  }
}
