/* HeroNet hareket katmanı (1 Ara 2026). Tüm sitede hafif, SEO ve hız dostu canlılık.
   Kural: içerik JS olmadan da görünür. Gizleme yalnız JS'in eklediği .hn-rv sınıfıyla olur.
   Yalnız opacity ve transform animasyonu: düzen kayması (CLS) yok.
   Hareket azaltma ayarı açık kullanıcıda hiçbir animasyon çalışmaz. */

.hn-rv {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--hn-i, 0) * 70ms);
}
.hn-rv.hn-sol { transform: translate3d(-22px, 0, 0); }
.hn-rv.hn-sag { transform: translate3d(22px, 0, 0); }
.hn-rv.hn-buyu { transform: scale(.96); }
.hn-rv.hn-in { opacity: 1; transform: none; }

/* Kart ve düğme mikro etkileşimleri: yalnız fare olan cihazda */
@media (hover: hover) and (pointer: fine) {
  .hn-kart {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  }
  .hn-kart:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px -14px rgba(15, 23, 42, .28);
  }
  .hn-dugme {
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  }
  .hn-dugme:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -10px rgba(215, 20, 26, .55);
  }
}

/* Birincil eylem düğmesinde yavaş parıltı (ekranda görünürken bir kez) */
.hn-parilti { position: relative; overflow: hidden; isolation: isolate; }
.hn-parilti::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
  z-index: 1;
}
.hn-parilti.hn-in::after { animation: hn-parilti 1.4s .5s ease-out 1; }
@keyframes hn-parilti { to { transform: translateX(120%); } }

/* Sayfa üstü ilerleme çubuğu */
#hn-ilerleme {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, #D7141A, #f87171);
  transform-origin: 0 50%; transform: scaleX(0);
  z-index: 9999; pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hn-rv, .hn-rv.hn-in { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hn-parilti::after { display: none; }
  .hn-kart:hover, .hn-dugme:hover { transform: none; }
  #hn-ilerleme { display: none; }
}
@media print {
  .hn-rv { opacity: 1 !important; transform: none !important; }
  #hn-ilerleme { display: none; }
}
