/* =============================================================================
 * Cinematic Showcase — Phase Premium P4 (2026-06-06)
 * Full-bleed scroll-snap 5 sahne. GPU-composited.
 * ============================================================================= */

.yz-cinema {
  position: relative;
  width: 100%;
  background: #0e1217;
  /* Phase YZ-CINEMA-MOVE (2026-06-06): üstte yumuşak gradient buffer + alt padding —
     FAQ ile arasında sert kesim olmasın, footer'a doğal akış. */
  padding: 60px 0 80px;
  border-top: 1px solid rgba(255,255,255,.05);
  background-image:
    linear-gradient(180deg, rgba(14,18,23,0) 0%, #0e1217 60px),
    linear-gradient(180deg, #0e1217 0%, #0e1217 100%);
  /* Sahneler kendi içinde snap'lenir (proximity = esnek), page scroll engellenmez */
  scroll-snap-type: y proximity;
}

.yz-cinema__scene {
  position: relative;
  width: 100%;
  /* Phase YZ-CINEMA-MOVE: 100vh → 80vh masaüstü; mobile media query ile 70vh.
     Hero ile çakışmaz, içerik kaybolmaz, footer'a yumuşak geçiş. */
  height: 80vh;
  max-height: 760px;
  min-height: 480px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text, #fff);
}

/* Phase YZ-CINEMA-MOVE: ilk sahne yumuşak yuvarlatılmış üst köşe — FAQ ile yumuşak geçiş */
.yz-cinema__scene:first-of-type {
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}
.yz-cinema__scene:last-of-type {
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
}

/* Phase YZ-CINEMA-MOVE — Sinematik bölüm ön-başlık (FAQ → cinematic geçiş bağlamı) */
.yz-cinema__intro {
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 0 24px;
  text-align: center;
}
.yz-cinema__intro-eyebrow {
  display: inline-block;
  letter-spacing: 4px;
  font-size: 11px;
  text-transform: uppercase;
  color: #c8a45c;
  border-top: 1px solid rgba(200,164,92,.4);
  border-bottom: 1px solid rgba(200,164,92,.4);
  padding: 4px 14px;
  margin-bottom: 14px;
}
.yz-cinema__intro h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 3.6vw, 38px);
  color: #f6f4ee;
  margin: 0 0 8px;
  letter-spacing: -.5px;
}
.yz-cinema__intro p {
  color: rgba(246,244,238,.72);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Phase YZ-CINEMA-MOVE — Cinematic kapanış: sahne sonrası "Ürünleri Keşfet" CTA */
.yz-cinema__outro {
  max-width: 640px;
  margin: 48px auto 0;
  padding: 0 24px;
  text-align: center;
}
.yz-cinema__outro h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(22px, 2.8vw, 30px);
  color: #f6f4ee;
  margin: 0 0 10px;
  letter-spacing: -.3px;
}
.yz-cinema__outro p {
  color: rgba(246,244,238,.7);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 22px;
}
.yz-cinema__outro-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: linear-gradient(135deg, #c8a45c 0%, #d9bb78 100%);
  color: #0e1217;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .4px;
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(200,164,92,.25);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s;
}
.yz-cinema__outro-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 18px 50px rgba(200,164,92,.4);
}

.yz-cinema__bg {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  transform: scale(1.08);
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
  /* Default fallback — koyu yeşil/cream brand gradient (background_image yoksa devreye girer) */
  background-color: #1e4530;
  background-image: linear-gradient(135deg, #2d5e3e 0%, #1e4530 50%, #0c1117 100%);
}

/* Sahne-bazlı fallback gradient (background_image boşsa devreye girer) — */
/* sahne 1 (taze yeşil bahçe) → sahne 5 (sıcak çay/sofra) doğal renk yolculuğu */
.yz-cinema__scene[data-scene="0"] .yz-cinema__bg--fallback {
  background-image:
    radial-gradient(circle at 30% 40%, rgba(82,183,136,0.55) 0%, transparent 60%),
    linear-gradient(135deg, #2d5e3e 0%, #1a3d28 55%, #0e1f15 100%);
}
.yz-cinema__scene[data-scene="1"] .yz-cinema__bg--fallback {
  background-image:
    radial-gradient(circle at 70% 35%, rgba(168,202,143,0.45) 0%, transparent 65%),
    linear-gradient(140deg, #3a6b46 0%, #234a32 60%, #11241a 100%);
}
.yz-cinema__scene[data-scene="2"] .yz-cinema__bg--fallback {
  background-image:
    radial-gradient(circle at 50% 50%, rgba(200,164,92,0.35) 0%, transparent 65%),
    linear-gradient(135deg, #4a3a26 0%, #2d5e3e 55%, #1a2a1f 100%);
}
.yz-cinema__scene[data-scene="3"] .yz-cinema__bg--fallback {
  background-image:
    radial-gradient(circle at 35% 55%, rgba(217,187,120,0.45) 0%, transparent 60%),
    linear-gradient(140deg, #5a4528 0%, #3a2e1c 60%, #1a1410 100%);
}
.yz-cinema__scene[data-scene="4"] .yz-cinema__bg--fallback {
  background-image:
    radial-gradient(circle at 50% 45%, rgba(232,176,96,0.55) 0%, transparent 65%),
    linear-gradient(135deg, #7a4a1f 0%, #4a2a14 55%, #1e120a 100%);
}

.yz-cinema__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

@media (max-width: 768px) {
  .yz-cinema__video { display: none; } /* mobilde data save: image fallback */
}

.yz-cinema__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,calc(var(--overlay) * 0.6)) 0%, rgba(0,0,0,var(--overlay)) 50%, rgba(0,0,0,calc(var(--overlay) * 1.1)) 100%);
  pointer-events: none;
  z-index: 1;
}

.yz-cinema__content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding: 24px 28px;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  /* Çocukları stack et — CTA + reveal yan yana gelmesin */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.yz-cinema__reveal { display: block; margin: 24px auto 0 !important; }

.yz-cinema__scene.is-visible .yz-cinema__content {
  opacity: 1;
  transform: translateY(0);
}

.yz-cinema__index {
  display: inline-block;
  letter-spacing: 4px;
  font-size: 11px;
  text-transform: uppercase;
  opacity: .75;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  padding: 4px 14px;
  margin-bottom: 22px;
}

.yz-cinema__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(38px, 6.4vw, 84px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -1.5px;
  margin: 0 0 18px;
  text-shadow: 0 6px 30px rgba(0,0,0,.45);
}

.yz-cinema__subtitle {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(15px, 1.8vw, 20px);
  line-height: 1.55;
  font-weight: 300;
  max-width: 620px;
  margin: 0 auto 28px;
  opacity: .92;
}

.yz-cinema__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: rgba(255,255,255,.96);
  color: #0e1217;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .3px;
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s;
  transform: scale(.96);
  opacity: 0;
}

.yz-cinema__scene.is-visible .yz-cinema__cta {
  opacity: 1;
  transform: scale(1);
  transition-delay: .25s;
}

.yz-cinema__cta:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 50px rgba(0,0,0,.5);
}

.yz-cinema__scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: currentColor;
  opacity: .5;
  font-size: 22px;
  animation: yzCinemaBounce 2.2s ease-in-out infinite;
}

@keyframes yzCinemaBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .5; }
  50% { transform: translateX(-50%) translateY(8px); opacity: .9; }
}

/* === Kupon reveal === */
.yz-cinema__reveal {
  margin-top: 38px;
  perspective: 1000px;
  display: inline-block;
  cursor: pointer;
}

.yz-cinema__reveal-card {
  position: relative;
  width: 280px;
  height: 160px;
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.4,.0,.2,1);
}

.yz-cinema__reveal-card.flipped {
  transform: rotateY(180deg);
}

.yz-cinema__reveal-front,
.yz-cinema__reveal-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}

.yz-cinema__reveal-front {
  background: linear-gradient(135deg, #c8a45c 0%, #d9bb78 100%);
  color: #0e1217;
}

.yz-cinema__reveal-front span {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}

.yz-cinema__reveal-front small {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: .7;
}

.yz-cinema__reveal-back {
  background: linear-gradient(135deg, #2d5e3e 0%, #52b788 100%);
  color: #fff;
  transform: rotateY(180deg);
}

.yz-cinema__coupon {
  font-family: 'Outfit', monospace;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 3px;
  background: rgba(0,0,0,.25);
  padding: 8px 18px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.yz-cinema__reveal-back small {
  font-size: 11px;
  opacity: .85;
  margin-bottom: 10px;
  text-align: center;
}

.yz-cinema__copy {
  background: #fff;
  color: #2d5e3e;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: transform .2s;
}

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

/* === Reduced motion === */
.yz-cinema.no-anim .yz-cinema__bg,
.yz-cinema.no-anim .yz-cinema__content,
.yz-cinema.no-anim .yz-cinema__cta,
.yz-cinema.no-anim .yz-cinema__scroll-hint {
  transition: none !important;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* === Phase Perf-Anim (2026-06-06) — viewport dışında Ken Burns pause === */
.yz-cinema__scene.is-paused .yz-cinema__bg,
.yz-cinema__scene.is-paused .yz-cinema__content {
  animation-play-state: paused;
}

/* === Phase Perf-Lazy (2026-06-06) — bg yüklenene kadar koyu placeholder (CLS önler) === */
.yz-cinema__bg--lazy { background-color: #0e1f15; }

@media (prefers-reduced-motion: reduce) {
  .yz-cinema__bg, .yz-cinema__content, .yz-cinema__cta, .yz-cinema__scroll-hint {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* === Phase YZ-CINEMA-MOVE (2026-06-06) — Mobile kompakt + scroll-snap proximity === */
@media (max-width: 768px) {
  .yz-cinema {
    padding: 40px 0 56px;
    /* Mobile'da snap zorlama yok — kullanıcı parmağıyla rahat scroll etsin */
    scroll-snap-type: none;
  }
  .yz-cinema__scene {
    height: 70vh;
    min-height: 420px;
    max-height: 620px;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
  .yz-cinema__intro {
    margin-bottom: 20px;
    padding: 0 20px;
  }
  .yz-cinema__outro {
    margin-top: 36px;
    padding: 0 20px;
  }
  .yz-cinema__outro-cta {
    padding: 12px 24px;
    font-size: 13px;
  }
}

/* =============================================================================
 * Phase Cinema-Landing (2026-06-07) — Kurumsal Çözümler grid (footer'dan taşındı)
 * Sinematik tema: koyu zemin + altın hover, 14 landing card.
 * ============================================================================= */
.yz-cinema__landings {
  position: relative;
  max-width: 1180px;
  margin: 60px auto 40px;
  padding: 48px 32px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(45,94,62,.18) 0%, rgba(15,28,20,0) 70%);
  border-top: 1px solid rgba(201,162,74,.18);
  border-bottom: 1px solid rgba(201,162,74,.10);
  color: #f4ecd8;
}
.yz-cinema__landings-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #c9a24a;
  margin-bottom: 14px;
}
.yz-cinema__landings-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #f7efd9;
  font-family: Georgia, "Times New Roman", serif;
}
.yz-cinema__landings-sub {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(244,236,216,.70);
  max-width: 580px;
  margin: 0 auto 38px;
}
.yz-cinema__landings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 12px;
  max-width: 1080px;
  margin: 0 auto;
}
.yz-cinema__landing-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 14px 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(201,162,74,.14);
  border-radius: 12px;
  color: #e7dcb9;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
  min-height: 110px;
}
.yz-cinema__landing-card:hover,
.yz-cinema__landing-card:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(201,162,74,.10), rgba(201,162,74,.04));
  border-color: rgba(201,162,74,.45);
  color: #fff;
  outline: none;
}
.yz-cinema__landing-icon {
  font-size: 28px;
  line-height: 1;
}
.yz-cinema__landing-label {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 780px) {
  .yz-cinema__landings { padding: 36px 18px; margin: 40px auto 24px; }
  .yz-cinema__landings-title { font-size: 22px; }
  .yz-cinema__landings-sub { font-size: 13.5px; margin-bottom: 28px; }
  .yz-cinema__landings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .yz-cinema__landing-card { padding: 16px 10px 14px; min-height: 96px; font-size: 12px; }
  .yz-cinema__landing-icon { font-size: 24px; }
}
