/* ===== 设计令牌 ===== */
:root {
  --bg: #1a1210;
  --bg-soft: #241813;
  --surface: #2c1d17;
  --card: #33221b;
  --ink: #f5ece2;
  --ink-soft: #cbb6a4;
  --ink-mute: #9a8271;
  --primary: #b12a1f;      /* 中国红 */
  --primary-deep: #7a1f1a;
  --gold: #d4a24a;         /* 金色 */
  --gold-soft: #e6c584;
  --line: rgba(212, 162, 74, 0.18);
  --radius: 14px;
  --maxw: 1200px;
  --font-serif: 'Noto Serif SC', serif;
  --font-sans: 'Noto Sans SC', sans-serif;
  --font-brush: 'Ma Shan Zheng', cursive;
}

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

html { scroll-behavior: smooth; background: var(--bg); }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.eyebrow {
  font-family: var(--font-serif);
  color: var(--gold);
  letter-spacing: 0.35em;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.3;
  color: var(--ink);
  text-wrap: balance;
}

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 1.5rem;
}

.section-head { max-width: 680px; margin: 0 auto 3.5rem; text-align: center; }
.section-desc { color: var(--ink-soft); margin-top: 1rem; font-size: 1.05rem; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-primary { background: var(--primary); color: #fff5ec; box-shadow: 0 10px 30px -12px rgba(177, 42, 31, 0.8); }
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--gold-soft); border-color: var(--line); }
.btn-ghost:hover { background: rgba(212, 162, 74, 0.1); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ===== 导航 ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding: 1.2rem 0;
}
.navbar.scrolled {
  background: rgba(26, 18, 16, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding: 0.7rem 0;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--primary);
  color: #fff5ec;
  font-family: var(--font-brush);
  font-size: 1.5rem;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--gold-soft);
}
.logo-text { font-family: var(--font-serif); font-weight: 700; font-size: 1.4rem; color: var(--ink); letter-spacing: 0.1em; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--primary);
  color: #fff5ec !important;
  padding: 0.5rem 1.3rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--primary-deep); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--gold-soft); transition: 0.3s; }

/* ===== 英雄区 ===== */
.hero { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,18,16,0.55) 0%, rgba(26,18,16,0.45) 40%, rgba(26,18,16,0.9) 100%); }
.hero-content { position: relative; z-index: 2; padding: 6rem 1.5rem 0; }
.hero-eyebrow { font-family: var(--font-serif); color: var(--gold-soft); letter-spacing: 0.5em; font-size: 0.85rem; margin-bottom: 1.2rem; }
.hero-title {
  font-family: var(--font-brush);
  font-size: clamp(4.5rem, 16vw, 11rem);
  line-height: 1;
  color: var(--ink);
  text-shadow: 0 8px 40px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
}
.hero-sub { font-family: var(--font-serif); font-size: clamp(1.1rem, 2.5vw, 1.5rem); color: var(--ink-soft); margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--ink-mute); font-size: 0.85rem; letter-spacing: 0.2em; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ===== 滚动标语 ===== */
.marquee { background: var(--primary-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 1rem 0; }
.marquee-track { display: flex; gap: 2.5rem; white-space: nowrap; width: max-content; animation: scroll 22s linear infinite; }
.marquee-track span { font-family: var(--font-serif); color: var(--gold-soft); font-size: 1.1rem; letter-spacing: 0.15em; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== 招牌菜品 ===== */
.dish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.dish-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.dish-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px -24px rgba(0,0,0,0.7); }
.dish-img { aspect-ratio: 4/3; overflow: hidden; }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.dish-card:hover .dish-img img { transform: scale(1.08); }
.dish-body { padding: 1.4rem 1.5rem 1.6rem; }
.dish-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.dish-top h3 { font-family: var(--font-serif); font-size: 1.35rem; color: var(--ink); }
.price { font-family: var(--font-serif); color: var(--gold); font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.dish-body p { color: var(--ink-soft); font-size: 0.95rem; margin: 0.6rem 0 1rem; }
.tag { display: inline-block; font-size: 0.78rem; color: var(--gold-soft); border: 1px solid var(--line); padding: 0.25rem 0.8rem; border-radius: 999px; letter-spacing: 0.1em; }

/* ===== 餐厅故事 ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.about-img { position: relative; border-radius: var(--radius); overflow: hidden; }
.about-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.about-badge {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  background: var(--primary);
  color: #fff5ec;
  border-radius: 12px;
  padding: 1rem 1.3rem;
  display: flex; align-items: center; gap: 0.6rem;
  box-shadow: 0 12px 30px -12px rgba(0,0,0,0.7);
  box-shadow: inset 0 0 0 1px var(--gold-soft), 0 12px 30px -12px rgba(0,0,0,0.7);
}
.badge-num { font-family: var(--font-serif); font-size: 2.5rem; font-weight: 900; line-height: 1; }
.badge-label { font-family: var(--font-serif); font-size: 0.85rem; line-height: 1.2; }
.about-text p { color: var(--ink-soft); margin-bottom: 1rem; }
.about-stats { display: flex; gap: 2.5rem; margin-top: 2rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--gold); }
.stat-label { color: var(--ink-mute); font-size: 0.9rem; }

/* ===== 菜单 ===== */
.menu { background: var(--bg-soft); max-width: none; }
.menu > .section-head, .menu > .menu-cols { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.menu-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.menu-cat { font-family: var(--font-serif); color: var(--gold); font-size: 1.4rem; padding-bottom: 0.8rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.menu-list { list-style: none; }
.menu-list li { display: flex; align-items: baseline; padding: 0.7rem 0; }
.m-name { font-family: var(--font-serif); color: var(--ink); font-size: 1.05rem; }
.m-dots { flex: 1; border-bottom: 1px dotted var(--ink-mute); margin: 0 0.6rem; transform: translateY(-4px); opacity: 0.5; }
.m-price { color: var(--gold-soft); font-weight: 600; }

/* ===== 画廊 ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.g-item { overflow: hidden; border-radius: var(--radius); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.g-item:hover img { transform: scale(1.07); }
.g-big { grid-column: span 2; grid-row: span 2; }

/* ===== 预订 ===== */
.reserve { background: var(--bg-soft); max-width: none; }
.reserve-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.reserve-text p { color: var(--ink-soft); }
.reserve-info { list-style: none; margin-top: 2rem; }
.reserve-info li { display: flex; gap: 1.2rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.ri-label { font-family: var(--font-serif); color: var(--gold); min-width: 96px; }
.reserve-info li span:last-child { color: var(--ink); }
.reserve-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.4rem; font-family: var(--font-serif); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.form-msg { margin-top: 1rem; text-align: center; font-family: var(--font-serif); color: var(--gold-soft); min-height: 1.2rem; }

/* ===== 页脚 ===== */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 3rem 1.5rem 2rem; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-name { font-family: var(--font-serif); font-size: 1.3rem; color: var(--ink); font-weight: 700; }
.footer-slogan { color: var(--ink-mute); font-size: 0.9rem; }
.footer-links { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { max-width: var(--maxw); margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line); text-align: center; color: var(--ink-mute); font-size: 0.85rem; }

/* ===== 滚动出现动画 ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .dish-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .reserve-inner { grid-template-columns: 1fr; }
  .about-img { max-width: 480px; }
  .menu-cols { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .g-big { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.8rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -20px 0 50px -20px rgba(0,0,0,0.8);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.2rem; font-family: var(--font-serif); }
  .nav-toggle { display: flex; z-index: 110; }
  .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); }
  .dish-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .about-stats { gap: 1.5rem; }
}
