/* Beautiful Scroll Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* Fade In Up Animation */
[data-animate="fadeInUp"] {
  transform: translateY(40px);
}

[data-animate="fadeInUp"].animated {
  transform: translateY(0);
}

/* Scale In Animation */
[data-animate="scaleIn"] {
  transform: scale(0.9);
}

[data-animate="scaleIn"].animated {
  transform: scale(1);
}

/* Slide From Left */
[data-animate="slideInLeft"] {
  transform: translateX(-40px);
}

[data-animate="slideInLeft"].animated {
  transform: translateX(0);
}

/* Slide From Right */
[data-animate="slideInRight"] {
  transform: translateX(40px);
}

[data-animate="slideInRight"].animated {
  transform: translateX(0);
}

/* Delayed animations for staggered effect */
.stagger-anim-1 {
  --animation-delay: 0.1s;
}

.stagger-anim-2 {
  --animation-delay: 0.2s;
}

.stagger-anim-3 {
  --animation-delay: 0.3s;
}

.stagger-anim-4 {
  --animation-delay: 0.4s;
}

.stagger-anim-5 {
  --animation-delay: 0.5s;
}

[data-animate].stagger-anim-1.animated {
  transition-delay: var(--animation-delay);
}

[data-animate].stagger-anim-2.animated {
  transition-delay: var(--animation-delay);
}

[data-animate].stagger-anim-3.animated {
  transition-delay: var(--animation-delay);
}

[data-animate].stagger-anim-4.animated {
  transition-delay: var(--animation-delay);
}

[data-animate].stagger-anim-5.animated {
  transition-delay: var(--animation-delay);
}

[data-animate].custom-ease {
  transition: all 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Bounce effect for special elements */
[data-animate="bounce"] {
  opacity: 0;
  transform: scale(0.8) translateY(30px);
  transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

[data-animate="bounce"].animated {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Heartbeat effect for special moments */
[data-animate="heartbeat"] {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s ease-out;
}

[data-animate="heartbeat"].animated {
  opacity: 1;
  animation: heartbeat 1.5s infinite 1.5s;
}

@keyframes heartbeat {
  0% { transform: scale(0.8); }
  14% { transform: scale(1.1); }
  28% { transform: scale(0.85); }
  42% { transform: scale(1.05); }
  70% { transform: scale(0.8); }
  100% { transform: scale(0.8); }
}

/* Parallax effect for section backgrounds */
.section.parallax-bg {
  background-attachment: fixed;
}

/* Enhanced gallery animations */
.gallery__wrap .photo {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery__wrap .photo:hover {
  transform: translateY(-10px) scale(1.03);
  z-index: 10;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Timing items animation */
.timing__item {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.5s ease-out;
}

.timing__item.animated {
  opacity: 1;
  transform: translateX(0);
}

.timing__item.delay-1 { transition-delay: 0.1s; }
.timing__item.delay-2 { transition-delay: 0.2s; }
.timing__item.delay-3 { transition-delay: 0.3s; }
.timing__item.delay-4 { transition-delay: 0.4s; }
.timing__item.delay-5 { transition-delay: 0.5s; }

/* Color palette animation */
.dresscode__colors .color__item {
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition-property: opacity, transform;
}

.dresscode__colors .color__item.animated {
  opacity: 1;
  transform: scale(1);
}

.color__item:nth-child(1) { transition-delay: 0.1s; }
.color__item:nth-child(2) { transition-delay: 0.2s; }
.color__item:nth-child(3) { transition-delay: 0.3s; }
.color__item:nth-child(4) { transition-delay: 0.4s; }
.color__item:nth-child(5) { transition-delay: 0.5s; }