@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Special+Elite&display=swap');

:root {
  --red: #8a1c24;
  --red-dark: #5c1218;
  --cream: #f3edc8;
  --paper: #f7f1d8;
  --ink: #1a1311;
  --muted: #4a3f39;
  --gold: #c59a4a;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Special Elite", "Courier New", monospace;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  letter-spacing: 0.3px;
}
h1, h2, h3, h4 { font-family: var(--font-display); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(31, 26, 23, 0.92);
  backdrop-filter: blur(10px);
  color: #fff;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.5px; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }
.brand span { font-size: 20px; }
.nav a { color: #f2e9d8; text-decoration: none; margin-left: 22px; font-size: 15px; }
.nav a:hover { color: #fff; }

.hero {
  position: relative;
  background:
    repeating-linear-gradient(90deg, rgba(243,237,200,0.05) 0 2px, transparent 2px 40px),
    linear-gradient(180deg, var(--red-dark) 0%, var(--red) 100%);
  color: #fff; padding: 90px 0 110px; overflow: hidden;
  border-bottom: 6px double rgba(243,237,200,0.5);
}
.hero::after {
  content: ""; position: absolute; bottom: -40px; left: 0; right: 0; height: 80px;
  background: var(--cream); transform: skewY(-3deg); transform-origin: left;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-grid > div:first-child { background: rgba(12, 6, 6, 0.28); padding: 24px 28px; border-radius: 18px; backdrop-filter: blur(3px); }
.hero h1 { font-size: clamp(40px, 6vw, 78px); margin: 0 0 12px; line-height: 1.05; text-shadow: 0 3px 20px rgba(0,0,0,0.75), 0 1px 4px rgba(0,0,0,0.5); }
.hero .subtitle { font-size: 20px; color: #f6ead6; margin: 0 0 20px; text-shadow: 0 2px 10px rgba(0,0,0,0.7); }
.chip { padding: 8px 14px; border-radius: 999px; background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.25); font-size: 14px; color: #fdf7e6; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.hero .subtitle { font-size: 20px; color: #f0d9c0; margin: 0 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
.chip {
  padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18); font-size: 14px; color: #f6ead6;
}
.chip-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; transition: background 0.15s; }
.chip-link:hover { background: rgba(255,255,255,0.16); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px;
  border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease; border: none; cursor: pointer;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(185,50,43,0.35); }
.btn-primary:hover { transform: translateY(-2px); background: var(--red-dark); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

.hero-card {
  background: rgba(20, 10, 10, 0.4);
  border: 1px solid rgba(255,247,232,0.25); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.hero-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--gold); }
.hero-card ul { margin: 0; padding-left: 18px; color: #f2e9d8; }
.hero-card li { margin-bottom: 6px; }
.hero-card .meta { margin-top: 14px; font-size: 14px; color: #d9c9ad; }

.section { padding: 70px 0; opacity: 0; transform: scale(0.96) translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.section.in-view { opacity: 1; transform: none; }
.hero { opacity: 1; transform: none; }
#menu { background: linear-gradient(180deg, var(--red-dark) 0%, var(--red) 100%); color: #f6ead6; position: relative; overflow: hidden; }
#menu::before { content: ""; position: absolute; inset: 0; background: url("../img/caboose-storefront.jpg") center / cover no-repeat; opacity: 0.08; mix-blend-mode: screen; pointer-events: none; }
#menu .section-head h2, #menu .section-head p { color: #f6ead6; }
#menu .tabs .tab { background: rgba(255, 248, 232, 0.14); color: #f6ead6; border-color: rgba(255, 248, 232, 0.3); }
#menu .tabs .tab.active, #menu .tabs .tab:hover { background: #f6ead6; color: var(--red-dark); }
#menu .menu-card { background: rgba(251, 244, 232, 0.94); color: var(--ink); border-color: rgba(255,255,255,0.5); box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
#menu .menu-card .price { color: var(--red); }

/* Simplified menu board */
.menu-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; position: relative; z-index: 1; }
.menu-category { background: rgba(243, 237, 200, 0.12); border: 1px solid rgba(243, 237, 200, 0.25); border-radius: 14px; padding: 18px 20px; }
.menu-cat { margin: 0 0 12px; font-size: 20px; letter-spacing: 1.2px; color: #f3edc8; font-weight: 800; border-bottom: 1px solid rgba(243, 237, 200, 0.3); padding-bottom: 8px; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-line { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: baseline; padding: 8px 0; border-bottom: 1px dashed rgba(243, 237, 200, 0.22); }
.menu-line:last-child { border-bottom: none; }
.menu-name { font-weight: 600; font-size: 17px; color: #f3edc8; margin: 0; }
.menu-price { font-weight: 700; font-size: 17px; color: #f3edc8; }
.menu-desc { grid-column: 1 / -1; margin: 2px 0 0; font-size: 13px; color: rgba(243, 237, 200, 0.7); line-height: 1.4; text-transform: uppercase; letter-spacing: 0.4px; }
@media (max-width: 820px) { .menu-board { grid-template-columns: 1fr; } }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 8px; }
.section-head p { color: var(--muted); margin: 0; }

.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.tab {
  padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid #eadfce;
  color: var(--muted); cursor: pointer; font-weight: 600; font-size: 14px; transition: all 0.15s;
}
.tab.active, .tab:hover { background: var(--red); color: #fff; border-color: var(--red); }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.menu-card {
  background: var(--paper); border: 1px solid #eeddc4; border-radius: var(--radius);
  padding: 20px; box-shadow: 0 4px 14px rgba(0,0,0,0.05); transition: transform 0.15s, box-shadow 0.15s;
}
.menu-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.menu-card .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.menu-card h3 { margin: 0; font-size: 18px; }
.price { font-weight: 800; color: var(--red); font-size: 19px; white-space: nowrap; }
.menu-card .desc { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.badge-row { margin-top: 12px; }

.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #f0e3cf; color: var(--muted); font-size: 12px; font-weight: 700; }

.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-card { background: var(--paper); border-radius: var(--radius); padding: 26px; border: 1px solid #eeddc4; }
.info-card h3 { margin: 0 0 10px; color: var(--red); }
.info-card p { margin: 4px 0; }
.info-card .large { font-size: 20px; font-weight: 800; color: var(--ink); }

.menu-image { text-align: center; margin-top: 30px; }
.menu-image img { max-width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.storefront-frame { max-width: 720px; margin: 0 auto; padding: 14px; background: rgba(243,237,200,0.18); border: 2px solid rgba(243,237,200,0.4); border-radius: 12px; box-shadow: var(--shadow); }
.storefront-frame img { width: 100%; display: block; border-radius: 8px; filter: sepia(0.15) contrast(1.05); }

.site-footer { background: #1f1a17; color: #cbbfa8; padding: 30px 0; margin-top: 60px; border-top: 6px double rgba(243,237,200,0.3); }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; }

@media (max-width: 820px) {
  .hero-grid, .location-grid { grid-template-columns: 1fr; }
  .nav a { margin-left: 14px; font-size: 14px; }
}
