/* Palette taken from the NAMOS logo and menu: olive, parchment, brass */
:root {
  --bg: #f4efe4;
  --bg-alt: #ebe3d2;
  --text: #2f3127;
  --muted: #6b6a5c;
  --olive: #4b4e3a;
  --accent: #8a6a32;
  --on-olive: #f4efe4;
  --line: #d9cfba;
  --card: #fbf8f1;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1e18;
    --bg-alt: #25261f;
    --text: #ece5d5;
    --muted: #aaa591;
    --olive: #c9c3a3;
    --accent: #d1ab6a;
    --on-olive: #1d1e18;
    --line: #3a3b30;
    --card: #2a2b23;
  }
  .logo img { filter: invert(1) brightness(1.6) sepia(.25); }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 68px; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3 {
  font-family: "Marcellus", Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 .6em;
}

a { color: var(--accent); }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 12px;
}
.muted { color: var(--muted); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo img { height: 50px; width: auto; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
}
.nav nav a:hover { color: var(--accent); }
.nav nav .nav-cta {
  background: var(--olive);
  color: var(--on-olive);
  padding: 7px 16px;
  border-radius: 999px;
}
.nav nav .nav-cta:hover { color: var(--on-olive); opacity: .9; }

/* Hero: text sits on the empty parchment side of the banner.
   Colors are fixed here because the photo is light in both themes. */
.hero {
  background: #e9dfc9 url("images/hero.jpg") right center / cover no-repeat;
}
.hero-inner { padding: 110px 20px 120px; }
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  max-width: 11ch;
  color: #3d4030;
}
.hero .eyebrow { color: #7a5c28; }
.hero .lede {
  font-size: 1.12rem;
  color: #4d4c40;
  max-width: 44ch;
  margin: 0 0 24px;
}
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.badge {
  background: rgba(251, 248, 241, .85);
  border: 1px solid #d9cfba;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .9rem;
  color: #2f3127;
  text-decoration: none;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--olive);
  color: var(--olive);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
}
.btn.primary { background: var(--olive); color: var(--on-olive); }
.hero .btn { border-color: #4b4e3a; color: #4b4e3a; background: rgba(251, 248, 241, .7); }
.hero .btn.primary { background: #4b4e3a; color: #f4efe4; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}
.two-col p:first-child { margin-top: 0; }

/* Signature dishes */
.dishes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.dish {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.dish img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dish-body { padding: 16px 18px 18px; }
.dish h3 {
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: .4em;
}
.dish h3 span {
  color: var(--accent);
  white-space: nowrap;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
.dish p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }

/* Full menu */
.menu-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}
.menu-group { margin-top: 40px; }
.menu-group > h3 {
  font-size: 1.6rem;
  border-bottom: 2px solid var(--olive);
  padding-bottom: 8px;
  color: var(--olive);
}
.menu-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 0 32px;
  align-items: start;
}
.menu-cat { border-bottom: 1px solid var(--line); }
.menu-cat summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .88rem;
  display: flex;
  justify-content: space-between;
}
.menu-cat summary::-webkit-details-marker { display: none; }
.menu-cat summary::after { content: "+"; color: var(--accent); font-size: 1.2rem; line-height: 1; }
.menu-cat[open] summary::after { content: "–"; }
.menu-cat ul { list-style: none; margin: 0 0 16px; padding: 0; }
.menu-cat li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  font-size: .95rem;
}
.menu-cat li .dots { flex: 1; border-bottom: 1px dotted var(--line); min-width: 12px; }
.menu-cat li .price { color: var(--accent); font-weight: 600; white-space: nowrap; }

/* Reviews */
.rating { font-size: 1.15rem; margin-top: 0; }
.stars { color: #c4962f; letter-spacing: 2px; }

/* Visit */
.info {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px 24px;
  margin: 8px 0 0;
}
.info dt { font-weight: 600; }
.info dd { margin: 0; color: var(--muted); }
.map iframe {
  width: 100%;
  min-height: 380px;
  border: 0;
  border-radius: 14px;
}

/* Privacy page */
.prose { max-width: 720px; }
.prose h1 { font-size: 2.4rem; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  font-size: .9rem;
  color: var(--muted);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.footer-row p { margin: 0; }
.footer-links { display: flex; gap: 20px; }

@media (max-width: 760px) {
  /* Wash the photo out so text stays readable over it */
  .hero {
    background-position: 78% center;
    box-shadow: inset 0 0 0 2000px rgba(244, 239, 228, .72);
  }
  .hero-inner { padding: 64px 20px 72px; }
  .two-col { grid-template-columns: 1fr; gap: 12px; }
  .section { padding: 60px 0; }
  .nav nav { gap: 14px; }
  .nav nav a[href="#about"] { display: none; }
  .menu-cats { grid-template-columns: 1fr; }
  .info { grid-template-columns: 1fr; gap: 2px; }
  .info dd { margin-bottom: 12px; }
  .map iframe { min-height: 300px; }
}
