/* ============================================
   GABRIEL TOUR — Animations
   ============================================ */

/* ---- Scroll Reveal ---- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---- Stagger Delays ---- */

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }
.stagger-7 { transition-delay: 0.35s; }
.stagger-8 { transition-delay: 0.4s; }

/* ---- Ken Burns (hero backgrounds) ---- */

@keyframes kenBurns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.ken-burns {
  animation: kenBurns 20s ease alternate infinite;
}

/* ---- Pulse (floating button) ---- */

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.pulse {
  animation: pulse 3s ease-in-out infinite;
}

/* ---- Price Badge Glow ---- */

@keyframes priceGlow {
  0%, 100% { box-shadow: 0 2px 8px rgba(13, 148, 136, 0.2); }
  50%      { box-shadow: 0 2px 20px rgba(13, 148, 136, 0.4); }
}

.price-glow {
  animation: priceGlow 3s ease-in-out infinite;
}

/* ---- Typing Indicator (booking chat) ---- */

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30%           { transform: translateY(-6px); }
}

.typing-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-text-muted);
  animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }

/* ---- Fade In Up (chat bubbles) ---- */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.4s var(--ease-out) forwards;
}

/* ---- Slide Down (contact strip) ---- */

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-down {
  animation: slideDown 0.4s var(--ease-out) forwards;
}

/* ---- Expand (floating contact) ---- */

@keyframes expandUp {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.expand-up {
  animation: expandUp 0.3s var(--ease-out) forwards;
}

/* ---- Shimmer (loading placeholder) ---- */

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

.shimmer {
  background: linear-gradient(90deg, var(--color-pearl) 25%, var(--color-ivory) 50%, var(--color-pearl) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

/* ---- Hero Text Reveal ---- */

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

.hero-reveal {
  opacity: 0;
  animation: heroReveal 1s var(--ease-out) forwards;
}

.hero-reveal-1 { animation-delay: 0.2s; }
.hero-reveal-2 { animation-delay: 0.5s; }
.hero-reveal-3 { animation-delay: 0.8s; }
.hero-reveal-4 { animation-delay: 1.1s; }

/* ---- Gold Line Draw ---- */

@keyframes lineGrow {
  from { width: 0; }
  to   { width: 60px; }
}

.gold-line {
  display: block;
  height: 2px;
  background: var(--color-gold);
  animation: lineGrow 0.8s var(--ease-out) forwards;
}

.gold-line--center {
  margin: var(--space-4) auto;
}
