/* SNR Playwork — H2 Akordeon landing. Değerler tasarım teslimiyle (design_handoff_snr_playwork_akordeon) birebir. */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #0B1026;          /* sayfa zemini, koyu metin */
  --navy-2: #111A3A;        /* Kiralık Alan bölüm zemini */
  --card: #141E44;          /* mekan kartı */
  --ph: #1B2550;            /* görsel placeholder zemini */
  --ph-hero: #2A3366;       /* hero görsel placeholder */
  --line: #1F2A55;          /* ayraç / menü çizgisi */
  --line-2: #2A3766;        /* adım listesi çizgisi */
  --orange: #FF7A1A;        /* ana vurgu */
  --white: #FFFFFF;
  --text-2: #E3E8FA;        /* hero alt metin */
  --text-3: #C9D2F0;        /* gövde ikincil metin */
  --muted: #8D97C0;         /* etiket / copyright */
  --inactive: #6B76A3;      /* pasif dil */
  --sep: #4A5480;           /* TR | EN ayırıcı */
  --wa: #25D366;            /* WhatsApp FAB */
  --grad-text: linear-gradient(90deg, #2E8BFF, #C04CFF, #FF4FA3);

  --f-display: 'Montserrat', sans-serif;  /* sitenin tek fontu: gövde 400–800, başlık 800 / 900 */

  --pad-x: clamp(16px, 3vw, 48px);
  --sec-y: clamp(56px, 7vw, 110px);
  --maxw: 1400px;
  --r-lg: 24px;
  --r-md: 14px;
  --r-pill: 99px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--white); font-family: var(--f-display); line-height: 1.5; }
a { color: var(--orange); }
a:hover { color: var(--white); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.eyebrow { font-size: 12px; letter-spacing: .24em; font-weight: 800; color: var(--orange); margin: 0 0 14px; text-transform: uppercase; }
.h2 { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.stripes { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 20px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--orange); color: var(--navy); padding: 10px 16px; border-radius: var(--r-pill); font-weight: 800; text-decoration: none; }
.skip:focus { top: 16px; }

/* Butonlar */
.btn { display: inline-block; text-decoration: none; border-radius: var(--r-pill); font-weight: 800; font-size: 14px; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn-orange { background: var(--orange); color: var(--navy); padding: 14px 24px; }
.btn-orange:hover { background: var(--white); color: var(--navy); }
.btn-outline { border: 1.5px solid var(--white); color: var(--white); padding: 13px 22px; font-weight: 700; }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); padding: 14px 26px; }
.btn-navy:hover { background: var(--white); color: var(--navy); }

/* Dil seçici (gerçek linkler) */
.lang { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.lang a { padding: 4px 2px; color: var(--inactive); text-decoration: none; }
.lang a:hover, .lang a[aria-current="page"] { color: var(--white); }
.lang span { color: var(--sep); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 780px; display: flex; flex-direction: column; background: var(--navy); }
.hero-img { position: absolute; inset: 0; background-color: var(--ph-hero); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,16,38,.72) 0, rgba(11,16,38,.6) 35%, rgba(11,16,38,.82) 70%, #0B1026 100%); }

.header { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 18px var(--pad-x); }
.logo { display: block; line-height: 0; }
.logo img { display: block; width: 124px; height: auto; }
.nav { display: flex; gap: 6px 28px; font-size: 14px; font-weight: 700;align-items: center; white-space: nowrap; }
.nav a { color: var(--white); text-decoration: none; }
.nav a:hover { color: var(--orange); }
.header-right { display: flex; align-items: center; gap: 14px; }
.header-cta { padding: 11px 20px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.35); background: transparent; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; padding: 0; }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 16px 24px; flex-direction: column; box-shadow: 0 24px 40px rgba(0,0,0,.4); }
.mobile-menu.open { display: flex; }
.mobile-menu a.m-link { color: var(--white); text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 22px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn-orange { margin-top: 20px; padding: 15px 20px; font-size: 15px; text-align: center; }

.hero-body { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; padding-top: 40px; padding-bottom: 56px; }
.hero-eyebrow { font-size: 12px; letter-spacing: .24em; font-weight: 800; margin: 0 0 20px; color: var(--orange); text-wrap: balance; }
.hero h1 { margin: 0 0 28px; font-family: var(--f-display); font-weight: 900; font-size: clamp(38px, 8.2vw, 128px); line-height: 1; letter-spacing: -.045em; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-row { display: flex; gap: 24px 48px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.hero-sub { margin: 0; max-width: 46ch; font-size: 17px; color: var(--text-2); text-wrap: pretty; }
.hero-btns { display: flex; gap: 12px; flex-wrap: nowrap; flex-shrink: 0; align-items: center; min-width: max-content; }
.hero-btns .b1 { background: var(--white); color: var(--navy); padding: 17px 30px; font-size: 15px; }
.hero-btns .b1:hover { background: var(--orange); }
.hero-btns .b2 { border: 1.5px solid var(--white); color: var(--white); padding: 16px 28px; font-size: 15px; font-weight: 700; }
.hero-btns .b2:hover { background: var(--orange); border-color: var(--orange); color: var(--navy); }

/* ---------- MARQUEE ---------- */
.marquee { background: var(--orange); color: var(--navy); overflow: hidden; white-space: nowrap; font-family: var(--f-display); font-weight: 800; font-size: 18px; padding: 14px 0; }
.marquee-track { display: flex; width: max-content; animation: snrMarq 36s linear infinite; }
.marquee-track span { padding: 0 20px; }
@keyframes snrMarq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- MARKALAR (AKORDEON) ---------- */
.brands { padding-top: var(--sec-y); padding-bottom: var(--sec-y); }
.sec-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px 64px; margin-bottom: 40px; align-items: end; }
.sec-head .h2 { line-height: 1.06; }
.sec-head p:not(.eyebrow) { margin: 0; font-size: 16px; color: var(--text-3); max-width: 46ch; text-wrap: pretty; }

.acc { display: flex; flex-direction: row; gap: 10px; height: 680px; margin: 0; padding: 0; list-style: none; }
.panel { position: relative; flex: 0 0 84px; height: 100%; min-width: 0; border-radius: var(--r-lg); overflow: hidden; cursor: pointer; transition: flex .5s ease, height .4s ease; scroll-margin-top: 24px;
  /* --c = marka rengi, --ink = metin rengi (build.mjs set eder) */
  color: var(--ink); background: linear-gradient(180deg, var(--c), color-mix(in oklch, var(--c) 74%, #0B1026)); }
.panel.is-open { flex: 1 1 0; cursor: default; }
.panel::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.12) 0 2px, transparent 2px 20px); pointer-events: none; }

.p-closed { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 10px; padding: 20px 22px; width: 100%; border: 0; background: none; color: inherit; cursor: pointer; text-align: left; }
.p-closed .name { font-family: var(--f-display); font-weight: 900; font-size: 20px; letter-spacing: -.01em; line-height: 1; white-space: nowrap; writing-mode: vertical-rl; transform: rotate(180deg); }
.p-closed .meta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.soon { background: var(--navy); color: var(--white); border-radius: var(--r-pill); font-size: 11px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.p-closed .soon { padding: 10px 5px; writing-mode: vertical-rl; transform: rotate(180deg); }
.p-closed .age-short { display: none; font-size: 13px; font-weight: 700; }
.panel.is-open .p-closed { display: none; }

.p-open { display: none; position: relative; height: 100%; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(20px, 2.4vw, 32px); }
.panel.is-open .p-open { display: flex; }
.p-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 20px; flex-wrap: wrap; }
.p-name { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -.035em; line-height: 1; }
.p-name sup { font-size: .4em; margin-left: 2px; }
.p-by { font-size: 13px; font-weight: 700; margin: 8px 0 0; opacity: .85; }
.p-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.p-badges .soon { padding: 7px 14px; font-size: 12px; }
.p-age { border: 1.5px solid currentColor; padding: 6px 14px; border-radius: var(--r-pill); font-size: 13px; font-weight: 800; }
.p-bottom { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 20px; }
.p-desc { margin: 0; font-size: clamp(18px, 1.7vw, 24px); font-weight: 700; line-height: 1.3; max-width: 30ch; text-wrap: pretty; }
.p-gallery { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
/* Sahne panelde kalan yüksekliği doldurur; fotoğraf sayısı ne olursa olsun aynı görünüm. */
.p-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; border-radius: var(--r-md); background: var(--thumb); border: 1px solid var(--thumb-line); }
.p-stage .shot { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.p-stage .shot.is-active { opacity: 1; }
.p-stage .shot::before { content: ""; position: absolute; inset: 0; background: var(--bg) center / cover; filter: blur(22px) brightness(.85); transform: scale(1.15); }
.p-thumbs { display: flex; justify-content: center; gap: 8px; }
.p-thumbs button { position: relative; flex: 0 1 72px; min-width: 0; aspect-ratio: 4/3; padding: 0; overflow: hidden; border-radius: 10px; border: 2px solid transparent; background: var(--thumb); cursor: pointer; opacity: .6; transition: opacity .15s, border-color .15s; }
.p-thumbs button:hover { opacity: .9; }
.p-thumbs button[aria-pressed="true"] { opacity: 1; border-color: var(--ink); }
.p-thumbs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* Fotoğraflar yer tutucu kutuyu kaplar (gorseller/hazirla.py → build.mjs photo()) */
.p-gallery img, .v-img img, .space-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.p-stage img { object-fit: contain; }

.p-prog { display: none; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--track); }
.acc.auto .panel.is-open .p-prog { display: block; }
.p-prog i { display: block; height: 100%; background: var(--ink); transform-origin: left; animation: snrProg 6s linear forwards; }
.acc.paused .p-prog i { animation-play-state: paused; }
@keyframes snrProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- KİRALIK ALAN ---------- */
.space { background: var(--navy-2); }
.space-grid { padding-top: var(--sec-y); padding-bottom: var(--sec-y); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px 56px; align-items: stretch; }
.space-img { position: relative; overflow: hidden; min-height: clamp(260px, 40vw, 520px); border-radius: var(--r-lg); background-color: var(--ph); }
/* Görselin zemini bölüm zeminine yakın; dört kenar yumuşakça erir, kutu çizgisi görünmez. Ortası (diorama) dokunulmaz. */
.space-img:has(img) { border-radius: 0; background: none; mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); mask-composite: intersect; }
.space-img:has(img) { aspect-ratio: 1; min-height: 0; align-self: center; } /* kare görsel: kutu = görsel, kırpılmaz, eriyen kenar görselin kendi kenarı */
.space .h2 { margin-bottom: 18px; font-size: clamp(30px, 4vw, 58px); }
.space-text { margin: 0 0 28px; font-size: 16px; color: var(--text-3); max-width: 48ch; text-wrap: pretty; }
.steps { border-top: 1px solid var(--line-2); margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 48px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line-2); font-family: var(--f-display); font-size: 20px; font-weight: 800; }
.steps li span { color: var(--orange); font-size: 14px; padding-top: 5px; }
.space-info { margin: 20px 0 0; font-size: 14px; font-weight: 700; color: var(--text-2); }
.space-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.mail { color: var(--white); font-size: 14px; font-weight: 700; padding: 13px 4px; }
.mail:hover { color: var(--orange); }

/* ---------- MEKANLAR ---------- */
.venues { padding-top: var(--sec-y); padding-bottom: var(--sec-y); }
.venues-head { margin-bottom: 32px; }
.v-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); margin: 0; padding: 0; list-style: none; }
.v-card { border-radius: var(--r-lg); background: var(--card); overflow: hidden; display: grid; grid-template-columns: 1fr; }
.v-img { position: relative; overflow: hidden; aspect-ratio: 16/10; background-color: var(--ph); }
.v-body { padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.v-name { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: 24px; letter-spacing: -.02em; line-height: 1.05; }
.v-place { font-size: 14px; color: var(--text-3); margin: 4px 0 0; }
.v-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.v-tags li { padding: 4px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 800; }
.v-hours { font-size: 14px; font-weight: 700; display: flex; gap: 8px; margin: 0; }
.v-hours span { color: var(--muted); }
.v-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 6px; }
.v-actions .btn-orange { padding: 12px 20px; }
.v-actions .btn-outline { padding: 11px 20px; }
/* Tek mekan → tam genişlik yatay kart (desktop) */
.v-grid.single { grid-template-columns: 1fr; }
.v-grid.single .v-card { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.v-grid.single .v-img { aspect-ratio: auto; min-height: 400px; }
/* Fotoğraf, metnin olduğu tarafa doğru kart zeminine yumuşakça karışır (net çizgi yok). Yan yana: sağa; alt alta: aşağı. */
.v-img:has(img) { mask-image: linear-gradient(to bottom, #000 60%, transparent); }
.v-grid.single .v-img:has(img) { mask-image: linear-gradient(to right, #000 55%, transparent); }
.v-grid.single .v-body { padding: clamp(28px, 4vw, 56px); gap: 20px; }
.v-grid.single .v-name { font-size: clamp(32px, 3.6vw, 52px); }

/* ---------- KAPANIŞ ---------- */
.closing { background: var(--orange); color: var(--navy); }
.closing-in { padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 96px); display: flex; justify-content: space-between; align-items: center; gap: 28px 40px; flex-wrap: wrap; }
.closing h2 { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 5.6vw, 88px); line-height: 1; letter-spacing: -.045em; max-width: 12ch; }
.closing-side { display: flex; flex-direction: column; gap: 18px; max-width: 380px; }
.closing-side p { margin: 0; font-size: 17px; font-weight: 700; text-wrap: pretty; }
.closing-side div { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
.footer { background: var(--navy); }
.f-top { padding-top: 48px; padding-bottom: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; font-size: 14px; color: var(--text-3); }
.f-col { display: flex; flex-direction: column; gap: 8px; }
.f-brand { gap: 14px; }
.f-brand img { display: block; width: 116px; height: auto; }
.f-slogan { font-family: var(--f-display); font-weight: 800; color: var(--white); font-size: 15px; }
.f-col a { color: var(--white); text-decoration: none; }
.f-col a:hover { color: var(--orange); }
.f-bottom { padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--muted); }
.f-bottom > div { display: flex; gap: 20px; align-items: center; }
.f-bottom a { color: var(--text-3); }

/* ---------- WHATSAPP FAB ---------- */
.fab { position: fixed; right: 28px; bottom: 28px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(0,0,0,.35), 0 0 0 3px #0B1026; transition: transform .15s; }
.fab:hover { transform: scale(1.06); }

/* ---------- GİZLİLİK / 404 ---------- */
.page-head { position: relative; border-bottom: 1px solid var(--line); }
.doc { padding-top: var(--sec-y); padding-bottom: var(--sec-y); max-width: 820px; }
.doc h1 { margin: 0 0 12px; font-family: var(--f-display); font-weight: 900; font-size: clamp(32px, 5vw, 56px); line-height: 1.04; letter-spacing: -.035em; }
.doc h2 { margin: 40px 0 8px; font-family: var(--f-display); font-weight: 800; font-size: 22px; }
.doc p { color: var(--text-3); font-size: 16px; }
.doc-date { color: var(--muted); font-size: 14px; }
.crumbs ol { display: flex; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--sep); }
.crumbs a { color: var(--text-3); }
.notfound { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; }
.notfound img { width: 124px; height: auto; margin-bottom: 32px; }
.notfound-code { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(80px, 16vw, 200px); line-height: .9; letter-spacing: -.05em; }
.notfound .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- MOBİL (< 760px) ---------- */
@media (max-width: 759px) {
  .logo img { width: 104px; }
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
  .p-stage { flex: none; aspect-ratio: 4/3; }
  .hero { min-height: 620px; }
  .hero-btns { flex-wrap: wrap; flex-shrink: 1; min-width: 0; }

  .acc { flex-direction: column; height: auto; }
  .panel { flex: 0 0 auto; height: 68px; }
  .panel.is-open { flex: 0 0 auto; height: auto; }
  .p-closed { flex-direction: row; }
  .p-closed .name { writing-mode: horizontal-tb; transform: none; }
  .p-closed .meta { flex-direction: row; }
  .p-closed .soon { padding: 5px 10px; writing-mode: horizontal-tb; transform: none; }
  .p-closed .age-short { display: block; }

  .v-grid.single .v-card { grid-template-columns: 1fr; }
  .v-grid.single .v-img { aspect-ratio: 16/10; min-height: 0; }
  .v-grid.single .v-img:has(img) { mask-image: linear-gradient(to bottom, #000 60%, transparent); }
  .v-grid.single .v-body { padding: 22px; gap: 14px; }
  .v-grid.single .v-name { font-size: 24px; }

  .fab { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .panel { transition: none; }
}
