/* KARANNI — Sinematik film katmanı (ana sayfa)
   "Gece müzesi": karanlık, sıcak ışık; ürün her zaman en aydınlık nesne.
   Altın yalnızca ince çizgi ve vurguda. */

:root {
	--night: #0b0705;
	--gold: #d9b98d;
	--gold-dim: rgba(217, 185, 141, .45);
	--ivory: #f3ece1;
	--ivory-dim: rgba(243, 236, 225, .68);
}

body.is-home { background: var(--night); }
.is-home .wa { display: none; }

/* ---------- Perde ---------- */
.curtain {
	position: fixed; inset: 0; z-index: 90; background: #060403; color: var(--ivory);
	display: grid; place-items: center; transition: opacity 1.4s cubic-bezier(.6, 0, .2, 1), visibility 0s linear 1.4s;
}
.curtain.is-gone { opacity: 0; visibility: hidden; }
.curtain__inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px; }
.curtain__mark { width: 104px; height: 104px; margin-bottom: 26px; overflow: visible; }
.curtain__mark circle { fill: none; stroke: var(--gold); stroke-width: .8; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: center; animation: draw 2.4s cubic-bezier(.6, 0, .2, 1) .2s forwards; }
.curtain__mark text { font: 400 56px var(--serif); fill: var(--gold); opacity: 0; animation: rise 1.4s ease 1.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { opacity: 1; } }
.curtain__word { font: 400 clamp(26px, 4vw, 38px)/1 var(--serif); letter-spacing: .5em; margin: 0 -.5em 0 0; display: flex; flex-direction: column; gap: 12px; opacity: 0; animation: rise 1.4s ease 1.6s forwards; }
.curtain__word small { font: 400 10px/1 var(--sans); letter-spacing: .6em; color: var(--gold); }
.curtain__bar { width: 180px; height: 1px; background: rgba(243, 236, 225, .12); margin: 44px 0 12px; overflow: hidden; }
.curtain__bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s ease; }
.curtain__pct { font: 300 11px/1 var(--sans); letter-spacing: .3em; color: var(--ivory-dim); margin: 0; }
.curtain__actions { display: flex; gap: 12px; margin-top: 36px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 1s ease, transform 1s ease; }
.curtain.is-ready .curtain__actions { opacity: 1; pointer-events: auto; transform: none; }
.curtain.is-ready .curtain__bar, .curtain.is-ready .curtain__pct { opacity: 0; transition: opacity .8s; }
.curtain__btn {
	min-width: 150px; height: 50px; padding: 0 26px; background: transparent; color: var(--ivory);
	border: 1px solid var(--gold-dim); font: 400 12px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase;
	transition: background .4s, border-color .4s, color .4s;
}
.curtain__btn:hover, .curtain__btn:focus-visible { background: var(--gold); color: #140c07; border-color: var(--gold); }
.curtain__btn--quiet { border-color: transparent; color: var(--ivory-dim); }
.curtain__hint { margin-top: 22px; font: 300 12px/1 var(--sans); letter-spacing: .12em; color: rgba(243, 236, 225, .4); opacity: 0; transition: opacity 1s; }
.curtain.is-ready .curtain__hint { opacity: 1; }
.film-locked, .film-locked body { overflow: hidden; }

/* ---------- Film ---------- */
.film { position: relative; height: 2200vh; background: var(--night); color: var(--ivory); }
.film__stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.film__poster, .film__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.film__poster { object-fit: cover; object-position: 52% 64%; filter: brightness(.7); }
.film-on .film__poster { object-position: 50% 50%; filter: none; } /* açılış görseli: video tuvalinin altında, kaydırma başlayınca tuval üstüne gelir */
.film__fade { position: absolute; inset: 0; background: #050302; opacity: 0; pointer-events: none; }
.film__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(5, 3, 2, .55) 100%); }
.film__grain {
	position: absolute; inset: 0; pointer-events: none; opacity: .045;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	/* sabit gren: canlandırılmış tam ekran katman her karede yeniden harmanlanıyordu */
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* ---------- Bölüm metinleri ---------- */
.chap { position: absolute; z-index: 3; max-width: 640px; opacity: 0; visibility: hidden; pointer-events: none; }
.chap.is-on { pointer-events: auto; }
.chap--center { left: 50%; top: 50%; transform: translate(-50%, -54%); text-align: center; max-width: 1000px; width: calc(100% - 2 * var(--gutter)); }
.chap--left { left: var(--gutter); bottom: 17vh; }
.chap--right { right: var(--gutter); bottom: 17vh; text-align: right; }
.chap__eyebrow { font: 400 11px/1.4 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.chap--left .chap__eyebrow::before, .chap--right .chap__eyebrow::after { content: ""; display: inline-block; width: 34px; height: 1px; background: currentColor; vertical-align: middle; margin: 0 14px 3px 0; }
.chap--right .chap__eyebrow::after { margin: 0 0 3px 14px; }
.chap__title { font: 300 clamp(48px, 6.4vw, 104px)/.98 var(--serif); letter-spacing: -.015em; color: var(--ivory); text-shadow: 0 2px 40px rgba(0, 0, 0, .45); }
.chap__title--xl { font-size: clamp(54px, 8.6vw, 148px); }
.chap__title em { font-style: italic; color: var(--gold); }
.chap__lead { font: 300 17px/1.7 var(--sans); color: var(--ivory-dim); max-width: 30em; margin: 22px 0 0; text-shadow: 0 1px 18px rgba(0, 0, 0, .6); }
.chap--right .chap__lead { margin-left: auto; }
.chap__lead--hint { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.chap__spec { display: flex; gap: 28px; margin: 28px 0 0; }
.chap__spec div { display: flex; flex-direction: column; gap: 6px; }
.chap__spec dt { font: 400 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-dim); }
.chap__spec dd { margin: 0; font: 400 28px/1 var(--serif); }
.chap__cue { margin-top: 44px; font: 400 10px/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: var(--ivory-dim); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.chap__cue span { width: 1px; height: 52px; background: rgba(243, 236, 225, .25); position: relative; overflow: hidden; }
.chap__cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: cue 2.4s cubic-bezier(.6, 0, .2, 1) infinite; }
@keyframes cue { to { top: 100%; } }
.chap__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; transform: translate3d(0, 105%, 0); will-change: transform; }

.fbtn {
	display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 30px;
	border: 1px solid var(--gold-dim); color: var(--ivory); font: 400 12px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase;
	transition: background .4s, color .4s, border-color .4s;
}
.fbtn:hover, .fbtn:focus-visible { border-color: var(--gold); background: rgba(217, 185, 141, .08); }
.fbtn--solid { background: var(--gold); border-color: var(--gold); color: #140c07; }
.fbtn--solid:hover, .fbtn--solid:focus-visible { background: var(--ivory); border-color: var(--ivory); color: #140c07; }

/* ---------- Deri seçici ---------- */
.film__leather {
	position: absolute; z-index: 4; left: 50%; bottom: 34px; transform: translateX(-50%);
	display: flex; align-items: center; gap: 16px; padding: 12px 20px; opacity: 0; visibility: hidden;
	border: 1px solid rgba(217, 185, 141, .22); background: rgba(8, 5, 3, .42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.film__leather-label, .film__leather-name { font: 400 10px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.film__leather-name { min-width: 80px; color: var(--ivory); }
.film__swatches { display: flex; align-items: center; gap: 12px; color: var(--gold); }

/* ---------- Sahne göstergesi ---------- */
.film__dots { position: absolute; z-index: 4; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 18px; }
.film__dots a { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font: 400 10px/1 var(--sans); letter-spacing: .3em; color: rgba(243, 236, 225, .35); transition: color .4s; }
.film__dots a em { font-style: normal; text-transform: uppercase; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .6s ease; }
.film__dots a span { position: relative; padding-right: 26px; }
.film__dots a span::after { content: ""; position: absolute; right: 0; top: 50%; width: 14px; height: 1px; background: currentColor; transition: width .4s; }
.film__dots a:hover, .film__dots a.is-active { color: var(--ivory); }
.film__dots a.is-active span::after { width: 20px; background: var(--gold); }
.film__dots a:hover em, .film__dots a.is-active em { max-width: 90px; }
.chap--right ~ .film__dots { }

.film__sound { position: absolute; z-index: 4; left: var(--gutter); bottom: 38px; display: flex; align-items: center; gap: 10px; background: none; border: 0; color: var(--ivory-dim); font: 400 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.film__sound-bars { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.film__sound-bars i { width: 2px; height: 3px; background: var(--gold); }
.film__sound[aria-pressed="true"] .film__sound-bars i { animation: eq 1s ease-in-out infinite; }
.film__sound[aria-pressed="true"] .film__sound-bars i:nth-child(2) { animation-delay: -.3s; }
.film__sound[aria-pressed="true"] .film__sound-bars i:nth-child(3) { animation-delay: -.6s; }
.film__sound[aria-pressed="true"] .film__sound-bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }

/* Film boyunca üst menü şeffaf kalır */
.is-home .nav:not(.is-solid) .nav__links, .is-home .nav:not(.is-solid) .nav__brand, .is-home .nav:not(.is-solid) .nav__cta { text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }

/* ---------- WebGL yok / hareket azaltılmış: statik okuma ---------- */
.film-off .film { height: auto; }
.film-off .film__stage { position: relative; height: auto; overflow: visible; }
.film-off .film__poster { position: fixed; z-index: 0; filter: brightness(.45); }
.film-off .film__canvas, .film-off .film__fade, .film-off .film__leather, .film-off .film__dots, .film-off .film__sound { display: none; }
.film-off .chap { position: relative; inset: auto; transform: none; opacity: 1; visibility: visible; pointer-events: auto; min-height: 90vh; display: flex; flex-direction: column; justify-content: center; margin: 0 auto; padding: 0 var(--gutter); max-width: 1100px; left: auto; right: auto; bottom: auto; top: auto; width: auto; }
.film-off .chap--right { text-align: left; }
.film-off .w > span { transform: none; }
html:not(.film-on):not(.film-off) .w > span { transform: none; }

/* ---------- Mobil ---------- */
@media (max-width: 720px) {
	.film { height: 1900vh; }
	.chap--left, .chap--right { left: var(--gutter); right: var(--gutter); bottom: 128px; text-align: left; }
	.chap--right .chap__eyebrow::after { display: none; }
	.chap--right .chap__eyebrow::before { content: ""; display: inline-block; width: 34px; height: 1px; background: currentColor; vertical-align: middle; margin: 0 14px 3px 0; }
	.chap--right .chap__lead { margin-left: 0; }
	.chap__title { font-size: clamp(42px, 12vw, 64px); }
	.chap__title--xl { font-size: clamp(46px, 13vw, 72px); }
	.chap__lead { font-size: 15px; }
	.chap--story .chap__lead + .chap__lead { display: none; }
	.chap__spec { gap: 20px; }
	.chap__spec dd { font-size: 22px; }
	.film__dots { display: none; }
	.film__leather { bottom: 22px; padding: 10px 14px; gap: 10px; width: max-content; max-width: calc(100% - 32px); }
	.film__leather-label { display: none; }
	.film__leather-name { min-width: 60px; }
	.film__sound { top: 84px; bottom: auto; left: auto; right: var(--gutter); }
	.film__sound-text { display: none; }
	.chap__actions .fbtn { flex: 1 1 100%; }
}

/* Metin arkası yumuşak karanlık: parlak şömine üzerinde okunurluk */
.chap--left::before, .chap--right::before, .chap--center::before {
	content: ""; position: absolute; z-index: -1; inset: -30% -40% -30% -45%; pointer-events: none;
	background: radial-gradient(closest-side, rgba(8, 5, 3, .62), rgba(8, 5, 3, 0));
}
.chap--right::before { inset: -30% -45% -30% -40%; }
.chap--center::before { inset: -20% -10%; background: radial-gradient(closest-side, rgba(8, 5, 3, .5), rgba(8, 5, 3, 0)); }
.film-off .chap::before { display: none; }

.film__note { position: fixed; z-index: 5; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: min(560px, calc(100% - 32px)); margin: 0; padding: 14px 18px; background: rgba(8, 5, 3, .8); border: 1px solid var(--gold-dim); color: var(--ivory-dim); font: 300 14px/1.5 var(--sans); text-align: center; }
.film__note[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
	.film__grain, .chap__cue span::after { animation: none; }
}

/* ---------- Video sahneleri (kaydırmaya bağlı kare dizisi) ---------- */
.film__seq { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.film-off .film__seq { display: none; }
/* üstte koyu geçiş: logo ve menü açık sahnelerde de okunur */
.film.is-video .film__vignette { background: linear-gradient(to bottom, rgba(5, 3, 2, .55) 0, rgba(5, 3, 2, .18) 140px, transparent 260px), radial-gradient(120% 90% at 50% 50%, transparent 60%, rgba(5, 3, 2, .4) 100%); }
.chap__actions--left { justify-content: flex-start; }
.fbtn { gap: 12px; cursor: pointer; font-family: var(--sans); }
.fbtn__play { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ---------- Reklam filmi ---------- */

/* Parlak video karelerinde (kapı ışığı) koyu hale yerine metne gölge */
.chap--bright::before { display: none; }
.chap--bright .chap__title { text-shadow: 0 2px 24px rgba(40, 22, 10, .75), 0 0 2px rgba(40, 22, 10, .5); }
.chap--sky { top: 24%; } /* villa uzaktan: yazı gökyüzünde, villanın ışıklarının üstünde değil */

/* Reklam filmi (sessiz döngü) — modern oda sahnesinde */

/* Otomatik oynatma düğmesi (ses düğmesinin yanında) */
.film__auto { position: absolute; z-index: 4; left: calc(var(--gutter) + 72px); bottom: 34px; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; background: rgba(8, 5, 3, .35); border: 1px solid rgba(217, 185, 141, .25); color: var(--ivory-dim); font: 400 10px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; cursor: pointer; transition: border-color .3s, color .3s; }
.film__auto:hover { border-color: var(--gold); color: var(--ivory); }
.film__auto-icon { width: 10px; height: 10px; position: relative; }
.film__auto-icon::before { content: ""; position: absolute; left: 1px; top: 0; border-left: 9px solid var(--gold); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.film__auto[aria-pressed="true"] .film__auto-icon::before { left: 1px; width: 3px; height: 10px; border: 0; background: var(--gold); box-shadow: 5px 0 0 var(--gold); }
.film-off .film__auto { display: none; }
[dir="rtl"] .film__auto { left: auto; right: calc(var(--gutter) + 72px); }
@media (max-width: 720px) {
	.film__auto { left: auto; right: var(--gutter); top: 84px; bottom: auto; margin-right: 44px; padding: 7px 10px; }
	.film__auto-text { display: none; }
	[dir="rtl"] .film__auto { right: auto; left: var(--gutter); margin: 0 0 0 44px; }
}

/* ---------- Taranabilir marka özeti (filmin altında) ---------- */
.home-info { background: #0b0705; color: var(--ivory); padding: clamp(96px, 12vw, 160px) 0; border-top: 1px solid rgba(243, 236, 225, .08); }
.home-info__eyebrow { font: 400 11px/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.home-info h2 { font: 300 clamp(36px, 4.6vw, 68px)/1.05 var(--serif); max-width: 16em; }
.home-info h2 em { color: var(--gold); }
.home-info__lead { font: 300 clamp(17px, 1.4vw, 20px)/1.75 var(--sans); color: var(--ivory-dim); max-width: 50em; margin: 30px 0 0; }
.home-info__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: clamp(48px, 6vw, 80px) 0; border-top: 1px solid rgba(243, 236, 225, .12); }
.home-info__facts div { padding: 22px 20px 22px 0; border-bottom: 1px solid rgba(243, 236, 225, .12); }
.home-info__facts dt { font: 400 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: rgba(217, 185, 141, .72); margin-bottom: 10px; }
.home-info__facts dd { margin: 0; font: 400 21px/1.35 var(--serif); }
.home-info__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); }
.home-info__col h3 { font: 400 26px/1.1 var(--serif); margin-bottom: 10px; }
.home-info__col h3 a:hover, .home-info__col li a:hover { color: var(--gold); }
.home-info__col p { color: var(--ivory-dim); font-size: 14px; margin: 0 0 16px; }
.home-info__col ul { list-style: none; padding: 0; margin: 0; }
.home-info__col li { padding: 7px 0; border-bottom: 1px solid rgba(243, 236, 225, .07); font-size: 15px; display: flex; justify-content: space-between; gap: 12px; }
.home-info__col li span { color: rgba(243, 236, 225, .62); font-size: 12px; }
@media (max-width: 1000px) { .home-info__cols { grid-template-columns: 1fr 1fr; } .home-info__facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .home-info__cols, .home-info__facts { grid-template-columns: 1fr; } }
.lang-ar .home-info__facts div { padding: 22px 0 22px 20px; }

/* Açılış: başlık + kaydırma ipucu tüm ekranı kaplar; ipucu koltuğun üzerine binmesin diye en alta iner */
.chap--open { top: 0; bottom: 0; transform: translateX(-50%); display: flex; flex-direction: column; justify-content: center; padding-bottom: 9vh; }
.chap--open .chap__cue { position: absolute; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); transform: translateX(-50%); margin: 0; white-space: nowrap; }
.film-off .chap--open { padding-bottom: 0; }
.film-off .chap--open .chap__cue { position: static; transform: none; margin-top: 44px; }
@media (min-aspect-ratio: 1/1) { .chap--open { padding-bottom: 24vh; } }
