/* ----------------------------------------------------
   ANIMATIONS — General Utility Animations
---------------------------------------------------- */

/* Fade In */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Fade In Up */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

/* Fade In Down */
.fade-in-down {
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeInDown 1s ease forwards;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

/* Fade In Left */
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  animation: fadeInLeft 1s ease forwards;
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Fade In Right */
.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  animation: fadeInRight 1s ease forwards;
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scale Up */
.scale-up {
  opacity: 0;
  transform: scale(0.92);
  animation: scaleUp 0.8s ease forwards;
}

@keyframes scaleUp {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Soft Glow Pulse */
.glow-pulse {
  animation: glowPulse 2.4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%   { box-shadow: 0 0 6px rgba(196,143,59,0.2); }
  50%  { box-shadow: 0 0 14px rgba(196,143,59,0.55); }
  100% { box-shadow: 0 0 6px rgba(196,143,59,0.2); }
}

/* Slowly Moving Background */
.bg-pan {
  animation: bgPan 18s linear infinite;
}

@keyframes bgPan {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
