@font-face {
  font-family: 'Cormorant Garamond';
  src: url('assets/CormorantGaramond-latin-ext.woff2') format('woff2');
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('assets/CormorantGaramond-latin.woff2') format('woff2');
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  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;
}
:root {
  color-scheme: dark;
  --bg: #11100f;
  --surface: #1b1815;
  --panel: #221e1a;
  --panel-hover: #2b231d;
  --ink: #fff6eb;
  --muted: #c9bcb0;
  --orange: #ce9868;
  --orange-bright: #efbd90;
  --line: #604b3a;
  --logo: #ffe3cb;
  --marble: url('assets/mermer-premium-yatay.webp');
  --marble-portrait: url('assets/mermer-premium.webp');
  --menu-font: 'Cormorant Garamond', Georgia, serif;
  --gutter: clamp(14px, 4.1vw, 50px);
  --toolbar-height: 153px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  isolation: isolate;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 500 16px/1.45 var(--menu-font);
}
body::before {
  content: '';
  position: fixed;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 50% 12%, #100b0950, #100d0bbc 86%), var(--marble-portrait) center / cover;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input { color: inherit; font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--orange-bright); outline-offset: 3px; }
.shell { width: min(100% - 2 * var(--gutter), 1100px); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip:focus { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 10px 14px; background: var(--ink); color: var(--bg); border-radius: 5px; }
.mast-inner { display: grid; justify-items: center; padding-block: 17px 15px; }
.mast { background: linear-gradient(#100e0ccb, #100e0c15), var(--marble) center 42% / cover; border-bottom: 1px solid #b3815c34; }
.brand { display: block; width: clamp(121px, 29vw, 144px); background: var(--logo); border: 1px solid #ffdab7; border-radius: 6px; overflow: hidden; box-shadow: 0 5px 22px #0c101577; }
.brand img { display: block; width: 100%; height: auto; }
.menu-entry { width: min(100% - 2 * var(--gutter), 720px); padding-block: clamp(13px, 3vw, 30px) 32px; }
.entry-options { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(9px, 2.7vw, 23px); }
.entry-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  aspect-ratio: .89;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(160deg, #100e0c24, #100e0c6b 75%, #100e0cda), var(--marble-portrait) center / cover;
  box-shadow: 0 12px 28px #0008;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .18s ease;
}
.entry-card:hover, .entry-card:focus-visible { border-color: var(--orange-bright); }
.entry-art { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.entry-art::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent 42%, #110e0be8); }
.entry-art img { display: block; position: absolute; min-width: 0; object-fit: contain; filter: drop-shadow(0 10px 9px #0a1014b0); transition: transform .22s ease; }
.entry-card:hover .entry-art img { transform: translateY(-3px); }
.entry-art-food { inset: 0 4% 14%; display: grid; align-items: center; }
.entry-art-food::after { content: none; }
.entry-food-group { display: flex; flex-direction: column; align-items: center; width: 83%; margin-inline: auto; }
.entry-food-group img { position: relative; height: auto; }
.entry-food-pasta { width: 107%; }
.entry-food-platter { width: 100%; }
.entry-food-pasta + .entry-food-platter { margin-top: -7%; }
.entry-food-platter + .entry-food-platter { margin-top: -1%; }
.entry-art-drink .entry-photo-side { right: 5%; top: 7%; width: 38%; height: 58%; }
.entry-art-drink .entry-photo-main { left: 9%; top: 10%; width: 52%; height: 62%; }
.entry-art-drink .entry-photo-front { left: 7%; bottom: 14%; width: 79%; height: 49%; z-index: 1; }
.entry-copy { grid-row: 2; display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 9px clamp(8px, 2.3vw, 19px) clamp(10px, 2.5vw, 20px); font: 700 clamp(23px, 6.3vw, 40px)/1.05 var(--menu-font); text-shadow: 0 2px 5px #000; }
.entry-art:is(.entry-art-food, .entry-art-drink) + .entry-copy { justify-content: center; text-align: center; }
@media (max-width: 640px) {
  .entry-card { aspect-ratio: auto; min-height: clamp(340px, calc(100svh - 167px), 540px); }
  .entry-art-food { inset: 0 0 11%; }
  .entry-food-group { width: 94%; }
  .entry-art-drink .entry-photo-side { right: 4%; top: 8%; width: 45%; height: 49%; }
  .entry-art-drink .entry-photo-main { left: 4%; top: 14%; width: 59%; height: 55%; }
  .entry-art-drink .entry-photo-front { left: 5%; bottom: 13%; width: 90%; height: 39%; }
}
.entry-card-nargile {
  grid-column: 1 / -1;
  grid-template-rows: 1fr;
  aspect-ratio: auto;
  min-height: clamp(118px, 26vw, 168px);
  background: linear-gradient(90deg, #100e0c91, #100e0c24 58%, #100e0c61), var(--marble) center / cover;
}
.entry-card-nargile .entry-copy { grid-row: 1; padding-block: 10px; }
.entry-art-nargile::after { content: none; }
.entry-art-nargile img { top: 7%; left: 27%; width: 46%; height: 86%; }
.entry-back { display: inline-flex; grid-column: 1 / -1; align-items: center; justify-self: start; gap: 7px; min-height: 44px; padding-inline: 2px; color: var(--orange-bright); font-size: 13px; font-weight: 700; text-decoration: none; }
.entry-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.browse-bar { position: sticky; top: 0; z-index: 5; background: linear-gradient(#16120fe8, #16120fdc), var(--marble) center 45% / cover; border-bottom: 1px solid var(--line); }
.browse-inner { display: grid; gap: 7px; padding-block: 6px 11px; }
.sections { display: flex; width: 100%; max-width: 410px; align-items: stretch; margin-inline: auto; gap: 5px; }
.sections button {
  position: relative;
  flex: 1;
  min-height: 43px;
  border: 0;
  padding: 5px 13px 7px;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.012em;
  border-radius: 6px;
  transition: color .17s ease, background-color .17s ease;
}
.sections button:hover { color: var(--ink); background: var(--panel); }
.sections button[aria-pressed=true] { color: var(--orange-bright); }
.sections button[aria-pressed=true]::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 29px; height: 2px; border-radius: 3px; transform: translateX(-50%); background: var(--orange); box-shadow: 0 0 10px #ff812b55; }
.categories { min-width: 0; }
#categories { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 3px 3px 5px; scroll-padding-inline: 3px; }
#categories::-webkit-scrollbar { display: none; }
#categories a {
  flex: none;
  display: block;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 650;
}
#categories a:hover { background: var(--panel); color: var(--ink); }
#categories a[aria-current=location] { color: #ffab71; background: #55352366; border-color: #895739; }
#categories a:focus-visible { outline-offset: -1px; }
.search { display: flex; align-items: center; gap: 11px; min-width: 0; padding-inline: 12px 4px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); color: var(--muted); }
.search:focus-within { border-color: var(--orange-bright); }
.search-icon { position: relative; flex: 0 0 13px; width: 13px; height: 13px; border: 1.5px solid currentColor; border-radius: 50%; margin-inline-end: 3px; }
.search-icon::after { content: ''; position: absolute; width: 6px; height: 1.5px; background: currentColor; right: -5px; bottom: -2px; transform: rotate(47deg); }
.search input { flex: 1; min-width: 0; min-height: 39px; border: 0; padding: 4px 2px; outline: none; background: transparent; color: var(--ink); font-size: 16px; }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { appearance: none; }
#clear { flex: none; width: 37px; height: 37px; border: 0; background: transparent; cursor: pointer; font-size: 23px; line-height: 1; }
.menu-content { padding-block: 11px 42px; }
.listing { min-width: 0; }
.listing-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 12px; min-height: 22px; }
.preview-note { color: var(--muted); font-size: 13px; }
#groups { display: grid; gap: clamp(22px, 4.5vw, 36px); }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(8px, 2.4vw, 17px); }
.category-card {
  display: grid;
  position: relative;
  isolation: isolate;
  grid-template-rows: minmax(0,1fr) auto;
  min-width: 0;
  height: clamp(124px,35vw,188px);
  overflow: hidden;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 4px 13px #0b111540;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease;
}
.category-card:hover { border-color: #966540; background: var(--panel-hover); }
.category-card:focus-visible { outline-offset: 2px; }
.category-art { display: grid; min-height: 0; place-items: center; padding: 5px 7px; overflow: hidden; background: radial-gradient(ellipse at 50% 42%, #b981581d, transparent 74%), var(--marble) center / cover; }
.category-card:nth-child(even) .category-art { background-position: center, right 65%; }
.category-image { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; filter: drop-shadow(0 5px 5px #000a); }
.category-card[href="#ana-yemekler"] .category-image { transform: scale(1.22); }
.category-grid[data-section="icecekler"] .category-art {
  padding: 0;
  background-position: center;
}
.category-grid[data-section="icecekler"] .category-image { object-position: center bottom; }
.category-card-copy { grid-row: 2; display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 7px clamp(7px, 2.1vw, 13px); gap: 5px; border-top: 1px solid #b3815c2e; }
.category-card-name { font: 700 clamp(18px, 4.7vw, 24px)/1.04 var(--menu-font); overflow-wrap: anywhere; }
.category-back { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; margin-inline-end: auto; color: var(--orange-bright); font-size: 13px; font-weight: 700; text-decoration: none; }
.category-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.category-back ~ .preview-note { margin-inline-start: auto; }
.group { min-width: 0; scroll-margin-top: calc(var(--toolbar-height) + 9px); }
.group:focus-visible { outline-offset: 5px; border-radius: 6px; }
.group-header { margin-bottom: 11px; }
.group-title h3 { font: 700 clamp(29px, 6vw, 42px)/1.05 var(--menu-font); }
.nargile-content, .nargile-options { display: grid; gap: clamp(8px, 2.4vw, 17px); }
.nargile-art { display: grid; place-items: center; height: clamp(150px, 42vw, 240px); overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--marble) center / cover; }
.nargile-image { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.nargile-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nargile-brand { min-width: 0; padding: 11px clamp(10px, 3vw, 18px); border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.nargile-brand h4 { margin: 0 0 4px; font: 700 24px/1.12 var(--menu-font); }
.nargile-list { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 16px; }
.nargile-list li { padding-block: 5px; overflow-wrap: anywhere; }
.nargile-list li + li { border-top: 1px solid #b3815c2e; }
.items { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(8px, 2.4vw, 17px); padding: 0; margin: 0; }
.item { min-width: 0; }
.item-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 79px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 8px;
  text-align: left;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  box-shadow: 0 4px 13px #0b11152e;
}
button.item-card { cursor: pointer; transition: border-color .18s ease, background-color .18s ease; }
button.item-card:hover { border-color: #966540; background: var(--panel-hover); }
button.item-card:focus-visible { outline-offset: 2px; }
.item-media { display: grid; place-items: center; width: 100%; aspect-ratio: 1.18; overflow: hidden; border-radius: 5px; background: linear-gradient(#100c091c, #100c0940), var(--marble-portrait) center / cover; }
#ana-yemekler .item-media { aspect-ratio: 1.68; }
#ana-yemekler .item-photo { width: 100%; }
.item-photo { display: block; width: 96%; height: 97%; min-width: 0; min-height: 0; object-fit: contain; filter: drop-shadow(0 7px 6px #0a0e11aa); }
#makarnalar .item-photo { width: 86%; height: 84%; }
#soguk-icecekler .item-media { aspect-ratio: 640 / 540; }
#soguk-icecekler .item-photo { width: 100%; height: 100%; }
.item-copy { display: block; min-width: 0; padding: 3px 2px 1px; }
.item-name { display: block; overflow-wrap: anywhere; font-weight: 700; font-size: clamp(16px, 4vw, 18px); line-height: 1.25; letter-spacing: -.01em; }
.item-description { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.item-image-note { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.no-photo .item-card { justify-content: center; padding-block: 12px; background: linear-gradient(#1b1613e6, #1b1613ee), var(--marble) center / cover; }
.price { display: block; color: var(--orange-bright); margin-top: 5px; font-weight: 700; font-size: 13px; white-space: nowrap; }
.empty { padding: 18px; color: var(--muted); border: 1px solid var(--line); border-radius: 7px; }
.footer { border-top: 1px solid var(--line); background: #140f0cbd; }
.footer-inner { display: flex; justify-content: space-between; gap: 15px; padding-block: 18px; font-size: 14px; color: var(--muted); }
.footer a { color: var(--orange-bright); text-underline-offset: 4px; }
@media (min-width: 640px) {
  :root { --toolbar-height: 108px; }
  .browse-inner { grid-template-columns: minmax(0,1fr) minmax(185px,34%); align-items: center; column-gap: 19px; }
  .browse-inner:has(.categories[hidden]) .search { grid-column: 1 / -1; width: min(100%, 410px); justify-self: center; }
  .sections { grid-column: 1 / -1; }
  .category-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .nargile-content { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; }
  .nargile-art { height: clamp(240px, 35vw, 340px); }
  .items { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .item-card { padding: 10px; }
  .item-copy { padding-inline-start: 4px; }
  .menu-content { padding-block-start: 14px; }
}
@media (min-width: 950px) {
  .browse-inner { grid-template-columns: minmax(0,1fr) minmax(245px,28%); }
  .category-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .items { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  :root { view-transition-name: none; }
  #groups { view-transition-name: menu-list; }
  ::view-transition-group(menu-list) { animation-duration: .23s; }
  ::view-transition-old(menu-list) { animation: list-exit .13s ease both; }
  ::view-transition-new(menu-list) { animation: list-enter .23s ease both; }
  @keyframes list-exit { to { opacity: 0; transform: translateY(-5px); } }
  @keyframes list-enter { from { opacity: 0; transform: translateY(8px); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

.category-back, .category-card { scroll-margin-top: calc(var(--toolbar-height) + 9px); }
.menu:has(.entry-back:not([hidden])) :is(.group, .category-back, .category-card) { scroll-margin-top: calc(var(--toolbar-height) + 60px); }

body:has(.menu-entry:not([hidden])) .brand { width: min(175px, 58vw); }
