/* Zağnos Tur: mobil ve masaüstü performans + LCP iyileştirmeleri */

/* 1. Hero sarmalayıcının JS/animasyon beklemeden görünmesini sağla */
.vs-hero-wrapper,
.vs-hero-wrapper .zagnos-slider,
.vs-hero-wrapper .mySwiper,
.vs-hero-wrapper .swiper-wrapper {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Swiper başlatılmadan ÖNCE yalnızca ilk slaytı anında göster (NO_LCP önlemi).
   Not: .left ve .text üzerindeki dikey ortalama (translateY) bozulmaması için
   transform kuralına dokunulmaz. */
.vs-hero-wrapper .mySwiper:not(.swiper-initialized) .swiper-slide:first-child,
.vs-hero-wrapper .mySwiper:not(.swiper-initialized) .swiper-slide:first-child .left,
.vs-hero-wrapper .mySwiper:not(.swiper-initialized) .swiper-slide:first-child .right,
.vs-hero-wrapper .mySwiper:not(.swiper-initialized) .swiper-slide:first-child img,
.vs-hero-wrapper .mySwiper:not(.swiper-initialized) .swiper-slide:first-child .text,
.vs-hero-wrapper .mySwiper:not(.swiper-initialized) .swiper-slide:first-child .text > * {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Swiper başlatılana kadar diğer slaytları gizle */
.vs-hero-wrapper .mySwiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  display: none !important;
}

/* Swiper başlatıldıktan SONRA yalnızca aktif slaytın içeriği görünür olsun;
   pasif slaytların başlıkları üst üste binmesin */
.vs-hero-wrapper .mySwiper.swiper-initialized .swiper-slide-active,
.vs-hero-wrapper .mySwiper.swiper-initialized .swiper-slide-active .left,
.vs-hero-wrapper .mySwiper.swiper-initialized .swiper-slide-active .right,
.vs-hero-wrapper .mySwiper.swiper-initialized .swiper-slide-active img,
.vs-hero-wrapper .mySwiper.swiper-initialized .swiper-slide-active .text,
.vs-hero-wrapper .mySwiper.swiper-initialized .swiper-slide-active .text > * {
  opacity: 1 !important;
  visibility: visible !important;
}

.vs-hero-wrapper .mySwiper.swiper-initialized.swiper-fade .swiper-slide:not(.swiper-slide-active) {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Ekran altındaki (katlama çizgisi altı) ağır bölümleri ilk boyamayı geciktirmeden çiz */
.zagnos-google-reviews,
.zagnos-blog-section,
.zf-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 750px;
}

@media (max-width: 767px) {
  /* Mobilde katlama çizgisi altındaki kampanya ve popüler turlar bölümlerini geç çiz */
  .zagnos-promo-section,
  .zagnos-popular-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 750px;
  }

  /* Mobilde hero arkasındaki ekstra dekoratif pattern görselini indirme */
  .vs-hero-wrapper .pattern-layer {
    background-image: none !important;
    display: none !important;
  }

  /* Animasyon sınıflarının mobilde içeriği gizlemesini engelle */
  [data-anim],
  [data-anim-wrap],
  [data-anim-child] {
    opacity: 1 !important;
    visibility: visible !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

  /* Footer içindeki tekrarlı 12'li gezi galerisini mobilde gizle */
  .zf-footer .zf-gallery {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-anim],
  [data-anim-child] {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
