/* ── Reset & Custom Properties ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Stone palette */
  --s50:  #fafaf9;
  --s100: #f5f5f4;
  --s200: #e7e5e4;
  --s300: #d6d3d1;
  --s400: #a8a29e;
  --s500: #78716c;
  --s600: #57534e;
  --s700: #44403c;
  --s800: #292524;
  --s900: #1c1917;

  --gold: #d97706;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --radius: 12px;
  --transition: 200ms ease;
  --max-w: 1152px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--s50);
  color: var(--s900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Selection colour */
::selection { background: var(--s200); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ── Utility ─────────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hidden { display: none !important; }

/* ── Navigation ──────────────────────────────────────────────────────────────── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,249,.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--s200);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Desktop nav lists */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
}
.nav-right { justify-content: flex-end; }

.nav-links a {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--s600);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--s900); }

/* Brand / Logo center */
.nav-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand img { height: 80px; width: auto; object-fit: contain; }
.nav-brand-text {
  font-family: var(--font-serif);
  font-size: .9rem;
  font-weight: 700;
  color: var(--s900);
  text-align: center;
  line-height: 1.3;
  max-width: 160px;
}

/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--s600);
  padding: .25rem;
}
.nav-toggle:hover { color: var(--s900); }

.nav-spacer { display: none; }

/* Mobile dropdown */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--s50);
  border-top: 1px solid var(--s200);
  padding: .5rem .75rem 1rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  padding: .65rem .75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--s900);
  border-radius: 6px;
  transition: background var(--transition);
}
.nav-mobile-link:hover { background: var(--s100); }

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--s900);
  color: #fff;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .4;
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 1.5rem 12rem;
  text-align: center;
  animation: fadeUp .8s ease both;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,.8);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2.25rem;
  border: 1.5px solid rgba(255,255,255,.9);
  color: #fff;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .04em;
  transition: background var(--transition), color var(--transition);
}
.hero-btn:hover {
  background: #fff;
  color: var(--s900);
}

/* ── Menu Section ────────────────────────────────────────────────────────────── */
.menu-section {
  background: #fff;
  padding: 5rem 0 6rem;
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--s900);
  margin-bottom: .75rem;
}

.section-head > p {
  font-size: .95rem;
  color: var(--s500);
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

.divider {
  width: 6rem;
  height: 3px;
  background: var(--s300);
  margin: 0 auto 2rem;
}

/* Filter pills */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem .75rem;
}

.pill {
  padding: .45rem 1.1rem;
  border-radius: 999px;
  border: none;
  font-size: .85rem;
  font-weight: 500;
  background: var(--s100);
  color: var(--s600);
  transition: background var(--transition), color var(--transition);
}
.pill:hover  { background: var(--s200); }
.pill.active { background: var(--s900); color: #fff; }

/* Menu grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 3rem;
  row-gap: 2.5rem;
}

/* Menu card */
.menu-card {
  display: flex;
  gap: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}
.menu-card:hover {
  background: var(--s50);
  border-color: var(--s100);
}

.menu-card-img {
  flex-shrink: 0;
  width: 128px;
  height: 128px;
  border-radius: .5rem;
  overflow: hidden;
  background: var(--s200);
}
.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.menu-card:hover .menu-card-img img { transform: scale(1.06); }

.menu-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.menu-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--s200);
  padding-bottom: .5rem;
  margin-bottom: .35rem;
}

.menu-card-top h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--s900);
  flex: 1;
  min-width: 0;
}

.menu-card-price {
  font-size: 1rem;
  font-weight: 500;
  color: var(--s900);
  white-space: nowrap;
}

.menu-card-tag {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--s400);
  margin-bottom: .4rem;
  display: block;
}

.menu-card-desc {
  font-size: .85rem;
  color: var(--s500);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-empty {
  text-align: center;
  color: var(--s400);
  padding: 3rem 0;
  font-size: 1rem;
}

/* ── About Section ───────────────────────────────────────────────────────────── */
.about-section {
  background: var(--s100);
  padding: 5rem 0 6rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.about-img-col img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-text-col h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--s900);
  margin-bottom: 1.25rem;
}

.about-text-col > p {
  color: var(--s600);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  color: var(--s800);
  margin-top: .15rem;
}

.about-feature h4 {
  font-weight: 600;
  color: var(--s900);
  margin-bottom: .25rem;
}

.about-feature p {
  font-size: .875rem;
  color: var(--s600);
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  border-top: 1px solid var(--s200);
  padding-top: 4rem;
}

.testimonials-head {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-head h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--s900);
  margin-bottom: .5rem;
}

.testimonials-head p {
  color: var(--s400);
  font-size: .9rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  border: 1px solid var(--s100);
}

.testimonial-stars {
  display: flex;
  gap: .15rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.testimonial-body {
  font-style: italic;
  color: var(--s600);
  font-size: .9rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-size: .85rem;
  font-weight: 700;
  color: var(--s900);
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */
footer {
  background: var(--s900);
  color: var(--s400);
  padding: 4rem 0 0;
  border-top: 1px solid var(--s800);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

.footer-brand { display: flex; flex-direction: column; gap: 1.5rem; }

.footer-logo-wrap img { height: 64px; width: auto; background: #fff; padding: .5rem; border-radius: .5rem; }
.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.footer-brand p {
  font-size: .875rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: .02em;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.footer-list li svg { flex-shrink: 0; color: var(--s500); margin-top: .15rem; }
.footer-list a { transition: color var(--transition); }
.footer-list a:hover { color: #fff; }
.footer-list li div { display: flex; flex-direction: column; flex: 1; min-width: 0; }

/* Hours rows */
.footer-hours li > div { gap: 0; }

.hours-row {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  font-size: .875rem;
  padding: .2rem 0;
}
.hours-today { color: #fff; font-weight: 600; }
.hours-day   { width: 2.75rem; flex-shrink: 0; }
.hours-time  { color: var(--s400); white-space: nowrap; }
.hours-today .hours-time { color: rgba(255,255,255,.85); }
.hours-note  { font-size: .75rem; color: var(--s500); margin-top: .5rem; font-style: italic; }

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid var(--s800);
  padding: 1.75rem 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}

.footer-bottom p { font-size: .8rem; }

.footer-disclaimer {
  max-width: 480px;
  font-size: .75rem;
  color: var(--s500);
  text-align: right;
}

/* ── Animations ──────────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */

/* ── Small laptop / large tablet landscape (≤ 1024px) ── */
@media (max-width: 1024px) {
  .menu-grid         { column-gap: 1.25rem; }
  .about-grid        { gap: 2.5rem; }
}

/* ── Tablet portrait (≤ 900px) ── */
@media (max-width: 900px) {
  /* Footer: brand full-width top row, contact + hours side by side below */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
  .footer-brand p { max-width: 420px; }

  /* Testimonials: 2-col */
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Mobile nav breakpoint (≤ 768px) ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links          { display: none; }
  .nav-toggle         { display: block; }
  .nav-spacer         { display: block; width: 40px; }
  .nav-inner          { height: 72px; }
  .nav-brand img      { height: 56px; }
  .nav-brand-text     { font-size: .78rem; max-width: 130px; }

  /* Hero */
  .hero-content       { padding: 4.5rem 1.25rem 5.5rem; }

  /* Sections */
  .menu-section       { padding: 3rem 0 3.5rem; }
  .about-section      { padding: 3rem 0 3.5rem; }

  /* Menu: single column */
  .menu-grid          { grid-template-columns: 1fr; row-gap: 1rem; }

  /* About: stack */
  .about-grid         { grid-template-columns: 1fr; gap: 2rem; }
  .about-img-col      { order: -1; }
  .about-img-col img  { aspect-ratio: 16/9; }

  /* Testimonials: 1-col */
  .testimonials-grid  { grid-template-columns: 1fr; }
  .testimonials       { padding-top: 2.5rem; }

  /* Footer: 1-col */
  .footer-grid        { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand       { flex-direction: column; }
  .footer-disclaimer  { text-align: left; }
  .footer-bottom-inner{ flex-direction: column; align-items: flex-start; }
  footer              { padding: 3rem 0 0; }
  .footer-grid        { padding-bottom: 3rem; }
}

/* ── Phone (≤ 639px) ── */
@media (max-width: 639px) {
  /* Nav brand text smaller */
  .nav-brand-text     { font-size: .72rem; max-width: 110px; }

  /* Hero */
  .hero-content       { padding: 3.5rem 1rem 4.5rem; }

  /* Filter pills: single scrollable row instead of wrapping */
  .filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: .5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* fade-out hint at right edge */
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
    mask-image:         linear-gradient(to right, black 85%, transparent 100%);
  }
  .filter-pills::-webkit-scrollbar { display: none; }
  .pill               { flex-shrink: 0; }

  /* Cards: image full-width, text below */
  .menu-card          { flex-direction: column; }
  .menu-card-img      { width: 100%; height: 160px; }

  /* Reduce section padding */
  .menu-section       { padding: 2.5rem 0 3rem; }
  .about-section      { padding: 2.5rem 0 3rem; }
  .section-head       { margin-bottom: 2rem; }

  /* Testimonials: tighten */
  .testimonial-card   { padding: 1.25rem; }
}

/* ── Cards in row layout on tablet and up (≥ 640px) ── */
@media (min-width: 640px) {
  .menu-card          { flex-direction: row; }
  .menu-card-img      { width: 128px; height: 128px; flex-shrink: 0; }
}
