/* ─── Restaurant template — warm, food-photography-driven ───
   Modern CSS in one file. Pairs Playfair Display (display) with
   Inter (body); deep burgundy accent against warm cream.
   ----------------------------------------------------------------- */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  /* Color palette */
  --bg:        #fbf7f0;
  --bg-alt:    #f5ebd9;
  --bg-deep:   #2a1f15;
  --fg:        #2a1f15;
  --fg-soft:   #6b5b48;
  --fg-on-dark:#fbf7f0;
  --accent:    #8a3324;
  --accent-hover: #6a2519;
  --border:    #e6dccd;

  /* Typography */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body:    "Inter", -apple-system, system-ui, sans-serif;
  --type-xs:   0.8125rem;
  --type-sm:   0.9375rem;
  --type-base: 1.0625rem;
  --type-lg:   1.25rem;
  --type-xl:   1.5rem;
  --type-2xl:  2rem;
  --type-3xl:  2.75rem;
  --type-4xl:  clamp(2.5rem, 6vw, 4.5rem);
  --type-display: clamp(3rem, 8vw, 6rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Radii + shadow + motion */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(42, 31, 21, 0.06);
  --shadow:    0 8px 24px rgba(42, 31, 21, 0.12);
  --shadow-lg: 0 24px 64px rgba(42, 31, 21, 0.18);
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --dur:       320ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--type-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a  { color: var(--accent); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--accent-hover); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

/* ─── Nav (translucent, sticky over hero) ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-8);
  background: rgba(251, 247, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand {
  font-family: var(--font-display);
  font-size: var(--type-xl);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: var(--space-6); }
.nav-links a {
  color: var(--fg);
  font-size: var(--type-sm);
  font-weight: 500;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

/* ─── Hero (full-bleed, photo with overlay) ─── */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  background-image:
    linear-gradient(rgba(42, 31, 21, 0.35), rgba(42, 31, 21, 0.55)),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  background-size: cover;
  background-position: center;
  color: var(--fg-on-dark);
  overflow: hidden;
}
.hero[data-image] {
  background-image:
    linear-gradient(rgba(42, 31, 21, 0.40), rgba(42, 31, 21, 0.60)),
    var(--hero-image, none);
}
.hero-inner {
  max-width: 760px;
  padding: var(--space-24) var(--space-8);
  animation: fadeUp 1s var(--ease) both;
}
.hero .eyebrow {
  font-family: var(--font-body);
  font-size: var(--type-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-on-dark);
  opacity: 0.85;
  margin-bottom: var(--space-6);
}
.hero h1 {
  font-size: var(--type-display);
  color: var(--fg-on-dark);
  margin-bottom: var(--space-6);
}
.hero .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--fg-on-dark);
  opacity: 0.9;
  margin-bottom: var(--space-8);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--type-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--fg-on-dark);
  box-shadow: var(--shadow);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover {
  background: var(--accent-hover);
  color: var(--fg-on-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: transparent;
  color: var(--fg-on-dark);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--fg-on-dark); }

/* ─── Section layout ─── */
.section {
  padding: var(--space-24) var(--space-8);
}
.section.alt   { background: var(--bg-alt); }
.section.deep  { background: var(--bg-deep); color: var(--fg-on-dark); }
.section.deep h2,
.section.deep h3 { color: var(--fg-on-dark); }
.container { max-width: 1080px; margin: 0 auto; }
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto var(--space-16);
}
.section-head .eyebrow {
  font-size: var(--type-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}
.section-head h2 {
  font-size: var(--type-4xl);
  margin-bottom: var(--space-4);
}
.section-head p {
  color: var(--fg-soft);
  font-size: var(--type-lg);
  margin: 0;
}

/* ─── Hours list ─── */
.hours-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 480px;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--type-base);
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list li span:first-child { font-weight: 600; }
.hours-list li span:last-child  { color: var(--fg-soft); }

/* ─── Menu grid ─── */
.menu-section {
  margin-bottom: var(--space-16);
}
.menu-section h2 {
  font-size: var(--type-2xl);
  margin-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-3);
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}
.menu-section h2 .desc {
  font-family: var(--font-body);
  font-size: var(--type-sm);
  font-weight: 400;
  font-style: italic;
  color: var(--fg-soft);
  letter-spacing: 0;
  text-transform: none;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8) var(--space-12);
}
.menu-item-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-3);
}
.menu-item .name {
  font-weight: 600;
  font-size: var(--type-lg);
  font-family: var(--font-display);
}
.menu-item .price {
  color: var(--accent);
  font-weight: 600;
  font-size: var(--type-base);
}
.menu-item .desc {
  color: var(--fg-soft);
  font-size: var(--type-sm);
  margin: var(--space-2) 0 0;
}

/* ─── Reservations panel ─── */
.reservation-card {
  max-width: 520px;
  margin: 0 auto;
  padding: var(--space-12);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
}
.reservation-card .phone {
  font-family: var(--font-display);
  font-size: var(--type-3xl);
  display: block;
  margin: var(--space-6) 0;
}

/* ─── Footer ─── */
footer {
  background: var(--bg-deep);
  color: var(--fg-on-dark);
  padding: var(--space-16) var(--space-8) var(--space-8);
  text-align: center;
}
footer .brand { color: var(--fg-on-dark); display: block; margin-bottom: var(--space-3); }
footer p { color: rgba(251, 247, 240, 0.7); font-size: var(--type-sm); margin: 0.25rem 0; }
footer a { color: var(--bg-alt); }

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── Mobile ─── */
@media (max-width: 720px) {
  .nav { padding: var(--space-3) var(--space-4); flex-wrap: wrap; gap: var(--space-2) var(--space-3); }
  .nav-links { gap: var(--space-2) var(--space-3); flex-wrap: wrap; }
  .nav-links a { font-size: var(--type-xs); }
  .section { padding: var(--space-16) var(--space-4); }
  .menu-section h2 { flex-direction: column; align-items: flex-start; gap: 0; }
}
