/* PELVIStanbul üst bant (hero), sürüm 4: 08_hero_hareketli/hero.html'den olduğu gibi; görsel yolları assets/images/hero. */

/* ---------- PELVIStanbul üst bant (hero), seçenek C, sürüm 4 (9 Kasım 2026): üç slayt, her birinin kendi metni ---------- */
.hero { position: relative; overflow: hidden; background: #0B4F66; color: #FFFFFF; isolation: isolate;
  padding-block: clamp(34px, 6vw, 76px) clamp(104px, 13vw, 210px);
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.hero .vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 }
.hero .scene { position: absolute; inset: 0; z-index: -1; overflow: hidden }
.hero .slide { position: absolute; inset: 0; background-size: cover; background-position: center 100%; opacity: 0; transition: opacity 1.2s ease; will-change: transform, opacity }
.hero .slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,25,42,.42) 0%, rgba(11,79,102,.38) 45%, rgba(8,59,77,.82) 100%) }
.hero .s1::after { background: radial-gradient(ellipse 52% 50% at 50% 46%, rgba(16,20,38,.52) 0%, rgba(16,20,38,.34) 60%, rgba(16,20,38,0) 100%), linear-gradient(180deg, rgba(6,25,42,.42) 0%, rgba(11,79,102,.38) 45%, rgba(8,59,77,.82) 100%) }
.hero .s2::after { background: radial-gradient(ellipse 54% 52% at 50% 44%, rgba(5,32,48,.76) 0%, rgba(5,32,48,.62) 55%, rgba(5,32,48,.10) 100%), linear-gradient(180deg, rgba(6,25,42,.16) 0%, rgba(11,79,102,.06) 55%, rgba(8,59,77,.70) 100%) }
.hero .slide.on { opacity: 1; animation: kb 8.5s linear forwards }
@keyframes kb { from { transform: scale(1) } to { transform: scale(1.08) } }
.hero .s1 { background-image: url(../images/hero/slide_1_altin_1920.jpg) }
.hero .s2 { background-image: url(../images/hero/slide_2_gunduz_1920.jpg) }
.hero .s3 { background-image: url(../images/hero/slide_3_gece_1920.jpg) }
@media (min-width: 1600px), (min-width: 1000px) and (min-resolution: 1.5dppx) {
  .hero .s1 { background-image: url(../images/hero/slide_1_altin_3840.jpg) }
  .hero .s2 { background-image: url(../images/hero/slide_2_gunduz_3840.jpg) }
  .hero .s3 { background-image: url(../images/hero/slide_3_gece_3840.jpg) }
}
@media (max-width: 640px) and (orientation: portrait) {
  .hero .s1 { background-image: url(../images/hero/slide_1_altin_dikey_1080.jpg) }
  .hero .s2 { background-image: url(../images/hero/slide_2_gunduz_dikey_1080.jpg) }
  .hero .s3 { background-image: url(../images/hero/slide_3_gece_dikey_1080.jpg) }
}
/* paneller: aynı hücrede üst üste; bandın yüksekliği en uzun panelden gelir (kayma yok) */
.hero .panels { display: grid; max-width: 960px; margin-inline: auto }
.hero .panel { grid-area: 1 / 1; align-self: center; display: grid; justify-items: center; text-align: center; gap: clamp(10px, 1.6vw, 18px);
  opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s }
.hero .panel.on { opacity: 1; visibility: visible; transition: opacity .8s ease .3s, visibility 0s }
.hero .eyebrow { color: #F4CB6A; font-weight: 600; letter-spacing: .26em; font-size: clamp(11px, 1.3vw, 15px); margin: 0; text-transform: uppercase }
.hero .logo-wrap { width: min(100%, 620px); margin: 0 }
.hero .logo-svg { display: block; width: 100%; height: auto }
.hero .date { margin: 0; font-weight: 800; letter-spacing: -.01em; line-height: 1.05; font-size: clamp(34px, 6vw, 64px); font-variant-numeric: tabular-nums; text-shadow: 0 2px 18px rgba(0,0,0,.35) }
.hero .date span { color: #E0A526 }
.hero .city { margin: 0; color: #DCE7EC; font-weight: 300; letter-spacing: .1em; font-size: clamp(14px, 2.2vw, 24px) }
.hero .tag { margin: clamp(6px, 1vw, 12px) 0 0; max-width: 46ch; font-weight: 400; font-size: clamp(13px, 1.5vw, 18px); line-height: 1.45; color: #DCE7EC; text-wrap: balance }
.hero .tag .w { white-space: nowrap }
.hero .tag .ini { font-weight: 800; color: #E0A526; display: inline-block }
.hero .motto { margin: 0; max-width: 22ch; font-weight: 800; letter-spacing: -.015em; line-height: 1.06; font-size: clamp(30px, 5.2vw, 62px); text-wrap: balance; text-shadow: 0 2px 22px rgba(0,0,0,.35) }
.hero .sub { margin: 0; max-width: 44ch; font-size: clamp(14px, 1.6vw, 19px); line-height: 1.45; color: #E6EEF2; text-wrap: balance; text-shadow: 0 1px 12px rgba(0,0,0,.35) }
.hero .stats { list-style: none; margin: clamp(2px, .8vw, 8px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, 700px) }
.hero .stats li { display: grid; justify-items: center; align-content: start; gap: 3px; padding: 2px clamp(4px, 1.6vw, 18px) }
.hero .stats li + li { border-left: 1px solid rgba(255,255,255,.30) }
.hero .stats .n { font-weight: 800; font-size: clamp(36px, 6.4vw, 72px); line-height: 1; color: #E0A526; font-variant-numeric: tabular-nums; text-shadow: 0 2px 18px rgba(0,0,0,.30) }
.hero .stats .l { font-weight: 600; font-size: clamp(13px, 1.7vw, 19px); line-height: 1.25 }
.hero .stats .b { font-size: clamp(10px, 1.05vw, 12.5px); letter-spacing: .1em; text-transform: uppercase; color: #C9D9E1; line-height: 1.3 }
.hero .cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: clamp(4px, 1vw, 10px) }
.hero .cta a { display: inline-block; padding: .7em 1.4em; border-radius: 999px; font-weight: 600; font-size: clamp(13px, 1.4vw, 16px); text-decoration: none }
.hero .cta .p { background: #E0A526; color: #14212B }
.hero .cta .s { border: 1.5px solid rgba(255,255,255,.6); color: #FFFFFF; background: rgba(20,33,43,.18) }
.hero .cta a:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px }
/* açılış dizisi (yalnız ilk yüklemede, 1. panel); öğeler görünür dinlenme durumundan başlar, animasyonlar yalnız 'from' tanımlar */
.hero.play .p1 .eyebrow { animation: rise .9s cubic-bezier(.2,.7,.2,1) both }
.hero.play .p1 .logo-wrap { animation: rise 1.1s .25s cubic-bezier(.2,.7,.2,1) both }
.hero.play .p1 .date { animation: rise 1s .55s cubic-bezier(.2,.7,.2,1) both }
.hero.play .p1 .city { animation: rise 1s .75s cubic-bezier(.2,.7,.2,1) both }
.hero.play .p1 .tag { animation: rise 1s .95s cubic-bezier(.2,.7,.2,1) both }
.hero.play .p1 .cta { animation: rise 1s 1.15s cubic-bezier(.2,.7,.2,1) both }
.hero.play .p1 .tag .ini, .hero .p1.enter .tag .ini { animation: gild .55s calc(1.55s + var(--n) * .17s) cubic-bezier(.2,.9,.3,1.3) both }
/* slayt değişince gelen panelin öğeleri sırayla yükselir */
.hero .panel.enter > * { animation: rise .9s .35s cubic-bezier(.2,.7,.2,1) both }
.hero .panel.enter > :nth-child(2) { animation-delay: .5s }
.hero .panel.enter > :nth-child(3) { animation-delay: .65s }
.hero .panel.enter > :nth-child(4) { animation-delay: .8s }
.hero .panel.enter > :nth-child(5) { animation-delay: .95s }
.hero .panel.enter > :nth-child(6) { animation-delay: 1.1s }
.hero .panel.enter .stats li { animation: rise .8s cubic-bezier(.2,.7,.2,1) both }
.hero .panel.enter .stats li:nth-child(1) { animation-delay: .8s } .hero .panel.enter .stats li:nth-child(2) { animation-delay: .95s } .hero .panel.enter .stats li:nth-child(3) { animation-delay: 1.1s }
@keyframes rise { from { opacity: 0; transform: translateY(16px) } }
@keyframes gild { from { color: #DCE7EC; transform: scale(1) } 55% { transform: scale(1.28) } }
/* denetimler: durdur/başlat ve noktalar (alt orta), oklar (masaüstü) */
.hero .controls { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 6px }
.hero .dots { display: flex }
.hero .dots button, .hero .pause { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; border-radius: 50% }
.hero .dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.85); box-sizing: border-box }
.hero .dots button[aria-current="true"]::before { background: #E0A526; border-color: #E0A526 }
.hero .pause::before { content: ""; width: 9px; height: 11px; box-sizing: border-box; border-left: 3px solid #FFFFFF; border-right: 3px solid #FFFFFF }
.hero .pause[data-state="paused"]::before { width: 0; height: 0; border-left: 10px solid #FFFFFF; border-right: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px }
.hero .dots button:focus-visible, .hero .pause:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 1px }
.hero .arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); background: rgba(20,33,43,.35); color: #FFFFFF; font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center }
.hero .arrow.l { left: max(10px, env(safe-area-inset-left, 0px)) } .hero .arrow.r { right: max(10px, env(safe-area-inset-right, 0px)) }
.hero .arrow:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px }
@media (max-width: 640px) { .hero .arrow { display: none } .hero .stats li { padding-inline: 4px }
  /* telefonda yazı bandın neredeyse tamamını kaplar: perde daha düzgün ve koyu (1: güneş üst satırın arkasında, 2: açık gökyüzü) */
  .hero .s1::after { background: linear-gradient(180deg, rgba(16,20,38,.72) 0%, rgba(16,20,38,.56) 45%, rgba(8,59,77,.84) 100%) }
  .hero .s2::after { background: linear-gradient(180deg, rgba(5,32,48,.74) 0%, rgba(5,32,48,.66) 55%, rgba(8,59,77,.84) 100%) } }
@media (prefers-reduced-motion: reduce) { .hero * { animation: none !important; transition: none !important } }

