/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 126, 103, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 126, 103, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 126, 103, 0);
  }
}

/* Utility Animation Classes */
.animate-on-scroll {
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

.animate-on-scroll.visible {
  visibility: visible;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

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

/* Image reveal overlay */
.img-reveal {
  position: relative;
  overflow: hidden;
}

.img-reveal::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg-base);
  z-index: 1;
  transform-origin: right;
  transition: transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.visible.img-reveal::after {
  transform: scaleX(0);
}