/* Digitalni jelovnik - stilovi. Skinovi preko CSS varijabli (klasa theme-* na body). */

:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #2b2320;
  --muted: #7a6f66;
  --accent: #6b4a3a;
  --accent-soft: #efe6dd;
  --line: #e5dcd2;
  --price: #2b2320;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

.theme-veseljak-classic {
  /* zadani skin - topli krem/smedi tonovi po uzoru na tiskani jelovnik */
}

.theme-midnight-marina {
  --bg: #101820;
  --surface: #182430;
  --ink: #f2ede6;
  --muted: #9aa8b5;
  --accent: #c8a96a;
  --accent-soft: #223140;
  --line: #2c3d4d;
  --price: #f2ede6;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

#app { max-width: 720px; margin: 0 auto; padding: 0 16px 48px; }

/* ---------- zaglavlje ---------- */

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 12px;
}

.venue-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.1;
}

.venue-tagline {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 4px;
}

.lang-switch { display: flex; gap: 4px; flex-shrink: 0; padding-top: 6px; }

.lang-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}

.lang-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ---------- kontrole ---------- */

.controls {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  padding: 8px 0 10px;
  border-bottom: 1px solid var(--line);
}

.search-wrap input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  outline: none;
}

.search-wrap input:focus { border-color: var(--accent); }

.group-tabs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.group-tab {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 9px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}

.group-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 10px;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar { display: none; }

.chip {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- jelovnik ---------- */

.menu-section { padding-top: 26px; }

.section-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section-note {
  color: var(--muted);
  font-size: 0.83rem;
  font-style: italic;
  margin-top: 2px;
}

.items { list-style: none; margin-top: 10px; }

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

.item:last-child { border-bottom: none; }

.item-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.item-name {
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 600;
}

.item-unit {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 1px 6px;
  white-space: nowrap;
  vertical-align: middle;
}

.item-dots {
  flex: 1;
  border-bottom: 1px dotted var(--muted);
  opacity: 0.45;
  transform: translateY(-4px);
  min-width: 16px;
}

.item-price {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--price);
  white-space: nowrap;
}

.item-secondary {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 1px;
}

.no-results {
  text-align: center;
  color: var(--muted);
  padding: 48px 0;
}

/* ---------- footer ---------- */

.footer {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-btn {
  display: block;
  text-align: center;
  font-weight: 600;
  padding: 12px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

.wifi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.9rem;
}

.about summary {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
}

.about p {
  color: var(--muted);
  font-size: 0.9rem;
  padding-top: 8px;
}

.legal {
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
  line-height: 1.7;
}

.legal a { color: var(--accent); }

@media (min-width: 600px) {
  .venue-name { font-size: 2.3rem; }
}
