:root {
  --cream: #faf7f2;
  --dark: #1a1613;
  --gold: #c6a567;
  --gold-dark: #a9875a;
  --text-muted: #6b6560;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--dark);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
  background: rgba(250, 247, 242, 0.96);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease, height 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  height: 56px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 34px;
  width: auto;
  filter: hue-rotate(25deg) saturate(1.3) drop-shadow(0 2px 8px rgba(0,0,0,0.85));
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav-logo,
.main-nav-footer {
  display: none;
}

.main-nav-links {
  display: flex;
  gap: 36px;
}

.main-nav-links a {
  color: var(--dark);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.25s ease, opacity 0.25s ease;
  opacity: 0.9;
}

.main-nav-links a:hover { opacity: 1; color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 26px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: var(--gold); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: heroFade 21s infinite;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: -7s; }
.hero-slide:nth-child(3) { animation-delay: -14s; }

@keyframes heroFade {
  0% { opacity: 0; }
  4% { opacity: 1; }
  36% { opacity: 1; }
  40% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 24px;
  max-width: 900px;
}

.chef-icon { margin-bottom: 24px; }

.hero h1 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.35;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 44px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 20px;
  z-index: 2;
}

.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: #fff;
  border-radius: 2px;
  animation: scrollcue 1.8s infinite;
}

@keyframes scrollcue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 8px; }
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 140px 48px;
  max-width: 1400px;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,0.08);
}

.about-image-left { position: relative; }
.about-image-right { position: relative; }

.about-content { text-align: center; padding: 0 16px; }

.about-content h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 28px;
}

.about-content p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 420px;
  margin: 0 auto 20px;
}

.quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px !important;
  color: var(--dark) !important;
  margin: 32px auto !important;
}

.chef-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.chef-badge img {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.chef-badge span {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
}

/* ---------- Section headings (shared) ---------- */
.section-heading {
  text-align: center;
  padding: 0 24px;
  margin-bottom: 64px;
}

.section-heading h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 42px);
  margin: 18px 0 10px;
}

.section-heading .subtitle {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.divider {
  width: 100%;
  max-width: 1100px;
  height: 1px;
  background: rgba(0,0,0,0.12);
  margin: 0 auto;
}

/* ---------- La Carte ---------- */
.carte {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.menu-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

.menu-cta {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--gold-dark); }

.menu-column h3 {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold-dark);
  font-style: italic;
  font-weight: 500;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 14px;
  margin-bottom: 24px;
  display: inline-block;
}

.menu-list li { margin-bottom: 22px; }

.item-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-weight: 600;
  font-size: 16px;
}

.item-price { font-family: var(--serif); color: var(--gold-dark); }

.item-desc {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Contact / Footer ---------- */
.contact {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1800&q=80')
    center / cover no-repeat fixed;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.72);
}

.contact-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 100px 24px;
  max-width: 700px;
}

.contact-content h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 38px);
  margin-bottom: 36px;
}

.call-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 14px;
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 10px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.phone:hover { color: var(--gold); border-color: var(--gold); }

.address-block { margin-top: 48px; font-size: 14px; opacity: 0.85; }
.address-block p { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 8px; }
.address-block p a { display: inline-flex; align-items: center; gap: 8px; transition: color 0.25s ease; }
.address-block p a:hover { color: var(--gold); }

.footer-logo {
  height: 48px;
  width: auto;
  margin: 0 auto 18px;
  filter: brightness(0) invert(1);
}

.social-links {
  margin-top: 36px;
  display: flex;
  gap: 28px;
  justify-content: center;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
}

.social-links a { opacity: 0.85; transition: opacity 0.25s ease, color 0.25s ease; }
.social-links a:hover { opacity: 1; color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about { grid-template-columns: 1fr; }
  .about-image-left { order: 2; }
  .about-content { order: 1; }
  .about-image-right { order: 3; }
  .menu-columns { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .site-header { padding: 0 20px; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .about, .carte { padding: 80px 24px; }
  .hero h1 { letter-spacing: 0.14em; font-size: clamp(22px, 6.4vw, 30px); }

  .main-nav {
    display: flex;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 78vw);
    flex-direction: column;
    align-items: flex-start;
    background: var(--dark);
    padding: 40px 40px 32px;
    z-index: 150;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.25);
    overflow-y: auto;
  }

  .main-nav.open { transform: translateX(0); }

  .main-nav-logo {
    display: block;
    flex-shrink: 0;
    margin-bottom: 56px;
  }

  .main-nav-logo img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
  }

  .main-nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .main-nav-links a,
  .site-header.scrolled .main-nav-links a {
    color: #fff;
    opacity: 0.85;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    font-size: 14px;
    transition: opacity 0.25s ease, color 0.25s ease;
  }

  .main-nav-links a:hover,
  .site-header.scrolled .main-nav-links a:hover { opacity: 1; color: var(--gold); }

  .main-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
    width: 100%;
    margin-top: auto;
    padding-top: 24px;
  }

  .main-nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    opacity: 0.85;
    font-size: 13px;
    transition: opacity 0.25s ease, color 0.25s ease;
  }

  .main-nav-phone:hover { opacity: 1; color: var(--gold); }

  .main-nav-social {
    display: flex;
    gap: 24px;
  }

  .main-nav-social a {
    color: #fff;
    opacity: 0.8;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.25s ease, color 0.25s ease;
  }

  .main-nav-social a:hover { opacity: 1; color: var(--gold); }

  .nav-toggle {
    position: relative;
    z-index: 160;
  }

  .nav-toggle.active span,
  .site-header.scrolled .nav-toggle.active span { background: #fff; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 140;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  .nav-overlay.open {
    opacity: 1;
    visibility: visible;
  }
}

/* ---------- PDF Menu Modal ---------- */
.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pdf-modal.open {
  opacity: 1;
  visibility: visible;
}

.pdf-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.8);
}

.pdf-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  height: 100%;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
}

.pdf-pages {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #1a1613;
}

.pdf-pages canvas {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 10px;
  background: #fff;
}

.pdf-status {
  color: #fff;
  text-align: center;
  padding: 48px 20px;
  font-size: 14px;
}

.pdf-status a { text-decoration: underline; }

.pdf-modal-header {
  flex-shrink: 0;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 20px;
  background: #fff;
}

.pdf-modal-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark);
}

.pdf-modal-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.pdf-modal-close:hover { background: var(--gold-dark); }

@media (max-width: 768px) {
  .pdf-modal { padding: 0; }
}
