/* ============================================================
   SOHBET BARBECUE RESTAURANT — DIGITALE MENUKAART
   ============================================================ */

:root {
  --ink: #221b14;
  --ink-soft: #6b6056;
  --paper: #ffffff;
  --paper-warm: #faf7f3;
  --line: #eae4dc;
  --accent: #d97a1d;
  --accent-deep: #b86312;
  --coal: #16120e;
  --coal-soft: #262019;
  --cream: #f5ead9;
  --maxw: 680px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Barlow", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--coal) url("../img/hero.webp") center 38% / cover no-repeat;
  color: var(--cream);
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(16, 12, 9, 0.82), rgba(16, 12, 9, 0.6) 55%, rgba(16, 12, 9, 0.88));
}

.hero-inner {
  position: relative;
  padding: 64px 24px 56px;
}

.hero-flame {
  width: 34px;
  height: 34px;
  fill: var(--accent);
  margin-bottom: 14px;
}

.hero-logo {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: clamp(44px, 11vw, 60px);
  line-height: 1;
  letter-spacing: 0.01em;
}

.hero-logo span { color: var(--accent); }

.hero-sub {
  margin-top: 10px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: rgba(245, 234, 217, 0.72);
}

.hero-tagline {
  margin-top: 26px;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 15px;
  color: rgba(245, 234, 217, 0.55);
}

/* ---------- Controls (sticky) ---------- */

.controls {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: 14px;
}

.mode-toggle {
  display: flex;
  width: min(calc(100% - 48px), 360px);
  margin: 0 auto;
  border: 1px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}

.mode-btn {
  flex: 1;
  appearance: none;
  border: 0;
  background: transparent;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 11px 0;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.mode-btn.is-active {
  background: var(--ink);
  color: var(--paper);
}

.cat-nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 14px 24px 12px;
  max-width: calc(var(--maxw) + 48px);
  margin: 0 auto;
}

.cat-nav::-webkit-scrollbar { display: none; }

.cat-link {
  flex: 0 0 auto;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}

.cat-link:hover { color: var(--ink); }

.cat-link.is-active {
  color: var(--accent-deep);
  border-color: var(--accent);
}

/* ---------- Menu sections ---------- */

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 24px 70px;
}

.menu-section {
  padding-top: 44px;
  scroll-margin-top: 118px;
}

.section-head {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.section-photo {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  padding: 3px;
  background: var(--paper);
}

.section-title {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.1;
  color: var(--ink);
}

.section-sub {
  margin-top: 5px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.section-note {
  margin-top: 10px;
  font-size: 14px;
  font-style: italic;
  color: var(--ink-soft);
}

.group-title {
  margin: 28px 0 6px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

/* ---------- Items ---------- */

.menu-item {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

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

.item-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.item-name {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 600;
  font-size: 17.5px;
  color: var(--ink);
}

.item-dots {
  flex: 1;
  border-bottom: 2px dotted #d8cfc4;
  transform: translateY(-4px);
  min-width: 18px;
}

.item-price {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.item-desc {
  margin-top: 3px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 52ch;
}

.item-note {
  margin-top: 3px;
  font-size: 13px;
  font-style: italic;
  color: var(--accent-deep);
}

/* ---------- All You Can Eat BBQ ---------- */

.ayce {
  margin-top: 54px;
  background: var(--coal);
  color: var(--cream);
  border-radius: 4px;
  padding: 38px 28px 32px;
  scroll-margin-top: 118px;
}

.ayce .section-title { color: var(--cream); }

.ayce .section-sub { color: var(--accent); }

.ayce-prices {
  margin: 24px 0 28px;
  border-top: 1px solid rgba(245, 234, 217, 0.18);
}

.ayce-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(245, 234, 217, 0.18);
}

.ayce-price-row .item-dots { border-color: rgba(245, 234, 217, 0.28); }

.ayce-price-label {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 600;
  font-size: 16.5px;
}

.ayce-price-row .item-price { color: var(--accent); font-size: 17px; }

.ayce-courses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px 32px;
}

.ayce-course-title {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.ayce-course ul {
  list-style: none;
}

.ayce-course li {
  font-size: 14.5px;
  line-height: 1.4;
  padding: 4px 0;
  color: rgba(245, 234, 217, 0.88);
}

.ayce-rules {
  margin-top: 30px;
  border-top: 1px solid rgba(245, 234, 217, 0.18);
  padding-top: 8px;
}

.ayce-rules summary {
  cursor: pointer;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 12px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.ayce-rules summary::after {
  content: "+";
  font-family: "Fraunces", serif;
  font-size: 20px;
  color: var(--accent);
  transition: transform 0.2s;
}

.ayce-rules[open] summary::after { transform: rotate(45deg); }

.ayce-rules ul { list-style: none; padding-bottom: 6px; }

.ayce-rules li {
  position: relative;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(245, 234, 217, 0.78);
  padding: 5px 0 5px 18px;
}

.ayce-rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 7px;
  height: 2px;
  background: var(--accent);
}

.ayce-warning {
  margin-top: 22px;
  padding: 13px 16px;
  background: rgba(217, 122, 29, 0.14);
  border-left: 3px solid var(--accent);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--cream);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 44px 24px 56px;
  background: var(--paper-warm);
}

.footer-brand {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 6px;
}

.site-footer a {
  color: var(--accent-deep);
  text-decoration: none;
  font-size: 14.5px;
}

.site-footer a:hover { text-decoration: underline; }

.footer-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* ---------- Responsive ---------- */

@media (min-width: 720px) {
  .hero-inner { padding: 96px 24px 84px; }
  .menu-section { padding-top: 56px; }
  .ayce { padding: 46px 44px 40px; }
  .section-photo { width: 118px; height: 118px; }
}
