/* Guest pages: home, menu, city guide.
   Monochrome editorial theme (Cormorant Garamond + Jost) with a muted gold accent.
   Logical properties (inline-start/end) keep the layout right for RTL languages. */

:root {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --paper-soft: #f4f4f2;
  --paper-warm: #f6f3ee;
  --line: #111111;
  --line-soft: #dedcd7;
  --gray: #6e6c67;
  --gray-light: #b4b1aa;
  --accent: #a9842f;
  --danger: #a32a2a;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shell: 760px;
  --gutter: 20px;
  --nav-h: 0px;
  --pattern: repeating-linear-gradient(135deg, rgba(10, 10, 10, 0.045) 0 1px, transparent 1px 7px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body:has(dialog[open]) {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ------------------------------------------------------------------ shell */

.shell {
  display: flex;
  flex-direction: column;
  max-width: var(--shell);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--paper);
}

@media (min-width: 761px) {
  .shell {
    border-inline: 1px solid var(--line-soft);
  }
}

/* ------------------------------------------------------------------ header */

.doc-header {
  padding: 18px var(--gutter) 24px;
  border-bottom: 2px solid var(--ink);
  text-align: center;
}

.lang-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  direction: ltr;
}

.lang-btn {
  appearance: none;
  padding: 2px;
  border: 2px solid transparent;
  border-radius: 3px;
  background: none;
  line-height: 0;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, border-color 0.2s, box-shadow 0.2s;
}

.lang-btn:hover {
  opacity: 0.85;
}

.lang-btn[aria-pressed="true"] {
  border-color: var(--ink);
  opacity: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transform: scale(1.06);
}

.lang-btn img {
  width: 30px;
  height: 20px;
  border-radius: 2px;
  object-fit: cover;
}

.lang-code {
  display: inline-block;
  width: 30px;
  font: 600 11px/20px var(--sans);
  letter-spacing: 0.06em;
  text-align: center;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
}

a.eyebrow:hover {
  color: var(--ink);
}

.doc-title {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(30px, 8.5vw, 38px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.05;
}

.doc-sub {
  position: relative;
  display: inline-block;
  margin-top: 9px;
  padding: 0 14px;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.doc-sub::before,
.doc-sub::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--ink);
}

.doc-sub::before {
  inset-inline-start: -6px;
}

.doc-sub::after {
  inset-inline-end: -6px;
}

/* ------------------------------------------------------------------ buttons, states */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.status {
  padding: 64px 20px;
  text-align: center;
  color: var(--gray);
}

.status-title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 25px;
  font-style: italic;
  color: var(--ink);
}

.status-text {
  max-width: 380px;
  margin: 0 auto 18px;
  font-size: 13px;
}

/* ------------------------------------------------------------------ footer */

.site-foot {
  margin-top: auto;
  padding: 40px 24px 34px;
  background: var(--ink);
  color: var(--gray-light);
  text-align: center;
}

.site-foot .mark {
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: 0.06em;
  color: var(--paper);
}

/* Admin-entered text is never upper-cased by CSS: under lang="tr" "Family" would become
   "FAMİLY". Upper-casing is kept for interface labels in the page's own language. */
.site-foot .tag {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.site-foot .rule {
  width: 24px;
  height: 1px;
  margin: 18px auto;
  background: var(--gray-light);
}

.site-foot p {
  max-width: 460px;
  margin: 0 auto;
  font-size: 11.5px;
  line-height: 1.8;
}

.site-foot a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.site-foot .foot-links {
  margin-top: 16px;
  font-size: 12px;
}

/* ------------------------------------------------------------------ home */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px var(--gutter) 44px;
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.card:active {
  transform: scale(0.99);
}

.card--wide {
  grid-column: 1 / -1;
}

.card-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: var(--pattern), var(--paper-soft);
}

.card--wide .card-media {
  aspect-ratio: 16 / 7;
}

.card-media svg {
  width: 82%;
  max-width: 300px;
  height: auto;
}

.card--wide .card-media svg {
  max-width: 380px;
}

.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-media--illustration {
  background: #fff;
}

.card-media--illustration img {
  object-fit: contain;
  padding: 10px;
}

.card-body {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 12px 14px 15px;
}

.card-kicker {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.card-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.card-title strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.1;
}

.card-cta {
  flex: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

.card p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--gray);
}

@media (max-width: 480px) {
  .cards {
    gap: 10px;
    padding: 14px 12px 36px;
  }

  .card-body {
    padding: 10px 11px 12px;
  }

  .card-title {
    display: block;
  }

  .card-title strong {
    font-size: 20px;
  }

  .card-cta {
    display: block;
    margin-top: 4px;
  }
}

/* ------------------------------------------------------------------ menu */

.menu-note {
  margin: 0;
  padding: 12px var(--gutter);
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-soft);
  font-size: 12.5px;
  text-align: center;
}

.menu-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
}

.cat-row,
.tab-row {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.cat-row::-webkit-scrollbar,
.tab-row::-webkit-scrollbar {
  display: none;
}

.cat-row {
  gap: 8px;
  padding: 14px var(--gutter) 10px;
}

.cat-btn {
  appearance: none;
  flex: none;
  padding: 8px 18px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cat-btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.tab-row {
  position: relative;
  gap: 22px;
  padding: 0 var(--gutter);
}

.tab {
  flex: none;
  padding: 12px 0 13px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  color: var(--gray);
  transition: color 0.2s;
}

.tab[aria-current="true"] {
  color: var(--ink);
  font-weight: 600;
}

.tab-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--ink);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.search {
  padding: 14px var(--gutter) 0;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.search-box svg {
  flex: none;
  width: 15px;
  height: 15px;
}

.search-box input {
  flex: 1;
  min-width: 0;
  padding: 11px 0;
  border: 0;
  outline: 0;
  background: none;
  font-size: 16px; /* below 16px iOS zooms the page on focus */
  font-weight: 300;
}

.search-box input::placeholder {
  color: var(--gray-light);
}

.search-box input::-webkit-search-cancel-button {
  display: none;
}

.search-clear {
  padding: 4px;
  border: 0;
  background: none;
  font-size: 22px;
  line-height: 1;
  color: var(--gray);
  cursor: pointer;
}

.menu-main {
  padding: 4px var(--gutter) 56px;
}

.menu-section {
  padding-top: 26px;
  scroll-margin-top: calc(var(--nav-h) + 6px);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.15;
}

.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

.section-desc {
  margin: 3px 0 0;
  font-size: 12.5px;
  font-style: italic;
  color: var(--gray);
}

.items {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

.item:last-child {
  border-bottom: 0;
}

.item.is-clickable {
  cursor: pointer;
}

.item.is-clickable:hover .item-name {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.thumb-btn {
  flex: none;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.item-thumb {
  flex: none;
  width: 76px;
  height: 76px;
  border: 1px solid var(--line-soft);
  object-fit: cover;
  background: var(--paper-soft);
}

.item-main {
  flex: 1;
  min-width: 0;
}

.item-name {
  margin: 0;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.3;
}

.item-desc {
  margin: 3px 0 0;
  font-size: 12.5px;
  font-style: italic;
  line-height: 1.45;
  color: var(--gray);
}

.item-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.badge {
  padding: 2px 6px;
  border: 1px solid currentColor;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge--alert {
  color: var(--danger);
}

.item-price {
  flex: none;
  padding-top: 1px;
  font-size: 15.5px;
  font-weight: 600;
  white-space: nowrap;
}

.item-variants {
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
}

.item-variants li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  border-top: 1px dotted var(--line-soft);
}

.item-variants b {
  font-weight: 600;
}

.item.is-out .item-name,
.item.is-out .item-price {
  color: var(--gray);
}

.item.is-out .item-price {
  text-decoration: line-through;
}

/* Grid layout for menus with photos (Menu settings > Görünüm: Izgara). */
.items--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.items--grid .item {
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: 1px solid var(--ink);
}

.items--grid .thumb-btn {
  width: 100%;
}

.items--grid .item-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
}

.items--grid .item-main {
  width: 100%;
  padding: 10px 12px 0;
}

.items--grid .item-price {
  padding: 8px 12px 12px;
}

.no-results {
  padding: 48px 0;
  text-align: center;
  color: var(--gray);
}

.no-results .status-title {
  font-size: 22px;
}

/* ------------------------------------------------------------------ item dialog */

dialog.sheet {
  width: min(440px, calc(100% - 32px));
  max-height: 86vh;
  max-height: 86dvh;
  padding: 0;
  overflow-y: auto;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

dialog.sheet::backdrop {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(4px);
}

.sheet-close {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.sheet-media {
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-soft);
}

.sheet-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sheet-body {
  padding: 22px 20px;
}

.sheet-title {
  margin: 0;
  padding-inline-end: 36px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.2;
}

.sheet-section {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.55;
}

.sheet-label {
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}

.sheet-allergens,
.sheet-allergens .sheet-label {
  color: var(--danger);
}

.sheet-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
  font-size: 22px;
  font-weight: 600;
}

/* ------------------------------------------------------------------ city guide */

.page-city {
  background: var(--paper-warm);
}

.city-shell {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.city-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.city-top .lang-bar {
  margin: 0;
}

.back-link {
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.back-link:hover {
  text-decoration: underline;
}

.city-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding: 52px 0 44px;
}

.city-hero .eyebrow {
  color: var(--accent);
  letter-spacing: 0.26em;
}

.city-hero h1 {
  margin: 14px 0 18px;
  font-family: var(--serif);
  font-size: clamp(58px, 10vw, 100px);
  font-weight: 500;
  line-height: 0.92;
}

.city-tagline {
  max-width: 460px;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.city-art {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0 150px 0 150px;
  background: var(--ink);
  color: var(--paper-warm);
}

.city-art svg {
  width: 90%;
}

.city-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.city-block {
  padding: 36px 0 44px;
  border-top: 1px solid var(--line-soft);
}

.city-block h2 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.1;
}

.city-intro p {
  max-width: 700px;
  margin: 0 0 14px;
  font-size: 16.5px;
  line-height: 1.75;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.chip {
  appearance: none;
  padding: 7px 14px;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 12.5px;
  cursor: pointer;
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper-warm);
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}

.place {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
  background: var(--paper);
}

.place-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: var(--pattern), var(--paper-soft);
}

.place-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place-num {
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 600;
  color: rgba(10, 10, 10, 0.13);
}

.place-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 18px;
}

.place-cat {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.place h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.12;
}

.place-summary {
  margin: 0;
  font-size: 14px;
}

.place-loc {
  font-size: 12px;
  color: var(--gray);
}

.place details summary {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  list-style: none;
}

.place details summary::-webkit-details-marker {
  display: none;
}

.place details summary::after {
  content: " +";
}

.place details[open] summary::after {
  content: " −";
}

.place details p {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.65;
}

.place-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 8px;
}

.map-link {
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

.tips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.tip {
  padding: 18px 18px 20px;
  background: var(--paper);
}

.tip h3 {
  margin: 0 0 6px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.tip p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--gray);
}

@media (max-width: 720px) {
  .city-shell {
    padding: 0 18px;
  }

  .city-hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 30px 0 34px;
  }

  .city-art {
    aspect-ratio: 16 / 10;
    border-radius: 0 90px 0 90px;
  }

  .city-tagline {
    font-size: 16.5px;
  }

  .city-block h2 {
    font-size: 31px;
  }
}

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