/* ========================================================
   AHMET ULUÇAY – ANIMASYONLAR (animasyonlar.css)
   ======================================================== */

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

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

@keyframes hafifOlcek {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

@keyframes kaydirAsagiOk {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(6px);
  }
  60% {
    transform: translateY(3px);
  }
}

.anim-kaydir-asagi {
  animation: kaydirAsagiOk 2s infinite;
}

/* Scroll Reveal Sınıfları */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

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

.reveal-gecikme-1 { transition-delay: 0.15s; }
.reveal-gecikme-2 { transition-delay: 0.3s; }
.reveal-gecikme-3 { transition-delay: 0.45s; }

/* Erişilebilirlik: Kullanıcı hareketi azaltmak istiyorsa */
@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;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
