/* =====================================================
   QUÁN 38 – Ram, Bánh Mướt, Giò Lắt
  style.css – Light/Dark Premium Vietnamese Restaurant Theme
   ===================================================== */

/* ── Custom Properties ── */
:root {
  --red:       #B22222;
  --red-light: #D42B2B;
  --red-deep:  #8B1A1A;
  --gold:      #F4C542;
  --gold-muted:#C9A42D;
  --black:     #F7F1E8;
  --black-mid: #EFE5D6;
  --black-soft:#E7DBC8;
  --black-card:#FFFFFF;
  --white:     #FFFFFF;
  --off-white: #FDF8F1;
  --text-strong: #1F1A14;
  --text:      #3B3328;
  --text-muted:#766C5F;
  --border:    rgba(192, 143, 16, 0.2);
  --border-light: rgba(0,0,0,0.08);

  --nav-bg: rgba(255,255,255,0.9);
  --mobile-nav-bg: rgba(255,255,255,0.96);
  --hero-overlay-1: rgba(0,0,0,0.25);
  --hero-overlay-2: rgba(0,0,0,0.15);
  --hero-overlay-3: rgba(0,0,0,0.55);
  --hero-overlay-4: rgba(0,0,0,0.85);
  --menu-overlay: rgba(0,0,0,0.55);
  --lightbox-bg: rgba(0,0,0,0.95);
  --lightbox-text: #FFFFFF;
  --lightbox-caption: rgba(255,255,255,0.75);
  --stat-label: rgba(27,22,16,0.7);
  --stat-divider: rgba(192,143,16,0.25);

  --input-bg: rgba(0,0,0,0.03);
  --input-bg-focus: rgba(0,0,0,0.06);
  --input-text: var(--text-strong);
  --input-placeholder: var(--text-muted);
  --input-scheme: light;

  --outline-border: rgba(0,0,0,0.2);
  --cta-text: #FFFFFF;

  --hero-text: #FFFFFF;
  --hero-text-soft: #FDF6EA;
  --hero-text-muted: rgba(255,255,255,0.75);
  --hero-brightness: 0.55;
  --hero-saturate: 1.1;

  --scrollbar-track: var(--black);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Be Vietnam Pro', sans-serif;

  --nav-h:    72px;
  --radius:   4px;
  --radius-lg:12px;
  --shadow:   0 4px 40px rgba(32,24,16,0.18);
  --shadow-gold: 0 0 30px rgba(244,197,66,0.18);

  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s ease;
}

:root[data-theme="dark"] {
  --black:     #111111;
  --black-mid: #1A1A1A;
  --black-soft:#222222;
  --black-card:#1C1C1C;
  --text-strong: #FFFFFF;
  --text:      #D8D0C4;
  --text-muted:#7A7060;
  --border:    rgba(244, 197, 66, 0.15);
  --border-light: rgba(255,255,255,0.07);

  --nav-bg: rgba(17,17,17,0.96);
  --mobile-nav-bg: rgba(17,17,17,0.98);
  --hero-overlay-1: rgba(17,17,17,0.2);
  --hero-overlay-2: rgba(17,17,17,0.1);
  --hero-overlay-3: rgba(17,17,17,0.6);
  --hero-overlay-4: rgba(17,17,17,0.95);
  --menu-overlay: rgba(17,17,17,0.8);
  --lightbox-bg: rgba(0,0,0,0.95);
  --lightbox-text: #FFFFFF;
  --lightbox-caption: rgba(255,255,255,0.75);
  --stat-label: rgba(255,255,255,0.6);
  --stat-divider: rgba(244,197,66,0.15);

  --input-bg: rgba(255,255,255,0.04);
  --input-bg-focus: rgba(255,255,255,0.07);
  --input-text: #FFFFFF;
  --input-placeholder: #7A7060;
  --input-scheme: dark;

  --outline-border: rgba(255,255,255,0.3);
  --cta-text: #FFFFFF;

  --hero-text: #FFFFFF;
  --hero-text-soft: #F5F0E8;
  --hero-text-muted: #7A7060;
  --hero-brightness: 0.45;
  --hero-saturate: 1.1;

  --scrollbar-track: var(--black);

  --shadow:   0 4px 40px rgba(0,0,0,0.5);
  --shadow-gold: 0 0 30px rgba(244,197,66,0.15);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }

ul { list-style: none; }

button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ── */
.container {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
}

/* ── Section Defaults ── */
.section {
  padding-block: clamp(4rem, 10vh, 8rem);
}

/* ── Typography Helpers ── */
.section-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::after {
  content: '';
  flex: 0 0 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
}
.section-header .section-label {
  justify-content: center;
}
.section-header .section-label::after { display: none; }
.section-header .section-subtitle { margin-inline: auto; }

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-container {
  height: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.nav-logo, .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.logo-text {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-strong);
  line-height: 1.4;
}
.logo-text small {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.06em;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Theme Toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-strong);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--black-card);
  transition: var(--transition-fast);
}
.theme-toggle:hover {
  border-color: rgba(244,197,66,0.45);
  box-shadow: 0 6px 20px rgba(244,197,66,0.18);
}
.theme-toggle .theme-icon {
  font-size: 0.85rem;
  line-height: 1;
}
.theme-toggle .theme-icon-moon { display: none; }
.theme-toggle[data-theme="dark"] .theme-icon-sun { display: none; }
.theme-toggle[data-theme="dark"] .theme-icon-moon { display: inline; }
.theme-toggle--mobile {
  width: 100%;
  justify-content: center;
  margin-top: 0.75rem;
}
.nav-link {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text);
  padding: 0.5rem 0.85rem;
  border-radius: 2px;
  position: relative;
  transition: color var(--transition-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px; height: 1px;
  background: var(--gold);
  transition: transform var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
  color: var(--text-strong);
}
.nav-link:hover::after, .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}
.nav-link.nav-cta {
  background: var(--red);
  color: var(--cta-text);
  padding: 0.5rem 1.2rem;
  border-radius: 2px;
  letter-spacing: 0.08em;
}
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover { background: var(--red-light); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: 4px 0;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text-strong);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--mobile-nav-bg);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-inner ul {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  font-weight: 600;
  color: var(--text-strong);
  padding: 0.5rem 2rem;
  transition: color var(--transition-fast), letter-spacing var(--transition-fast);
}
.mobile-link:hover { color: var(--gold); letter-spacing: 0.05em; }

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

.hero-bg {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.hero-img {
  width: 100%; height: 110%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.1);
  filter: brightness(var(--hero-brightness)) saturate(var(--hero-saturate));
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--hero-overlay-1) 0%,
    var(--hero-overlay-2) 40%,
    var(--hero-overlay-3) 75%,
    var(--hero-overlay-4) 100%
  );
}
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  max-width: 780px;
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.2s ease forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--hero-text);
  line-height: 0.9;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: fadeSlideUp 0.9s 0.4s ease forwards;
}
.title-big {
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hero-text-soft);
}
.title-num {
  font-size: clamp(5rem, 18vw, 14rem);
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: var(--gold);
  text-shadow: 0 0 80px rgba(244,197,66,0.3);
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2.5vw, 1.25rem);
  font-style: italic;
  color: var(--hero-text-soft);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeSlideUp 0.9s 0.6s ease forwards;
}

.hero-desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--hero-text-muted);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.9s 0.8s ease forwards;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.9s 1s ease forwards;
}

/* Hero scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeIn 1s 1.5s ease forwards;
}
.hero-scroll-hint span {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hero-text-muted);
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--red);
  color: var(--cta-text);
  box-shadow: 0 4px 20px rgba(178,34,34,0.4);
}
.btn-primary:hover {
  background: var(--red-light);
  box-shadow: 0 6px 30px rgba(178,34,34,0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-strong);
  border: 1px solid var(--outline-border);
}
.hero .btn-outline {
  color: var(--hero-text);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

.btn-small {
  display: inline-flex;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1.2rem;
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(244,197,66,0.4);
  border-radius: 2px;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.btn-small:hover {
  background: var(--gold);
  color: var(--text-strong);
}

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
.about {
  background: var(--black-mid);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '38';
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 30vw;
  font-weight: 900;
  color: rgba(244,197,66,0.03);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.about-img-wrap { position: relative; }
.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.about-img-frame::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-lg) + 8px);
  z-index: -1;
}
.about-img {
  border-radius: var(--radius-lg);
  height: 520px;
  object-position: center;
  filter: brightness(0.85) saturate(1.1);
  box-shadow: var(--shadow);
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--red);
  color: var(--white);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 30px rgba(178,34,34,0.5);
  z-index: 2;
}
.badge-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
}
.badge-text {
  font-family: var(--font-ui);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
}

.about-content {}
.about-text {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}
.feature-icon {
  color: var(--gold);
  font-size: 0.7rem;
}

/* ═══════════════════════════════════════
   MENU
═══════════════════════════════════════ */
.menu {
  background: var(--black);
  position: relative;
}

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

.menu-card {
  background: var(--black-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), var(--shadow-gold);
  border-color: rgba(244,197,66,0.3);
}

.menu-card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.menu-card-img {
  height: 100%;
  transition: transform 0.6s ease;
  filter: brightness(0.75) saturate(1.2);
}
.menu-card:hover .menu-card-img { transform: scale(1.07); }
.menu-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--menu-overlay) 0%, transparent 60%);
}
.menu-card-tag {
  position: absolute;
  top: 1rem; right: 1rem;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  background: var(--red);
  color: var(--white);
  border-radius: 2px;
}

.menu-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}
.menu-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-strong);
}
.menu-card-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}
.menu-price {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.menu-price strong {
  font-size: 1rem;
  color: var(--gold);
}

/* ═══════════════════════════════════════
   GALLERY
═══════════════════════════════════════ */
.gallery {
  background: var(--black-mid);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.7) saturate(1.1);
}
.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.5) saturate(1.3);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(to top, rgba(178,34,34,0.7) 0%, transparent 60%);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cta-text);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--lightbox-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(10px);
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-img-wrap {
  max-width: min(90vw, 800px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 80px rgba(0,0,0,0.8);
}
.lightbox-caption {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1rem;
  color: var(--lightbox-caption);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: var(--lightbox-text);
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: background var(--transition-fast);
}
.lightbox-close { top: 1.5rem; right: 1.5rem; font-size: 1.1rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--red); }

/* ═══════════════════════════════════════
   REVIEWS
═══════════════════════════════════════ */
.reviews {
  background: var(--black);
  overflow: hidden;
}

.reviews-slider-wrap {
  position: relative;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-card {
  flex: 0 0 calc(33.33% - 1rem);
  background: var(--black-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color var(--transition);
}
.review-card:hover { border-color: rgba(244,197,66,0.25); }

.review-stars {
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.review-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  flex: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cta-text);
  flex-shrink: 0;
}
.review-name {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-strong);
}
.review-date {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.reviews-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: background var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  border: none;
}
.reviews-dot.active {
  background: var(--gold);
  transform: scale(1.5);
}

.reviews-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.review-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black-card);
  border: 1px solid var(--border-light);
  color: var(--text-strong);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.review-btn:hover {
  background: var(--red);
  border-color: var(--red);
}

/* ═══════════════════════════════════════
   STATS
═══════════════════════════════════════ */
.stats {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vh, 7rem);
}
.stats-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--red-deep) 0%, var(--black) 50%, var(--black-mid) 100%);
  opacity: 0.9;
}
.stats-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F4C542' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats .container { position: relative; z-index: 1; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 1rem;
  position: relative;
}
.stat-item::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--stat-divider);
}
.stat-item:last-child::after { display: none; }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stat-label);
}

/* ═══════════════════════════════════════
   BOOKING
═══════════════════════════════════════ */
.booking {
  background: var(--black-mid);
}

.booking-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.booking-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}
.booking-hours {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.hours-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.hours-icon { font-size: 1.2rem; margin-top: 2px; }
.hours-title {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.15rem;
}
.hours-time {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
}

/* Form */
.booking-form-wrap {
  background: var(--black-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.required { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--input-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--input-text);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--input-placeholder); font-style: italic; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(244,197,66,0.5);
  background: var(--input-bg-focus);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: var(--red); }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group select option { background: var(--black-card); }
.form-group textarea { resize: vertical; min-height: 80px; }

.form-error {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--red-light);
  min-height: 1rem;
}

/* Booking Success */
.booking-success {
  text-align: center;
  padding: 3rem 1rem;
}
.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 30px rgba(178,34,34,0.4);
}
.booking-success h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text-strong);
  margin-bottom: 0.75rem;
}
.booking-success p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact {
  background: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-card {
  background: var(--black-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.contact-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 0.25rem;
}
.contact-sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.ci-icon { font-size: 1.1rem; margin-top: 2px; }
.contact-item strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.contact-item p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
}
.contact-item a { color: var(--text); }
.contact-item a:hover { color: var(--gold); }

/* Social Links */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  transition: var(--transition-fast);
}
.social-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.social-btn:hover {
  color: var(--gold);
  border-color: rgba(244,197,66,0.4);
  background: rgba(244,197,66,0.05);
}

/* Map */
.map-placeholder {
  height: 400px;
  background: var(--black-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.map-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(244,197,66,0.02) 20px,
    rgba(244,197,66,0.02) 40px
  );
}
.map-pin { font-size: 3rem; }
.map-address {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-strong);
  font-weight: 600;
}
.map-note {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: var(--black-mid);
  border-top: 1px solid var(--border);
}
.footer-top { padding-block: clamp(3rem, 6vh, 5rem); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 4rem);
}

.footer-brand .footer-logo { margin-bottom: 1rem; }
.footer-tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 220px;
}

.footer-nav h4,
.footer-contact h4,
.footer-social h4 {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a,
.footer-contact p,
.footer-contact a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--text-strong); }
.footer-contact p { margin-bottom: 0.4rem; }

.footer-social .social-links { flex-direction: column; }
.footer-social .social-btn { width: 100%; }

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-block: 1.5rem;
  text-align: center;
}
.footer-bottom p {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: var(--cta-text);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(178,34,34,0.5);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--red-light);
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Scroll reveal classes */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ═══════════════════════════════════════
   RESPONSIVE – TABLET (768px – 1199px)
═══════════════════════════════════════ */
@media (max-width: 1199px) {
  .about-grid       { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .menu-grid        { grid-template-columns: repeat(3, 1fr); }
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .gallery-grid     { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .about-grid    { grid-template-columns: 1fr; }
  .about-img-frame { display: none; } /* hide image on small tablets */
  .menu-grid     { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .booking-wrap  { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .review-card   { flex: 0 0 calc(50% - 0.75rem); }
}

/* ═══════════════════════════════════════
   RESPONSIVE – MOBILE (<768px)
═══════════════════════════════════════ */
@media (max-width: 767px) {
  :root { --nav-h: 64px; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-title .title-num { font-size: clamp(5rem, 30vw, 9rem); }

  .menu-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .gallery-item.wide { grid-column: span 2; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .stat-item::after { display: none; }
  .stat-item {
    border-bottom: 1px solid var(--stat-divider);
    border-right: 1px solid var(--stat-divider);
  }
  .stat-item:nth-child(even) { border-right: none; }

  .form-row { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .review-card { flex: 0 0 calc(100% - 0px); }

  .contact-grid { grid-template-columns: 1fr; }
  .map-placeholder { height: 260px; }

  .back-to-top { bottom: 1.5rem; right: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 280px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.tall { grid-row: span 1; }
}

/* ── Input color scheme fixes ── */
input[type="date"],
input[type="time"] {
  color-scheme: var(--input-scheme);
}

/* ── Selection ── */
::selection {
  background: rgba(244,197,66,0.25);
  color: var(--text-strong);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red-light); }
