/* Εμφάνιση του μενού: χρώματα, γραμματοσειρές, αποστάσεις */

/* ===== ΧΡΩΜΑΤΑ: άλλαξε εδώ για να ταιριάζουν με το ξενοδοχείο ===== */
:root {
  --marble: #F6F7F5;  /* φόντο σελίδας */
  --ink: #1F2B38;     /* κύριο κείμενο και μπάρα παραγγελίας */
  --gold: #C59A04;    /* χρυσό του λογότυπου: γραμμές και # στη μπάρα */
  --bronze: #8A6A00;  /* σκούρο χρυσό για τιμές και υποκατηγορίες (διαβάζεται καλύτερα) */
  --muted: #5D6772;   /* περιγραφές */
  --line: #D5D9D6;    /* γραμμές */
}

/* Εμφάνιση μόνο της επιλεγμένης γλώσσας */
.lang-el [lang="en"], .lang-en [lang="el"] { display: none; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 7.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  background: var(--marble);
  color: var(--ink);
  font-family: "Commissioner", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  padding-bottom: 7rem;
}

.wrap { max-width: 36rem; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }

/* Επικεφαλίδα */
.sample-note { background: rgba(197, 154, 4, 0.15); color: #5A4500; font-size: 0.85rem; padding: 0.6rem 1.25rem; text-align: center; }
.hero { padding-top: 1.25rem; padding-bottom: 2.25rem; }
.hero { text-align: center; }
.top-row { display: flex; justify-content: flex-end; }
.logo { display: block; width: min(320px, 84%); height: auto; margin: 0.5rem auto 0; }
.lang-btn {
  font: 500 0.9rem "Commissioner", system-ui, sans-serif;
  color: var(--ink); background: transparent;
  border: 1px solid var(--ink); border-radius: 2rem;
  padding: 0.35rem 0.9rem; cursor: pointer;
}
.lang-btn:hover { background: var(--ink); color: var(--marble); }
h1 {
  font-family: "Literata", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 7vw, 2rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-top: 1.1rem;
}

/* Μπάρα πάνω: Φαγητό / Ποτά και κατηγορίες */
nav {
  position: sticky; top: 0; z-index: 5;
  background: var(--marble);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
nav .tabs { padding-top: 0.75rem; }
.tabs-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--ink); border-radius: 2rem; padding: 3px;
}
nav a.tab {
  text-align: center; text-decoration: none;
  font-family: "Literata", Georgia, serif; font-weight: 600; font-size: 1.05rem;
  color: var(--ink); border-radius: 2rem; padding: 0.45rem 0;
}
nav a.tab.active { background: var(--ink); color: var(--marble); }
nav .cats {
  position: relative;
  display: flex; align-items: center; gap: 1.4rem;
  overflow-x: auto; white-space: nowrap;
  padding-top: 0.75rem; padding-bottom: 0.8rem;
  scrollbar-width: none;
}
nav .cats:not(.active) { display: none; }
nav .cats::-webkit-scrollbar { display: none; }
nav .cats a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
nav .cats a.current {
  color: var(--bronze); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em;
}
@media (hover: hover) {
  nav .cats a:hover { color: var(--bronze); }
}
a:focus-visible, button:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

/* Ομάδες: Φαγητό / Ποτά */
h2.group {
  font-family: "Literata", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 9vw, 2.6rem);
  line-height: 1.1;
  margin-top: 4.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gold);
}
main > h2.group:first-child { margin-top: 2.5rem; }

/* Κατηγορίες */
section { padding-top: 2.5rem; }
h3.cat { font-family: "Literata", Georgia, serif; font-weight: 600; font-size: 1.5rem; line-height: 1.2; }
h4.sub {
  font-weight: 500; font-size: 1.25rem; line-height: 1.3; color: var(--bronze);
  margin-top: 2.25rem; padding-bottom: 0.3rem; border-bottom: 1px solid var(--line);
}

/* Πιάτα */
.dish { margin-top: 1.1rem; }
.dish-top { display: flex; align-items: baseline; gap: 0.5rem; }
.name { font-family: "Literata", Georgia, serif; font-weight: 600; font-size: 1.05rem; line-height: 1.35; }
.dish-top::after {
  content: ""; order: 1; flex: 1; min-width: 1rem;
  border-bottom: 1px dotted var(--muted);
  transform: translateY(-0.3em);
}
.price { order: 2; color: var(--bronze); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.desc { color: var(--muted); font-size: 0.93rem; margin-top: 0.2rem; line-height: 1.55; }
.alg-icons { margin-left: 0.35rem; white-space: normal; }
.alg-i {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 1.45rem; height: 1.45rem; margin-right: 0.2rem; vertical-align: -0.3em;
  border-radius: 50%; background: rgba(197, 154, 4, 0.12); color: var(--bronze); cursor: pointer;
}
.alg-i svg {
  width: 0.95rem; height: 0.95rem;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.alg-i.show::after {
  content: attr(data-el);
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 3;
  background: var(--ink); color: var(--marble); border-radius: 0.4rem; padding: 0.25rem 0.55rem;
  font: 500 0.75rem/1.3 "Commissioner", system-ui, sans-serif; white-space: nowrap;
}
.lang-en .alg-i.show::after { content: attr(data-en); }
@media (hover: hover) {
  .alg-i:hover::after {
    content: attr(data-el);
    position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 3;
    background: var(--ink); color: var(--marble); border-radius: 0.4rem; padding: 0.25rem 0.55rem;
    font: 500 0.75rem/1.3 "Commissioner", system-ui, sans-serif; white-space: nowrap;
  }
  .lang-en .alg-i:hover::after { content: attr(data-en); }
}
.alg {
  display: inline-flex; align-items: center; gap: 0.3rem;
  color: var(--bronze); background: rgba(197, 154, 4, 0.1);
  border-radius: 1rem; padding: 0.15rem 0.6rem 0.15rem 0.45rem;
  font-size: 0.8rem; line-height: 1.3;
}
.alg svg {
  width: 1.15rem; height: 1.15rem; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.legend-title { color: var(--ink); font-weight: 500; margin-top: 1.25rem; }
#allergen-legend { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
#allergen-legend + p { margin-top: 1.25rem; }

/* Υποσέλιδο */
footer { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
footer p + p { margin-top: 0.75rem; }

/* Μπάρα παραγγελίας */
.order-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  background: var(--ink); color: var(--marble);
  padding-top: 0.75rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
}
.order-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.order-bar p { font-size: 0.95rem; line-height: 1.35; }
.ext { font-family: "Literata", Georgia, serif; font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--gold); }
