/* =======================================
   Luzombra Studio - Animations
   Theme: Cinematic Light and Shadow Motion
   ======================================= */

/* ---------- Global Transitions ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1.2s ease-out forwards;
}

.fade-in-delay {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeIn 1.2s ease-out 0.5s forwards;
}

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

/* ---------- Hero Section Animations ---------- */
.hero-content h2 {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUpGlow 1.5s ease-out forwards;
}

.hero-content p {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 1.8s ease-out 0.5s forwards;
}

.hero-content .btn {
  opacity: 0;
  animation: fadeIn 1.8s ease-out 1s forwards;
}

@keyframes slideUpGlow {
  0% {
    opacity: 0;
    transform: translateY(40px);
    text-shadow: 0 0 0 rgba(242, 199, 68, 0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    text-shadow: 0 0 20px rgba(242, 199, 68, 0.4);
  }
}

/* ---------- Hover Light Pulse ---------- */
.btn-primary:hover,
.store-btn:hover {
  animation: pulseLight 0.6s ease-out;
}

@keyframes pulseLight {
  0% {
    box-shadow: 0 0 0 rgba(242, 199, 68, 0);
  }
  50% {
    box-shadow: 0 0 18px rgba(242, 199, 68, 0.5);
  }
  100% {
    box-shadow: 0 0 0 rgba(242, 199, 68, 0);
  }
}

/* ---------- Floating Glow Effect ---------- */
.glow-float {
  animation: glowFloat 3.5s ease-in-out infinite;
}

@keyframes glowFloat {
  0%, 100% {
    transform: translateY(0);
    filter: drop-shadow(0 0 10px rgba(242, 199, 68, 0.25));
  }
  50% {
    transform: translateY(-10px);
    filter: drop-shadow(0 0 18px rgba(242, 199, 68, 0.5));
  }
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 1;
  transform: translateY(50px);
  transition: all 1s ease-out;
}

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

/* ---------- Subtle Parallax ---------- */
.parallax {
  transform: translateY(0);
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.parallax.active {
  transform: translateY(-20px);
}

/* ---------- Fade Overlay ---------- */
@keyframes fadeOverlay {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-overlay {
  animation: fadeOverlay 2s ease-in forwards;
}

/* ---------- Page Load Fade ---------- */
body {
  opacity: 0;
  animation: bodyFadeIn 1.2s ease-out forwards;
}

@keyframes bodyFadeIn {
  from {
    opacity: 0;
    background-color: #000;
  }
  to {
    opacity: 1;
  }
}
