/* ============================================================
   Camp Host Guide — styles.css
   Palette: Forest Slate, Warm Tan, Bark Brown, Cream, Pine Accent
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --forest:   #2C4A35;
  --pine:     #3D6B4F;
  --sage:     #6B9B7A;
  --bark:     #6B4B2A;
  --tan:      #C8A97A;
  --cream:    #FAF6EF;
  --warm-white: #FFFFFF;
  --text:     #2A2118;
  --text-mid: #5A4E3A;
  --text-light:#8A7B6A;
  --border:   #E0D5C5;
  --accent:   #D4700A;

  --font-head: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;

  --max-w: 1100px;
  --content-w: 780px;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(44,74,53,0.10);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--text);
  background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

/* ---- Layout ---- */
.wrapper { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.content-wrap { max-width: var(--content-w); margin: 0 auto; padding: 0 24px; }

/* ---- Header / Nav ---- */
.site-header {
  background: var(--forest);
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.20);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.site-logo {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-logo span.leaf { font-size: 1.3em; }
.site-logo:hover { color: var(--tan); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0.01em;
}
.main-nav a:hover { background: rgba(255,255,255,0.12); color: #fff; }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 7px 16px !important;
  border-radius: 20px !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: #bf6008 !important; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: #fff; margin: 5px 0; border-radius: 2px;
  transition: all 0.2s;
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--forest) 0%, var(--pine) 60%, #4A7A5F 100%);
  color: #fff;
  padding: 80px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.90);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero p {
  font-size: 1.15rem;
  opacity: 0.88;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.18s;
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: #bf6008; border-color: #bf6008; color: #fff; }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-green {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}
.btn-green:hover { background: var(--pine); border-color: var(--pine); color: #fff; }

/* ---- Quick Stats Bar ---- */
.stats-bar {
  background: var(--bark);
  color: #fff;
  padding: 18px 24px;
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 0;
  justify-content: space-around;
  flex-wrap: wrap;
}
.stat-item { text-align: center; padding: 6px 20px; }
.stat-num { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--tan); display: block; }
.stat-label { font-size: 0.80rem; opacity: 0.80; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---- Section Titles ---- */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 10px;
  line-height: 1.25;
}
.section-subtitle {
  color: var(--text-mid);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 560px;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ---- Card Grid ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(44,74,53,0.13); }
.card-icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 { font-family: var(--font-head); font-size: 1.1rem; color: var(--forest); margin-bottom: 8px; }
.card p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 16px; }
.card-link { font-size: 0.88rem; font-weight: 700; color: var(--pine); text-decoration: none; }
.card-link:hover { color: var(--accent); }
.card-link::after { content: ' →'; }

/* ---- Sections ---- */
.section { padding: 64px 0; }
.section-alt { background: var(--warm-white); }
.section-dark { background: var(--forest); color: #fff; }
.section-dark .section-title { color: #fff; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.78); }

/* ---- Article / Page content ---- */
.page-hero {
  background: linear-gradient(135deg, var(--forest), var(--pine));
  color: #fff;
  padding: 54px 24px 48px;
}
.page-hero .breadcrumb { font-size: 0.82rem; opacity: 0.70; margin-bottom: 14px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.70); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; line-height: 1.2; max-width: 680px; }
.page-hero .meta { font-size: 0.85rem; opacity: 0.72; margin-top: 14px; }

.article-body { padding: 52px 0 72px; }
.article-body h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--forest);
  margin: 40px 0 14px;
  padding-top: 8px;
}
.article-body h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--bark);
  margin: 28px 0 10px;
}
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 28px; }
.article-body li { margin-bottom: 6px; }
.article-body strong { color: var(--forest); font-weight: 700; }
.article-body a { color: var(--pine); }

/* ---- Callout Boxes ---- */
.callout {
  border-left: 4px solid var(--pine);
  background: rgba(61,107,79,0.07);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.callout.tip { border-color: var(--accent); background: rgba(212,112,10,0.07); }
.callout.warning { border-color: #C0392B; background: rgba(192,57,43,0.06); }
.callout-head { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; color: var(--pine); }
.callout.tip .callout-head { color: var(--accent); }
.callout.warning .callout-head { color: #C0392B; }

/* ---- FAQ ---- */
.faq-list { margin: 0; padding: 0; list-style: none; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--warm-white);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 48px 18px 20px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  position: relative;
  transition: background 0.15s;
}
.faq-question:hover { background: rgba(44,74,53,0.04); }
.faq-question::after {
  content: '+';
  position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--pine);
  transition: transform 0.2s;
  font-weight: 300;
}
.faq-item.open .faq-question::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer { display: none; padding: 0 20px 18px; color: var(--text-mid); font-size: 0.96rem; }
.faq-item.open .faq-answer { display: block; }

/* ---- Data Tables ---- */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 24px 0; }
.data-table th {
  background: var(--forest);
  color: #fff;
  padding: 11px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.data-table td { padding: 10px 16px; border-bottom: 1px solid var(--border); }
.data-table tr:nth-child(even) td { background: rgba(44,74,53,0.04); }
.data-table tr:hover td { background: rgba(44,74,53,0.08); }
.table-wrap { overflow-x: auto; margin: 20px 0; border-radius: var(--radius); border: 1px solid var(--border); }

/* ---- Tool Panels ---- */
.tool-panel {
  background: var(--warm-white);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  box-shadow: var(--shadow);
  margin: 32px 0;
}
.tool-panel h2 { font-family: var(--font-head); color: var(--forest); font-size: 1.3rem; margin-bottom: 6px; }
.tool-panel .tool-desc { color: var(--text-mid); font-size: 0.93rem; margin-bottom: 24px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.90rem; color: var(--text); margin-bottom: 6px; }
.form-group select,
.form-group input[type="text"],
.form-group input[type="number"] {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s;
}
.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--pine);
  background: var(--warm-white);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.tool-btn {
  background: var(--forest);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s;
  margin-top: 8px;
}
.tool-btn:hover { background: var(--pine); }

.result-box {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 22px;
  display: none;
}
.result-box.visible { display: block; }
.result-box h3 { color: var(--forest); font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 12px; }
.result-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 0.93rem; }
.result-row:last-child { border-bottom: none; }
.result-label { color: var(--text-mid); }
.result-value { font-weight: 700; color: var(--forest); }
.result-highlight { background: rgba(44,74,53,0.08); border-radius: 4px; padding: 12px 16px; margin-top: 14px; }
.result-highlight strong { color: var(--forest); }

/* ---- Download CTA ---- */
.download-box {
  background: linear-gradient(135deg, var(--forest), var(--pine));
  color: #fff;
  border-radius: 10px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 40px 0;
  flex-wrap: wrap;
}
.download-icon { font-size: 3rem; flex-shrink: 0; }
.download-text h3 { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 6px; }
.download-text p { font-size: 0.92rem; opacity: 0.85; margin: 0; }
.download-btn {
  margin-left: auto;
  background: var(--tan);
  color: var(--text);
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  flex-shrink: 0;
  transition: background 0.18s;
}
.download-btn:hover { background: #dab887; color: var(--text); }

/* ---- Checklist ---- */
.checklist { list-style: none; padding: 0; margin: 16px 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.checklist li:last-child { border-bottom: none; }
.checklist .check { color: var(--pine); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

/* ---- Progress / Steps ---- */
.steps { counter-reset: step; padding: 0; list-style: none; margin: 24px 0; }
.step {
  counter-increment: step;
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.step-num {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--forest);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem;
  font-family: var(--font-head);
}
.step-content h3 { font-family: var(--font-head); color: var(--forest); margin-bottom: 6px; font-size: 1.05rem; }
.step-content p { color: var(--text-mid); font-size: 0.93rem; margin: 0; }

/* ---- Tag Badges ---- */
.tag {
  display: inline-block;
  background: rgba(61,107,79,0.10);
  color: var(--pine);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 2px;
}
.tag.orange { background: rgba(212,112,10,0.10); color: var(--accent); }
.tag.brown { background: rgba(107,75,42,0.10); color: var(--bark); }

/* ---- Footer ---- */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.72);
  padding: 52px 0 28px;
  font-size: 0.88rem;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { font-family: var(--font-head); font-size: 1.2rem; color: #fff; font-weight: 700; margin-bottom: 12px; }
.footer-brand p { font-size: 0.87rem; line-height: 1.6; max-width: 260px; }
.footer-col h4 { color: #fff; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.68); text-decoration: none; transition: color 0.15s; }
.footer-col a:hover { color: var(--tan); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-bottom a:hover { color: var(--tan); }

/* ---- Ads placeholder ---- */
.ad-slot {
  background: rgba(0,0,0,0.03);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.82rem;
  margin: 28px 0;
  min-height: 90px;
  display: flex; align-items: center; justify-content: center;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 62px; left: 0; right: 0; background: var(--forest); padding: 16px 24px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .download-box { flex-direction: column; text-align: center; }
  .download-btn { margin-left: 0; }
  .hero { padding: 52px 24px 44px; }
  .stats-inner { gap: 8px; }
  .stat-item { padding: 6px 12px; }
  .table-wrap { font-size: 0.83rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.75rem; }
}
