/* Marea Fish Restaurant — site stili, C · Ege tasarımı (elle yazılır; değişince build.py çalıştırılır)
   Mobil öncelikli: temel kurallar telefon içindir, geniş ekran @media (min-width: 900px) altında. */

@font-face { font-family: "Young Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/young-serif-regular.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(/fonts/figtree-wght.woff2) format("woff2"); }
/* Kiril harfleri (Rusça): Young Serif ve Figtree'de yok; yalnızca Kiril karakterler için Lora ve Onest yüklenir */
@font-face { font-family: "Young Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/lora-cyrillic-700.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(/fonts/onest-cyrillic-wght.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
/* Arap harfleri (Arapça sayfa): başlıkta Noto Naskh Arabic, metinde Noto Sans Arabic; yalnız Arapça sayfada kullanılır, Latin harfler aynı kalır */
@font-face { font-family: "Marea Naskh"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/noto-naskh-arabic-wght.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Marea Arabic Sans"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/noto-sans-arabic-wght.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }

:root {
  --header-h: 100px;     /* üst bant yüksekliği */
  --logo-h: 76px;        /* üst bant ve altbilgi logosu aynı */
  --navy: #00548C;       /* logo: MAREA */
  --navy-dark: #003A62;
  --teal: #0096AA;       /* logo: amblem (süs) */
  --teal-text: #00707F;  /* küçük yazı için koyu turkuaz (okunurluk) */
  --teal-light: #9FE0E8; /* koyu zemin üstünde */
  --wave-light: #7FD3DE;
  --salt: #FBFAF6;       /* ana zemin: deniz tuzu */
  --sand: #EFE6D8;       /* kum */
  --ink: #1F2A33;
  --muted: #55616B;
  --white: #FFFFFF;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --btn-w: 146px;        /* bütün düğmeler aynı, sabit genişlikte */
  --btn-h: 52px;
  --wrap: 1200px;
  --gap: 24px;
  --r: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 4px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--salt); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.12; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.25rem); }
p { margin: 0 0 1em; }
figure { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
address { font-style: normal; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.small { font-size: .85rem; color: var(--muted); }
.muted { color: var(--muted); }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-text); margin: 0 0 .9em; }
.wave { display: block; color: var(--teal); }

.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { inset-inline-start: 8px; }

/* yer tutucu: henüz gelmemiş bilgi */
.ph { display: inline-block; padding: 1px 10px; border: 1.5px dashed currentColor; border-radius: 6px; opacity: .7; font-style: italic; }

/* düğmeler: sabit ve eşit genişlik */
.btn { display: inline-flex; align-items: center; justify-content: center; width: var(--btn-w); height: var(--btn-h);
  padding: 0 12px; border-radius: calc(var(--btn-h) / 2); border: 1.5px solid transparent; font: 600 15px/1 var(--sans);
  text-decoration: none; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: background-color .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--sand); color: var(--navy); }
.btn-ghost { border-color: var(--white); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.15); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sand { background: var(--sand); color: var(--navy); }
.btn-sand:hover { background: #E4D8C5; color: var(--navy); }
.btn.is-ph { border-style: dashed; border-color: currentColor; font-style: italic; font-weight: 500; opacity: .8; }
.btn-light.is-ph, .btn-sand.is-ph { background: transparent; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.actions.center { justify-content: center; }
.link-btn { background: none; border: 0; padding: 10px 0; min-height: 44px; font: 600 15px var(--sans); color: var(--navy); text-decoration: underline; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* üst bant */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white); transition: background-color .25s, box-shadow .25s; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: block; flex: 0 0 auto; }
.brand img { height: var(--logo-h); width: auto; }
/* üst bant her zaman beyaz zeminde, sayfadan ince bir çizgi ve gölgeyle ayrılır */
.site-header.is-solid, .site-header.is-open { background: var(--navy); color: var(--white); box-shadow: 0 4px 16px rgba(0,40,70,.18); }
.header-tools { display: flex; align-items: center; gap: 6px; }
/* dil seçici: tek düğme, açılınca dillerin adlarıyla liste */
.lang { position: relative; }
.lang summary { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 68px; height: 40px; border: 1px solid rgba(255,255,255,.5); border-radius: 20px; font-size: 13px; font-weight: 600; letter-spacing: .04em; cursor: pointer; list-style: none; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: rgba(255,255,255,.15); }
.lang summary svg { transition: transform .2s; }
.lang[open] summary svg { transform: rotate(180deg); }
.lang-list { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 60; min-width: 168px; margin: 0; padding: 6px; list-style: none; background: var(--white); border-radius: 16px; box-shadow: 0 12px 28px rgba(0,40,70,.22); }
.lang-list a, .lang-list span { display: block; padding: 10px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--navy); text-decoration: none; }
.lang-list a:hover { background: var(--sand); }
.lang-list span { font-weight: 700; background: var(--salt); }
.nav-toggle { width: 44px; height: 44px; border-radius: 22px; border: 0; background: rgba(255,255,255,.2); color: inherit; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.header-cta { display: none; }
.nav { display: none; position: absolute; inset: var(--header-h) 0 auto; background: var(--navy); padding: 8px 24px 28px; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
.nav.is-open { display: block; }
.nav ul { display: flex; flex-direction: column; }
.nav a { display: block; padding: 14px 0; font-family: var(--serif); font-size: 1.5rem; color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.15); }

/* açılış: tam ekran fotoğraf */
.home main { padding-top: var(--header-h); }
.hero { position: relative; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,40,70,.15) 0%, rgba(0,40,70,0) 20%, rgba(0,40,70,0) 42%, rgba(0,40,70,.85) 78%, rgba(0,40,70,.95) 100%); }
.hero-inner { position: relative; padding: 64px 0 44px; text-align: center; }
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 10vw, 4.5rem); }
.hero .eyebrow { color: var(--teal-light); }
.hero .wave { color: var(--wave-light); margin: 18px auto 0; }
.hero .actions { justify-content: center; margin-top: 20px; }
.hero-hours { display: none; }

/* bölümler */
.section { padding: 72px 0 0; }
.split-text p { font-size: 1.05rem; }
.story-media { display: flex; align-items: flex-end; gap: 12px; margin-top: 36px; }
.story-media .arch { flex: 0 0 58%; }
.story-media .arch img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; border-radius: 999px 999px var(--r) var(--r); }
.story-media .round { flex: 0 0 38%; }
.story-media .round img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.story-gallery { display: flex; gap: 12px; margin: 36px -24px 0; padding: 0 24px 6px; scroll-padding-inline: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.story-gallery::-webkit-scrollbar { display: none; }
.story-gallery li { flex: 0 0 72%; scroll-snap-align: start; }
.story-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }

.kitchen-head p { font-size: 1.05rem; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }

.events { margin: 72px 0 0; padding: 0; }
.events-inner { background: var(--navy); color: var(--white); border-radius: 32px; padding: 44px 24px; display: flex; flex-direction: column; gap: 24px; }
.events h2 { color: var(--white); }
.events .eyebrow { color: var(--teal-light); margin-top: 16px; }
.events .wave { color: var(--wave-light); }
.events-text > p { color: #DCE8F1; }
.events-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.events-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 18px; background: rgba(255,255,255,.14); font-size: .9rem; line-height: 1.3; }

.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.info-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.info-card { background: var(--sand); border-radius: var(--r); padding: 18px; color: var(--navy); }
.info-card span { display: block; margin-top: 10px; color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.35; }

.press-list { display: grid; gap: 12px; }
.press-item { display: block; padding: 22px 24px; border-radius: var(--r); border: 1.5px solid var(--sand); background: var(--white); text-decoration: none; color: var(--ink); }
.press-item:hover { border-color: var(--teal); color: var(--ink); }
.press-outlet { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-text); }
.press-title { display: block; margin-top: 8px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; color: var(--navy); }
.press-read { display: block; margin-top: 10px; font-weight: 600; font-size: .95rem; color: var(--navy); }

.insta-head .handle { font-weight: 600; text-decoration: none; }
.insta-head .btn { margin-top: 18px; }
.ig-strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; padding: 24px 24px 4px; scrollbar-width: none; }
.ig-strip::-webkit-scrollbar { display: none; }
.ig-strip li { flex: 0 0 42%; scroll-snap-align: start; }
.ig-tile { display: block; }
.ig-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.ig-tile:hover img { opacity: .9; }

.visit-grid { display: grid; gap: 20px; }
.card { border-radius: 28px; padding: 32px 18px; }
.reserve-card { background: var(--white); border: 1.5px solid var(--sand); text-align: center; }
.reserve-card .mark { height: 52px; width: auto; margin: 0 auto 14px; }
.reserve-card h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.phone { display: block; margin-top: 4px; font-family: var(--serif); font-size: 1.6rem; color: var(--navy); text-decoration: none; }
.place-card { background: var(--sand); }
.place { font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; color: var(--navy); margin-bottom: 14px; }
.map { margin-top: 18px; }
.map iframe { width: 100%; height: 300px; border: 0; border-radius: var(--r); display: block; }
.map .small { margin: 0; }

/* altbilgi */
.site-footer { margin-top: 72px; background: var(--navy); color: var(--white); border-radius: 32px 32px 0 0; padding: 40px 0; text-align: center; }
.footer-row { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.footer-brand { display: flex; flex-direction: column-reverse; align-items: center; gap: 18px; }
.footer-brand img { height: var(--logo-h); width: auto; }
.site-footer .wave { color: var(--wave-light); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin: 0; }
.footer-links a { color: var(--white); display: inline-block; padding: 8px 0; }
.footer-meta { margin: 0; font-size: .8rem; color: #C7D9E8; line-height: 1.7; }
.footer-meta a { color: #C7D9E8; }

/* düz sayfalar: gizlilik, 404 */
.page main { padding: 128px 0 0; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2rem, 5vw, 3rem); }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.notfound main { padding: 72px 0; text-align: center; }
.notfound main img { margin: 0 auto 32px; }
.notfound main > div { margin-bottom: 32px; }

/* geniş ekran */
@media (min-width: 900px) {
  :root { --btn-w: 200px; --btn-h: 56px; --header-h: 120px; --logo-h: 92px; }
  .btn { font-size: 16px; }
  .nav { display: block; position: static; background: none; padding: 0; box-shadow: none; }
  .nav ul { flex-direction: row; gap: 32px; }
  .nav a { padding: 8px 0; font-family: var(--sans); font-size: 15px; font-weight: 500; color: inherit; border: 0; }
  .nav-toggle { display: none; }
  .header-cta { display: block; margin-inline-start: 10px; }
  .header-cta .btn { width: 166px; height: 46px; font-size: 15px; }

  .hero { min-height: 780px; height: calc(100vh - var(--header-h)); max-height: 920px; }
  .hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding-bottom: 96px; text-align: start; }
  .hero-text { max-width: 780px; }
  .hero .wave { margin: 24px 0 0; width: 160px; height: 16px; }
  .hero .actions { justify-content: flex-start; margin-top: 26px; }
  .hero-hours { display: flex; flex-direction: column; align-items: flex-end; margin: 0 0 8px; text-align: end; color: #D6E6EE; }
  .hero-hours .eyebrow { color: var(--teal-light); margin: 0; }
  .hero-time { font-family: var(--serif); font-size: 1.75rem; color: var(--white); line-height: 1.4; white-space: nowrap; } /* saat iki satıra bölünmez */

  .section { padding-top: 140px; }
  .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 96px; align-items: center; }
  .split-text p { font-size: 1.15rem; max-width: 34em; }
  .story-media { justify-content: flex-end; gap: 20px; margin-top: 0; }
  .story-media .arch { flex: 0 0 360px; }
  .story-media .round { flex: 0 0 200px; }
  .story-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 72px 0 0; padding: 0; overflow: visible; }
  .story-gallery img { border-radius: 24px; aspect-ratio: 4 / 3; }

  .kitchen-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; }
  .kitchen-head > div { max-width: 640px; }
  .kitchen-head p { font-size: 1.15rem; margin: 0; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
  .tile img { aspect-ratio: 4 / 5; border-radius: 24px; }

  .events { margin: 140px auto 0; width: min(1320px, 100% - 80px); }
  .events-inner { border-radius: 40px; padding: 80px 60px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 72px; align-items: center; }
  .events-media { gap: 16px; }
  .events-media img { aspect-ratio: auto; height: 240px; border-radius: 20px; }
  .events .wave { width: 140px; height: 16px; }
  .events-text > p { font-size: 1.1rem; }
  .chips li { font-size: .95rem; padding: 8px 16px; }

  .info-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .info-card:last-child:nth-child(odd) { grid-column: auto; }
  .info-card { padding: 24px; min-height: 150px; border-radius: 24px; }
  .info-card span { margin-top: 16px; font-size: 1rem; }

  .press-list { grid-template-columns: repeat(auto-fill, minmax(360px, 560px)); gap: 20px; }
  .press-item { padding: 28px 32px; }

  .insta-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
  .insta-head .btn { margin: 0; flex: 0 0 auto; }
  .ig-strip { width: min(var(--wrap), 100% - 48px); margin: 0 auto; padding: 40px 0 0; overflow: visible; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .ig-tile img { border-radius: 20px; }

  .visit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .card { padding: 56px; border-radius: 32px; }
  .reserve-card .mark { height: 64px; }
  .phone { font-size: 2rem; }
  .place { font-size: 2rem; }

  .site-footer { margin-top: 140px; border-radius: 40px 40px 0 0; padding: 56px 0; text-align: start; }
  .footer-row { flex-direction: row; justify-content: space-between; }
  .footer-brand { flex-direction: row; gap: 32px; }
  .site-footer .wave { width: 140px; height: 16px; }
  .footer-meta { text-align: end; }
}

/* Arapça (sağdan sola): yazı tipleri; Arap harfleri birbirine bağlandığı için harf aralığı ve büyük harf dönüşümü yok */
html[lang="ar"] { --serif: "Marea Naskh", "Young Serif", Georgia, serif; --sans: "Marea Arabic Sans", "Figtree", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif; }
html[lang="ar"] body { line-height: 1.8; }
html[lang="ar"] h1, html[lang="ar"] h2 { font-weight: 600; line-height: 1.45; }
html[lang="ar"] .eyebrow, html[lang="ar"] .press-outlet { letter-spacing: 0; text-transform: none; font-size: .9rem; }
html[lang="ar"] .nav a { line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
