/* ==========================================================================
   港澳餐飲 / 連鎖小館模板 · 樣式
   改主題只動 :root 第一層，下面全部引用變數
   ========================================================================== */

:root {
  /* 第一層：主題色（換品牌就改這裡） */
  --brand-ink: #0B1220;         /* 主深色：頂條、頁腳、深色區 */
  --brand-ink-2: #121B2C;       /* 深色卡片 */
  --brand-gold: #C9A961;        /* 主強調：CTA、價格、標籤 */
  --brand-gold-hi: #D8BC7E;     /* 金色 hover */
  --brand-gold-deep: #A98A45;   /* 淺底上的金字（對比度更佳） */
  --surface: #F5F6F8;           /* 區塊交替底色 */
  --border: #E6E9EE;            /* 邊框、分隔線 */

  /* 第二層：語意 */
  --background-primary: #FFFFFF;
  --background-secondary: var(--surface);
  --background-dark: var(--brand-ink);
  --foreground-primary: var(--brand-ink);
  --foreground-muted: #5F5E5A;
  --foreground-on-dark: #FFFFFF;
  --border-default: var(--border);
  --accent: var(--brand-gold);
  --accent-strong: var(--brand-gold-deep);

  /* 第三層：尺寸 */
  --radius-card: 16px;
  --radius-btn: 8px;
  --radius-pill: 999px;
  --space-section: 96px;        /* 比零售（88）鬆一點，比健身（112）緊一點 */
  --shadow-card: 0 18px 40px -28px rgba(11, 18, 32, .45);
}

body {
  font-family: "PingFang HK", "Noto Sans HK", "Microsoft JhengHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--foreground-primary);
  background: var(--background-primary);
}

h1, h2, h3, h4 { font-weight: 700; letter-spacing: .01em; }
a { text-decoration: none; }

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 8px;
}
.eyebrow-light { color: var(--brand-gold); }

/* ---------- 1. 頂部工具條 ---------- */
.topbar { background: var(--brand-ink); color: rgba(255,255,255,.75); font-size: 13px; }
.topbar-note { letter-spacing: .02em; }
.topbar-links { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-links a { color: rgba(255,255,255,.78); }
.topbar-links a:hover { color: var(--brand-gold); }

/* ---------- 2. 主導航 ---------- */
.site-nav { background: #fff; border-bottom: 1px solid var(--border-default); }
.site-nav .nav-link { color: var(--foreground-primary); font-weight: 500; padding: .5rem .9rem; }
.site-nav .nav-link:hover { color: var(--accent-strong); }
.site-nav .nav-cta {
  background: var(--brand-gold); color: var(--brand-ink);
  border-radius: var(--radius-btn); padding: .45rem 1rem;
}
.site-nav .nav-cta:hover { background: var(--brand-gold-hi); color: var(--brand-ink); }

/* ---------- 3. 首屏 ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--brand-ink);
  padding: 96px 0 88px;
}
.hero-media { position: absolute; inset: 0; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,18,32,.92) 0%, rgba(11,18,32,.72) 45%, rgba(11,18,32,.35) 100%);
}
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { position: relative; color: var(--foreground-on-dark); max-width: 660px; }
.hero-copy h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.22; margin-bottom: 14px; }
.hero-copy .lead { opacity: .85; margin-bottom: 26px; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; color: rgba(255,255,255,.72); }
.hero-meta i { color: var(--brand-gold); margin-right: 6px; }

/* ---------- 通用區塊 ---------- */
.section { padding: var(--space-section) 0; }
.section-surface { background: var(--background-secondary); }
.section-dark { background: var(--background-dark); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 32px;
}
.section-head h2 { font-size: clamp(24px, 3vw, 34px); margin: 0; }
.section-lead { color: rgba(255,255,255,.78); margin-top: 12px; }
.link-gold { color: var(--accent-strong); font-weight: 500; }
.link-gold:hover { color: var(--brand-gold-hi); }

/* ---------- 5. 菜式卡 ---------- */
.product-card {
  position: relative; height: 100%; background: #fff;
  border: 1px solid var(--border-default); border-radius: var(--radius-card);
  overflow: hidden;
}
.product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface); }
.product-body { padding: 16px 18px 20px; }
.product-name { font-size: 16px; margin: 0 0 4px; line-height: 1.4; }
.product-meta { font-size: 13px; color: var(--foreground-muted); margin-bottom: 10px; }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.price { font-size: 20px; font-weight: 700; color: var(--accent-strong); }
.price-was { font-size: 13px; color: var(--foreground-muted); text-decoration: line-through; }
.tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--brand-ink); color: #fff; font-size: 12px;
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.tag-hot { background: var(--brand-gold); color: var(--brand-ink); }
.menu-note { margin-top: 22px; font-size: 13px; color: var(--foreground-muted); }

/* ---------- 6. 時段優惠 ---------- */
.deal-card { border-left: 3px solid var(--brand-gold); }
.deal-time {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; letter-spacing: .04em;
  color: var(--accent-strong); margin-bottom: 10px;
}
.deal-card h3 { font-size: 19px; margin: 0 0 8px; }
.deal-card p { color: var(--foreground-muted); font-size: 14px; margin: 0; }
.deal-price { margin-top: 14px !important; font-size: 18px; font-weight: 700; color: var(--brand-ink); }

/* ---------- 7. 門店環境 ---------- */
.store-card {
  position: relative; overflow: hidden; height: 100%;
  border-radius: var(--radius-card); background: var(--surface);
}
.store-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.store-card-lg { min-height: 380px; }
.store-card:not(.store-card-lg):not(.store-card-wide) { min-height: 180px; }
.store-card-wide { min-height: 260px; }
.store-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 20px; font-size: 14px; color: #fff;
  background: linear-gradient(transparent, rgba(11,18,32,.85));
}

/* ---------- 8. 數字條 ---------- */
.stat-band { background: var(--surface); padding: 56px 0; }
.stat { display: block; }
.stat-num { display: block; font-size: clamp(28px, 4vw, 44px); font-weight: 700; color: var(--brand-ink); }
.stat-label { font-size: 14px; color: var(--foreground-muted); }

/* ---------- 9. 分店 ---------- */
.zone-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.zone-btn {
  background: #fff; border: 1px solid var(--border-default);
  border-radius: var(--radius-pill); padding: 8px 18px;
  font-size: 14px; color: var(--foreground-primary);
}
.zone-btn:hover { border-color: var(--brand-gold); color: var(--accent-strong); }
.zone-btn.is-active { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }

.store-info h3 { font-size: 19px; margin: 0 0 12px; }
.badge-soft {
  background: var(--surface); color: var(--accent-strong);
  font-size: 12px; padding: 4px 12px; border-radius: var(--radius-pill);
  white-space: nowrap;
}
.store-addr { font-size: 14px; color: var(--foreground-muted); margin: 0 0 8px; }
.store-addr i { color: var(--brand-gold); margin-right: 8px; }
.store-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.empty-hint { margin-top: 20px; color: var(--foreground-muted); font-size: 14px; }

/* ---------- 10. 評價 ---------- */
.review-card p { color: var(--foreground-primary); font-size: 15px; line-height: 1.7; }
.review-stars { color: var(--brand-gold); margin-bottom: 12px; }
.review-who { color: var(--foreground-muted) !important; font-size: 13px !important; margin: 12px 0 0 !important; }

/* ---------- 11/13. 深色區 ---------- */
.check-list { list-style: none; padding: 0; margin: 20px 0 0; color: rgba(255,255,255,.85); font-size: 15px; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand-gold); opacity: .9;
}
.check-list-dark li { color: var(--foreground-muted); }
.check-list-dark li::before { background: var(--brand-gold); }

.qr-card {
  display: inline-block; background: #fff; border-radius: var(--radius-card);
  padding: 24px; box-shadow: var(--shadow-card); text-align: center;
}
.qr-note { margin: 14px 0 0; color: var(--brand-ink); font-size: 14px; }
.qr-note small { display: block; margin-top: 4px; color: var(--foreground-muted); }

/* ---------- 12. 訂位表單 ---------- */
.booking-form {
  background: #fff; border: 1px solid var(--border-default);
  border-radius: var(--radius-card); padding: 28px 26px;
  box-shadow: var(--shadow-card);
}
.booking-form .form-label { font-size: 13px; font-weight: 500; color: var(--foreground-primary); }
.booking-form .form-control,
.booking-form .form-select {
  border-color: var(--border-default); border-radius: var(--radius-btn);
  padding: .6rem .8rem;
}
.booking-form .form-control:focus,
.booking-form .form-select:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(201,169,97,.18);
}
.form-hint { font-size: 13px; color: var(--foreground-muted); }
.form-hint.is-ok { color: var(--brand-gold-deep); font-weight: 500; }

/* ---------- 通用卡片 / 按鈕 ---------- */
.info-card {
  height: 100%; background: #fff; border: 1px solid var(--border-default);
  border-radius: var(--radius-card); padding: 24px 24px;
}
.service-card {
  height: 100%; background: #fff; border: 1px solid var(--border-default);
  border-radius: var(--radius-card); padding: 26px 24px;
}

.btn-gold {
  background: var(--brand-gold); color: var(--brand-ink);
  border: 1px solid var(--brand-gold); border-radius: var(--radius-btn);
  padding: 10px 24px; font-weight: 500;
}
.btn-gold:hover { background: var(--brand-gold-hi); border-color: var(--brand-gold-hi); color: var(--brand-ink); }
.btn-outline-gold {
  background: transparent; color: var(--accent-strong);
  border: 1px solid var(--brand-gold); border-radius: var(--radius-btn);
  padding: 10px 24px; font-weight: 500;
}
.btn-outline-gold:hover { background: var(--brand-gold); color: var(--brand-ink); }
.btn-sm { padding: 6px 14px; font-size: 14px; }

/* ---------- 14. 頁腳 ---------- */
.site-footer { background: var(--brand-ink); color: rgba(255,255,255,.72); }
.site-footer h4 { font-size: 14px; color: #fff; margin-bottom: 14px; letter-spacing: .04em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,.7); font-size: 14px; }
.site-footer a:hover { color: var(--brand-gold); }
.footer-logo { filter: brightness(0) invert(1); opacity: .95; }
.footer-note { margin-top: 16px; font-size: 14px; }
.demo-note { margin-top: 8px; font-size: 12px; opacity: .68; max-width: 520px; }
.social a { font-size: 20px; margin-right: 14px; }
.footer-hr { border-color: rgba(255,255,255,.14); margin: 28px 0 18px; }
.footer-legal { font-size: 12px; color: rgba(255,255,255,.5); margin: 0; }

/* ---------- 響應式 ---------- */
@media (max-width: 991.98px) {
  :root { --space-section: 64px; }
  .hero { padding: 72px 0 64px; }
  .hero-media::after { background: rgba(11,18,32,.78); }
  .topbar-note { display: none; }
  .store-card-lg { min-height: 280px; }
}
