/* @theme 1 · Sessiz Lüks — Fine dining, tipografik */
/* @order 1 */
/* @theme-color #F4F0E8 */
/* @flow screens */
/* @fonts fraunces, manrope */

/*
 * TEMA 1 · SESSİZ LÜKS
 * ====================
 *
 * Kaynak: design/temalar/design/Tema 1 · Sessiz Lüks.dc.html (high-fidelity;
 * hex/px değerleri birebir). Ortak iskelet screens.css; bu dosya yalnızca
 * paleti ve temaya özgü farkları taşır.
 *
 * Kimlik: görselsiz "içindekiler" listesi; hairline ayraçlar; Fraunces
 * başlık + Manrope gövde; 2 px köşe; koyu yeşil vurgu yalnızca birincil
 * düğme, seçili porsiyon ve etiket metninde.
 *
 * Temaya özgü davranış (brief): ana menüde görsel yok, yalnız numaralı
 * tipografik liste. Porsiyon (varyant) seçimi yalnız fiyatı değiştirir —
 * kalori satırı sabit kalır (screens.js zaten böyle çalışır).
 *
 * Palet eşlemesi (28 token → tasarım değeri):
 *   zemin #F4F0E8 · yüzey #FBF9F4 · mürekkep #1B1A16 · ikincil #6E6858
 *   vurgu #2E3B30 · ayraç #DAD3C2 · yer tutucu #E2DCCE
 *   karartma rgba(27,26,22,.42) panel / .30 dil menüsü
 */

:root {
  --color-bg: #F4F0E8;
  --color-surface: #FBF9F4;
  --color-text: #1B1A16;

  --color-accent: #2E3B30;
  --color-accent-700: #2E3B30;
  --color-accent-100: #E9EDE9;
  --color-accent-200: #D3DAD4;
  --color-accent-300: #B3BFB5;
  --color-accent-400: #8C9C8F;
  --color-accent-500: #66786A;
  --color-accent-600: #47584B;
  --color-accent-800: #222C24;
  --color-accent-900: #171E19;

  --color-divider: #DAD3C2;
  --color-neutral-100: #FBF9F4;
  --color-neutral-200: #EFEADF;
  --color-neutral-300: #E2DCCE;
  --color-neutral-400: #C9C2B1;
  --color-neutral-500: #9A9280;
  --color-neutral-600: #6E6858;
  --color-neutral-700: #3A3730;
  --color-neutral-800: #26241F;
  --color-neutral-900: #1B1A16;

  --dim-panel: rgba(27, 26, 22, 0.30);
  --dim-sheet: rgba(27, 26, 22, 0.42);
  --color-hatch-a: #E2DCCE;
  --color-hatch-b: #DAD3C2;

  --font-heading: Fraunces, var(--font-arabic), Georgia, serif;
  --font-body: Manrope, var(--font-arabic), system-ui, sans-serif;

  --sc-gutter: 32px;
  --sc-radius: 2px;
  --sc-radius-sheet: 4px;
  --sc-radius-media: 6px;
  --sc-hover-opacity: 0.62;
  --sc-shadow: 0 12px 32px rgba(27, 26, 22, 0.14);
}

/* Fraunces değişken font: optik boyut başlık puntosunu izlesin. */
.sc-brand, .sc-barTitle, .sc-catName, .sc-rowName, .sc-sheetTitle { font-optical-sizing: auto; }

/* Ana menü: yalnız numara + ad + adet. Görsel bilinçli olarak yok. */
.sc-catMedia { display: none !important; }

/*
 * Ürün görseli (Kasım): adın üstünde ortalı, kemer tepeli küçük pencere —
 * girişteki pencerenin aynısı. Kendi oranında; yalnız üst köşeler yuvarlak.
 * Görselsiz üründe yer tutucu çizilmez, kart tipografik kalır.
 */
.sc-rowMedia {
  display: block; width: 184px; height: auto; max-height: 230px; object-fit: contain;
  margin: 0 auto 18px; border-radius: 92px 92px 3px 3px;
  box-shadow: 0 14px 30px -18px rgba(27, 26, 22, 0.55);
}
.sc-rowMediaEmpty { display: none !important; }

/*
 * İmza: BASILI MENÜ KARTI. Ürünler ortalı dizilir — ad, altında italik
 * açıklama, en altta ince çizgiler arasında fiyat — iyi bir restoranın
 * kâğıt menüsü gibi. Sekiz tema içinde ortalı liste yalnız burada.
 */
.sc-row { display: block; padding: 30px 10px 28px; text-align: center; }
.sc-row:active { transform: none; opacity: 0.6; }
.sc-rowBody { display: flex; flex-direction: column; align-items: center; gap: 0; }
.sc-rowHead { display: contents; }
.sc-rowTag { order: 0; margin-bottom: 10px; }
.sc-rowName { order: 1; flex: none; font-size: 23px; line-height: 1.2; text-wrap: balance; }
.sc-rowDesc { order: 2; max-width: 30ch; margin-top: 8px; text-wrap: pretty; }
.sc-rowMeta { order: 3; margin-top: 8px; }
.sc-rowPrice {
  order: 4; display: inline-flex; align-items: center; gap: 12px; margin-top: 14px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 0.14em;
}
.sc-rowPrice::before, .sc-rowPrice::after { content: ""; width: 22px; height: 1px; background: var(--color-divider); }
/* Kategori notu ve sayfa başı da ortada, menü kartının üst yazısı gibi */
.sc-note { text-align: center; font-family: var(--font-heading); font-style: italic; font-size: 15px; margin-top: 22px; }

/* Giriş fotoğrafı paspartulu: krem kenar boşluğu + ince çizgi, çerçeveli tablo gibi */
.sc-introMedia { padding: 10px; background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: 0; }
.sc-introImage { border-radius: 0; }

/* Detay: başlık ve fiyat ortada, kartın devamı */
.sc-sheetHead { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.sc-sheetPriceLine { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sc-sheetTag { text-align: center; }
.sc-sheetDesc { text-align: center; }

/* =========================================================================
 * Giriş · menü kapağı (views/themes/sessiz-luks/site/screens/intro.php)
 * ========================================================================= */

.sc-intro.l-cover { padding: calc(40px + var(--sc-safe-top)) 34px calc(40px + var(--sc-safe-bottom)); justify-content: center; }
.l-frame {
  position: fixed; inset: calc(12px + var(--sc-safe-top)) 12px calc(12px + var(--sc-safe-bottom)); pointer-events: none;
  border: 1px solid var(--color-divider); outline: 1px solid var(--color-divider); outline-offset: -6px;
}
@media (min-width: 521px) { .l-frame { left: 50%; right: auto; width: calc(var(--sc-max) - 24px); margin-left: calc(var(--sc-max) / -2 + 12px); } }

.l-kicker { margin: 0 0 18px; font-size: 11px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-neutral-600); }

.l-window {
  width: min(78%, 330px); overflow: hidden; border-radius: 999px 999px 4px 4px;
  background: var(--color-neutral-300); padding: 7px; background-clip: content-box;
  border: 1px solid var(--color-divider);
  box-shadow: 0 30px 50px -34px rgba(27, 26, 22, 0.7);
}
.l-windowImg { display: block; width: 100%; height: auto; border-radius: 999px 999px 2px 2px; }
.l-windowEmpty { aspect-ratio: 3 / 4; }

.l-seal {
  width: 76px; height: 76px; margin-top: -40px; position: relative; z-index: 1;
  border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: var(--color-surface); border: 1px solid var(--color-divider);
  box-shadow: 0 0 0 5px var(--color-bg), 0 10px 22px -12px rgba(27, 26, 22, 0.5);
  font-family: var(--font-heading); font-size: 30px; color: var(--color-accent);
}
.l-seal img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

.l-name {
  margin: 18px 0 0; font-family: var(--font-heading); font-optical-sizing: auto;
  font-size: clamp(40px, 12vw, 54px); font-weight: 400; line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance;
}
.l-orn { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-size: 9px; color: var(--color-accent-500); }
.l-orn i { width: 44px; height: 1px; background: var(--color-divider); }
.l-tagline { margin: 14px 0 0; font-family: var(--font-heading); font-style: italic; font-size: 17px; line-height: 1.45; color: var(--color-neutral-600); max-width: 28ch; text-wrap: balance; }

.l-langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; margin-top: 22px; }
.l-lang {
  min-height: 40px; padding: 0 10px; display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-neutral-500);
  position: relative;
}
.l-lang[aria-current] { color: var(--color-text); }
.l-lang[aria-current]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 8px; height: 1px; background: var(--color-text); }

.l-cta {
  margin-top: 14px; width: min(100%, 300px); min-height: 56px; padding: 4px;
  display: flex; border: 1px solid var(--color-accent); border-radius: 2px;
  transition: transform 200ms var(--sc-ease);
}
.l-cta span {
  flex: 1; display: flex; align-items: center; justify-content: center;
  background: var(--color-accent); color: var(--color-surface);
  font-size: 12px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
  transition: letter-spacing 400ms var(--sc-ease);
}
.l-cta:hover span { letter-spacing: 0.4em; }
.l-cta:active { transform: scale(0.97); }

.l-facts { display: flex; justify-content: center; margin: 26px 0 0; text-align: center; }
.l-facts > div { padding: 0 18px; }
.l-facts > div + div { border-inline-start: 1px solid var(--color-divider); }
.l-facts dt { font-size: 10px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-neutral-500); }
.l-facts dd { margin: 6px 0 0; font-family: var(--font-heading); font-size: 15px; line-height: 1.4; }

/* Hareket: çerçeve çizilir, pencere açılır (aşağıdan yukarı perde), mühür
   yerine oturur, metin sırayla. */
@keyframes l-frame-in { from { clip-path: inset(50% 50% 50% 50%); opacity: 0; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes l-curtain { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes l-zoom { from { transform: scale(1.15); } to { transform: none; } }
@keyframes l-seal-in { from { transform: scale(0.5) rotate(-40deg); opacity: 0; } to { transform: none; opacity: 1; } }
.js .sc-intro.l-cover > * { animation: sc-rise 640ms var(--sc-ease) both; }
.js .l-frame { animation: l-frame-in 900ms var(--sc-ease) both !important; }
.js .l-window { animation: l-curtain 1000ms cubic-bezier(0.7, 0, 0.2, 1) both !important; animation-delay: 150ms !important; }
.js .l-windowImg { animation: l-zoom 1800ms var(--sc-ease) both; animation-delay: 150ms; }
.js .l-seal { animation: l-seal-in 700ms var(--sc-ease) both !important; animation-delay: 750ms !important; }
.l-cover > .l-name { --i: 4; } .l-cover > .l-orn { --i: 5; } .l-cover > .l-tagline { --i: 6; }
.l-cover > .l-langs { --i: 7; } .l-cover > .l-cta { --i: 8; } .l-cover > .l-facts { --i: 9; }
.js .sc-intro.l-cover > .l-name, .js .sc-intro.l-cover > .l-orn, .js .sc-intro.l-cover > .l-tagline,
.js .sc-intro.l-cover > .l-langs, .js .sc-intro.l-cover > .l-cta, .js .sc-intro.l-cover > .l-facts { animation-delay: calc(500ms + var(--i) * 60ms); }

/* Filtre / favori (ortak screens.js) — ince çizgi, büyük harf */
.sc-filter { border-radius: 2px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.sc-sheetActions { justify-content: center; }
.sc-favItem { border-radius: 2px; }
.sc-favsTitle { font-weight: 400; font-size: 20px; }
