/* ============================================================
   AURRA LUXURY SALON — ANIMATIONS & TRANSITIONS
   ============================================================ */

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}
.reveal.from-left  { transform: translateX(-42px); }
.reveal.from-right { transform: translateX(42px); }
.reveal.from-scale { transform: scale(0.92); }

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays for groups */
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.18s; }
.stagger-3 { transition-delay: 0.28s; }
.stagger-4 { transition-delay: 0.38s; }
.stagger-5 { transition-delay: 0.48s; }
.stagger-6 { transition-delay: 0.58s; }

/* ─── MARQUEE ─── */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SLIDER / CAROUSEL ─── */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── COUNTER PULSE ─── */
@keyframes goldPulse {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50%       { text-shadow: 0 0 24px rgba(201,168,76,0.55); }
}
.stat-number.counting { animation: goldPulse 0.6s ease; }

/* ─── SCROLL BOB (nav scroll indicator) ─── */
@keyframes scrollBob {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60%       { transform: translateY(8px); opacity: 0.3; }
}

/* ─── GOLD SHIMMER on buttons ─── */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* ─── SPARKLE (used in hero canvas fallback) ─── */
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50%       { opacity: 1; transform: scale(1.2); }
}

/* ─── PAGE LOADER SPINNER ─── */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── FLOAT ─── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
.float-anim { animation: float 4s ease-in-out infinite; }

/* ─── GLOW PULSE on featured items ─── */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(201,168,76,0.10); }
  50%       { box-shadow: 0 0 36px rgba(201,168,76,0.38); }
}

/* ─── NAV SLIDE ─── */
@keyframes navFadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
#main-nav { animation: navFadeDown 0.6s ease 0.1s both; }

/* ─── HERO ENTRANCE ─── */
@keyframes heroEntrance {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-entry-1 { animation: heroEntrance 0.9s ease 0.3s both; }
.hero-entry-2 { animation: heroEntrance 0.9s ease 0.55s both; }
.hero-entry-3 { animation: heroEntrance 0.9s ease 0.80s both; }
.hero-entry-4 { animation: heroEntrance 0.9s ease 1.05s both; }

/* ─── GOLD LINE DRAW ─── */
@keyframes lineDraw {
  from { width: 0; }
  to   { width: 88px; }
}
.divider.animate { animation: lineDraw 0.8s ease both; }

/* ─── CARD HOVER GOLD RING ─── */
.feat-card,
.svc-card,
.why-card,
.testi-card,
.value-card {
  position: relative;
}
.feat-card::before,
.svc-card::before,
.why-card::before,
.value-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--gold) 0%, transparent 50%, var(--gold) 100%);
  opacity: 0;
  transition: opacity 0.38s ease;
  z-index: -1;
}
.feat-card:hover::before,
.svc-card:hover::before,
.why-card:hover::before,
.value-card:hover::before {
  opacity: 0.35;
}

/* ─── TESTIMONIAL QUOTE MARK ANIM ─── */
.testi-card.visible .testi-quote::before {
  animation: heroEntrance 0.6s ease 0.2s both;
  display: inline-block;
}

/* ─── GALLERY ITEM HOVER SCALE ─── */
.gallery-item .gal-item-placeholder {
  transition: transform 0.55s ease;
}
.gallery-item:hover .gal-item-placeholder {
  transform: scale(1.06);
}

/* ─── OFFER TAG PULSE ─── */
@keyframes tagPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(201,168,76,0); }
}
.offer-tag { animation: tagPulse 2.5s ease infinite; }

/* ─── BACKGROUND GRADIENT SHIFT ─── */
@keyframes bgShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* ─── FOOTER SOCIAL HOVER ─── */
.social-icon:hover { animation: float 0.5s ease; }

/* ─── ACTIVE NAV GOLD DOT ─── */
.nav-link.active::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
}

/* ─── LIGHTBOX ENTRANCE ─── */
@keyframes lbOpen {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox.open .lb-inner { animation: lbOpen 0.32s ease; }

/* ─── SUCCESS TICK ─── */
@keyframes tickDraw {
  from { opacity: 0; transform: scale(0.5) rotate(-20deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}
.form-success.show .success-icon { animation: tickDraw 0.5s ease; }

/* ─── PARALLAX HELPER ─── */
.parallax-bg {
  will-change: transform;
  transition: transform 0.05s linear;
}

/* ─── IMAGE PLACEHOLDER SHIMMER ─── */
@keyframes placeholderShimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
.img-placeholder {
  background: linear-gradient(
    110deg,
    var(--charcoal) 30%,
    rgba(201,168,76,0.05) 50%,
    var(--charcoal) 70%
  );
  background-size: 200% 100%;
  animation: placeholderShimmer 2.8s ease infinite;
}
