/* ============================================
   THEME VARIABLES — Customize these for each site
   ============================================ */
:root {
  --primary: #b26b3f;
  --bg: #f4ede2;
  --text: #2b1c16;
  --muted: #5a4438;
  --card: #ffffff;
  --shadow: 0 22px 50px rgba(63, 42, 34, 0.14);
  --radius: 18px;
  --font-heading: "Playfair Display", serif;
  --font-body: "Source Sans 3", sans-serif;
}

/* ============================================
   RESET & BASE — Do NOT modify
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, #f8f2ea 60%, #f1e3d2 100%);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
}

h1 { font-size: clamp(2.6rem, 4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; }

/* ============================================
   LAYOUT — Do NOT modify
   ============================================ */
.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

section {
  padding: 5rem 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  max-width: 560px;
  margin: 0.5rem auto 0;
}

/* ============================================
   HEADER & NAV — Do NOT modify
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 237, 226, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(63, 42, 34, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.brand-mark { color: var(--primary); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--primary); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  padding: 0.25rem;
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 4%;
    background: var(--card);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 1rem;
    display: none;
    min-width: 180px;
  }

  .site-nav.open { display: flex; }
  .header-inner { position: relative; }
}

/* ============================================
   BUTTONS — Do NOT modify
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 30px rgba(178, 107, 63, 0.3);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--text);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
}

.hero h1 { margin-bottom: 1.25rem; }

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

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

/* ============================================
   MENU GRID
   ============================================ */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.menu-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.menu-card:hover { transform: translateY(-4px); }

.menu-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.menu-card-body {
  padding: 1.25rem 1.5rem;
}

.menu-card-body h3 { margin-bottom: 0.25rem; }

.menu-card-body .price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.menu-card-body p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* ============================================
   ABOUT
   ============================================ */
.about .about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

/* ============================================
   HOURS
   ============================================ */
.hours {
  text-align: center;
}

.hours-table {
  max-width: 400px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hours-row:last-child { border-bottom: none; }

.hours-row .day { font-weight: 600; }
.hours-row .time { color: var(--muted); }

/* ============================================
   LOCATION / MAP
   ============================================ */
.location .location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.location .map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.location .map-embed iframe {
  width: 100%;
  height: 300px;
  border: none;
}

.location-details p {
  color: var(--muted);
  margin-bottom: 0.75rem;
}

/* ============================================
   CONTACT
   ============================================ */
.contact { text-align: center; }

.contact-info {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.contact-item {
  background: var(--card);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 200px;
}

.contact-item .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.contact-item .value {
  font-weight: 600;
  color: var(--text);
}

/* ============================================
   FOOTER — Do NOT modify
   ============================================ */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p + p { margin-top: 0.25rem; }

/* ============================================
   RESPONSIVE — Do NOT modify
   ============================================ */
@media (max-width: 540px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn { width: 100%; }
  section { padding: 3.5rem 0; }
}
