/* Intersection Observer Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Image Parallax Effect */
.img-reveal {
  opacity: 0;
  transform: scale(1.05);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-reveal.active {
  opacity: 1;
  transform: scale(1);
}

/* Ambient Floating Animation */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.ambient-gradient {
  animation: float 15s ease-in-out infinite;
}

.ag-2 {
  animation-duration: 20s;
  animation-direction: reverse;
}

/* Button Hover Ripple */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 96, 84, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(74, 96, 84, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 96, 84, 0); }
}

.btn-primary:active {
  animation: pulse 0.4s;
}

/* Smooth Fade In for Page Load */
@keyframes fadeInLoad {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  animation: fadeInLoad 0.5s ease-out forwards;
}