/* ============================================
   ATA Global — Animations
   ============================================ */

/* ── Fade In ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-default), transform 0.8s var(--ease-default);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

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

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease-default), transform 0.8s var(--ease-default);
}

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

/* ── Stagger Delays ── */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── Hero Animations ── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(201, 161, 74, 0.2); }
  50% { box-shadow: 0 0 40px rgba(201, 161, 74, 0.4); }
}

@keyframes slide-in-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ── Decorative ── */
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
.animate-spin-slow { animation: spin-slow 30s linear infinite; }

/* ── Hero Specific ── */
.hero__title {
  animation: slide-in-up 0.8s var(--ease-default) 0.2s both;
}

.hero__subtitle {
  animation: slide-in-up 0.8s var(--ease-default) 0.4s both;
}

.hero__cta {
  animation: slide-in-up 0.8s var(--ease-default) 0.6s both;
}

/* ── Decorative shapes ── */
.deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.deco-circle--1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 161, 74, 0.1) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.deco-circle--2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(201, 161, 74, 0.08) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
  animation: float 10s ease-in-out infinite reverse;
}

.deco-circle--3 {
  width: 150px;
  height: 150px;
  border: 2px solid rgba(201, 161, 74, 0.15);
  top: 20%;
  left: 5%;
  animation: spin-slow 25s linear infinite;
}

/* ── Reduce motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in, .fade-in-left, .fade-in-right, .scale-in {
    opacity: 1;
    transform: none;
  }
}
