/* ===== Custom properties ===== */
:root {
  --brand-red: #d62828;
  --brand-red-dark: #a81f1f;
  --brand-gold: #f2a541;
  --brand-green: #2d6a4f;
  --ink: #241413;
  --cream: #fdf6ee;
  --cream-dark: #f4e8d8;
  --muted: #6b5c56;
  --white: #ffffff;
  --radius-pill: 999px;
  --radius-card: 16px;
  --shadow-soft: 0 10px 30px rgba(36, 20, 19, 0.12);
  --shadow-strong: 0 14px 34px rgba(214, 40, 40, 0.35);
  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

section {
  padding: 5rem 1.5rem;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--brand-red);
  margin-bottom: 0.6rem;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--ink);
}

.section-head p {
  color: var(--muted);
  margin-top: 0.75rem;
  font-size: 1.05rem;
}

/* ===== Order button — hero element, must dominate ===== */
.btn-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 1rem 2.2rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-strong);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-order:hover,
.btn-order:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 40px rgba(214, 40, 40, 0.45);
}

.btn-order--nav {
  padding: 0.7rem 1.6rem;
  font-size: 0.9rem;
}

.btn-order--footer {
  margin-top: 1.5rem;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(253, 246, 238, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 18px rgba(36, 20, 19, 0.08);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--brand-red-dark);
}

.brand .hat {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a:not(.btn-order) {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a:not(.btn-order)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--brand-red);
  transition: width 0.2s ease;
}

.nav-links a:not(.btn-order):hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--ink);
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(180deg, rgba(30, 14, 12, 0.55), rgba(20, 10, 9, 0.78)),
              url('../images/photo-1.jpg') center 30%/cover no-repeat;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--brand-gold);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 1.1rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.92);
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.2rem;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
}

.hero-badges {
  margin-top: 2.6rem;
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}

.hero-badges strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--brand-gold);
}

/* ===== About ===== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-images img {
  border-radius: var(--radius-card);
  object-fit: cover;
  height: 100%;
  box-shadow: var(--shadow-soft);
}

.about-images .tall {
  grid-row: span 2;
  height: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-images img.short {
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-text p {
  margin-bottom: 1.1rem;
  color: var(--muted);
}

.about-text h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  margin-bottom: 1.2rem;
  color: var(--ink);
}

/* ===== Menu ===== */
.menu {
  background: var(--cream-dark);
  position: relative;
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 3rem;
}

.menu-tab {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-tab.active,
.menu-tab:hover {
  background: var(--brand-red);
  color: var(--white);
}

.menu-category {
  display: none;
}

.menu-category.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-category h3 {
  font-size: 1.5rem;
  color: var(--brand-red-dark);
  margin-bottom: 1.5rem;
  text-align: center;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px dashed rgba(36,20,19,0.18);
  padding-bottom: 0.9rem;
}

.menu-item-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.menu-item-info p {
  font-size: 0.9rem;
  color: var(--muted);
}

.menu-item-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-red);
  white-space: nowrap;
}

.menu-note {
  text-align: center;
  margin-top: 3rem;
  color: var(--muted);
  font-style: italic;
}

/* ===== Gallery ===== */
.gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 0.9rem;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.35s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

.gallery-grid .g-wide {
  grid-column: span 2;
}

.gallery-grid .g-tall {
  grid-row: span 2;
}

/* ===== Reviews ===== */
.reviews {
  background: linear-gradient(160deg, var(--brand-red-dark), var(--brand-red));
  color: var(--white);
}

.reviews .section-head h2,
.reviews .eyebrow {
  color: var(--white);
}

.reviews .section-head p {
  color: rgba(255,255,255,0.85);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.review-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-card);
  padding: 1.8rem;
  backdrop-filter: blur(4px);
}

.review-stars {
  color: var(--brand-gold);
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
}

.review-card p.quote {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.95);
  margin-bottom: 1rem;
}

.review-author {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.review-source {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

/* ===== Location ===== */
.location {
  background: var(--cream-dark);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.location-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 2.2rem;
  box-shadow: var(--shadow-soft);
}

.location-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: var(--brand-red-dark);
}

.info-row {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.3rem;
  align-items: flex-start;
}

.info-row .icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-row strong {
  display: block;
  margin-bottom: 0.15rem;
}

.hours-list {
  list-style: none;
  font-size: 0.95rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.map-embed {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 420px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  padding: 3.5rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  color: var(--brand-gold);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-col p, .footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.6rem;
}

.footer-col a:hover {
  color: var(--brand-gold);
}

.footer-bottom {
  max-width: 1140px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

/* ===== Modal ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 9, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  background: var(--cream);
  border-radius: var(--radius-card);
  max-width: 420px;
  width: 100%;
  padding: 2.4rem 2rem 2rem;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  animation: modalPop 0.25s ease;
}

@keyframes modalPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--brand-red);
}

.modal .icon-badge {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.modal h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--ink);
}

.modal p {
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.modal .btn-order {
  width: 100%;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.2rem;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  section {
    padding: 3.5rem 1.2rem;
  }
  .hero-badges {
    gap: 1.4rem;
  }
}
