:root {
  --bg: #0f1512;
  --bg-soft: #17201b;
  --card: #1c2721;
  --card-hover: #223129;
  --gold: #e0b872;
  --green: #2f7d4f;
  --green-light: #3fa968;
  --text: #f4efe6;
  --muted: #9fb0a4;
  --border: #2b3a31;
  --shadow: 0 8px 24px rgba(0,0,0,.35);
}

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

body {
  font-family: var(--font-body, 'Inter', system-ui, -apple-system, sans-serif);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
/* arka plan resmi varken okunabilirlik icin bolumleri hafif belirginlestir */
body.has-bg .hero { background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.15)); }

/* ---- Hero ---- */
.hero {
  background:
    radial-gradient(circle at 50% -20%, rgba(224,184,114,.18), transparent 60%),
    linear-gradient(180deg, #12211a 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 40px 20px 28px;
  text-align: center;
}
.hidden { display: none !important; }
.logo-mark {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 8px;
}
.pub-logo {
  max-height: 96px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 12px;
  display: block;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .5px;
}
.tagline {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 13px;
  margin-top: 6px;
}

/* ---- Kategori navigasyon ---- */
.cat-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(15,21,18,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.cat-nav button {
  flex: 0 0 auto;
  background: var(--card);
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
}
.cat-nav button.active,
.cat-nav button:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green-light);
}

/* ---- Menu ---- */
.menu {
  max-width: 780px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}
.loading, .empty {
  text-align: center;
  color: var(--muted);
  padding: 60px 20px;
}
.cat-section { margin-bottom: 26px; scroll-margin-top: 66px; }
.cat-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--border);
}

/* ---- Urun karti (kompakt) ---- */
.item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 12px;
  margin-bottom: 7px;
  transition: background .2s;
}
.item:hover { background: var(--card-hover); }
.item.unavailable { opacity: .5; }

.item-img {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bg-soft);
}
.item-body { flex: 1; min-width: 0; }
.item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.item-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.item-price {
  font-size: 17px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}
.item-desc {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}
.item-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 5px;
}
.variant {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 12px;
}
.variant .v-size { color: var(--muted); }
.variant .v-price { color: var(--gold); font-weight: 700; }
.item-kcal {
  display: inline-block;
  margin-top: 5px;
  font-size: 12px;
  color: var(--green-light);
  background: rgba(63,169,104,.12);
  border: 1px solid rgba(63,169,104,.3);
  padding: 2px 8px;
  border-radius: 999px;
}

/* ---- Footer ---- */
.footer {
  text-align: center;
  padding: 28px 20px 40px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
}
.admin-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--muted);
  opacity: .5;
  font-size: 12px;
  text-decoration: none;
}
.admin-link:hover { opacity: 1; color: var(--gold); }

/* ---- Kucuk ekran ---- */
@media (max-width: 420px) {
  .item-img { flex-basis: 52px; width: 52px; height: 52px; }
  .item-name { font-size: 15px; }
  .menu { padding: 16px 12px 32px; }
}
