:root {
  --bg: #fcfcfa;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: rgba(255, 255, 255, 0.95);
  --line: rgba(140, 115, 62, 0.2);
  --text: #1f1d19;
  --muted: #5f584c;
  --soft: #7b7469;
  --gold: #cda148;
  --gold-bright: #e4bd6a;
  --green: #607458;
  --red: #954136;
  --shadow: 0 20px 50px rgba(36, 29, 17, 0.12);
  --radius: 8px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(140deg, rgba(113, 130, 104, 0.1), transparent 34%),
    linear-gradient(320deg, rgba(157, 62, 52, 0.08), transparent 38%),
    var(--bg);
  font-family: var(--font-body);
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: #fcfcfa;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.loading-screen.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.loader {
  display: flex;
  gap: 10px;
}

.loader span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 0.9s ease-in-out infinite alternate;
}

.loader span:nth-child(2) {
  animation-delay: 0.18s;
}

.loader span:nth-child(3) {
  animation-delay: 0.36s;
}

.hero {
  min-height: 88vh;
  padding: 24px clamp(18px, 4vw, 56px) 64px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.85)),
    url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1800&q=80")
      center/cover;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar {
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #201a0f;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1rem;
  box-shadow: 0 12px 30px rgba(214, 177, 93, 0.24);
}

.reservation-link,
.category-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.reservation-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  color: #2a2418;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  font-weight: 700;
}

.reservation-link:hover,
.category-button:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 207, 120, 0.58);
}

.hero-content {
  max-width: 760px;
  margin: clamp(96px, 18vh, 170px) auto 0;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 9vw, 6.8rem);
}

h2 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

h3 {
  font-size: 1.6rem;
}

.hero-copy {
  max-width: 650px;
  margin: 24px auto 0;
  color: #433f37;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.menu-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px clamp(16px, 4vw, 56px);
  border-top: 0;
  border-bottom: 0;
  background: rgba(12, 12, 12, 0.96);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(22px);
}

.toolbar-inner {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
}

.search-wrap {
  position: relative;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  color: #d5b05a;
  transform: translateY(-50%);
}

.search-wrap input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px 12px 44px;
  color: #f7f2e8;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-wrap input::placeholder {
  color: rgba(247, 242, 232, 0.68);
}

.search-wrap input:focus {
  border-color: rgba(240, 207, 120, 0.7);
  box-shadow: 0 0 0 4px rgba(214, 177, 93, 0.12);
}

.category-filters {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  overflow: visible;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.category-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 10px 16px;
  color: #f1e6d1;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.category-button.is-active {
  color: #221c11;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}

.menu-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
  justify-items: center;
  text-align: center;
}

.menu-heading-logo {
  width: clamp(80px, 14vw, 110px);
  height: auto;
  object-fit: contain;
}

.result-count {
  margin: 0;
  color: var(--soft);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.menu-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 248, 244, 0.96));
  box-shadow: var(--shadow);
  animation: riseIn 0.45s ease both;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.menu-card:hover {
  transform: translateY(-7px);
  border-color: rgba(240, 207, 120, 0.46);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(251, 249, 246, 1));
}

.card-image {
  position: relative;
  height: 260px;
  display: grid;
  place-items: center;
  padding: 10px;
  overflow: hidden;
  background: #e9e4d9;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  cursor: zoom-in;
  border-radius: 6px;
  transition: transform 0.35s ease;
}

.card-image img:focus-visible {
  outline: 3px solid rgba(205, 161, 72, 0.9);
  outline-offset: -3px;
}

@media (hover: hover) and (pointer: fine) {
  .menu-card:hover img {
    transform: scale(1.07);
  }
}

.price-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 11px;
  color: #201a0f;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  font-size: 0.92rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

.card-body {
  padding: 18px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.card-body h3 {
  font-size: 1.55rem;
}

.card-body p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.empty-state {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 260px;
  margin-top: 24px;
  padding: 40px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.empty-state span {
  color: var(--gold);
  font-size: 2rem;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.footer {
  padding: 34px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.footer p {
  margin: 12px 0 0;
  color: var(--soft);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  color: var(--muted);
  font-weight: 700;
}

.footer-contact a:hover {
  color: var(--gold-bright);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: clamp(16px, 4vw, 42px);
  background: rgba(0, 0, 0, 0.86);
}

.image-lightbox.is-open {
  display: grid;
}

.lightbox-image {
  width: min(1100px, 92vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  background: #111;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 800;
}

.lightbox-open {
  overflow: hidden;
}

@keyframes pulse {
  from {
    transform: translateY(0);
    opacity: 0.45;
  }

  to {
    transform: translateY(-10px);
    opacity: 1;
  }
}

@keyframes riseIn {
  from {
    transform: translateY(18px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 1050px) {
  .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .toolbar-inner {
    grid-template-columns: 1fr;
  }

  .category-filters {
    justify-content: flex-start;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-contact {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .menu-heading-logo {
    width: 130px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .card-image {
    height: auto;
    min-height: 220px;
    max-height: 360px;
    padding: 8px;
    overflow: visible;
  }

  .card-image img {
    height: auto;
    max-height: 340px;
    width: 100%;
    object-fit: contain;
    object-position: center;
  }

  .menu-toolbar {
    padding-inline: 12px;
  }

  .category-button {
    padding-inline: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
