/* ---------- Base ---------- */
:root {
  /* Pulled from Leah's logo: chili red, marigold, cactus green, cream, and cocoa. */
  --brand-red: #C9272C;
  --brand-orange: #E87524;
  --brand-gold: #F5B51B;
  --brand-green: #5C9D46;
  --ink: #2E1B16;
  --cream: #FFF9E8;
  --cream-dark: #F7E8B9;
  --order-btn: #C9272C;
  --order-btn-hover: #A91F25;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Trebuchet MS', 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; margin: 0 0 0.5em; line-height: 1.15; }

a { color: inherit; text-decoration: none; }

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

img { max-width: 100%; display: block; }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--brand-orange);
  font-size: 0.85rem;
  margin-bottom: 0.5em;
}
.center { text-align: center; }
.section-sub { max-width: 620px; margin: 0 auto 2.5rem; color: #5a4a44; }

/* ---------- Order Online Button ---------- */
.btn-order {
  display: inline-block;
  background: linear-gradient(135deg, var(--order-btn), var(--brand-red));
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 0.9rem 2.1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(200, 29, 37, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}
.btn-order:hover, .btn-order:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(200, 29, 37, 0.5);
  background: linear-gradient(135deg, var(--order-btn-hover), #a3151c);
}
.nav-order-btn { font-size: 0.9rem; padding: 0.7rem 1.6rem; }
.btn-order-hero { font-size: 1.1rem; padding: 1.05rem 2.5rem; }

.btn-secondary {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 249, 232, 0.97);
  border-bottom: 4px solid var(--brand-gold);
  backdrop-filter: blur(6px);
}
.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.45rem 24px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-right: auto;
}
.nav-logo > img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  flex: 0 0 62px;
}
.nav-logo-copy { display: block; }
.nav-logo-copy > span { display: block; font-size: 0.7rem; font-family: 'Trebuchet MS', sans-serif; letter-spacing: 0.15em; text-transform: uppercase; color: var(--brand-orange); font-weight: 700; }
.nav-links {
  display: flex;
  gap: 1.75rem;
}
.nav-links a {
  color: #4a3a34;
  font-size: 0.95rem;
  font-weight: 600;
}
.nav-links a:hover { color: var(--brand-red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 80%;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35,24,14,0.62) 0%, rgba(35,24,14,0.45) 45%, rgba(64,16,10,0.82) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 24px;
  text-align: center;
  color: #fff;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--brand-gold);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin-bottom: 1rem;
}
.hero-tagline {
  font-size: 1.15rem;
  color: #f2e6dc;
  margin-bottom: 2rem;
}
.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-rating {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #f2e6dc;
}
.stars { color: var(--brand-gold); font-size: 1.1rem; }

/* ---------- About ---------- */
.about { padding: 5rem 0; background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text h2 { font-size: 2rem; }
.about-text p { margin-bottom: 1.1rem; color: #4a3a34; }
.about-photo img {
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

/* ---------- Menu ---------- */
.menu { padding: 5rem 0; background: var(--cream-dark); }
.menu h2 { font-size: 2rem; }

.menu-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 2rem 0 2.5rem;
}
.menu-nav-btn {
  background: #fff;
  border: 1px solid rgba(46, 27, 22, 0.15);
  color: var(--ink);
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.menu-nav-btn:hover {
  background: #fdf5ea;
  border-color: var(--brand-orange);
  color: var(--brand-red);
}
.menu-nav-btn.active {
  background: var(--brand-red);
  color: #fff;
  border-color: var(--brand-red);
  box-shadow: 0 4px 12px rgba(201, 39, 44, 0.3);
}

.menu-cat-header {
  text-align: center;
  margin-bottom: 2rem;
}
.menu-cat-header h3 {
  font-size: 1.6rem;
  color: var(--brand-red);
  margin-bottom: 0.35rem;
}
.menu-cat-desc {
  color: #6a5349;
  font-size: 0.95rem;
  max-width: 680px;
  margin: 0 auto;
}

.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.menu-item-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  border-left: 4px solid var(--brand-gold);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.menu-item-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.menu-item-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}
.menu-item-desc {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  color: #6a5a54;
  line-height: 1.45;
}
.price {
  font-weight: 800;
  color: var(--brand-red);
  white-space: nowrap;
  font-size: 1.05rem;
}

.menu-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: #7a6a62;
  font-style: italic;
}

/* ---------- Gallery ---------- */
.gallery { padding: 5rem 0; background: var(--cream); }
.gallery h2 { font-size: 2rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.25s ease;
}
.gallery-grid img:hover { transform: scale(1.03); }

/* ---------- Reviews ---------- */
.reviews { padding: 5rem 0; background: var(--cream-dark); }
.reviews h2 { font-size: 2rem; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.review-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.review-stars { color: var(--brand-gold); font-size: 1.1rem; margin-bottom: 0.75rem; }
.review-card p { color: #4a3a34; margin: 0 0 0.75rem; font-style: italic; }
.review-author { font-weight: 700; font-style: normal !important; color: var(--brand-red); }

/* ---------- Location ---------- */
.location { padding: 5rem 0; background: var(--cream); }
.location h2 { font-size: 2rem; }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  margin-top: 2.5rem;
  align-items: start;
}
.location-info h3 { font-size: 1.1rem; color: var(--brand-red); margin-top: 1.5rem; }
.location-info h3:first-child { margin-top: 0; }
.hours-list { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px dashed #e5d8c8;
  font-size: 0.95rem;
}
.location-info .btn-order { margin-top: 1.5rem; }
.location-map iframe { border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

/* ---------- Footer ---------- */
.footer { background: var(--brand-gold); color: #3d2410; padding: 3.5rem 0 1.5rem; border-top: 4px solid var(--brand-red); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.footer h3 { color: var(--ink); font-size: 1.1rem; }
.footer a { color: #A91F25; font-weight: 700; }
.footer-cta { display: flex; justify-content: flex-start; align-items: center; }
.footer-bottom {
  text-align: center;
  margin: 2.5rem 0 0;
  font-size: 0.8rem;
  color: #6b4a0e;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(94,24,14,0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff;
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  padding: 2.5rem 2rem 2rem;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.modal h2 { color: var(--brand-red); font-size: 1.5rem; }
.modal p { color: #4a3a34; margin-bottom: 1.5rem; }
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: #999;
}
.modal-close:hover { color: var(--brand-red); }
.modal-call-btn { width: 100%; }

/* ---------- Logo placements ---------- */
.hero-badge {
  width: 128px;
  height: 128px;
  display: block;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.45));
  animation: badge-float 6s ease-in-out infinite;
}
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-badge { animation: none; }
}

.about-photo { position: relative; }
.about-badge {
  position: absolute;
  bottom: -28px;
  left: -28px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
@media (max-width: 900px) {
  .about-badge { left: auto; right: -12px; bottom: -24px; width: 96px; height: 96px; }
}

.footer-badge {
  display: block;
  margin: 0 auto 2rem;
  width: 96px;
  height: 96px;
  background: #fff;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.modal-badge {
  display: block;
  width: 84px;
  height: 84px;
  margin: 0 auto 1rem;
  background: var(--cream);
  border-radius: 50%;
  padding: 5px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .location-grid { grid-template-columns: 1fr; }
  .about-photo { order: -1; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-cta { justify-content: center; }
}

@media (max-width: 720px) {
  .menu-items-grid { grid-template-columns: 1fr; }
  .menu-nav { justify-content: flex-start; overflow-x: auto; padding-bottom: 0.5rem; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .menu-nav-btn { white-space: nowrap; flex-shrink: 0; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
  background: rgba(255, 249, 232, 0.99);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 1rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-order-btn { display: none; }
  .menu-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .nav-container { padding-left: 16px; padding-right: 16px; }
  .nav-logo { gap: 0.45rem; font-size: 1.05rem; }
  .nav-logo > img { width: 52px; height: 52px; flex-basis: 52px; }
  .nav-logo-copy > span { font-size: 0.58rem; letter-spacing: 0.1em; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 220px; }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
}
