/* 色票：以達欣版型為基礎，主色由藍灰改為墨綠 + 金色 */
:root {
  --primary: #1f4d3a;
  --primary-dark: #14342a;
  --gold: #c9a14a;
  --gold-dark: #a8842f;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --bg: #ffffff;
  --bg-alt: #f5f2ea;
  --radius: 6px;
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; color: var(--primary); }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.site-nav { display: flex; gap: 32px; }
.site-nav a { font-weight: 500; position: relative; padding: 4px 0; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold); transition: width .3s;
}
.site-nav a:hover { color: var(--primary); }
.site-nav a:hover::after { width: 100%; }
.nav-toggle {
  display: none; background: none; border: 0;
  font-size: 1.6rem; color: var(--primary); cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block; padding: 12px 32px; border-radius: var(--radius);
  font-weight: 600; letter-spacing: .1em; transition: background .3s;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); }

/* Footer */
.site-footer { background: var(--primary-dark); color: rgba(255, 255, 255, .75); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 24px 0; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    max-height: 0; overflow: hidden; transition: max-height .3s;
    box-shadow: 0 8px 12px rgba(0, 0, 0, .08);
  }
  .site-nav.is-open { max-height: 320px; }
  .site-nav a { padding: 14px 16px; border-top: 1px solid #eee; }
  .site-nav a::after { display: none; }
}
