:root {
  --brand-red: #d62828;
  --brand-red-dark: #a81f1f;
  --gold: #f4a11d;
  --cream: #fff8ec;
  --navy: #1d2b3a;
  --navy-light: #2c3e50;
  --text: #2b2420;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: Georgia, 'Times New Roman', serif; margin: 0 0 0.5em; color: var(--navy); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

a { color: inherit; }

/* Buttons */
.btn-order {
  display: inline-block;
  background: var(--brand-red);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(214, 40, 40, 0.4);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-order:hover { background: var(--brand-red-dark); transform: translateY(-2px); }
.btn-order-lg { font-size: 1.15rem; padding: 16px 36px; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  margin-left: 12px;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-secondary:hover { background: #fff; color: var(--navy); }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.navbar-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-badge {
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif;
}
.brand-name { color: #fff; font-weight: 700; font-size: 1.1rem; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: #f0f0f0; text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--gold); }
.navbar .btn-order { margin-left: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 3px; background: #fff; border-radius: 2px; }

/* Hero */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 45%, var(--brand-red-dark) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(244,161,29,0.08) 0, rgba(244,161,29,0.08) 12px, transparent 12px, transparent 24px);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; padding: 40px 24px; max-width: 780px; }
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}
.hero h1 { color: #fff; font-size: 2.8rem; margin-bottom: 16px; }
.hero-tagline { font-size: 1.2rem; margin-bottom: 30px; color: #f0f0f0; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* About */
.about { padding: 80px 0; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.about-text p { margin-bottom: 18px; }
.pattern-card {
  height: 320px;
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--gold) 0 20px, var(--brand-red) 20px 40px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  position: relative;
}
.pattern-ribbon::after {
  content: "★ COUNTY FAIR ★";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  background: var(--navy);
  color: var(--gold);
  padding: 14px 22px;
  font-family: Georgia, serif;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 6px;
  white-space: nowrap;
}

/* Menu */
.menu { padding: 80px 0; background: var(--cream); }
.section-subtitle { color: #6b6055; margin-top: -10px; margin-bottom: 40px; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.menu-category {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  border-top: 4px solid var(--brand-red);
}
.menu-category h3 { color: var(--navy); }
.menu-category ul { list-style: none; padding: 0; margin: 0; }
.menu-category li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed #e6ddce;
}
.menu-category li:last-child { border-bottom: none; }
.price { color: var(--brand-red-dark); font-weight: 700; white-space: nowrap; }

/* Gallery */
.gallery { padding: 80px 0; background: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-card {
  height: 220px;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.pattern-plate { background: radial-gradient(circle, #fff 0 40%, var(--gold) 41% 45%, #fff 46% 100%), linear-gradient(var(--cream), var(--cream)); }
.pattern-diner { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%); }
.pattern-pie { background: repeating-conic-gradient(var(--gold) 0deg 30deg, var(--brand-red) 30deg 60deg); border-radius: 50%; }
.pattern-burger { background: linear-gradient(to bottom, #c88a3d 0 25%, #8a5a2b 25% 30%, #4a7c2f 30% 38%, #b23a2f 38% 48%, #c88a3d 48% 100%); }
.pattern-sunset { background: linear-gradient(to top, var(--brand-red) 0%, var(--gold) 45%, #ffe9b3 75%, #cfe8ff 100%); }
.pattern-fair { background: repeating-linear-gradient(90deg, var(--brand-red) 0 30px, var(--gold) 30px 60px, var(--navy) 60px 90px); }

/* Reviews */
.reviews { padding: 80px 0; background: var(--navy); color: #fff; }
.reviews h2, .reviews .section-subtitle { color: #fff; }
.reviews .section-subtitle { color: #cbd3dc; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review-highlight {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
}
.review-highlight h3 { color: var(--gold); }
.review-icon { font-size: 2.2rem; margin-bottom: 12px; }

/* Hours */
.hours { padding: 80px 0; background: #fff; }
.hours-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.hours-list { list-style: none; padding: 0; margin: 0 0 24px; }
.hours-list li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #eee; }
.link-phone { font-weight: 700; color: var(--brand-red); text-decoration: none; }
.hours-map { min-height: 320px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,0.1); }
.hours-map iframe { height: 100%; min-height: 320px; display: block; }

/* Footer */
.site-footer { background: var(--navy); color: #dfe4ea; padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 24px; align-items: start; padding-bottom: 32px; }
.footer-brand { margin-bottom: 12px; }
.footer-brand .brand-name { color: #fff; }
.footer-hours h4 { color: var(--gold); }
.footer-cta { display: flex; justify-content: flex-start; align-items: flex-start; }
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
  font-size: 0.9rem;
  color: #a9b2bc;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.modal h2 { margin-bottom: 14px; }
.modal p { margin-bottom: 22px; }
.modal p a { color: var(--brand-red); font-weight: 700; text-decoration: none; }
.modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #888;
}
.modal-close:hover { color: var(--brand-red); }

/* Responsive */
@media (max-width: 900px) {
  .about-grid, .hours-grid { grid-template-columns: 1fr; }
  .menu-grid, .gallery-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .navbar-inner.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy);
    padding: 16px 24px;
  }
  .menu-grid, .gallery-grid, .reviews-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-secondary { margin-left: 0; }
}
