/* =========================================================
   FOOD HOUSE — Luxury Restaurant Stylesheet
   ========================================================= */
:root {
  --bg: #0b0a09;
  --bg-elevated: #141210;
  --bg-card: #191613;
  --border: rgba(212, 175, 55, 0.22);
  --border-soft: rgba(255, 255, 255, 0.08);
  --gold: #d4af37;
  --gold-light: #ebcf7a;
  --text: #f5efe6;
  --muted: #b3a999;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: min(1220px, 92%); margin-inline: auto; }
.section { padding: 88px 0; }
.section-alt { background: var(--bg-elevated); border-block: 1px solid var(--border-soft); }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; letter-spacing: 0.01em; line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.55rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #120f0a;
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.25);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(212, 175, 55, 0.38); }
.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(212, 175, 55, 0.08); }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }
.btn-full { width: 100%; }

/* ==================== NAVBAR ==================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 10, 9, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-serif); font-size: 1.25rem; letter-spacing: 0.12em; }
.brand-text small { font-size: 0.62rem; letter-spacing: 0.22em; color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--gold);
}

/* Navbar Menu Dropdown */
.nav-dropdown { position: relative; }
.dropdown-trigger { display: inline-flex; align-items: center; gap: 6px; }
.chevron { font-size: 0.78rem; transition: transform var(--transition); }
.nav-dropdown.open .chevron, .nav-dropdown:hover .chevron { transform: rotate(180deg); color: var(--gold); }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 330px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(20, 18, 16, 0.96);
  backdrop-filter: blur(22px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
}
.nav-dropdown:hover .dropdown-panel,
.nav-dropdown.open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 11px 14px;
  border-radius: 10px;
  transition: var(--transition);
}
.dropdown-item:hover { background: rgba(212, 175, 55, 0.1); }
.item-title { font-weight: 600; font-size: 0.92rem; color: var(--text); }
.item-sub { font-size: 0.76rem; color: var(--muted); margin-top: 2px; }
.dropdown-footer {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
  text-align: center;
}
.dropdown-footer a { font-size: 0.82rem; color: var(--gold); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.cart-btn {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  display: grid; place-items: center;
  transition: var(--transition);
}
.cart-btn:hover { border-color: var(--gold); background: rgba(212, 175, 55, 0.08); }
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: #120f0a;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid; place-items: center;
}

.hamburger { display: none; flex-direction: column; gap: 5px; width: 32px; padding: 4px; }
.hamburger span { height: 2px; background: var(--text); border-radius: 2px; }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 10, 9, 0.98);
  backdrop-filter: blur(20px);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--border-soft); }
.icon-close { font-size: 2rem; line-height: 1; color: var(--muted); }
.icon-close:hover { color: var(--gold); }
.mobile-nav-list { display: flex; flex-direction: column; gap: 14px; margin-block: 28px auto; }
.mobile-link {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 6px 0;
}
.accordion-body {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 10px 0 10px 18px;
  border-left: 1px solid var(--border);
  margin-top: 6px;
}
.accordion-body.open { display: flex; }
.accordion-body a { color: var(--muted); font-size: 1rem; }
.accordion-body a:hover { color: var(--gold); }

/* ==================== PAGE VIEWS ==================== */
.page-view { display: none; animation: fadeIn 0.45s ease; }
.page-view.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Hero */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 10, 9, 0.94) 0%, rgba(11, 10, 9, 0.65) 55%, rgba(11, 10, 9, 0.35) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 680px; padding: 80px 0; }
.hero-content h1 em { font-style: italic; color: var(--gold-light); }
.hero-lead { color: var(--muted); font-size: 1.05rem; margin: 22px 0 34px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-metrics {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
}
.hero-metrics strong { display: block; font-family: var(--font-serif); font-size: 1.7rem; color: var(--gold-light); }
.hero-metrics span { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* Story */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story-media img { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.story-copy p { color: var(--muted); margin-top: 18px; }
.story-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.highlight-card { background: var(--bg-card); border: 1px solid var(--border-soft); padding: 18px; border-radius: 12px; }
.highlight-card h4 { color: var(--gold-light); font-size: 1.2rem; margin-bottom: 6px; }
.highlight-card p { margin: 0; font-size: 0.85rem; }

/* Section Head */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

/* Dish Grid & Cards */
.dish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(275px, 1fr)); gap: 26px; }
.dish-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.dish-card:hover { transform: translateY(-5px); border-color: var(--border); box-shadow: var(--shadow); }
.dish-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.dish-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.dish-card:hover .dish-thumb img { transform: scale(1.06); }
.dish-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(11, 10, 9, 0.82);
  border: 1px solid var(--border);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.dish-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.dish-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.dish-top h3 { font-size: 1.35rem; }
.dish-price { color: var(--gold-light); font-weight: 700; white-space: nowrap; font-size: 0.98rem; }
.dish-desc { color: var(--muted); font-size: 0.86rem; margin: 10px 0 18px; flex: 1; }

/* Promo Banner */
.promo-banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #1b1712, #12100e);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
}
.promo-text p { color: var(--muted); margin: 16px 0 28px; }
.promo-visual img { border-radius: var(--radius); border: 1px solid var(--border); }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--bg-card); border: 1px solid var(--border-soft); padding: 28px; border-radius: var(--radius); }
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; }
.review-card p { color: var(--text); font-style: italic; margin-bottom: 20px; font-size: 0.95rem; }
.reviewer strong { display: block; font-size: 0.92rem; }
.reviewer span { font-size: 0.78rem; color: var(--muted); }

/* ==================== MENU PAGE TABS ==================== */
.page-hero { padding: 72px 0 36px; text-align: center; }
.page-hero p { color: var(--muted); max-width: 560px; margin: 12px auto 0; }

.menu-tabs-wrapper {
  position: sticky;
  top: 80px;
  z-index: 40;
  background: rgba(11, 10, 9, 0.9);
  backdrop-filter: blur(16px);
  border-block: 1px solid var(--border-soft);
}
.menu-tabs {
  position: relative;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 14px 0;
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab {
  position: relative;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color var(--transition);
}
.menu-tab:hover, .menu-tab.active { color: var(--gold-light); }
.tab-indicator {
  position: absolute;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: left 0.3s ease, width 0.3s ease;
}

/* ==================== DEALS PAGE ==================== */
.deals-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.deal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.deal-card img { aspect-ratio: 16 / 10; object-fit: cover; }
.deal-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.deal-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.deal-tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); font-weight: 700; }
.deal-price-wrap { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 20px; }
.deal-old { text-decoration: line-through; color: var(--muted); font-size: 0.88rem; }
.deal-new { font-size: 1.3rem; font-weight: 700; color: var(--gold-light); }

/* ==================== CONTACT PAGE ==================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-card { background: var(--bg-card); border: 1px solid var(--border-soft); padding: 22px; border-radius: var(--radius); }
.info-card h3 { font-size: 1.25rem; color: var(--gold-light); margin-bottom: 6px; }
.info-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 10px; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); height: 240px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: invert(90%) hue-rotate(180deg) contrast(92%); }

.reservation-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 34px;
  border-radius: var(--radius);
}
.form-sub { color: var(--muted); font-size: 0.88rem; margin: 6px 0 22px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em; }
input, select, textarea {
  background: #0f0d0b;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
.form-feedback { margin-top: 14px; color: var(--gold-light); font-size: 0.9rem; min-height: 22px; }

/* ==================== CART DRAWER ==================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 250;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  z-index: 260;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.cart-drawer.open { transform: translateX(0); }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--border-soft); }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.cart-empty { color: var(--muted); text-align: center; margin-top: 40px; }
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}
.cart-item h4 { font-size: 1.08rem; }
.cart-item small { color: var(--gold-light); }
.qty-controls { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid; place-items: center;
}
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border-soft); display: flex; flex-direction: column; gap: 10px; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 1.1rem; margin-bottom: 6px; }
.cart-total-row strong { color: var(--gold-light); }

/* Footer & Toast */
.footer { border-top: 1px solid var(--border-soft); padding: 40px 0; background: #080706; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer-note, .copyright { color: var(--muted); font-size: 0.84rem; }
.footer-links { display: flex; gap: 22px; font-size: 0.88rem; color: var(--muted); }
.footer-links a:hover { color: var(--gold); }

.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(20, 18, 16, 0.96);
  border: 1px solid var(--gold);
  color: var(--text);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  z-index: 300;
  transition: var(--transition);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Responsive */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .story-grid, .promo-banner, .contact-grid, .reviews-grid { grid-template-columns: 1fr; }
  .promo-banner { padding: 30px; }
}
@media (max-width: 560px) {
  .form-row, .story-highlights { grid-template-columns: 1fr; }
  .hero-metrics { gap: 22px; }
}
