/* ===== Base ===== */
:root {
  --bg: #131513;
  --bg-soft: #1a1d1a;
  --bg-card: #20241f;
  --gold: #a3b18a;
  --gold-light: #c5cfb0;
  --text: #e7e9e2;
  --text-dim: #9aa094;
  --line: rgba(163, 177, 138, 0.25);
  --serif: "Noto Serif TC", serif;
  --sans: "Noto Sans TC", sans-serif;
  --en: "Cormorant Garamond", serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 42px;
  font-size: 15px;
  letter-spacing: 0.2em;
  border: 1px solid var(--gold);
  transition: all 0.35s ease;
  cursor: pointer;
}
.btn-gold {
  background: var(--gold);
  color: #141711;
  font-weight: 500;
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline { color: var(--gold-light); background: transparent; }
.btn-outline:hover { background: rgba(163, 177, 138, 0.12); }
.btn-block { width: 100%; margin-top: 8px; }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
  background: rgba(18, 18, 18, 0.95);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}
.nav-inner {
  width: min(1240px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1.3; }
.logo-zh {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--text);
}
.logo-en {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.5em;
  color: var(--gold);
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 15px;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links .nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 8px 24px;
  transition: all 0.3s ease;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--gold); color: #141711; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 1.5px;
  background: var(--text);
  transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(10, 12, 10, 0.55), rgba(19, 21, 19, 0.92)),
    url("https://images.unsplash.com/photo-1496116218417-1a781b1c416c?auto=format&fit=crop&w=1920&q=80") center / cover no-repeat;
  background-color: #161a14;
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero-content { position: relative; z-index: 1; padding: 0 20px; }
.hero-sub {
  font-family: var(--en);
  font-size: 16px;
  letter-spacing: 0.6em;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 60px);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.6;
  margin-bottom: 22px;
}
.hero-desc {
  color: var(--text-dim);
  font-size: 17px;
  letter-spacing: 0.25em;
  margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-en {
  font-family: var(--en);
  font-size: 15px;
  letter-spacing: 0.5em;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: 0.25em;
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 48px; height: 1px;
  background: var(--gold);
}
.section-desc { color: var(--text-dim); margin-top: 16px; font-size: 15px; }

/* ===== About ===== */
.about { background: var(--bg-soft); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.img-frame {
  aspect-ratio: 4 / 5;
  background-color: #232820;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  outline: 1px solid var(--line);
  outline-offset: 12px;
}
.img-about {
  background-image: url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=900&q=80");
}
.about-text h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.9;
  margin-bottom: 24px;
  color: var(--gold-light);
}
.about-text p { color: var(--text-dim); margin-bottom: 18px; font-size: 15px; }
.about-points {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.point { display: flex; flex-direction: column; }
.point-num {
  font-family: var(--en);
  font-size: 38px;
  color: var(--gold);
  line-height: 1.2;
}
.point-label { font-size: 13px; color: var(--text-dim); letter-spacing: 0.15em; }

/* ===== Menu ===== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
.menu-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.menu-card:hover { transform: translateY(-6px); border-color: var(--line); }
.menu-img {
  aspect-ratio: 16 / 9;
  background-color: #232820;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.img-seatower { background-image: url("https://images.unsplash.com/photo-1559339352-11d035aa65de?auto=format&fit=crop&w=900&q=80"); }
.img-mushroom { background-image: url("https://images.unsplash.com/photo-1546069901-ba9599a7e63c?auto=format&fit=crop&w=900&q=80"); }
.img-teahen { background-image: url("https://images.unsplash.com/photo-1432139555190-58524dae6a55?auto=format&fit=crop&w=900&q=80"); }
.img-porkwood { background-image: url("https://images.unsplash.com/photo-1544025162-d76694265947?auto=format&fit=crop&w=900&q=80"); }
.menu-body { padding: 30px 32px 36px; }
.menu-en {
  font-family: var(--en);
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 6px;
}
.menu-body h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.menu-body p { color: var(--text-dim); font-size: 14px; margin-bottom: 18px; }
.menu-price {
  font-size: 15px;
  color: var(--gold-light);
  letter-spacing: 0.1em;
}

/* ===== Ingredients ===== */
.ingredients { background: var(--bg-soft); }
.ing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.ing-card { text-align: center; }
.ing-img {
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: #232820;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  margin: 0 auto 22px;
  width: min(100%, 220px);
  transition: transform 0.4s ease;
}
.ing-card:hover .ing-img { transform: scale(1.04); }
.img-fish { background-image: url("https://images.unsplash.com/photo-1467003909585-2f8a72700288?auto=format&fit=crop&w=600&q=80"); }
.img-fungi { background-image: url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=600&q=80"); }
.img-tea { background-image: url("https://images.unsplash.com/photo-1564890369478-c89ca6d9cde9?auto=format&fit=crop&w=600&q=80"); }
.img-herb { background-image: url("https://images.unsplash.com/photo-1540420773420-3366772f4999?auto=format&fit=crop&w=600&q=80"); }
.ing-card h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.ing-card p { color: var(--text-dim); font-size: 14px; }

/* ===== News ===== */
.news-list { max-width: 860px; margin: 0 auto; }
.news-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}
.news-item:first-child { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.news-item:hover { background: rgba(163, 177, 138, 0.06); }
.news-date {
  font-family: var(--en);
  font-size: 15px;
  color: var(--text-dim);
  flex-shrink: 0;
}
.news-tag {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--gold-light);
  border: 1px solid var(--line);
  padding: 3px 14px;
  letter-spacing: 0.15em;
}
.news-title { font-size: 15px; }

/* ===== Stores ===== */
.stores { background: var(--bg-soft); }
.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.store-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 36px;
  transition: border-color 0.3s ease;
}
.store-card:hover { border-color: var(--line); }
.store-card h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.store-card li {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.store-card li span {
  flex-shrink: 0;
  color: var(--gold);
  letter-spacing: 0.2em;
}

/* ===== Reserve ===== */
.reserve-form { max-width: 760px; margin: 0 auto; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-field { margin-bottom: 24px; display: flex; flex-direction: column; }
.form-field label {
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 10px;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.3s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); }
.form-field select { appearance: none; cursor: pointer; }
.form-field textarea { resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #5f5a52; }
.form-success {
  display: none;
  margin-top: 22px;
  text-align: center;
  color: var(--gold-light);
  border: 1px solid var(--line);
  padding: 14px;
  font-size: 15px;
}
.form-success.show { display: block; }

.reserve-line {
  text-align: center;
  margin-bottom: 48px;
}
.btn-line {
  background: #06c755;
  border-color: #06c755;
  color: #fff;
  font-weight: 500;
}
.btn-line:hover { background: #05b14c; border-color: #05b14c; }
.reserve-line p {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 14px;
}
.reserve-or {
  display: block;
  margin-top: 36px;
  font-size: 14px;
  color: var(--gold-light);
  letter-spacing: 0.2em;
  position: relative;
}
.reserve-or::before,
.reserve-or::after {
  content: "";
  position: absolute;
  top: 50%;
  width: min(18%, 120px);
  height: 1px;
  background: var(--line);
}
.reserve-or::before { left: 12%; }
.reserve-or::after { right: 12%; }

/* ===== Footer ===== */
.footer {
  background: #0c0c0c;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.footer-brand .logo-zh { font-size: 24px; }
.footer-slogan { color: var(--text-dim); font-size: 13px; margin-top: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .footer-social a {
  color: var(--text-dim);
  font-size: 14px;
  transition: color 0.3s ease;
}
.footer-links a:hover, .footer-social a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 24px; }
.footer-copy {
  text-align: center;
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #5f5a52;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RWD ===== */
@media (max-width: 960px) {
  .menu-grid { grid-template-columns: 1fr; }
  .ing-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .store-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .img-frame { aspect-ratio: 16 / 10; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav-toggle { display: flex; z-index: 110; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 12, 0.97);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .news-item { flex-wrap: wrap; gap: 12px; }
  .news-title { width: 100%; }
  .about-points { gap: 28px; }
  .footer-inner { flex-direction: column; }
}
