.outdoors-font {
    font-family: 'Amatic SC', cursive;
    font-size: 3rem;
    letter-spacing: 1px;
    color: #5c2c06; /* deep earthy green */
  }
.small-outdoors-font {
    font-family: 'Amatic SC', cursive;
    font-size: 2rem;
    letter-spacing: 1px;
    color: #2e4600; /* deep earthy green */
}

/* -------- Base + Theme -------- */
:root{
    --bg:#ffffff;
    --fg:#0e1217;
    --muted:#6b7480;
    --card:#f4f6f8;
    --border:#e4e7eb;
    --accent:#66b2ff;
    --accent-weak:#e6f2ff;
}
@media (prefers-color-scheme: dark){
    :root{
        --bg:#0f1115;
        --fg:#e6e6e6;
        --muted:#9aa4b2;
        --card:#161a22;
        --border:#2a2f3a;
        --accent:#66b2ff;
        --accent-weak:#102338;
    }
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
    margin:0;
    font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
    background:var(--bg);
    color:var(--fg);
}

/* -------- Layout -------- */
.container{ width:min(1100px,92%); margin-inline:auto; }
/* Let the header be wider so the full nav row can fit on large screens */
.header .container{ width:min(1400px,96%); }
.header{
    position:sticky; top:0; z-index:10;
    backdrop-filter:saturate(160%) blur(6px);
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    border-bottom:1px solid var(--border);
}
.header-inner{ display:flex; align-items:center; gap:18px; padding:10px 0; }
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; color:inherit; }
.brand img{ height:40px; width:auto; }
.brand strong{ font-size:18px; letter-spacing:.2px; white-space:nowrap; }

/* -------- Nav (mobile-first) -------- */
.nav{
    display:flex; flex-direction:column; gap:6px;
    width:100%;
    background:var(--card);
    padding:10px;
    border:1px solid var(--border);
    border-radius:12px;
}
.nav a{
    text-decoration:none; color:var(--fg);
    padding:8px 10px; border-radius:10px; border:1px solid transparent;
    font-size:14px; line-height:1.2;
}
.nav a:hover{ background:var(--accent-weak); border-color:var(--border); }
.nav a.active{ background:var(--accent-weak); border-color:var(--accent-weak); }

/* Progressive enhancement: collapse by default when JS is enabled */
body.js .nav{ display:none; }
body.js .nav.open{ display:flex; }

/* Mobile overlay dropdown: when open, position over content below header */
body.js .nav.open{
    position:fixed;               /* overlay, not in header flow */
    left:0; right:0;
    top:56px;                     /* JS will adjust this to header bottom */
    z-index:20;
    width:100%;
    margin:0;                     /* ensure no container margins */
    border-radius:0 0 12px 12px;
    box-shadow:0 12px 28px rgba(0,0,0,.14);
    max-height:calc(100dvh - 56px);
    overflow:auto;
}

/* Prevent background scrolling when menu is open */
body.nav-open{ overflow:hidden; }

.nav-toggle{
    display:none; margin-left:auto; cursor:pointer;
    padding:8px 10px; background:var(--card); border:1px solid var(--border); border-radius:10px;
}
.nav-toggle .bar{ display:block; width:22px; height:2px; background:var(--fg); margin:4px 0; transition:.3s; }
body.js .nav-toggle{ display:inline-flex; }
body.js .nav.open + .nav-toggle[aria-expanded="true"] .bar:nth-child(1){ transform:translateY(6px) rotate(45deg); }
body.js .nav.open + .nav-toggle[aria-expanded="true"] .bar:nth-child(2){ opacity:0; }
body.js .nav.open + .nav-toggle[aria-expanded="true"] .bar:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

/* -------- Desktop (≥1400px): center the nav across the top -------- */
@media (min-width:1400px){
    .header-inner{
        flex-wrap:nowrap;
        justify-content:center;            /* center the whole row */
        gap:24px;
    }
    body.js .nav{ display:flex !important; }
    .nav{
        position:static;                   /* reset overlay positioning */
        flex-direction:row; align-items:center; gap:18px;
        background:transparent; border:none; padding:0; border-radius:0; width:auto;
        flex-wrap:nowrap;
        margin:0 auto;                      /* center the nav container */
        justify-content:center;             /* center links inside */
        max-height:none; overflow:visible; box-shadow:none;
    }
    .nav a{ padding:10px 14px; font-size:15px; white-space:nowrap; }
    .brand{ margin-right:18px; flex-shrink:0; }
    .nav-toggle{ display:none !important; }
}

/* Slightly tighter spacing on mid widths (just above the desktop cutoff) */
@media (min-width:1400px) and (max-width:1650px){
    .nav{ gap:10px; }
    .nav a{ padding:8px 10px; font-size:14px; }
}

/* -------- Hero / Cards -------- */
.hero{ text-align:center; padding:48px 0 28px; }
.hero .title{ font-size:clamp(24px,4vw,40px); margin:14px 0 4px; font-weight:800; }
.hero .subtitle{ color:var(--muted); margin:0 0 24px; }

.card{
    background:var(--card); border:1px solid var(--border); border-radius:16px;
    box-shadow:0 6px 20px rgba(0,0,0,.05);
}
.card-body{ padding:18px 20px; }
.mw-600{ max-width:600px; margin-inline:auto; }

/* -------- Footer -------- */
.footer{
    margin-top:40px; padding:14px 0; text-align:center;
    color:var(--muted); border-top:1px solid var(--border);
}

/* -------- Utilities -------- */
.logo{ max-height:200px; }
.mt-24{ margin-top:24px; }

/* --- extras for content pages --- */
.grid.two{ display:grid; gap:16px; grid-template-columns: 1fr; }
@media (min-width:900px){ .grid.two{ grid-template-columns: 1fr 1fr; } }
.stack > * + *{ margin-top:8px; }

.badge{
    display:inline-block; font-weight:700; padding:6px 10px; border-radius:999px;
    background:var(--accent-weak); color:var(--fg); border:1px solid var(--border);
}
.badge.outline{ background:transparent; border-color:var(--border); }

.checklist{ list-style:none; padding-left:0; }
.checklist li{ padding-left:28px; position:relative; margin:10px 0; }
.checklist li::before{
    content:"✓"; position:absolute; left:0; top:0; font-weight:900; color:var(--accent);
}

.steps{ counter-reset: step; }
.steps > li{ counter-increment: step; margin:12px 0; padding-left:32px; position:relative; }
.steps > li::before{
    content: counter(step, decimal-leading-zero);
    position:absolute; left:0; top:0; font-size:12px; font-weight:800;
    background:var(--accent-weak); border:1px solid var(--border);
    color:var(--fg); padding:4px 8px; border-radius:8px;
}

.callout{
    background:var(--card); border:1px solid var(--border); border-radius:14px;
    padding:14px 16px;
}
.note{ color:var(--muted); margin-top:8px; font-size:0.95rem; }
