/* ==========================================================================
   animations.css — Keyframes, Transitions, Scroll Animations
   Wolfa® Group — 360 Markalama Süreçleri
   ========================================================================== */

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

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* ----------------------------------------------------------------------------
   Scroll-Triggered Animation Classes
   ---------------------------------------------------------------------------- */
[data-animate] {
  opacity: 0;
}

[data-animate].animated {
  animation-duration: 0.8s;
  animation-fill-mode: both;
}

[data-animate="fadeIn"].animated    { animation-name: fadeIn; }
[data-animate="fadeInUp"].animated  { animation-name: fadeInUp; }
[data-animate="fadeInDown"].animated { animation-name: fadeInDown; }
[data-animate="fadeInLeft"].animated { animation-name: fadeInLeft; }
[data-animate="fadeInRight"].animated { animation-name: fadeInRight; }

/* ----------------------------------------------------------------------------
   Hover Transitions
   ---------------------------------------------------------------------------- */
.hover-lift {
  transition: transform var(--wolfa-transition-base), box-shadow var(--wolfa-transition-base);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--wolfa-shadow-lg);
}

.hover-scale {
  transition: transform var(--wolfa-transition-fast);
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* ----------------------------------------------------------------------------
   Icon Rotation (Category Cards)
   ---------------------------------------------------------------------------- */
@keyframes rotateIn {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ----------------------------------------------------------------------------
   Pulse Animation (CTA, Scroll Down Arrow)
   ---------------------------------------------------------------------------- */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

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

.one-page-arrow i {
  animation-duration: 1.5s;
}

/* ----------------------------------------------------------------------------
   Parallax Overrides
   ---------------------------------------------------------------------------- */
.parallax .fslider * {
  backface-visibility: hidden;
}

.parallax .fslider .flex-control-paging * {
  backface-visibility: visible;
}

/* ----------------------------------------------------------------------------
   Reduced Motion — Accessibility
   ---------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-animate] {
    opacity: 1;
  }
}
