/* ═══════════════════════════════════════════════════════
   CHRIS ASSIS TERAPIAS — animations.css
═══════════════════════════════════════════════════════ */

/* ── KEYFRAMES ─────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollDot {
  0%   { top: -100%; }
  100% { top: 120%; }
}

@keyframes floatLeaf {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-18px) rotate(4deg); }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes pulseSoft {
  0%, 100% { opacity: .12; transform: scale(1); }
  50%       { opacity: .22; transform: scale(1.06); }
}

@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

/* ── HERO ENTRY ANIMATION ──────────────────────────── */
.hero-content {
  animation: fadeUp .9s cubic-bezier(.22,1,.36,1) .2s both;
}

/* ── HERO DECORATION FLOAT ─────────────────────────── */
.hero-deco {
  animation: floatLeaf 8s ease-in-out infinite;
}

/* ── HERO SCROLL INDICATOR ─────────────────────────── */
.hero-scroll {
  animation: fadeIn 1s ease 1.2s both;
}

/* ── CIRCULAR RING PULSE ───────────────────────────── */
.ring-pulse {
  animation: pulseSoft 4s ease-in-out infinite;
}

/* ── STAT COUNTER FADE ─────────────────────────────── */
.stats-band .stat-item:nth-child(1) { animation: fadeUp .6s ease .1s both; }
.stats-band .stat-item:nth-child(2) { animation: fadeUp .6s ease .2s both; }
.stats-band .stat-item:nth-child(3) { animation: fadeUp .6s ease .3s both; }
.stats-band .stat-item:nth-child(4) { animation: fadeUp .6s ease .4s both; }

/* ── SERVICE CARD HOVER SHIMMER ────────────────────── */
.svc-card::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(250,246,239,.06) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.svc-card { position: relative; }
.svc-card:hover::after {
  opacity: 1;
  animation: shimmer .8s ease forwards;
}

/* ── PACKAGE CARD FEATURED GLOW ────────────────────── */
.pkg-card.featured {
  position: relative;
}
.pkg-card.featured::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: calc(var(--r-md) + 1px);
  background: linear-gradient(135deg, var(--gold), var(--sage), var(--gold));
  z-index: -1;
  animation: rotateSlow 6s linear infinite;
  background-size: 200%;
}

/* ── TESTIMONIAL CARD STAR ANIMATION ───────────────── */
.testi-stars {
  display: inline-block;
  animation: none;
}
.testi-card:hover .testi-stars {
  animation: pulseSoft .6s ease;
}

/* ── NAV LINK UNDERLINE SLIDE ───────────────────────── */
.nav-list a::after {
  transition: width .35s cubic-bezier(.25,.46,.45,.94);
}

/* ── BUTTON RIPPLE ─────────────────────────────────── */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,.18);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: width .5s ease, height .5s ease, opacity .5s ease;
  opacity: 0;
}
.btn:active::before {
  width: 300px; height: 300px; opacity: 1;
  transition: width .0s, height .0s, opacity 0s;
}
.btn:active::before {
  width: 300px; height: 300px; opacity: 0;
  transition: width .5s ease, height .5s ease, opacity .5s ease;
}

/* ── GOOGLE BADGE HOVER ────────────────────────────── */
.google-badge {
  transition: transform .3s, box-shadow .3s;
}
.google-badge:hover {
  transform: translateY(-2px);
}

/* ── SCROLL PROGRESS BAR ───────────────────────────── */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9000;
  background: linear-gradient(90deg, var(--sage), var(--gold), var(--gold-light));
  width: 0%; transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}
