/* ═══════════════════════════════════════════
   ZAIQA — Fine Dining · Premium dark theme
   ═══════════════════════════════════════════ */
:root {
  --bg: #0e0d0b;
  --bg-soft: #15130f;
  --bg-card: #1b1814;
  --ink: #f3ede2;
  --ink-dim: #b3a99a;
  --gold: #c9a24b;
  --gold-soft: #e2c479;
  --line: rgba(201, 162, 75, 0.18);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Jost', 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
body::before { /* subtle grain */
  content: '';
  position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }

::selection { background: var(--gold); color: #14100a; }

/* ── Thin scrollbar ── */
html { scrollbar-width: thin; scrollbar-color: #3a332a var(--bg); }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #3a332a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── Preloader ── */
.preloader {
  position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center;
  background: var(--bg); transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-logo {
  font-family: var(--serif); font-size: 64px; color: var(--gold); display: block;
  animation: pulse 1.2s ease-in-out infinite;
}
.preloader-text { letter-spacing: 10px; font-size: 13px; color: var(--ink-dim); }
@keyframes pulse { 0%,100% { opacity: .4; transform: scale(.96);} 50% { opacity: 1; transform: scale(1);} }

/* ── Typography helpers ── */
.kicker {
  color: var(--gold); letter-spacing: 4px; text-transform: uppercase;
  font-size: 12px; font-weight: 500; margin-bottom: 14px;
}
.section-title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.15; margin-bottom: 22px;
}
.section-title em { font-style: italic; color: var(--gold-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head .section-title { margin-bottom: 0; }

/* ── Buttons ── */
.btn {
  display: inline-block; padding: 15px 34px; font-family: var(--sans);
  font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 500;
  cursor: pointer; border: 1px solid transparent; transition: all .3s var(--ease);
}
.btn-gold { background: var(--gold); color: #14100a; }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201,162,75,.25); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn.sm { padding: 11px 22px; font-size: 12px; }
.btn.wide { width: 100%; }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 26px 0; transition: all .4s var(--ease);
}
.navbar.scrolled {
  padding: 14px 0; background: rgba(14, 13, 11, .92);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--serif); font-size: 26px; letter-spacing: 4px; font-weight: 600; }
.logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 400;
  color: var(--ink-dim); position: relative; transition: color .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--gold); color: var(--gold-soft) !important;
  padding: 10px 22px; transition: all .3s var(--ease) !important;
}
.nav-cta:hover { background: var(--gold); color: #14100a !important; }
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: .3s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Hero ── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; }
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,13,11,.72) 0%, rgba(14,13,11,.55) 45%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; padding-top: 60px; }
.hero-kicker { color: var(--gold-soft); letter-spacing: 6px; font-size: 13px; margin-bottom: 24px; }
.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(44px, 8vw, 96px); line-height: 1.08; margin-bottom: 26px;
}
.hero-title em { font-style: italic; color: var(--gold-soft); }
.hero-sub { max-width: 560px; margin: 0 auto 40px; color: var(--ink-dim); font-size: 17px; }
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.scroll-hint { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-line { display: block; width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); animation: drop 1.8s ease-in-out infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero-badge {
  position: absolute; right: 6vw; bottom: 12vh; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  background: rgba(27, 24, 20, .75); backdrop-filter: blur(10px);
  border: 1px solid var(--line); padding: 16px 22px; border-radius: 2px;
}
.hero-badge svg { width: 30px; height: 30px; color: var(--gold); }
.hero-badge strong { display: block; font-size: 18px; letter-spacing: 1px; }
.hero-badge small { color: var(--ink-dim); font-size: 12px; }

/* ── Marquee ── */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; background: var(--bg-soft); }
.marquee-track { display: flex; gap: 42px; white-space: nowrap; width: max-content; animation: scrollX 28s linear infinite; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink-dim); }
.marquee-track i { color: var(--gold); font-style: normal; }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.about-media { position: relative; }
.about-media > img { width: 88%; height: 520px; object-fit: cover; }
.about-media-float {
  position: absolute; right: 0; bottom: -40px; width: 46% !important; height: 260px !important;
  object-fit: cover; border: 6px solid var(--bg); box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.about-years {
  position: absolute; top: -26px; right: 6%; background: var(--gold); color: #14100a;
  padding: 20px 24px; display: flex; align-items: center; gap: 12px;
}
.about-years strong { font-family: var(--serif); font-size: 42px; line-height: 1; }
.about-years span { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 500; line-height: 1.4; }
.about-copy p { color: var(--ink-dim); }
.about-points { list-style: none; margin: 30px 0; }
.about-points li { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.about-points svg { width: 40px; height: 40px; flex-shrink: 0; color: var(--gold); border: 1px solid var(--line); padding: 9px; border-radius: 50%; }
.about-points h4 { font-family: var(--serif); font-size: 19px; font-weight: 600; margin-bottom: 2px; }
.about-points p { font-size: 14.5px; }
.about-sign { display: flex; gap: 46px; border-top: 1px solid var(--line); padding-top: 28px; }
.stat strong { font-family: var(--serif); font-size: 36px; color: var(--gold-soft); display: block; line-height: 1.1; }
.stat span { font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-dim); }

/* ── Signature dishes ── */
.signature { background: var(--bg-soft); }
.dish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.dish-card { background: var(--bg-card); border: 1px solid rgba(255,255,255,.04); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.dish-card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px rgba(0,0,0,.45); }
.dish-img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dish-card:hover .dish-img img { transform: scale(1.07); }
.dish-tag {
  position: absolute; top: 14px; left: 14px; background: var(--gold); color: #14100a;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; padding: 6px 12px;
}
.dish-body { padding: 24px 26px 28px; }
.dish-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.dish-row h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.price { font-family: var(--serif); font-size: 20px; color: var(--gold-soft); }
.dish-body p { color: var(--ink-dim); font-size: 14.5px; }

/* ── Menu ── */
.menu-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 54px; }
.tab {
  background: none; border: 1px solid var(--line); color: var(--ink-dim);
  padding: 12px 28px; font-family: var(--sans); font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; cursor: pointer; transition: all .3s var(--ease);
}
.tab:hover { color: var(--gold-soft); border-color: var(--gold); }
.tab.active { background: var(--gold); border-color: var(--gold); color: #14100a; font-weight: 600; }
.menu-panel { display: none; animation: fadeUp .5s var(--ease); }
.menu-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px);} to { opacity: 1; transform: none; } }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 64px; max-width: 980px; margin: 0 auto; }
.menu-item { padding: 14px 0; border-bottom: 1px dashed rgba(255,255,255,.06); }
.mi-head { display: flex; align-items: baseline; gap: 12px; }
.mi-head h4 { font-family: var(--serif); font-size: 19px; font-weight: 600; white-space: nowrap; }
.mi-head i { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.mi-head span { font-family: var(--serif); color: var(--gold-soft); font-size: 18px; }
.menu-item p { color: var(--ink-dim); font-size: 14px; margin-top: 4px; }
.menu-note { text-align: center; margin-top: 48px; color: var(--ink-dim); font-size: 14px; }
.menu-note a { color: var(--gold-soft); border-bottom: 1px solid var(--line); }

/* ── Quote band ── */
.quote-band {
  position: relative; padding: 130px 0;
  background: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=1920&q=80') center/cover fixed no-repeat;
}
.quote-overlay { position: absolute; inset: 0; background: rgba(10, 9, 7, .82); }
.quote-inner { position: relative; z-index: 2; text-align: center; max-width: 820px; }
.quote-mark { width: 46px; height: 46px; color: var(--gold); margin-bottom: 22px; }
.quote-inner p { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3vw, 34px); line-height: 1.45; margin-bottom: 22px; }
.quote-inner span { color: var(--gold-soft); letter-spacing: 2px; font-size: 13px; text-transform: uppercase; }

/* ── Chefs ── */
.chef-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.chef-img { overflow: hidden; aspect-ratio: 3 / 3.6; margin-bottom: 20px; position: relative; }
.chef-img::after { content: ''; position: absolute; inset: 0; border: 1px solid var(--line); transform: translate(10px, 10px); transition: transform .35s var(--ease); pointer-events: none; }
.chef-card:hover .chef-img::after { transform: translate(0, 0); }
.chef-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(28%); transition: filter .4s, transform .6s var(--ease); }
.chef-card:hover .chef-img img { filter: grayscale(0); transform: scale(1.04); }
.chef-card h3 { font-family: var(--serif); font-size: 23px; font-weight: 600; }
.chef-card span { color: var(--gold-soft); font-size: 12.5px; letter-spacing: 2.5px; text-transform: uppercase; }

/* ── Gallery ── */
.gallery { padding-bottom: 0; background: var(--bg-soft); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 10px;
  padding: 0 10px 10px;
}
.g-item { overflow: hidden; position: relative; }
.g-item.tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.g-item:hover img { transform: scale(1.06); filter: brightness(.75); }
.g-item::after {
  content: '+'; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 40px; font-weight: 300; color: var(--gold-soft); opacity: 0; transition: opacity .3s;
}
.g-item:hover::after { opacity: 1; }

/* ── Testimonials ── */
.testimonials { background: var(--bg-soft); padding-top: 110px; }
.t-slider { max-width: 760px; margin: 0 auto; overflow: hidden; text-align: center; }
.t-track { display: flex; transition: transform .55s var(--ease); }
.t-slide { min-width: 100%; padding: 0 12px; }
.stars { color: var(--gold); letter-spacing: 6px; font-size: 18px; margin-bottom: 18px; }
.t-slide p { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2.4vw, 24px); line-height: 1.55; margin-bottom: 24px; }
.t-slide footer strong { display: block; letter-spacing: 1px; }
.t-slide footer span { color: var(--ink-dim); font-size: 13px; }
.t-dots { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.t-dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--gold); background: none; cursor: pointer; padding: 0; transition: background .3s; }
.t-dots button.active { background: var(--gold); }

/* ── Reservation ── */
.res-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.res-copy > p { color: var(--ink-dim); }
.res-info { list-style: none; margin-top: 30px; }
.res-info li { display: flex; gap: 18px; align-items: center; margin-bottom: 20px; }
.res-info svg { width: 44px; height: 44px; color: var(--gold); border: 1px solid var(--line); padding: 10px; border-radius: 50%; flex-shrink: 0; }
.res-info h4 { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.res-info p { color: var(--ink-dim); font-size: 14.5px; }
.res-form { background: var(--bg-card); border: 1px solid rgba(255,255,255,.05); padding: 42px 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field label { display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 8px; }
.field input, .field select {
  width: 100%; background: var(--bg); border: 1px solid rgba(255,255,255,.09);
  color: var(--ink); font-family: var(--sans); font-size: 15px; padding: 13px 15px;
  transition: border-color .25s; color-scheme: dark;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); }
.res-form .btn { margin-top: 8px; }
.form-ok { margin-top: 16px; color: #8fce8f; font-size: 14.5px; text-align: center; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--line); background: #0b0a08; padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 60px; }
.f-brand p { color: var(--ink-dim); font-size: 14.5px; margin: 18px 0 22px; max-width: 300px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; color: var(--ink-dim); transition: all .3s var(--ease);
}
.socials a:hover { color: #14100a; background: var(--gold); border-color: var(--gold); }
.socials svg { width: 17px; height: 17px; }
.f-col h4 { font-family: var(--serif); font-size: 18px; font-weight: 600; margin-bottom: 18px; }
.f-col a { display: block; color: var(--ink-dim); font-size: 14.5px; margin-bottom: 10px; transition: color .25s; }
.f-col a:hover { color: var(--gold-soft); }
.f-col p { color: var(--ink-dim); font-size: 14.5px; margin-bottom: 10px; }
.f-note { font-size: 12.5px !important; color: var(--gold-soft) !important; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.05); padding-top: 22px; padding-bottom: 22px;
}
.footer-bottom p { color: #6d655a; font-size: 13px; }

/* ── Back to top ── */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold);
  background: rgba(27,24,20,.85); color: var(--gold-soft); cursor: pointer;
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .35s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: #14100a; }
.to-top svg { width: 18px; height: 18px; }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 1024px) {
  .about-grid, .res-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-media > img { width: 100%; }
  .dish-grid, .chef-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-badge { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 76px 0; }
  .nav-links {
    position: fixed; inset: 0; background: rgba(14,13,11,.98); backdrop-filter: blur(10px);
    flex-direction: column; justify-content: center; gap: 28px;
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a { font-size: 16px; }
  .hamburger { display: block; position: relative; z-index: 1001; }
  .menu-cols { grid-template-columns: 1fr; }
  .mi-head h4 { white-space: normal; }
  .form-row { grid-template-columns: 1fr; }
  .quote-band { background-attachment: scroll; }
  .about-sign { flex-wrap: wrap; gap: 26px; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .dish-grid, .chef-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .g-item.tall { grid-row: span 1; }
  .about-media-float { display: none; }
  .about-media > img { height: 380px; }
  .res-form { padding: 30px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
