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

:root {
  --red: #c8102e;
  --red-dark: #8b0a1e;
  --gold: #d4a017;
  --gold-light: #f5d76e;
  --cream: #fdf6e3;
  --cream-dark: #f0e6c8;
  --green: #2d5a27;
  --charcoal: #1a1208;
  --warm-white: #fffdf7;
  --shadow: rgba(26,18,8,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: transparent;
  transition: background 0.4s, backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(253,246,227,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-dark);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--warm-white);
  letter-spacing: 0.04em;
  transition: color 0.4s;
}
nav.scrolled .nav-logo { color: var(--charcoal); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,253,247,0.85);
  transition: color 0.3s;
}
nav.scrolled .nav-links a { color: var(--charcoal); }
.nav-links a:hover { color: var(--gold); }

/* ── HERO ── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('zhaopai.jpg') center/cover no-repeat;
  transform: scale(1.06);
  transition: transform 8s ease-out;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,18,8,0.88) 0%, rgba(26,18,8,0.3) 55%, rgba(26,18,8,0.1) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 60px 72px;
  max-width: 780px;
}
.hero-tag {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  padding: 5px 12px;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.7s 0.3s forwards;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--warm-white);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,253,247,0.78);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}
.hero-cta {
  display: inline-flex; gap: 14px;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}
.btn-primary {
  background: var(--red);
  color: var(--warm-white);
  padding: 14px 32px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--warm-white);
  padding: 13px 28px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255,253,247,0.5);
  transition: border-color 0.25s, transform 0.2s;
}
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); transform: translateY(-2px); }

/* scroll indicator */
.scroll-hint {
  position: absolute; bottom: 28px; right: 60px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: 0; animation: fadeIn 1s 1.4s forwards;
}
.scroll-hint span {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,253,247,0.5);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(255,253,247,0.5), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

/* ── INTRO STRIP ── */
.intro-strip {
  background: var(--red);
  padding: 22px 60px;
  display: flex; align-items: center; gap: 32px;
  overflow: hidden;
}
.strip-item {
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.strip-dot { width: 6px; height: 6px; background: var(--gold-light); border-radius: 50%; }
.strip-item span {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-white);
  opacity: 0.85;
}

/* ── ABOUT ── */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}
.about-img {
  position: relative; overflow: hidden;
}
.about-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}
.about-img:hover img { transform: scale(1.04); }
.about-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(200,16,46,0.15) 0%, transparent 60%);
}
.about-text {
  background: var(--cream);
  padding: 80px 72px;
  display: flex; flex-direction: column; justify-content: center;
}
.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.about-text h2 em { font-style: italic; color: var(--red); }
.about-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #4a3c28;
  margin-bottom: 16px;
  max-width: 420px;
}
.rating-badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px;
  background: var(--charcoal);
  color: var(--warm-white);
  padding: 12px 20px;
  width: fit-content;
}
.rating-stars { color: var(--gold-light); font-size: 0.9rem; letter-spacing: 2px; }
.rating-text { font-family: 'Space Mono', monospace; font-size: 0.7rem; letter-spacing: 0.1em; }

/* ── MENU ── */
#menu {
  background: var(--charcoal);
  padding: 100px 60px;
}
.menu-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(255,253,247,0.1);
  padding-bottom: 32px;
}
.menu-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 900;
  color: var(--warm-white);
  line-height: 1.1;
}
.menu-header h2 em { color: var(--gold-light); font-style: italic; }
.menu-note {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,253,247,0.4);
  text-align: right;
  max-width: 200px;
  line-height: 1.6;
}

.menu-tabs {
  display: flex; gap: 4px; margin-bottom: 44px;
}
.tab {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,253,247,0.45);
  padding: 10px 20px;
  border: 1px solid transparent;
  background: none; cursor: pointer;
  transition: all 0.25s;
}
.tab.active {
  color: var(--gold-light);
  border-color: rgba(212,160,23,0.4);
  background: rgba(212,160,23,0.06);
}
.tab:hover:not(.active) { color: rgba(255,253,247,0.7); border-color: rgba(255,253,247,0.1); }

.menu-panel { display: none; }
.menu-panel.active { display: block; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
}
.menu-item {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 22px 24px;
  background: rgba(255,253,247,0.03);
  border: 1px solid rgba(255,253,247,0.05);
  cursor: default;
  transition: background 0.2s;
  gap: 16px;
}
.menu-item:hover { background: rgba(255,253,247,0.06); }
.item-info { flex: 1; }
.item-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--warm-white);
  margin-bottom: 5px;
  line-height: 1.3;
}
.item-desc {
  font-size: 0.75rem;
  color: rgba(255,253,247,0.38);
  line-height: 1.5;
  font-weight: 300;
}
.item-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
}

/* ── PHOTO MOSAIC ── */
#gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 320px 320px;
  gap: 4px;
}
.gallery-item {
  overflow: hidden;
  position: relative;
  background: var(--cream-dark);
}
.gallery-item:first-child { grid-row: 1 / 3; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 18px 14px;
  background: linear-gradient(transparent, rgba(26,18,8,0.7));
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,253,247,0.65);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* ── INFO SECTION ── */
#info {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.info-map {
  background: var(--cream-dark);
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.info-map iframe {
  width: 100%; height: 100%;
  border: none; filter: sepia(0.2) contrast(0.95);
}
.info-details {
  background: var(--red);
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
  gap: 36px;
}
.info-details h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--warm-white);
  line-height: 1.2;
  margin-bottom: 8px;
}
.info-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,253,247,0.55);
  margin-bottom: 6px;
}
.info-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--warm-white);
  line-height: 1.6;
}
.hours-row {
  display: flex; justify-content: space-between;
  font-size: 0.88rem; color: var(--warm-white);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,253,247,0.12);
}
.hours-row .day { font-weight: 300; opacity: 0.7; }
.hours-row .time { font-weight: 500; }
.delivery-badges {
  display: flex; gap: 10px; margin-top: 8px;
  flex-wrap: wrap;
}
.badge {
  background: rgba(255,253,247,0.12);
  border: 1px solid rgba(255,253,247,0.25);
  color: var(--warm-white);
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
}

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  padding: 48px 60px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,253,247,0.06);
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--warm-white);
  line-height: 1.1;
}
.footer-logo em { color: var(--gold-light); font-style: italic; }
.footer-right {
  text-align: right;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(255,253,247,0.3);
  line-height: 1.8;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero-content { padding: 0 24px 56px; }
  #about { grid-template-columns: 1fr; }
  .about-img { height: 300px; }
  .about-text { padding: 52px 32px; }
  #menu { padding: 72px 24px; }
  .menu-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  #gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  #gallery .gallery-item:first-child { grid-row: auto; grid-column: 1 / 3; height: 280px; }
  #gallery .gallery-item { height: 200px; }
  #info { grid-template-columns: 1fr; }
  .info-map { min-height: 280px; }
  .info-details { padding: 52px 32px; }
  footer { flex-direction: column; gap: 20px; text-align: center; }
  .footer-right { text-align: center; }
  .intro-strip { padding: 18px 24px; }
  .scroll-hint { right: 24px; }
}

/* ── HERO SLIDESHOW ── */
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  opacity: 0;
  transition: opacity 1.2s ease, transform 8s ease-out;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}