/* Agatucci's Restaurant — site styles (no external dependencies) */
:root {
  --red: #9e1b1b;
  --red-dark: #6f1010;
  --green: #2f5d3a;
  --cream: #faf5ea;
  --paper: #fffdf8;
  --ink: #2a211c;
  --muted: #6b5e55;
  --line: #e4d8c3;
  --gold: #c99a3b;
  --radius: 10px;
  --max: 1100px;
  --serif: "Georgia", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--red-dark); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .5rem 1rem; }

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

/* ---------- Top bar ---------- */
.topbar {
  background: var(--red-dark);
  color: #fff;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: .45rem 16px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 4px solid var(--red);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .75rem 16px; max-width: var(--max); margin: 0 auto;
}
.brand { text-decoration: none; color: var(--red-dark); display: flex; flex-direction: column; }
.brand-name { font-family: var(--serif); font-size: 1.75rem; font-weight: bold; line-height: 1; }
.brand-sub { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--green); margin-top: .25rem; }

.nav-toggle {
  display: none;
  background: var(--red); color: #fff; border: 0; border-radius: 6px;
  padding: .55rem .85rem; font-size: 1rem; cursor: pointer;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; flex-wrap: wrap; }
.site-nav a {
  display: block; padding: .5rem .8rem; border-radius: 6px;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem;
}
.site-nav a:hover { background: var(--cream); color: var(--red); }
.site-nav a[aria-current="page"] { background: var(--red); color: #fff; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 4px solid var(--red); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: .5rem 16px 1rem; }
  .site-nav a { padding: .8rem; font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--red-dark) linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center;
  padding: 3rem 16px; max-width: var(--max); margin: 0 auto;
}
.hero h1 { color: #fff; }
.hero p { font-size: 1.15rem; color: #f6e9e9; }
.hero-photo { border-radius: var(--radius); overflow: hidden; border: 6px solid #fff; box-shadow: 0 10px 30px rgba(0,0,0,.3); background: #7a2a2a; }
.hero-photo img { width: 100%; }
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; padding: 2rem 16px; }
}

.btn {
  display: inline-block; padding: .8rem 1.3rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent;
}
.btn-light { background: #fff; color: var(--red-dark); }
.btn-light:hover { background: var(--cream); color: var(--red-dark); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.25rem; }

/* ---------- Sections ---------- */
section { padding: 3rem 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Quick-action tiles (recreates the mobile site's big buttons) */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.tile {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1rem; text-align: center; text-decoration: none; color: var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.tile:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.08); color: var(--red); }
.tile-icon { font-size: 2rem; display: block; margin-bottom: .35rem; }
.tile strong { display: block; font-size: 1.05rem; }
.tile span.small { font-size: .85rem; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }

.press { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.press blockquote {
  margin: 0; background: var(--paper); border-left: 5px solid var(--gold);
  padding: 1.25rem; border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--serif); font-size: 1.15rem;
}
.press cite { display: block; margin-top: .5rem; font-family: var(--sans); font-size: .9rem; font-style: normal; color: var(--muted); }

/* ---------- Menu ---------- */
.menu-jump { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.menu-jump a { display: block; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); text-decoration: none; font-weight: 600; font-size: .9rem; }
.menu-jump a:hover { border-color: var(--red); }

.menu-section { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; scroll-margin-top: 90px; }
.menu-section > h2 { border-bottom: 2px solid var(--red); padding-bottom: .35rem; }
.menu-note { color: var(--muted); font-size: .95rem; }

.price-table { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; }
.price-table th, .price-table td { padding: .55rem .5rem; border-bottom: 1px dashed var(--line); text-align: left; }
.price-table th { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--green); }
.price-table td.p, .price-table th.p { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-table tbody tr:hover { background: var(--cream); }

.items { list-style: none; margin: 0; padding: 0; }
.items li { padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.items li:last-child { border-bottom: 0; }
.item-row { display: flex; align-items: baseline; gap: .5rem; }
.item-name { font-weight: 700; }
.item-dots { flex: 1; border-bottom: 2px dotted #cdbfa7; transform: translateY(-4px); min-width: 1rem; }
.item-price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--red-dark); }
.item-desc { color: var(--muted); font-size: .95rem; margin: .2rem 0 0; }

.highlight { background: #fff6e0; border: 1px solid #ecd59a; border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1rem 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.gallery figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery a { display: block; background: #e9dfcf; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { padding: .6rem .75rem; font-size: .9rem; color: var(--muted); }

/* ---------- Media embeds ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe, .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #e9dfcf; }
audio { width: 100%; margin: .5rem 0; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.link-list .src { display: block; font-size: .9rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e8ded3; padding: 2.5rem 0 6rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.footer-bottom { border-top: 1px solid #4a3f38; margin-top: 2rem; padding-top: 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; color: #b5a99d; }
@media (min-width: 761px) { .site-footer { padding-bottom: 2.5rem; } }

/* Sticky call bar on phones (from the mobile site's "Call 4 Carryout") */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--red); box-shadow: 0 -4px 14px rgba(0,0,0,.2);
  }
  .callbar a { flex: 1; text-align: center; color: #fff; text-decoration: none; font-weight: 700; padding: .95rem .5rem; }
  .callbar a + a { border-left: 1px solid rgba(255,255,255,.3); }
}

@media print {
  .site-header, .site-footer, .callbar, .topbar, .menu-jump, .nav-toggle { display: none !important; }
  body { background: #fff; }
  .menu-section { border: 0; page-break-inside: avoid; }
}
.narrow { max-width: 820px; }
.pb { padding-bottom: 2rem; }
