/* ÇATI BAR — Menu Site */
:root {
  --cream: #f3ede0;
  --cream-2: #ece4d3;
  --ink: #1d2733;
  --ink-soft: #2c3848;
  --muted: #6b6357;
  --gold: #c9a14a;
  --gold-soft: #d8b566;
  --line: rgba(201, 161, 74, 0.45);
  --shadow: 0 6px 22px rgba(29, 39, 51, 0.08);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ============ HERO ============ */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 0 20px 30px;
  background: var(--cream);
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.cover {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 40px 0 30px;
  text-align: center;
}
.cover-roof {
  display: block;
  margin: 0 auto;
  width: 60%;
  max-width: 220px;
  height: auto;
}
.cover-brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(60px, 22vw, 90px);
  letter-spacing: 6px;
  line-height: 1;
  margin-top: 8px;
  margin-bottom: 0;
  color: var(--ink);
}
.cover-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 8px;
  font-size: clamp(20px, 5vw, 26px);
  color: var(--ink);
}
.cover-line {
  display: block;
  width: 44px;
  height: 1px;
  background: var(--gold);
}
.cover-rule {
  height: 1px;
  width: 90%;
  margin: 30px auto 28px;
  background: var(--gold);
}
.cover-menu {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(70px, 18vw, 105px);
  letter-spacing: 10px;
  line-height: 1;
  margin: 0;
  color: var(--ink);
}
.roof-logo.small { width: 90px; margin-bottom: 12px; }

/* Language switch */
.lang-switch {
  margin: 20px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--muted);
  width: 100%;
}
.lang-btn {
  background: transparent;
  border: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 4px;
  transition: color .2s, background .2s;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active {
  color: var(--gold);
  background: rgba(201, 161, 74, 0.08);
}
.lang-sep { color: var(--line); }

/* ============ STICKY NAV ============ */
.catnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 237, 224, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.catnav ul {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  scrollbar-width: none;
  gap: 6px;
  justify-content: center;
}
.catnav ul::-webkit-scrollbar { display: none; }
.catnav li { flex: 0 0 auto; }
.catnav a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all .2s;
  white-space: nowrap;
}
.catnav a:hover {
  color: var(--gold);
  border-color: var(--line);
}
.catnav a.active {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201, 161, 74, 0.06);
}

/* ============ SECTIONS ============ */
main { padding: 0 20px; }
.section {
  max-width: 820px;
  margin: 0 auto;
  padding: 70px 0 30px;
}
.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.section-icon {
  font-size: 32px;
  line-height: 1;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 500;
  letter-spacing: 3px;
  margin: 0;
  color: var(--ink);
  min-width: 0;
  overflow-wrap: break-word;
}
.rule-gold {
  height: 1px;
  background: var(--gold);
  margin-bottom: 32px;
  width: 100%;
}

/* Menu lists */
.menu-list li {
  padding: 14px 0;
  border-bottom: 1px dashed rgba(29, 39, 51, 0.08);
}
.menu-list li:last-child { border-bottom: none; }
.menu-list.simple li { padding: 16px 0; }

.row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.name {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  color: var(--ink);
  flex: 1;
}
.name em {
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
  font-size: 14px;
  margin-left: 6px;
}
.price {
  font-weight: 500;
  font-size: 15px;
  color: var(--gold);
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.desc {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 88%;
}
.note {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* Simple list (larger names like shots/whiskeys/beers PDF style) */
.menu-list.simple .name { font-size: 18px; font-weight: 500; }
.menu-list.simple .price { font-size: 16px; }

/* Sub-headings */
.sub {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 36px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

/* Whiskey glass column header */
.col-header {
  display: flex;
  justify-content: flex-end;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 13px;
  color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}

/* Wine 3-column table */
.wine-headers {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 12.5px;
  color: var(--ink);
  padding: 10px 0 6px;
  border-bottom: 1px solid var(--line);
}
.wine-headers span:nth-child(2), .wine-headers span:nth-child(3) { text-align: right; }
.menu-list.wine li { padding: 12px 0; }
.wrow {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  align-items: baseline;
}
.wrow .name { font-size: 16px; }
.wrow .price { text-align: right; }

/* Roof divider between sections */
.roof-divider {
  margin: 50px auto 0;
  width: 110px;
  text-align: center;
  opacity: 0.85;
}
.roof-divider img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============ FOOTER ============ */
.footer {
  text-align: center;
  padding: 60px 20px 40px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: var(--cream-2);
}
.brand-foot {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 8px;
  margin: 0 0 8px;
  color: var(--ink);
}
.copy {
  font-size: 12.5px;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 0;
}

/* ============ MOBILE BOTTOM TAB BAR (sticky like mobile app) ============ */
.tabbar {
  display: none;
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  margin: 0;
  z-index: 300;
  background: rgba(243, 237, 224, 0.98);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-top: 1px solid var(--line);
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -10px 30px rgba(29, 39, 51, 0.12);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.tabbar::-webkit-scrollbar { display: none; }
.tabbar .tab {
  flex: 0 0 auto;
  min-width: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 14px;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color .2s;
  scroll-snap-align: center;
}
.tab-lbl {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  line-height: 1.1;
  text-transform: uppercase;
  color: inherit;
  white-space: nowrap;
}
.tab:active { color: var(--gold); }
.tab.active { color: var(--gold); }
.tab.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--gold);
}

/* ============ TO TOP ============ */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--cream);
  color: var(--gold);
  font-size: 20px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s, background .2s;
  box-shadow: var(--shadow);
  z-index: 100;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--gold); color: var(--cream); }

/* ============ RESPONSIVE ============ */
@media (max-width: 640px) {
  .hero-cover { max-width: min(320px, 80%); max-height: 70vh; }
  .section { padding: 50px 0 20px; }
  .section-head { gap: 10px; }
  .section-icon { font-size: 26px; flex: none; }
  .section-head h2 {
    /* 390px ve uzeri telefonlarda 28px (eskisiyle ayni), dar ekranlarda kuculur */
    font-size: clamp(22px, 7.2vw, 28px);
  }
  /* Dar ekranda en uzun kelimeler (ATIŞTIRMALIKLAR / БЕЗАЛКОГОЛЬНЫЕ) tek satira sigsin */
  @media (max-width: 360px) {
    .section-head h2 { font-size: 20px; letter-spacing: 2px; }
  }

  .wine-headers,
  .wrow {
    grid-template-columns: 1.4fr 0.9fr 0.9fr;
    gap: 8px;
    font-size: 12px;
  }
  .wrow .name { font-size: 15px; }
  .wrow .price { font-size: 14px; }

  /* Hide top catnav, show bottom tab bar */
  .catnav { display: none; }
  .tabbar { display: flex; align-items: stretch; }

  /* Lift content above the bottom tab bar */
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .footer { margin-bottom: 0; }

  /* Move to-top above the tab bar, smaller */
  .to-top {
    width: 40px;
    height: 40px;
    font-size: 16px;
    right: 14px;
    bottom: calc(80px + env(safe-area-inset-bottom));
  }
}

/* Cok dar ekranlar (Galaxy Fold vb.) */
@media (max-width: 340px) {
  .cover-menu { font-size: 58px; letter-spacing: 6px; }
  .cover-brand { font-size: 56px; letter-spacing: 4px; }
  .cover-sub { letter-spacing: 6px; }
}

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