:root {
  --bg: #fdf8f1;
  --bg-alt: #f7e6cf;
  --ink: #241a12;
  --ink-soft: #5c4a3a;
  --gold: #b8863b;
  --gold-dark: #8a611f;
  --accent2: #8c2f39;
  --cream: #fffaf3;
  --whatsapp: #25D366;
  --whatsapp-dark: #1ea952;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(36, 26, 18, 0.25);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

:root[data-theme="dark"] {
  --bg: #0d0b08;
  --bg-alt: #17130d;
  --ink: #f5e9d3;
  --ink-soft: #cbb896;
  --gold: #d4af37;
  --gold-dark: #e8c766;
  --accent2: #d9636f;
  --cream: #1c170f;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin: 0 0 8px;
}
.eyebrow.center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0 0 40px;
  position: relative;
}
.section-title.center { text-align: center; }
.section-title.center::after {
  content: '';
  display: block;
  margin: 18px auto 0;
  width: 120px;
  height: 14px;
  background-image: radial-gradient(circle, var(--gold) 1.5px, transparent 1.6px);
  background-size: 12px 12px;
  background-repeat: repeat-x;
  opacity: 0.55;
}

.section { padding: 72px 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; width: 100%; justify-content: center; }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(37, 211, 102, 0.55);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.wa-icon { width: 20px; height: 20px; flex-shrink: 0; }

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

.hero .btn-outline {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}
.hero .btn-outline:hover {
  background: #fff;
  border-color: #fff;
  color: var(--gold-dark);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 134, 59, 0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
}
.brand-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.nav {
  display: flex;
  gap: 28px;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:not(.btn):hover { color: var(--gold-dark); }
.nav-order-btn { margin-left: 8px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--ink);
}
.theme-toggle {
  background: none;
  border: 2px solid var(--gold);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 140px 0 100px;
}
.hero-bg {
  position: absolute;
  inset: -20px;
  background-size: 340% auto;
  background-position: right center;
  filter: brightness(0.97) saturate(1.05);
  transform: scale(1);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20,14,10,.85) 0%, rgba(20,14,10,.78) 30%, rgba(20,14,10,.4) 65%, rgba(20,14,10,.18) 100%);
  z-index: 1;
}

:root[data-theme="dark"] .hero-bg {
  background-size: cover;
  background-position: center;
  filter: blur(7px) brightness(0.45) saturate(0.9);
  transform: scale(1.08);
}
:root[data-theme="dark"] .hero-overlay {
  background: linear-gradient(180deg, rgba(20,14,10,.35), rgba(20,14,10,.75));
}
.hero-inner { max-width: 720px; position: relative; z-index: 2; }
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  color: #e8c98b;
  font-weight: 600;
  margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 18px;
}
.hero-sub {
  font-size: 1.1rem;
  color: #f1e6d6;
  max-width: 560px;
  margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-size: 0.9rem;
  color: #f1e6d6;
}

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text p { color: var(--ink-soft); }
.about-text h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 18px; }
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.stat { display: flex; flex-direction: column; border-bottom: 1px solid rgba(184,134,59,0.18); padding-bottom: 16px; }
.stat:last-child { border-bottom: none; padding-bottom: 0; }
.stat-num { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold-dark); font-weight: 700; }
.stat-label { font-size: 0.85rem; color: var(--ink-soft); }

.about-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.about-photos img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .3s ease;
}
.about-photos img:hover { transform: translateY(-4px); }
@media (max-width: 640px) {
  .about-photos { grid-template-columns: 1fr; }
}

/* Menu */
.menu-section { background: var(--bg-alt); }
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.tab-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold-dark);
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.tab-btn:hover { background: var(--gold); color: #fff; }

.menu-subheading {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
  text-align: center;
  margin: 48px 0 24px;
  scroll-margin-top: 96px;
}
.menu-subheading:first-of-type { margin-top: 0; }
.menu-subheading::after {
  content: '';
  display: block;
  margin: 14px auto 0;
  width: 90px;
  height: 12px;
  background-image: radial-gradient(circle, var(--gold) 1.3px, transparent 1.4px);
  background-size: 10px 10px;
  background-repeat: repeat-x;
  opacity: 0.55;
}

.menu-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}
.menu-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  flex: 0 1 300px;
  width: 300px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px -14px rgba(36, 26, 18, 0.35);
}
.menu-card img {
  height: 230px;
  width: 100%;
  object-fit: contain;
  background: #fff;
  transition: transform .35s ease;
}
.menu-card:hover img { transform: scale(1.05); }
.menu-card-wide { flex-basis: 100%; max-width: 100%; }
.menu-card-wide img { height: 320px; }
.menu-card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.menu-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
  color: var(--ink);
}
.tag { font-size: 0.7rem; color: var(--accent2); font-weight: 600; }
.menu-desc { font-size: 0.88rem; color: var(--ink-soft); margin: 0; flex: 1; }
.menu-price { font-weight: 700; color: var(--accent2); margin: 0; font-size: 0.95rem; }

/* Gallery carousel */
.gallery-slide {
  flex: 0 0 auto;
  width: 240px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-slide { transition: transform .25s ease; overflow: hidden; }
.gallery-slide:hover { transform: translateY(-4px); }
.gallery-slide:hover img { transform: scale(1.08); }
.gallery-slide img {
  width: 100%;
  height: 260px;
  transition: transform .35s ease;
  object-fit: cover;
}
@media (max-width: 640px) {
  .gallery-slide { width: 200px; }
  .gallery-slide img { height: 220px; }
}

/* Reviews */
.reviews-section { background: var(--bg-alt); }
.reviews-sub {
  text-align: center;
  color: var(--ink-soft);
  margin: -20px auto 36px;
  max-width: 480px;
}

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.review-slide {
  flex: 0 0 auto;
  width: 260px;
  scroll-snap-align: start;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.review-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top;
}
.carousel-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--cream);
  color: var(--gold-dark);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover { background: var(--gold); color: #fff; }

@media (max-width: 640px) {
  .carousel-btn { display: none; }
  .review-slide { width: 220px; }
  .review-slide img { height: 360px; }
}

/* Contact */
.contact-inner h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 18px; }
.contact-line { margin: 6px 0; color: var(--ink-soft); }
.contact-line a:hover { color: var(--gold-dark); }
.contact-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }

@media (max-width: 640px) {
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-actions .btn { width: 100%; justify-content: center; }
}

/* Footer */
.site-footer {
  background: #17130d;
  color: #cbb89a;
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(37, 211, 102, 0.6);
  z-index: 60;
  transition: transform .15s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 30px; height: 30px; color: #fff; }

/* Lightbox */
.review-slide img,
.gallery-slide img {
  cursor: zoom-in;
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 6, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 860px) {
  .about-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .site-header.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 16px 24px 20px;
    gap: 14px;
    box-shadow: var(--shadow);
  }
  .site-header.nav-open .nav-order-btn {
    margin: 6px 0 0;
    justify-content: center;
  }
  .hero { padding: 110px 0 70px; }
}
