/* Animation effects for the wedding template */

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Slide-up animation */
@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Slide-in-right animation */
@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Slide-in-left animation */
@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Zoom-in animation */
@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Pulse glow animation */
@keyframes pulseGlow {
  0% {
    text-shadow: 0 0 5px rgba(201, 169, 110, 0.1);
  }
  50% {
    text-shadow: 0 0 20px rgba(201, 169, 110, 0.5);
  }
  100% {
    text-shadow: 0 0 5px rgba(201, 169, 110, 0.1);
  }
}

/* Border shine animation */
@keyframes borderShine {
  0% {
    box-shadow: 0 0 0px rgba(201, 169, 110, 0.5);
  }
  50% {
    box-shadow: 0 0 15px rgba(201, 169, 110, 0.8);
  }
  100% {
    box-shadow: 0 0 0px rgba(201, 169, 110, 0.5);
  }
}

/* Floating animation */
@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Heartbeat animation */
@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Apply animations */
.animate-on-scroll {
  opacity: 0;
}

.animate-on-scroll.animate {
  opacity: 1;
  animation: fadeIn 1s ease forwards;
}

.animate-on-scroll.animate-slide-up {
  animation: slideUp 1s ease forwards;
}

.animate-on-scroll.animate-slide-right {
  animation: slideInRight 1s ease forwards;
}

.animate-on-scroll.animate-slide-left {
  animation: slideInLeft 1s ease forwards;
}

.animate-on-scroll.animate-zoom {
  animation: zoomIn 1s ease forwards;
}

.pulse-glow {
  animation: pulseGlow 3s infinite;
}

.shine-border:hover {
  animation: borderShine 2s infinite;
}

.float {
  animation: floating 4s ease-in-out infinite;
}

.heartbeat {
  animation: heartbeat 1.5s infinite;
}

/* Animation delay classes */
.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

.delay-700 {
  animation-delay: 0.7s;
}

.delay-1000 {
  animation-delay: 1s;
}
