/* ── Local fonts ──────────────────────────────────────────
   Spectral Italic — headings, hero, pull-quotes, blog titles
   Outfit          — all body, nav, UI text
   No .woff — .woff2 only (97%+ browser support, smaller files)
   ─────────────────────────────────────────────────────── */

/* Spectral Italic 300 */
@font-face {
    font-family: 'Spectral';
    font-style:  italic;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/spectral-latin-300-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                   U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Spectral Italic 400 */
@font-face {
    font-family: 'Spectral';
    font-style:  italic;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/spectral-latin-400-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                   U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Spectral Italic 600 */
@font-face {
    font-family: 'Spectral';
    font-style:  italic;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/spectral-latin-600-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                   U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Spectral Italic 700 */
@font-face {
    font-family: 'Spectral';
    font-style:  italic;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/spectral-latin-700-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                   U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Spectral Normal 400 */
@font-face {
    font-family: 'Spectral';
    font-style:  normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/spectral-latin-400-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                   U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Spectral Normal 700 */
@font-face {
    font-family: 'Spectral';
    font-style:  normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/spectral-latin-700-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                   U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Outfit 300 */
@font-face {
    font-family: 'Outfit';
    font-style:  normal;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/outfit-latin-300.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                   U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Outfit 400 */
@font-face {
    font-family: 'Outfit';
    font-style:  normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/outfit-latin-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                   U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Outfit 600 */
@font-face {
    font-family: 'Outfit';
    font-style:  normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/outfit-latin-600.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                   U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Outfit 700 */
@font-face {
    font-family: 'Outfit';
    font-style:  normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/outfit-latin-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                   U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ── CSS custom properties ────────────────────────────────── */
:root {
    --color-primary:    #4a9e8e;
    --color-primary-dk: #2d5a52;
    --color-accent:     #7bbcb0;
    --color-text:       #1a3d38;
    --color-text-light: #555;
    --color-bg:         #f8faf9;
    --color-white:      #ffffff;
    --color-border:     #e0ebe8;
    --radius:           8px;
    --shadow:           0 2px 12px rgba(45,90,82,.09);
}

/* ── Reset / Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { height: 100%; }

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 36px;   /* matches fixed header height */
    padding-bottom: 0;
    font-family: 'Outfit', sans-serif;
    margin: 0;
    background-color: var(--color-bg);
    background-image: url('/img/park-background.svg');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    background-attachment: fixed;
    color: var(--color-text);
    line-height: 1.7;
}

/* All direct children except header and footer expand to fill space */
body > *:not(.header):not(.footer) { flex: 1 0 auto; }

body { padding-top: 36px; font-family: 'Outfit', sans-serif; } /* reapply after reset */

a { color: var(--color-primary); }
a:hover { color: var(--color-primary-dk); }

/* ── Header ──────────────────────────────────────────────── */
.header {
    background-color: var(--color-white);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 1px 6px rgba(45,90,82,.08);
    box-sizing: border-box;
    height: 36px;
    flex-shrink: 0;
}

/* ── Logo ─────────────────────────────────────────────────── */
.logo-text {
    font-size: 1.45rem;
    font-family: 'Spectral', serif;
    font-style:  italic;
    font-weight: 700;
    color: #1a2e1a;
    letter-spacing: 0.2px;
    cursor: default;
    user-select: none;
}
.logo-text::before {
    content: '🌿 ';
    font-size: 0.9rem;
    font-style: normal;
}

/* ── Desktop nav ─────────────────────────────────────────── */
.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 2px;
    padding-right: 4px;
}
.nav a {
    color: #1a2e1a;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    transition: background .18s, color .18s;
    white-space: nowrap;
}
.nav a:hover { background: #e8f5f2; color: var(--color-primary); }
.nav a.active { color: var(--color-primary); background: #e8f5f2; }

/* Parent site link — subtle separator from main nav */
.nav-parent-link {
    border-right: 1px solid var(--color-border) !important;
    padding-right: 12px !important;
    margin-right: 6px !important;
    color: #1a2e1a !important;
    font-size: 11px !important;
    font-weight: 500 !important;
}
.nav-parent-link:hover { color: var(--color-primary) !important; background: none !important; }

/* ── Nav dropdown ────────────────────────────────────────── */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: #1a2e1a;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    transition: background .18s, color .18s;
    display: flex;
    align-items: center;
    gap: 3px;
}
.nav-dropdown-toggle::after { content: ' ▾'; font-size: 10px; }
.nav-dropdown-toggle:hover, .nav-dropdown-toggle.active {
    background: #e8f5f2; color: var(--color-primary);
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 180px;
    z-index: 200;
    overflow: hidden;
}
.nav-dropdown-menu a {
    display: block;
    padding: 11px 18px;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 500;
    border-radius: 0;
    transition: background .15s;
    text-decoration: none;
}
.nav-dropdown-menu a:hover { background: #f0faf8; color: var(--color-primary); }
.nav-dropdown-menu a.active { color: var(--color-primary); font-weight: 700; }

/* ── Hero section ────────────────────────────────────────── */
.hero-section {
    width: 100%;
    padding: 80px 5% 70px;
    text-align: center;
    color: var(--color-white);
    background-color: var(--color-primary-dk);
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 50, 44, 0.62);
}
.hero-section > * { position: relative; z-index: 1; }
.hero-section h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-family: 'Spectral', serif;
    font-style:  italic;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.2px;
}

/* Hero without background image */
.hero-section--plain {
    background-color: var(--color-primary-dk);
    background-image: none;
}
.hero-section--plain::before { display: none; }

/* ── Content sections ────────────────────────────────────── */
.content-section {
    padding: 56px 5%;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.9rem;
    font-family: 'Spectral', serif;
    font-style:  italic;
    font-weight: 700;
    color: var(--color-primary-dk);
    margin-bottom: 28px;
    padding-left: 16px;
    border-left: 4px solid var(--color-primary);
    letter-spacing: 0.2px;
}

/* ── Cards ───────────────────────────────────────────────── */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(45,90,82,.13); }
.card h3 { font-size: 1rem; font-weight: 800; color: var(--color-primary); margin-bottom: 12px; }
.card p { font-size: 14px; color: var(--color-text-light); line-height: 1.75; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
    flex-shrink: 0;
    background-color: var(--color-primary-dk);
    color: #ffffff;
    text-align: center;
    padding: 0 5%;
    font-size: 11px;
    height: 36px;
    line-height: 36px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.footer a { color: #ffffff; text-decoration: none; }
.footer a:hover { color: #cceee9; }

/* ── Mobile sticky nav ───────────────────────────────────── */
#mobile-nav-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -2px 12px rgba(0,0,0,.08);
    z-index: 999;
    padding: 0;
}
#mobile-nav-bar nav {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
#mobile-nav-bar .nav-item {
    flex: 1;
    min-width: 72px;
    padding: 12px 8px 10px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    border-right: 1px solid #f0f0f0;
    transition: color .15s, background .15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#mobile-nav-bar .nav-item:last-child { border-right: none; }
#mobile-nav-bar .nav-item.active { color: var(--color-primary); background: #f0faf8; }

/* ── Contact form ────────────────────────────────────────── */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}
.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
    margin-top: 18px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    color: var(--color-text);
    background: var(--color-white);
    transition: border .15s;
    outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(74,158,142,.12);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button[type=submit] {
    margin-top: 22px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 13px 32px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
    font-family: inherit;
}
.contact-form button[type=submit]:hover { background: var(--color-primary-dk); }

/* ── Utility ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    body { padding-top: 36px; padding-bottom: 52px; } /* 52px clears mobile nav bar */
    .header { height: 36px; padding: 0 12px; }
    .logo-text { font-size: 0.82rem; }
    .nav { display: none; }
    #mobile-nav-bar { display: block; bottom: 0; }
    .hero-section { padding: 50px 5% 44px; }
    .content-section { padding: 36px 5%; }
    .card-container { grid-template-columns: 1fr; }
}
