/* ===========================================================
   Burger Bite — restaurant website
   Three themes driven by [data-theme] on <html>:
     a = Bold & Dark   b = Warm & Inviting   c = Modern Minimal
   =========================================================== */

/* ---------- THEME TOKENS ---------- */
:root[data-theme="a"] {
  --bg:        #0a0a0a;
  --bg-2:      #131313;
  --surface:   #181818;
  --surface-2: #1f1f1f;
  --text:      #f5f5f5;
  --text-dim:  #a3a3a3;
  --accent:    #c0392b;
  --accent-ink:#ffffff;
  --accent-2:  #e6533f;
  --border:    rgba(255,255,255,0.10);
  --shadow:    0 24px 50px -20px rgba(0,0,0,0.8);
  --radius:    8px;
  --font-display: "Anton", "Noto Sans Georgian", sans-serif;
  --font-head:    "Noto Sans Georgian", "Anton", sans-serif;
  --font-body:    "Inter", "Noto Sans Georgian", sans-serif;
  --display-spacing: 0.01em;
  --display-transform: uppercase;
  --hero-overlay: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.35) 40%, rgba(10,10,10,0.92) 100%);
  --nav-bg: rgba(10,10,10,0.82);
}
:root[data-theme="b"] {
  --bg:        #f4ead6;
  --bg-2:      #efe1c6;
  --surface:   #fffaf0;
  --surface-2: #f7ecd6;
  --text:      #3a2b1c;
  --text-dim:  #8a7458;
  --accent:    #7a4a24;
  --accent-ink:#fff8ec;
  --accent-2:  #9c5f2e;
  --border:    rgba(122,74,36,0.18);
  --shadow:    0 24px 50px -22px rgba(80,50,20,0.4);
  --radius:    16px;
  --font-display: "Bitter", "Noto Sans Georgian", serif;
  --font-head:    "Bitter", "Noto Sans Georgian", serif;
  --font-body:    "Inter", "Noto Sans Georgian", sans-serif;
  --display-spacing: 0;
  --display-transform: none;
  --hero-overlay: linear-gradient(180deg, rgba(40,26,12,0.45) 0%, rgba(40,26,12,0.30) 45%, rgba(244,234,214,0.96) 100%);
  --nav-bg: rgba(255,250,240,0.86);
}
:root[data-theme="c"] {
  --bg:        #ffffff;
  --bg-2:      #f5f5f5;
  --surface:   #ffffff;
  --surface-2: #fafafa;
  --text:      #111111;
  --text-dim:  #6b6b6b;
  --accent:    #f1c40f;
  --accent-ink:#111111;
  --accent-2:  #111111;
  --border:    rgba(0,0,0,0.12);
  --shadow:    0 20px 40px -22px rgba(0,0,0,0.25);
  --radius:    4px;
  --font-display: "Inter", "Noto Sans Georgian", sans-serif;
  --font-head:    "Inter", "Noto Sans Georgian", sans-serif;
  --font-body:    "Inter", "Noto Sans Georgian", sans-serif;
  --display-spacing: -0.02em;
  --display-transform: none;
  --hero-overlay: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 45%, rgba(255,255,255,0.97) 100%);
  --nav-bg: rgba(255,255,255,0.9);
}

/* ---------- RESET / BASE ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
section { scroll-margin-top: 78px; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.05; margin: 0; }

.wrap { width: min(1200px, 92vw); margin: 0 auto; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
}
:root[data-theme="c"] .kicker { color: var(--text); }
.kicker::before {
  content: ""; width: 28px; height: 2px; background: var(--accent);
}
:root[data-theme="c"] .kicker::before { background: var(--accent); height: 4px; }

.section-title {
  font-size: clamp(30px, 5vw, 52px);
  letter-spacing: var(--display-spacing);
  text-transform: var(--display-transform);
  margin: 14px 0 0;
  font-weight: 800;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 16px;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
:root[data-theme="c"] .btn-ghost:hover { color: var(--text); border-color: var(--text); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav-inner {
  width: min(1200px, 92vw); margin: 0 auto;
  height: 70px;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand .logo {
  width: 46px; height: 46px; border-radius: 50%;
  overflow: hidden; flex: 0 0 auto;
  background: var(--surface);
  box-shadow: 0 0 0 2px var(--border);
}
.brand .logo img { width: 100%; height: 100%; object-fit: cover; }
.brand .bname { display: flex; flex-direction: column; line-height: 1.05; }
.brand .bname .en {
  font-family: var(--font-display);
  font-weight: 800; font-size: 18px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.brand .bname .ka { font-size: 11px; color: var(--text-dim); letter-spacing: 0.04em; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; color: var(--text);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--accent); }
:root[data-theme="c"] .nav-links a:hover { background: var(--accent); color: var(--accent-ink); }

.nav-tools { display: flex; align-items: center; gap: 8px; }

/* language toggle */
.lang {
  display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden;
}
.lang button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  color: var(--text-dim); padding: 7px 12px; transition: 0.15s ease;
}
.lang button.active { background: var(--accent); color: var(--accent-ink); }

/* theme switcher */
.themes { display: inline-flex; gap: 6px; }
.themes button {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--border); cursor: pointer; padding: 0;
  position: relative; transition: 0.15s ease;
}
.themes button[data-set="a"] { background: #0a0a0a; }
.themes button[data-set="a"]::after { content:""; position:absolute; inset: 4px; border-radius:50%; background:#c0392b; }
.themes button[data-set="b"] { background: #f4ead6; }
.themes button[data-set="b"]::after { content:""; position:absolute; inset: 4px; border-radius:50%; background:#7a4a24; }
.themes button[data-set="c"] { background: #fff; }
.themes button[data-set="c"]::after { content:""; position:absolute; inset: 4px; border-radius:50%; background:#f1c40f; }
.themes button.active { border-color: var(--accent); transform: scale(1.12); }

/* hamburger */
.burger {
  display: none; appearance: none; border: 0; background: transparent; cursor: pointer;
  width: 42px; height: 42px; border-radius: var(--radius); flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.burger span { width: 22px; height: 2px; background: var(--text); transition: 0.2s ease; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 70px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
.hero-inner { position: relative; z-index: 1; width: min(1200px, 92vw); margin: 0 auto; padding: 40px 0 70px; }
.hero-content { max-width: 680px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 8.5vw, 92px);
  letter-spacing: var(--display-spacing);
  text-transform: var(--display-transform);
  white-space: pre-line;
  margin: 18px 0 0;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
:root[data-theme="b"] .hero h1 { color: #fff8ec; }
.hero .hero-sub {
  margin: 20px 0 32px; font-size: clamp(16px, 2.4vw, 20px);
  color: rgba(255,255,255,0.92); font-weight: 500;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero .kicker { color: #fff; }
.hero .kicker::before { background: var(--accent); }
:root[data-theme="c"] .hero .kicker { color: #fff; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* scroll hint */
.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 1; color: rgba(255,255,255,0.7);
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint .dot { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,0.5); border-radius: 12px; position: relative; }
.scroll-hint .dot::after { content:""; position:absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; background: #fff; border-radius: 2px; animation: scrolld 1.6s ease-in-out infinite; }
@keyframes scrolld { 0%,100%{ opacity: 0; transform: translate(-50%, 0); } 50%{ opacity: 1; transform: translate(-50%, 10px);} }

/* ---------- SECTION SHELL ---------- */
.section { padding: 90px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .note { color: var(--text-dim); font-size: 14px; margin-top: 10px; }

/* alt bg */
.section.alt { background: var(--bg-2); }

/* ---------- MENU ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.tab {
  appearance: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 11px 20px; border-radius: 999px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
  transition: 0.15s ease;
}
.tab:hover { border-color: var(--accent); }
.tab.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.menu-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.dish {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dish:hover { transform: translateY(-4px); }
.dish .ph {
  aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2);
  position: relative;
}
.dish .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.dish .ph img.contain { object-fit: contain; padding: 14px; }
.dish:hover .ph img { transform: scale(1.06); }
.dish .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dish .top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dish .name { font-family: var(--font-head); font-weight: 800; font-size: 19px; line-height: 1.2; }
.dish .price {
  font-family: var(--font-body); font-weight: 800; font-size: 19px;
  color: var(--accent); white-space: nowrap;
}
:root[data-theme="c"] .dish .price {
  background: var(--accent); color: var(--accent-ink); padding: 2px 10px; border-radius: 4px; font-size: 16px;
}
.dish .desc { color: var(--text-dim); font-size: 14px; line-height: 1.5; }
.dish .add {
  margin-top: auto; align-self: flex-start;
  appearance: none; cursor: pointer; font-family: var(--font-body); font-weight: 700; font-size: 13px;
  border: 1px solid var(--border); background: transparent; color: var(--text);
  padding: 8px 16px; border-radius: 999px; transition: 0.15s ease;
  display: inline-block; text-decoration: none;
}
.dish .add:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* sauces simple list */
.simple-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 32px;
  max-width: 760px; margin: 0 auto;
}
.simple-list .row {
  display: flex; align-items: baseline; gap: 10px; padding: 13px 0;
  border-bottom: 1px dashed var(--border);
}
.simple-list .row .n { font-weight: 600; }
.simple-list .row .d { flex: 1; border-bottom: 1px dotted var(--border); transform: translateY(-4px); }
.simple-list .row .p { font-weight: 800; color: var(--accent); }

/* ---------- GALLERY (masonry) ---------- */
.masonry { columns: 3; column-gap: 16px; }
.masonry .cell {
  break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden;
  position: relative; cursor: pointer; box-shadow: var(--shadow);
}
.masonry .cell img { width: 100%; height: auto; transition: transform 0.4s ease, filter 0.3s ease; }
.masonry .cell:hover img { transform: scale(1.05); }
.masonry .cell::after {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  opacity: 0; mix-blend-mode: multiply; transition: opacity 0.3s ease;
}
.masonry .cell:hover::after { opacity: 0.18; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.9);
  display: none; align-items: center; justify-content: center; padding: 4vw;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
.lightbox .close { position: absolute; top: 20px; right: 24px; color: #fff; font-size: 34px; cursor: pointer; line-height: 1; }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.about-copy p { color: var(--text-dim); font-size: 17px; margin: 16px 0 0; }
.about-copy .section-title { color: var(--text); }
.stats { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.stat {
  flex: 1; min-width: 120px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px; text-align: center;
}
.stat .v { font-family: var(--font-display); font-size: 34px; color: var(--accent); line-height: 1; }
:root[data-theme="c"] .stat .v { color: var(--text); }
.stat .l { font-size: 12px; color: var(--text-dim); margin-top: 8px; letter-spacing: 0.04em; }
.about-photo { position: relative; }
.about-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-photo .logo-badge {
  position: absolute; bottom: -26px; right: -10px; width: 110px; height: 110px;
  border-radius: 50%; overflow: hidden; background: var(--surface);
  box-shadow: 0 0 0 5px var(--bg), var(--shadow);
}
.about-photo .logo-badge img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.info-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.info-card .ic {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
}
.info-card .ic svg { width: 22px; height: 22px; }
.info-card .l { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); }
.info-card .v { font-weight: 700; font-size: 17px; margin-top: 3px; }
.info-card a.v:hover { color: var(--accent); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 380px; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: var(--map-filter, none); }
:root[data-theme="a"] .map-wrap iframe { filter: invert(0.92) hue-rotate(180deg) saturate(0.7); }

/* ---------- FOOTER ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 50px 0 30px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer .brand .bname .en { color: var(--text); }
.footer .foot-tag { color: var(--text-dim); font-size: 14px; }
.footer .foot-web { font-size: 13px; color: var(--text-dim); font-weight: 600; transition: color 0.15s ease; }
.footer .foot-web:hover { color: var(--accent); }
.footer .foot-bottom { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 13px; text-align: center; }

/* ---------- MOBILE ---------- */
@media (max-width: 880px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .masonry { columns: 2; }
  .about-photo .logo-badge { width: 84px; height: 84px; right: 10px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 64px; }
  .nav-inner { height: 60px; }
  .burger { display: flex; }
  .nav-links {
    position: fixed; top: 60px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--nav-bg); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 8px 6vw 18px;
    transform: translateY(-130%); transition: transform 0.28s ease;
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 10px; border-bottom: 1px solid var(--border); }
  .nav-links a:last-child { border-bottom: 0; }
  .brand .bname .ka { display: none; }
  .section { padding: 64px 0; }
  .hero { min-height: 92svh; }
}
@media (max-width: 520px) {
  .masonry { columns: 1; }
  .menu-grid { grid-template-columns: 1fr; }
  .nav-inner { gap: 10px; }
  .lang button { padding: 6px 9px; font-size: 12px; }
  .themes button { width: 22px; height: 22px; }
}
