/* ===== 露營趣 — 共用樣式 ===== */
:root {
  --color-primary: #2f6b4f;       /* 森林綠 */
  --color-primary-dark: #234f3b;
  --color-primary-light: #4f8c6b;
  --color-accent: #e08a3c;        /* 暖橘 (營火) */
  --color-accent-dark: #c3722a;
  --color-bg: #f7f5ef;            /* 米白 */
  --color-surface: #ffffff;
  --color-text: #2b2b28;
  --color-muted: #6b6b63;
  --color-border: #e3ded2;

  --font-base: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(35, 79, 59, .10);
  --shadow-lg: 0 14px 40px rgba(35, 79, 59, .16);
  --container: 1140px;
  --gap: clamp(1rem, 3vw, 2rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- 版面容器 ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.2rem, 5vw, 2.5rem);
}

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tint { background: #eef2ec; }

.section-head { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: clamp(2rem, 5vw, 3rem); }
.eyebrow {
  display: inline-block;
  color: var(--color-accent-dark);
  font-weight: 700;
  letter-spacing: .12em;
  font-size: .85rem;
  text-transform: uppercase;
  margin-bottom: .6rem;
}

h1, h2, h3 { line-height: 1.25; color: var(--color-primary-dark); font-weight: 800; }
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }
p { color: var(--color-text); }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--color-muted); }

/* ---- 按鈕 ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .7em 1.5em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--color-accent); color: #fff; box-shadow: 0 6px 18px rgba(224,138,60,.35); }
.btn--primary:hover { background: var(--color-accent-dark); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.22); }
.btn--outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--outline:hover { background: var(--color-primary); color: #fff; }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,245,239,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .85rem;
}
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 900; font-size: 1.3rem; color: var(--color-primary-dark); }
.brand .logo-mark { font-size: 1.5rem; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); list-style: none; }
.nav-links a { font-weight: 600; color: var(--color-text); padding-block: .3rem; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--color-primary); border-color: var(--color-accent); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--color-primary-dark); }

/* ---- Hero ---- */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(rgba(20,40,30,.55), rgba(20,40,30,.6)), url('../images2/hero-bg.png') center/cover no-repeat;
}
.hero__inner {
  min-height: clamp(440px, 72vh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
  padding-block: clamp(3rem, 8vw, 5rem);
  max-width: 720px;
}
.hero h1 { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.3); }
.hero .lead { color: rgba(255,255,255,.92); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .6rem; }

/* page hero (子頁) */
.page-hero {
  color: #fff;
  text-align: center;
  background: linear-gradient(rgba(35,79,59,.78), rgba(35,79,59,.85)), url('../images2/hero-bg.png') center/cover no-repeat;
}
.page-hero .container { padding-block: clamp(3rem, 8vw, 4.5rem); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 620px; margin-inline: auto; }

/* ---- Cards grid ---- */
.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 4/3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card__title { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.card__loc { color: var(--color-muted); font-size: .9rem; display: flex; align-items: center; gap: .35rem; }
.card__desc { color: var(--color-muted); font-size: .95rem; flex: 1; }

/* 規格小標籤 */
.specs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .2rem; }
.spec {
  display: inline-flex; align-items: center; gap: .3rem;
  background: #eef2ec; color: var(--color-primary-dark);
  border-radius: 999px; padding: .3em .8em; font-size: .82rem; font-weight: 600;
}
.price { color: var(--color-accent-dark); font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.price small { font-weight: 600; color: var(--color-muted); font-size: .7rem; }

/* ---- 特色 feature ---- */
.feature { text-align: center; padding: 1.5rem; }
.feature .ic, .feature__ic { font-size: 2.4rem; display: block; margin-bottom: .6rem; line-height: 1; }
.feature h3 { margin-bottom: .4rem; }
.feature p { color: var(--color-muted); font-size: .95rem; }

/* ---- CTA band ---- */
.cta-band {
  color: #fff; text-align: center;
  background: linear-gradient(rgba(35,79,59,.82), rgba(35,79,59,.88)), url('../images2/cta-bg.png') center/cover no-repeat;
}
.cta-band .container { padding-block: clamp(3rem, 7vw, 4.5rem); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin-inline: auto; margin-bottom: 1.4rem; }

/* ---- 篩選列 ---- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2rem; }
.filter-btn {
  border: 1.5px solid var(--color-border); background: var(--color-surface);
  border-radius: 999px; padding: .5em 1.2em; font-weight: 600; cursor: pointer;
  color: var(--color-text); transition: all .15s ease;
}
.filter-btn:hover { border-color: var(--color-primary-light); }
.filter-btn.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ---- 表單 ---- */
.form { display: grid; gap: 1.1rem; max-width: 560px; margin-inline: auto; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea, .field select {
  font: inherit; padding: .7em .9em; border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm); background: #fff; color: var(--color-text);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--color-primary-light); border-color: transparent; }

/* ---- info block (about) ---- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; text-align: center; }
.stat { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.4rem 1rem; }
.stat .num { font-size: 2rem; font-weight: 900; color: var(--color-primary); }
.stat .label { color: var(--color-muted); font-size: .9rem; }

/* ---- Footer ---- */
.site-footer { background: var(--color-primary-dark); color: rgba(255,255,255,.85); margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; padding-block: 3rem 2rem; }
.footer-grid h4 { color: #fff; margin-bottom: .8rem; font-size: 1.05rem; }
.footer-grid a { color: rgba(255,255,255,.8); display: block; padding: .25rem 0; }
.footer-grid a:hover { color: var(--color-accent); }
.footer-brand .brand { color: #fff; margin-bottom: .6rem; }
.footer-brand p { color: rgba(255,255,255,.7); font-size: .92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); text-align: center; padding-block: 1.2rem; font-size: .85rem; color: rgba(255,255,255,.6); }

/* ---- 通用 ---- */
.text-center { text-align: center; }
.mt { margin-top: 1.5rem; }
main { display: block; }
.page { display: flex; flex-direction: column; min-height: 100vh; }

/* ---- RWD ---- */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--color-bg); border-bottom: 1px solid var(--color-border);
    padding: .5rem 1.2rem 1rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .7rem 0; border-bottom: 1px solid var(--color-border); }
  .nav { position: relative; }
}
