/* ==========================================================================
   港澳健身 / 健康生活模板 · 樣式
   參考 PURE（pure-360.com.hk）的大留白與大圖節奏，配色改用品牌深藍 + 香檳金
   改主題只動 :root 第一層
   ========================================================================== */

:root {
  /* 第一層：主題色 */
  --brand-ink: #0B1220;
  --brand-ink-2: #121B2C;
  --brand-gold: #C9A961;
  --brand-gold-hi: #D8BC7E;
  --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: 112px;
  --shadow-card: 0 24px 60px -34px 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);
  line-height: 1.7;
}

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

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

/* ---------- 1. 頂部細條 ---------- */
.topbar { background: var(--brand-ink); font-size: 13px; }
.lang { display: flex; gap: 6px; }
.lang-btn {
  background: transparent; border: 0; color: rgba(255,255,255,.6);
  padding: 2px 8px; border-radius: var(--radius-pill); font-size: 13px;
}
.lang-btn.active, .lang-btn:hover { color: var(--brand-ink); background: var(--brand-gold); }
.topbar-cta { color: var(--brand-gold); font-weight: 500; letter-spacing: .04em; }
.topbar-cta:hover { color: var(--brand-gold-hi); }

/* ---------- 2. 主導航 ---------- */
.site-nav {
  background: #fff; border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-nav.is-stuck { border-bottom-color: var(--border-default); }
.site-nav .nav-link { color: var(--foreground-primary); font-weight: 500; padding: .55rem 1rem; font-size: 15px; }
.site-nav .nav-link:hover { color: var(--accent-strong); }
.site-nav .navbar-toggler { border: 0; font-size: 24px; }
.site-nav .navbar-toggler:focus { box-shadow: none; }

/* ---------- 3. Hero（全屏大圖） ---------- */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-inner { position: relative; padding: 120px 0; color: var(--foreground-on-dark); max-width: 760px; }
.hero-inner h1 { font-size: clamp(34px, 6vw, 64px); margin-bottom: 20px; }
.hero-lead { font-size: clamp(15px, 1.6vw, 18px); opacity: .82; margin: 0; }

/* ---------- 通用區塊 ---------- */
.section { padding: var(--space-section) 0; }
.section-surface { background: var(--background-secondary); }
.section-dark { background: var(--background-dark); }
.section-head { margin-bottom: 48px; max-width: 720px; }
.section-head.text-center { max-width: 720px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 0; }
.section-lead { color: rgba(255,255,255,.78); margin: 16px 0 0; max-width: 640px; }
.section-lead-dark { color: var(--foreground-muted); margin: 16px 0 0; }
.link-gold { color: var(--accent-strong); font-weight: 500; }
.link-gold:hover { color: var(--brand-gold-hi); }

/* ---------- 4. 六大板塊 ---------- */
.pillar { display: block; color: var(--foreground-primary); height: 100%; }
.pillar img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-card); display: block;
}
.pillar-body { padding: 20px 4px 0; }
.pillar-body h3 { font-size: 22px; margin: 0 0 8px; }
.pillar-body p { color: var(--foreground-muted); font-size: 15px; margin: 0 0 12px; }
.pillar-more { color: var(--accent-strong); font-size: 14px; font-weight: 500; }
.pillar:hover .pillar-more { color: var(--brand-gold-hi); }
.pillar:hover img { opacity: .92; }

/* ---------- 5. 數據條 ---------- */
.stats-band { background: var(--brand-ink); padding: 56px 0; color: #fff; }
.stat-num { display: block; font-size: clamp(28px, 4vw, 44px); font-weight: 700; color: var(--brand-gold); }
.stat-label { font-size: 14px; color: rgba(255,255,255,.7); }

/* ---------- 6. 課堂卡 ---------- */
.class-card {
  height: 100%; background: #fff; border: 1px solid var(--border-default);
  border-radius: var(--radius-card); overflow: hidden;
}
.class-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.class-body { padding: 22px 24px 26px; }
.class-meta { font-size: 13px; color: var(--accent-strong); margin-bottom: 8px; }
.class-body h3 { font-size: 20px; margin: 0 0 6px; }
.class-sub { font-size: 14px; color: var(--foreground-muted); margin-bottom: 18px; }

/* ---------- 7. 導師卡 ---------- */
.trainer-card { text-align: center; }
.trainer-card img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--radius-card); background: var(--surface); margin-bottom: 18px;
}
.trainer-card h3 { font-size: 20px; margin: 0 0 4px; }
.trainer-tag { font-size: 13px; color: var(--accent-strong); margin-bottom: 10px; }
.trainer-note { font-size: 14px; color: var(--foreground-muted); margin: 0; }

/* ---------- 8. 會籍方案 ---------- */
.plan-card {
  position: relative; height: 100%; background: #fff;
  border: 1px solid var(--border-default); border-radius: var(--radius-card);
  padding: 36px 30px; display: flex; flex-direction: column;
}
.plan-card h3 { font-size: 21px; margin: 0 0 12px; }
.plan-price { font-size: 34px; font-weight: 700; color: var(--accent-strong); margin: 0; }
.plan-price small { font-size: 15px; font-weight: 400; color: var(--foreground-muted); }
.plan-note { font-size: 14px; color: var(--foreground-muted); margin: 6px 0 22px; }
.plan-card ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan-card li { position: relative; padding-left: 24px; font-size: 14px; margin-bottom: 10px; color: var(--foreground-muted); }
.plan-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-gold); }
.plan-featured { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }
.plan-featured h3, .plan-featured .plan-price { color: var(--brand-gold); }
.plan-featured .plan-note, .plan-featured li { color: rgba(255,255,255,.72); }
.plan-badge {
  position: absolute; top: -13px; left: 30px;
  background: var(--brand-gold); color: var(--brand-ink);
  font-size: 12px; font-weight: 500; padding: 4px 14px; border-radius: var(--radius-pill);
}

/* ---------- 9. 地點 ---------- */
.location {
  border: 1px solid var(--border-default); border-radius: var(--radius-btn);
  padding: 18px 10px; text-align: center; font-weight: 500; background: #fff;
}
.location:hover { background: var(--brand-ink); color: var(--brand-gold); border-color: var(--brand-ink); }

/* ---------- 按鈕 ---------- */
.btn-gold {
  background: var(--brand-gold); color: var(--brand-ink);
  border: 1px solid var(--brand-gold); border-radius: var(--radius-btn);
  padding: 12px 30px; 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: 12px 30px; font-weight: 500;
}
.btn-outline-gold:hover { background: var(--brand-gold); color: var(--brand-ink); }

/* ---------- 10. 頁腳 ---------- */
.site-footer { background: var(--brand-ink); color: rgba(255,255,255,.72); }
.site-footer h4 { font-size: 13px; color: #fff; margin-bottom: 14px; letter-spacing: .1em; text-transform: uppercase; }
.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: 32px 0 18px; }
.footer-legal { font-size: 12px; color: rgba(255,255,255,.5); margin: 0; }

/* ---------- 響應式 ---------- */
@media (max-width: 991.98px) {
  :root { --space-section: 72px; }
  .hero { min-height: 62vh; }
  .hero-inner { padding: 80px 0; }
}
