@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
  --color-bg: #faf7f2;
  --color-surface: #ffffff;
  --color-surface-muted: #f0ebe3;
  --color-text: #1c1917;
  --color-text-muted: #57534e;
  --color-accent: #9a3412;
  --color-accent-hover: #7c2d12;
  --color-border: #e7e5e4;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.06);
  --shadow-md: 0 8px 24px rgba(28, 25, 23, 0.08);
  --radius: 12px;
  --content-max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  color: inherit;
}

.logo-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--color-surface-muted), #e7dfd4);
  border: 2px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
}

.brand-tagline {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* Layout */
.content-wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.page-intro {
  margin: 0 0 2rem;
  color: var(--color-text-muted);
  max-width: 42rem;
}

/* Hero */
.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.52)),
    url("../public/heroimg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fefcfb;
  padding: 3rem 1.25rem 3.5rem;
}

.hero__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 20ch;
}

.hero__lead {
  font-size: 1.125rem;
  max-width: 36rem;
  opacity: 0.95;
  margin: 0 0 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: #fff;
  color: #3d2c1f;
  border-color: #fff;
}

.btn--primary:hover {
  background: var(--color-surface-muted);
  border-color: var(--color-surface-muted);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

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

.hero__meta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  font-size: 0.9375rem;
  opacity: 0.92;
}

.hero__meta dt {
  font-weight: 600;
  margin: 0;
}

.hero__meta dd {
  margin: 0.15rem 0 0;
}

.hero__phone {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero__phone:hover {
  opacity: 0.9;
}

/* Cards & sections */
.section-block {
  margin-bottom: 2.5rem;
}

.section-block:last-child {
  margin-bottom: 0;
}

.section-block h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--color-text);
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 1.5rem 1.5rem 1.75rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card p {
  margin: 0 0 1rem;
  color: var(--color-text);
}

.two-col {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.figure-card {
  margin: 0;
}

.figure-card img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.figure-card figcaption {
  margin-top: 0.65rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Hours */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.hours-table th,
.hours-table td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.hours-table th {
  font-weight: 600;
  color: var(--color-text-muted);
  width: 38%;
}

.hours-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding: 0.75rem 1rem;
  background: var(--color-surface-muted);
  border-radius: 8px;
  border-left: 4px solid var(--color-accent);
}

/* Info list (contact) */
.info-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.info-item dt {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.info-item dd {
  margin: 0;
}

.info-item a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.info-item a:hover {
  text-decoration: underline;
}

.travel-times {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.travel-times li {
  padding: 0.25rem 0;
}

.travel-times li + li {
  border-top: 1px dashed var(--color-border);
  margin-top: 0.35rem;
  padding-top: 0.45rem;
}

/* Menu */
.menu-section + .menu-section {
  margin-top: 2.5rem;
}

.menu-section h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.menu-item h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.menu-item .price {
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
}

.menu-item__desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.menu-footnote {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background: var(--color-surface);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-grid figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--color-text);
  color: #e7e5e4;
  padding: 2rem 1.25rem;
}

.site-footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .site-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.site-footer strong {
  color: #fff;
  font-weight: 600;
}

.site-footer a {
  color: #fdba74;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer__copy {
  font-size: 0.875rem;
  opacity: 0.85;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* 404 Error Page */
.error-container{min-height:60vh;display:flex;align-items:center;justify-content:center;padding:4rem 1rem}
.error-card{max-width:720px;text-align:center;background:var(--card-bg,#fff);padding:2rem;border-radius:8px;box-shadow:0 6px 18px rgba(0,0,0,.08)}
.error-code{font-size:6rem;font-weight:700;margin:0;color:var(--accent,#d35400)}
.error-message{font-size:1.25rem;margin:0.5rem 0 1rem}
.error-actions a{display:inline-block;margin:0.25rem 0.5rem;padding:.6rem 1rem;border-radius:6px;text-decoration:none}
.btn-primary{background:var(--accent,#d35400);color:#fff}
.btn-secondary{border:1px solid #ddd;color:inherit}
@media(max-width:520px){.error-code{font-size:4rem}}