/* ==========================================================================
   Lakeside Delicatessen — modern stylesheet
   Family deli in Verona, NJ · warm, clean, fully responsive
   ========================================================================== */

:root {
  --brand: #9e1b1b;
  --brand-dark: #7a1416;
  --brand-deep: #571012;
  --gold: #c89b3c;
  --cream: #fdfbf6;
  --paper: #ffffff;
  --ink: #2c2118;
  --ink-soft: #5c5046;
  --line: #e9dfcf;
  --shadow: 0 10px 30px rgba(60, 40, 20, .08);
  --radius: 14px;
  --serif: Georgia, "Times New Roman", "Palatino Linotype", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

img { max-width: 100%; height: auto; }

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 22px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--brand-deep, #571012);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
}
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- Header ---------- */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 14px rgba(60, 40, 20, .06);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 78px;
  height: auto;
  border-radius: 10px;
  flex: 0 0 auto;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }

.brand-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--brand-deep, #571012);
  letter-spacing: .3px;
}

.brand-tag {
  font-size: .8rem;
  color: var(--ink-soft);
  letter-spacing: .4px;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: var(--brand);
  color: #fff;
  border: 0;
  font: 600 .95rem var(--sans);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
}
.nav-toggle:hover { background: var(--brand-dark); }

.site-nav {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.nav-list > li { position: relative; }

.nav-list > li > a,
.nav-list > li > button {
  display: block;
  padding: 12px 16px;
  font: 600 .95rem var(--sans);
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
}

.nav-list > li > a:hover,
.nav-list > li > button:hover {
  color: var(--brand);
  border-bottom-color: var(--gold);
}

.nav-list > li[aria-current] > a {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* Dropdown (pure CSS on hover/focus, JS class for touch) */
.nav-drop-btn::after {
  content: " ▾";
  font-size: .75em;
  color: var(--gold);
}

.drop {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  min-width: 460px;
  list-style: none;
  margin: 0;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 4px;
}

.nav-list li.open > .drop,
.nav-list li:focus-within > .drop { display: grid; }

@media (hover: hover) {
  .nav-list li:hover > .drop { display: grid; }
}

.drop a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .92rem;
  text-decoration: none;
  color: var(--ink);
}
.drop a:hover { background: #f6efe2; color: var(--brand); }

/* ---------- Hero & page headers ---------- */

.hero {
  background:
    radial-gradient(1200px 400px at 20% -40%, rgba(200, 155, 60, .16), transparent),
    linear-gradient(#fffdf8, var(--cream));
  border-bottom: 1px solid var(--line);
  padding: 46px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--brand-deep, #571012);
}

.hero .lede { font-size: 1.12rem; color: var(--ink-soft); margin: 0 0 24px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font: 600 .98rem var(--sans);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: #fbeee9; color: var(--brand-dark); }
.btn-ghost { background: #f3ecdd; color: var(--ink); }
.btn-ghost:hover { background: #ece2cc; color: var(--ink); }

.hero-photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: block;
  width: 100%;
}

.photo-figure { margin: 0; }
.photo-figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: 8px; }

/* ---------- Page header (inner pages) ---------- */

.page-head { padding: 34px 0 6px; }

.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--brand-deep, #571012);
  margin: 6px 0 10px;
}

.page-head .lede { color: var(--ink-soft); max-width: 70ch; margin: 0; }

.breadcrumbs {
  font-size: .85rem;
  color: var(--ink-soft);
  padding-top: 18px;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--gold); }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--brand); font-weight: 600; }

/* ---------- Sections & cards ---------- */

section { margin: 34px 0; }

.section-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--brand-deep, #571012);
  margin: 0 0 6px;
}
.section-sub { color: var(--ink-soft); margin: 0 0 18px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 16px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: 0 2px 10px rgba(60, 40, 20, .04);
  transition: transform .15s ease, box-shadow .15s ease;
  display: block;
  color: inherit;
  text-decoration: none;
}
a.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}

.card h3 { margin: 0 0 6px; font-size: 1.05rem; color: var(--brand-deep, #571012); }
.card p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.card .emoji { font-size: 1.35rem; display: inline-block; margin-bottom: 8px; }

/* ---------- Menu tables ---------- */

.menu-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: 0 2px 10px rgba(60, 40, 20, .04);
  margin: 18px 0;
  overflow-x: auto;
}

.menu-block h2 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--brand-deep, #571012);
  margin: 0 0 4px;
}

.menu-note {
  font-size: .92rem;
  color: var(--ink-soft);
  font-style: italic;
  margin: 0 0 10px;
}

table.menu { width: 100%; border-collapse: collapse; }

table.menu th {
  text-align: left;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--ink-soft);
  border-bottom: 2px solid var(--line);
  padding: 6px 8px;
}

table.menu td {
  padding: 9px 8px;
  border-bottom: 1px dashed var(--line);
  vertical-align: top;
}

table.menu tr:last-child td { border-bottom: 0; }

td.item { width: 70%; }
td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--brand-dark); }
td.cat { width: 34px; color: var(--ink-soft); font-weight: 600; }

.item-desc { display: block; font-size: .88rem; color: var(--ink-soft); font-weight: 400; }

.tag {
  display: inline-block;
  background: #f6efe2;
  color: var(--brand-dark);
  border-radius: 999px;
  font-size: .78rem;
  padding: 2px 10px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- Callouts, info panels ---------- */

.callout {
  background: #fbf3e4;
  border: 1px solid #eeddba;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 18px 0;
}

.callout p { margin: 6px 0; }

.info-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: 0 2px 10px rgba(60, 40, 20, .04);
}

.info-panel h2 { margin-top: 0; font-family: var(--serif); color: var(--brand-deep, #571012); }

.address { font-style: normal; line-height: 1.7; }
.address a { text-decoration: none; font-weight: 600; }

/* ---------- Feature list ---------- */

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.feature-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.feature-list .f-title { font-weight: 700; color: var(--brand-deep, #571012); display: block; margin-bottom: 4px; }
.feature-list .f-text { font-size: .94rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */

details.faq {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 4px 18px;
}
details.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 12px 0;
  color: var(--brand-deep, #571012);
}
details.faq[open] summary { border-bottom: 1px dashed var(--line); margin-bottom: 10px; }
details.faq p { margin: 8px 0 14px; color: var(--ink-soft); }

/* ---------- Pagination between menu pages ---------- */

.menu-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.menu-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--brand);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
}
.menu-nav a:hover { background: #fbf3e4; }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--brand-deep, #571012), var(--brand));
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 40px 0;
}
.cta-band h2 { font-family: var(--serif); margin: 0 0 6px; font-size: 1.5rem; }
.cta-band p { margin: 0; opacity: .92; }
.cta-band .btn { background: #fff; color: var(--brand-dark); }
.cta-band .btn:hover { background: #f6efe2; color: var(--brand-deep, #571012); }
.cta-band a.phone { color: #ffd98a; font-weight: 700; text-decoration: none; }

/* ---------- Forms ---------- */

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: 0 2px 10px rgba(60, 40, 20, .04);
  max-width: 640px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }

label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: 4px; }

input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d8cbb4;
  border-radius: 10px;
  font: inherit;
  background: #fffdf8;
}
input:focus, textarea:focus { border-color: var(--gold); outline: 2px solid rgba(200, 155, 60, .35); }

/* ---------- Footer ---------- */

.site-footer {
  background: #241a12;
  color: #e8ddcc;
  margin-top: 56px;
  padding: 44px 0 26px;
  font-size: .95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
}

.site-footer h2 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #fff;
  margin: 0 0 12px;
}

.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer a { color: #f0c96a; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 7px; }

.footer-bottom {
  border-top: 1px solid rgba(232, 221, 204, .18);
  margin-top: 30px;
  padding-top: 18px;
  font-size: .85rem;
  color: #b7a892;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Printable menu page ---------- */

.print-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; padding: 8px 0; }
  .nav-list > li > a, .nav-list > li > button { border-bottom: 0; padding: 10px 14px; border-radius: 8px; }
  .nav-list > li > a:hover, .nav-list > li > button:hover { background: #f6efe2; }
  .nav-list > li[aria-current] > a { background: #fbf3e4; }
  .drop {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    box-shadow: none;
    border: 0;
    border-left: 3px solid var(--gold);
    margin: 0 0 6px 18px;
    border-radius: 0;
    padding: 4px 0 4px 10px;
  }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  body { font-size: 16px; }
}

/* ---------- Print ---------- */

@media print {
  body { background: #fff; color: #000; font-size: 12pt; }
  .site-header, .site-footer, .breadcrumbs, .menu-nav, .cta-band,
  .print-actions, .skip-link, .nav-toggle { display: none !important; }
  .menu-block { border: 0; box-shadow: none; padding: 0; margin: 10px 0; break-inside: avoid; }
  table.menu td { border-bottom: 1px solid #bbb; }
  main { max-width: 100%; }
}