/* ============================================================
   L'ÉLIXIR MAISON DE PARFUM — Animations & Motion
   ============================================================ */

/* Slow, calm, refined keyframe animations (300-600ms) */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes subtleScale {
  from { transform: scale(1); }
  to { transform: scale(1.03); }
}

/* Utility Animation Classes */
.animate-fadeInUp {
  animation: fadeInUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) both;
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease both;
}

.animate-slideRight {
  animation: slideInRight 0.6s cubic-bezier(0.25, 1, 0.5, 1) both;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* Micro-interaction Hover Underline */
.hover-underline {
  position: relative;
}

.hover-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 300ms ease;
}

.hover-underline:hover::after {
  width: 100%;
}
