/* Maison Heaven — QR meni
   Renkler basılı menüden ve logodan alındı. */
:root {
  --forest: #334843;      /* basılı menü başlık blokları */
  --forest-2: #263833;
  --sage: #628474;        /* logo zemini */
  --sage-2: #8aa597;
  --sage-mist: #e3eae3;
  --cream: #faf7ee;       /* basılı menü zemini */
  --paper: #f3eee1;
  --paper-2: #ebe4d2;
  --ink: #1d2723;
  --ink-2: #5a6560;
  --ink-3: #848d88;
  --line: rgba(51, 72, 67, .14);
  --brass: #a07c47;
  --hot: #9a5a2f;  --hot-bg: #f5e7d7;
  --ice: #36697a;  --ice-bg: #e0edef;

  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Poppins', 'Avenir Next', 'Segoe UI', sans-serif;

  --r-lg: 22px;
  --nav-h: 104px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.3, 1.35, .45, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
html.locked, html.locked body { overflow: hidden; }
body {
  margin: 0;
  font: 400 16px/1.5 var(--sans);
  color: var(--ink);
  background-color: var(--cream);
  /* basılı kâğıt dokusu */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .28 0 0 0 0 .25 0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--forest); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--sage); color: #fff; text-align: center;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 20px 96px;
}
.hero-light {
  position: absolute; inset: -30% -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(55% 45% at 22% 18%, rgba(255, 238, 205, .38), transparent 62%),
    radial-gradient(45% 55% at 92% 105%, rgba(26, 44, 37, .42), transparent 70%);
}
/* güneş ışığında zeytin dalı gölgesi — ürün fotoğraflarındaki ışığın devamı */
.hero-leaves { position: absolute; inset: 0; z-index: 0; color: #15261d; opacity: .3; filter: blur(3.5px); pointer-events: none; }
.leaf { position: absolute; width: 250px; height: 470px; transform-origin: 50% 50%; animation: sway 12s ease-in-out infinite alternate; }
.leaf-a { left: -120px; top: -40px; transform: rotate(-62deg); }
.leaf-b { right: -110px; top: -150px; transform: rotate(146deg); animation-duration: 15s; animation-delay: -4s; }
.leaf-c { left: 26%; top: -330px; width: 200px; height: 380px; transform: rotate(178deg); animation-duration: 10s; animation-delay: -7s; opacity: .55; }
@keyframes sway {
  from { rotate: -2.5deg; translate: 0 0; }
  to   { rotate: 2.5deg;  translate: 8px -5px; }
}
.hero-top, .hero-logo, .hero-kicker { position: relative; z-index: 1; }

.hero-top { display: flex; justify-content: flex-end; }
.lang-switch {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lang-switch button {
  font: 500 12.5px var(--sans); letter-spacing: .02em; color: rgba(255, 255, 255, .86);
  padding: 8px 14px; min-height: 36px; border-radius: 999px; transition: background .25s, color .25s;
}
.lang-switch button[aria-pressed="true"] { background: #fff; color: var(--forest); }

.hero-logo { margin: 30px auto 0; width: min(76vw, 330px); line-height: 0; }
.hero-logo svg { width: 100%; height: auto; aspect-ratio: 4000 / 1104; color: #fff; }
.hero-kicker {
  margin: 20px 0 0; display: flex; align-items: center; justify-content: center; gap: 14px;
  font: 300 12px var(--sans); letter-spacing: .42em; text-transform: uppercase; color: rgba(255, 255, 255, .9);
  padding-left: .42em;
}
.hero-kicker::before, .hero-kicker::after { content: ""; width: 34px; height: 1px; background: rgba(255, 255, 255, .55); }

/* ---------- Category index ---------- */
.index {
  position: relative; z-index: 2;
  margin: -62px 16px 12px; max-width: 528px;
  background: var(--cream); border-radius: var(--r-lg) var(--r-lg) 4px var(--r-lg);
  box-shadow: 0 22px 44px -26px rgba(20, 40, 32, .55), 0 2px 0 rgba(255, 255, 255, .7) inset;
  padding: 6px;
}
@media (min-width: 560px) { .index { margin-left: auto; margin-right: auto; } }
.gcard {
  position: relative; display: grid; grid-template-columns: 1fr 44%; align-items: stretch;
  width: 100%; min-height: 78px; text-align: left; border-radius: 17px; overflow: hidden;
  transition: background .2s;
}
.gcard + .gcard::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 1px; background: var(--line); }
.gcard:active { background: var(--paper); }
.gcard-text { padding: 12px 8px 12px 14px; display: flex; flex-direction: column; justify-content: center; }
.gcard-no { font: 500 10.5px var(--sans); letter-spacing: .14em; color: var(--brass); }
.gcard-title { font: 500 23px/1.12 var(--serif); color: var(--forest); margin-top: 2px; }
.gcard-meta { font: 400 12px var(--sans); color: var(--ink-3); margin-top: 3px; }
.gcard-img { position: relative; margin: 6px 6px 6px 0; border-radius: 13px 13px 13px 3px; overflow: hidden; }
.gcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gcard:active .gcard-img img { transform: scale(1.04); }

/* ---------- Sticky nav ---------- */
.nav-sentinel { height: 1px; }
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250, 247, 238, .92);
  backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.nav.stuck { border-color: var(--line); box-shadow: 0 10px 26px -20px rgba(20, 40, 32, .55); }
.nav-row, .chips { max-width: 560px; margin: 0 auto; }
.nav-row { display: flex; align-items: center; gap: 4px; padding: 6px 10px 0 16px; }
.tabs { position: relative; flex: 1; min-width: 0; display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; padding-right: 10px;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 14px), transparent); }
.tabs::-webkit-scrollbar, .chips::-webkit-scrollbar { display: none; }
.tab {
  position: relative; flex: none; padding: 11px 0 12px; min-height: 44px;
  font: 500 14.5px var(--sans); color: var(--ink-3); white-space: nowrap; transition: color .25s;
}
.tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; border-radius: 2px;
  background: var(--forest); transform: scaleX(0); opacity: 0; transition: transform .35s var(--ease), opacity .2s;
}
.tab[aria-selected="true"] { color: var(--forest); }
.tab[aria-selected="true"]::after { transform: scaleX(1); opacity: 1; }

.icon-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--forest); transition: background .2s; }
.icon-btn:active { background: var(--paper-2); }
.lang-mini { flex: none; display: flex; padding: 2px; border-radius: 999px; border: 1px solid var(--line); margin-left: 2px; }
.lang-mini button { font: 600 11px var(--sans); letter-spacing: .08em; color: var(--ink-3); padding: 7px 9px; border-radius: 999px; min-width: 34px; transition: background .25s, color .25s; }
.lang-mini button[aria-pressed="true"] { background: var(--forest); color: #fff; }

.chips { position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 6px 16px 11px; scrollbar-width: none; }
.chips.swap { animation: chipsIn .35s var(--ease); }
@keyframes chipsIn { from { opacity: 0; translate: 10px 0; } }
.chip {
  flex: none; min-height: 38px; padding: 8px 15px; border-radius: 999px;
  font: 500 13px var(--sans); color: var(--ink); white-space: nowrap;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .55);
  transition: background .25s, color .25s, border-color .25s;
}
.chip[aria-current="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }

/* ---------- Menu ---------- */
main { max-width: 560px; margin: 0 auto; padding: 0 16px 36px; outline: none; }

.group { padding-top: 30px; }
.group-head { position: relative; padding: 14px 4px 4px; }
.group-no { font: 500 11px var(--sans); letter-spacing: .14em; color: var(--brass); }
.group-title { margin: 4px 0 0; font: 500 clamp(36px, 10.5vw, 46px)/1.02 var(--serif); letter-spacing: -.01em; color: var(--forest); }
.group-alt { margin: 4px 0 0; font: italic 400 17px var(--serif); color: var(--sage); }
.group-head .olive { position: absolute; right: -8px; top: -14px; width: 92px; height: 174px; color: var(--sage); opacity: .17; transform: rotate(24deg); pointer-events: none; }

.sec { margin-top: 26px; }
.sec-head {
  position: relative; background: var(--forest); color: #fff; text-align: center;
  border-radius: var(--r-lg) var(--r-lg) 0 var(--r-lg);
  padding: 15px 18px 14px;
}
.sec-title { margin: 0; font: 600 16.5px/1.25 var(--sans); letter-spacing: .07em; text-transform: uppercase; }
.sec-alt { margin: 3px 0 0; font: 300 11.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; opacity: .78; }
.sec-head.has-arch { margin-top: 64px; text-align: left; padding: 16px 112px 15px 20px; }
.arch {
  position: absolute; right: 16px; bottom: 12px; width: 76px; height: 112px;
  border-radius: 999px 999px 14px 14px; object-fit: cover; background: var(--paper-2);
  box-shadow: 0 0 0 4px var(--cream), 0 16px 26px -14px rgba(10, 25, 20, .65);
}
.sec-photo {
  margin: 10px 0 2px; aspect-ratio: 2.55; border-radius: var(--r-lg) 4px var(--r-lg) var(--r-lg);
  overflow: hidden; background: var(--paper-2);
}
.sec-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Items */
.items { list-style: none; margin: 6px 0 0; padding: 0; }
.item {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  column-gap: 16px; min-height: 48px; padding: 10px 8px; border-radius: 14px;
}
/* sadece arama sonuçlarında: satıra dokununca menüdeki yerine gider */
.item-hit { position: absolute; inset: 0; z-index: 0; border-radius: inherit; transition: background .2s; }
.item-hit:active { background: rgba(98, 132, 116, .12); }
.item-body, .item-price { position: relative; z-index: 1; pointer-events: none; }
.item-body { display: flex; flex-direction: column; min-width: 0; }
.item-name { font: 500 15.5px/1.32 var(--sans); color: var(--ink); }
.items .item:nth-child(even) .item-name { color: var(--ink-2); }  /* basılı menüdeki koyu/açık ritim */
.item-vol { margin-left: 7px; font: 400 12.5px var(--sans); color: var(--ink-3); white-space: nowrap; }
.item-desc { margin-top: 2px; font: 400 13px/1.45 var(--sans); color: var(--ink-3); }
.item-sec { margin-top: 2px; font: 500 10.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.item-price { font: 600 15.5px var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.item.flash { animation: flash 1.8s var(--ease); }
@keyframes flash { 0%, 40% { background: rgba(160, 124, 71, .2); } 100% { background: transparent; } }

.temps { display: flex; gap: 6px; margin-top: 6px; }
.temp {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px 3px 7px; border-radius: 999px;
  font: 600 10.5px var(--sans); letter-spacing: .08em; text-transform: uppercase;
}
.temp svg { width: 13px; height: 13px; }
.temp.hot { color: var(--hot); background: var(--hot-bg); }
.temp.ice { color: var(--ice); background: var(--ice-bg); }

.badge-zero {
  margin-left: 8px; padding: 2px 7px; border-radius: 999px; vertical-align: 2px;
  font: 600 10px var(--sans); letter-spacing: .06em; color: var(--sage); background: var(--sage-mist);
}

/* Kokteyller — imza bölüm */
.sec.signature .item { padding-top: 13px; padding-bottom: 13px; }
.sec.signature .item + .item::before { content: ""; position: absolute; top: 0; left: 8px; right: 8px; border-top: 1px dashed var(--line); }
.sec.signature .item-name { font: italic 500 20px/1.2 var(--serif); color: var(--forest); }
.sec.signature .items .item:nth-child(even) .item-name { color: var(--forest); }
.sec.signature .item-desc { margin-top: 4px; }

/* Bölüm görünme animasyonu */
.js .sec.reveal { opacity: 0; translate: 0 14px; transition: opacity .6s var(--ease), translate .6s var(--ease); }
.js .sec.reveal.in { opacity: 1; translate: 0 0; }

/* ---------- Footer ---------- */
.foot { max-width: 560px; margin: 0 auto; padding: 26px 24px calc(44px + var(--safe-b)); text-align: center; color: var(--ink-3); font-size: 12.5px; }
.foot-logo { width: 184px; height: auto; aspect-ratio: 4000 / 1104; color: var(--sage); margin: 0 auto 16px; display: block; }
.foot p { margin: 4px 0; }
.to-top {
  margin: 18px auto 0; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line); font: 500 13px var(--sans); color: var(--forest);
}
.credit { margin-top: 18px !important; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.credit a { color: var(--ink-3); text-decoration: none; }

/* ---------- Search ---------- */
.search {
  position: fixed; inset: 0; z-index: 60; background: var(--cream); display: flex; flex-direction: column;
  opacity: 0; translate: 0 -10px; transition: opacity .25s, translate .3s var(--ease);
}
.search.open { opacity: 1; translate: 0 0; }
.search-bar { display: flex; align-items: center; gap: 6px; padding: calc(8px + env(safe-area-inset-top, 0px)) 14px 10px 8px; border-bottom: 1px solid var(--line); max-width: 560px; width: 100%; margin: 0 auto; }
.search-field { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 14px; min-height: 46px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-3); }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 16px var(--sans); color: var(--ink); }
.search-field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 16px 40px; max-width: 560px; width: 100%; margin: 0 auto; }
.search-empty { margin: 26px 10px; text-align: center; color: var(--ink-3); font-size: 14px; }
.search .items .item:nth-child(even) .item-name { color: var(--ink); }

.noscript { padding: 24px; text-align: center; }

/* ---------- Load-in ---------- */
.js .hero-logo, .js .hero-kicker, .js .lang-switch, .js .index { animation: rise .9s var(--ease) both; }
.js .hero-kicker { animation-delay: .12s; }
.js .lang-switch { animation-delay: .2s; }
.js .index { animation-delay: .22s; }
@keyframes rise { from { opacity: 0; translate: 0 16px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .sec.reveal { opacity: 1; translate: none; }
}

/* Büyük ekran: menü ortada bir "sayfa" gibi dursun */
@media (min-width: 720px) {
  body { background-color: #e9e4d6; }
  .hero { border-radius: 0 0 36px 36px; max-width: 760px; margin: 0 auto; }
}
