/* ==========================================================================
   Park Site Template — shared stylesheet
   Reused across the portfolio's park domains. Swap the --primary/--accent
   tokens and the logo mark per site; structure and components stay the same.
   ========================================================================== */

:root {
  /* Palette — warm Boca sand + palm green + hibiscus accent */
  --bg: #faf8f3;
  --surface: #ffffff;
  --surface-alt: #efe7d8;
  --ink: #1f2e22;
  --ink-muted: #5b6b5e;
  --ink-faint: #8b9a8e;
  --primary: #1f6e4a;
  --primary-dark: #14432c;
  --primary-soft: #e3efe7;
  --accent: #e2672d;
  --accent-soft: #fbe6da;
  --line: #e3dcc9;
  --shadow: 0 1px 2px rgba(31, 46, 34, 0.06), 0 8px 24px rgba(31, 46, 34, 0.07);
  --radius: 10px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12180f;
    --surface: #191f16;
    --surface-alt: #202a1c;
    --ink: #eef1e9;
    --ink-muted: #a7b2a1;
    --ink-faint: #77836f;
    --primary: #4fa87a;
    --primary-dark: #2c6b46;
    --primary-soft: #1c2c22;
    --accent: #f0955f;
    --accent-soft: #33231a;
    --line: #2c3527;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 28px rgba(0, 0, 0, 0.35);
  }
}
:root[data-theme="dark"] {
  --bg: #12180f;
  --surface: #191f16;
  --surface-alt: #202a1c;
  --ink: #eef1e9;
  --ink-muted: #a7b2a1;
  --ink-faint: #77836f;
  --primary: #4fa87a;
  --primary-dark: #2c6b46;
  --primary-soft: #1c2c22;
  --accent: #f0955f;
  --accent-soft: #33231a;
  --line: #2c3527;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 28px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Karla", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
  margin: 0 0 0.6rem;
}

a { color: var(--primary-dark); }
[data-theme="dark"] a, :root:not([data-theme="light"]) a { color: var(--primary); }
[data-theme="dark"] a.btn-accent, :root:not([data-theme="light"]) a.btn-accent,
[data-theme="dark"] a.btn-outline, :root:not([data-theme="light"]) a.btn-outline { color: #fff; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mono, .stat .n, .quickfact .n {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  flex: none;
}

.brand-text {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.15;
}
.brand-text .sub {
  display: block;
  font-family: "Karla", sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
}

.main-nav a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 7px;
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--primary-dark); background: var(--primary-soft); }
.main-nav a.active { color: var(--primary-dark); background: var(--primary-soft); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.7rem 0.8rem; }
  .header-inner { position: relative; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(180deg, rgba(15, 45, 30, 0.031), rgba(11,35,23,0.00)),
    url('../images/hero-entrance.jpg');
  background-size: cover;
  background-position: center 65%;
  background-color: var(--primary-dark);
  color: #fff;
  padding: 4.4rem 0 3.6rem;
}
.hero .eyebrow { color: #cfe8da; text-shadow: 0 1px 8px rgba(0,0,0,0.25); }
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  max-width: 18ch;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero p.lead {
  max-width: 58ch;
  color: #e7f2ec;
  font-size: 1.05rem;
  margin: 0.8rem 0 1.5rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}
.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #cc5620; }
.btn-outline { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.quickfacts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.quickfact .n {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  display: block;
}
.quickfact .label { font-size: 0.8rem; color: #cfe8da; }

/* ---------- Section headings ---------- */
.section {
  padding: 3rem 0;
}
.section-head { max-width: 62ch; margin-bottom: 1.6rem; }
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}
.section-head p { color: var(--ink-muted); }
.section.alt { background: var(--surface-alt); }

/* ---------- Featured area cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.1rem;
}
.area-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.area-card:hover { transform: translateY(-2px); }
.area-card .art {
  height: 140px;
  background: linear-gradient(135deg, var(--primary-soft), var(--surface-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  color: var(--primary-dark);
  overflow: hidden;
}
.area-card .art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.area-card .body { padding: 1rem 1.15rem 1.2rem; flex-grow: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.area-card h3 { font-size: 1.05rem; margin: 0; }
.area-card p { font-size: 0.88rem; color: var(--ink-muted); margin: 0; flex-grow: 1; }
.area-card .go { font-size: 0.82rem; font-weight: 700; color: var(--primary-dark); }

/* ---------- Info panel (hours/location) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
}
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.panel h3 { font-size: 1rem; margin-bottom: 0.8rem; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1rem; font-size: 0.92rem; }
.kv dt { color: var(--ink-muted); }
.kv dd { margin: 0; }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.hours-table td { padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
.hours-table td:first-child { color: var(--ink-muted); width: 45%; }
.hours-table tr:last-child td { border-bottom: none; }

/* ---------- Amenity list ---------- */
.amenity-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0.5rem 1.2rem; }
.amenity-list li { display: flex; gap: 0.5rem; align-items: baseline; font-size: 0.93rem; }
.amenity-list li::before { content: "•"; color: var(--primary); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-item summary { cursor: pointer; font-family: "Outfit", sans-serif; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--primary); font-size: 1.2rem; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--ink-muted); margin: 0.6rem 0 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.82rem; color: var(--ink-faint); margin-bottom: 1rem; }
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Callout ---------- */
.callout {
  background: var(--primary-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
}
.callout p { margin: 0; color: var(--ink); max-width: 48ch; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary-dark);
  color: #dcebe2;
  margin-top: 2rem;
  padding: 2.6rem 0 1.6rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.8rem; }
.site-footer a { color: #cfe3d7; text-decoration: none; font-size: 0.9rem; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-bottom {
  max-width: 1120px;
  margin: 2.2rem auto 0;
  padding: 1.2rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.8rem;
  color: #a8c4b3;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ---------- Photo placeholder ---------- */
.photo-note {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  color: var(--ink-faint);
  font-size: 0.85rem;
  background: var(--surface-alt);
}

/* ---------- Area hero photo ---------- */
.area-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  margin: 1.4rem 0 0;
}
.area-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* ---------- Park map ---------- */
.map-frame {
  max-width: 460px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--surface);
}
.map-frame img {
  width: 100%;
  height: auto;
  display: block;
}
