/* ============================================================
   RRMofA — Deep Forest Design System
   Recreation Resource Management of America
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@400;500;600&display=swap');

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

:root {
  --forest-900: #0f1c0f;
  --forest-800: #1a2e1a;
  --forest-700: #243e24;
  --forest-600: #2d4a2d;
  --forest-500: #3d6b3d;
  --forest-400: #4a8c4a;
  --green-bright: #4caf50;
  --green-light: #7ecb7e;
  --green-pale:  #e8f5e8;
  --amber:       #d4860a;
  --amber-pale:  #fef3dc;
  --blue-dark:   #1a3a5c;
  --blue-mid:    #2e6b9e;
  --text-primary:   #1a1a1a;
  --text-secondary: #555;
  --text-muted:     #888;
  --border:         rgba(0,0,0,0.08);
  --bg-page:        #f6f7f4;
  --bg-card:        #ffffff;
  --bg-section:     #f0f2ed;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --max-width: 1120px;
  --nav-height: 64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest-500); text-decoration: none; }
a:hover { color: var(--green-bright); }

/* ── Layout Helpers ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 72px 0; }
.section--alt { background: var(--bg-section); }
.section--dark {
  background: var(--forest-800);
  color: #fff;
}
.section--darker { background: var(--forest-900); }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 12px;
  display: block;
}
.section-label--dark { color: var(--green-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-title--dark { color: #f0f7f0; }

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}
.section-sub--dark { color: #b8d4b8; }

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--forest-800);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 22px;
  color: #f0f7f0;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  margin-right: 40px;
}
.nav__logo span { color: var(--green-light); }

.nav__links {
  display: flex;
  gap: 8px;
  list-style: none;
  flex: 1;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: #b8d4b8;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.nav__links a:hover,
.nav__links a.active {
  color: #f0f7f0;
  background: rgba(255,255,255,0.08);
}

.nav__cta {
  background: var(--green-bright);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}
.nav__cta:hover {
  background: #43a047;
  transform: translateY(-1px);
  color: #fff;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(150deg, var(--forest-900) 0%, var(--forest-700) 50%, var(--forest-500) 100%);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 80%, rgba(76,175,80,0.12) 0%, transparent 50%),
    radial-gradient(circle at 20% 30%, rgba(30,60,30,0.4) 0%, transparent 50%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 20px;
  display: block;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.1;
  color: #f0f7f0;
  margin-bottom: 24px;
  max-width: 640px;
}
.hero__title em {
  color: var(--green-light);
  font-style: normal;
}

.hero__sub {
  font-size: 18px;
  color: #b8d4b8;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.hero__stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  color: #f0f7f0;
  line-height: 1;
}
.hero__stat-label {
  font-size: 12px;
  color: var(--green-light);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.15s, background 0.15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--green-bright);
  color: #fff;
  box-shadow: 0 4px 16px rgba(76,175,80,0.35);
}
.btn--primary:hover {
  background: #43a047;
  color: #fff;
  box-shadow: 0 6px 24px rgba(76,175,80,0.45);
}

.btn--outline {
  background: transparent;
  color: #b8d4b8;
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.06);
  color: #f0f7f0;
  border-color: rgba(255,255,255,0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--forest-500);
  border: 1.5px solid var(--forest-400);
}
.btn--ghost:hover {
  background: var(--green-pale);
  color: var(--forest-700);
}

.btn--sm {
  padding: 9px 20px;
  font-size: 13px;
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card__img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}
.card__img--pine    { background: linear-gradient(135deg, #2d4a2d, #3d6b3d); }
.card__img--lake    { background: linear-gradient(135deg, #1a3a5c, #2e6b9e); }
.card__img--mesa    { background: linear-gradient(135deg, #5c3a1a, #9e6b2e); }
.card__img--snow    { background: linear-gradient(135deg, #2a4a6a, #4a7aaa); }
.card__img--meadow  { background: linear-gradient(135deg, #2d4a1a, #5a8a3a); }
.card__img--canyon  { background: linear-gradient(135deg, #6a3a1a, #aa6a3a); }
.card__img--forest  { background: linear-gradient(135deg, #1a3a1a, #3a6a3a); }
.card__img--mountain{ background: linear-gradient(135deg, #2a3a4a, #4a6a8a); }

.card__body { padding: 20px 24px 24px; }

.card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.card__loc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* ── Tags ── */
.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  background: var(--green-pale);
  color: #2d6b2d;
  letter-spacing: 0.02em;
}
.tag--amber {
  background: var(--amber-pale);
  color: #7a4a00;
}
.tag--blue {
  background: #e8f1fb;
  color: #1a3a6a;
}

/* ── State Cards ── */
.state-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 900px) { .state-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .state-grid { grid-template-columns: repeat(2, 1fr); } }

.state-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  text-decoration: none;
  display: block;
}
.state-card:hover {
  border-color: var(--green-bright);
  box-shadow: 0 4px 16px rgba(76,175,80,0.15);
  transform: translateY(-2px);
}

.state-card__icon { font-size: 28px; margin-bottom: 10px; }
.state-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.state-card__count {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Grid Layouts ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }

/* ── Feature Cards ── */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}
.feature-card__icon--green  { background: var(--green-pale); }
.feature-card__icon--amber  { background: var(--amber-pale); }
.feature-card__icon--blue   { background: #e8f1fb; }

.feature-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.feature-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Banner CTA ── */
.banner-cta {
  background: var(--forest-800);
  padding: 64px 0;
}
.banner-cta__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
@media (max-width: 700px) {
  .banner-cta__inner { flex-direction: column; text-align: center; }
}

.banner-cta__title {
  font-family: var(--font-display);
  font-size: 28px;
  color: #f0f7f0;
  margin-bottom: 8px;
}
.banner-cta__sub {
  font-size: 15px;
  color: #b8d4b8;
  line-height: 1.6;
  max-width: 520px;
}

/* ── Alert Bar ── */
.alert-bar {
  background: linear-gradient(90deg, #d4380a, #e05520);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.alert-bar__icon { font-size: 18px; }
.alert-bar__text {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.alert-bar a {
  color: #ffe0c0;
  text-decoration: underline;
}
.alert-bar a:hover { color: #fff; }

/* ── Page Header ── */
.page-header {
  background: linear-gradient(140deg, var(--forest-900) 0%, var(--forest-700) 100%);
  padding: 64px 0 56px;
}
.page-header__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 14px;
  display: block;
}
.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  color: #f0f7f0;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-header__sub {
  font-size: 17px;
  color: #b8d4b8;
  max-width: 580px;
  line-height: 1.7;
}

/* ── Prose Content ── */
.prose { max-width: 720px; }
.prose h2 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--text-primary);
  margin: 40px 0 16px;
}
.prose h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 28px 0 10px;
}
.prose p { margin-bottom: 16px; color: var(--text-secondary); }
.prose ul, .prose ol {
  margin: 12px 0 16px 20px;
  color: var(--text-secondary);
}
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text-primary); font-weight: 600; }
.prose a { color: var(--forest-500); font-weight: 500; }

/* ── FAQ Accordion ── */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item__q {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  user-select: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--green-bright);
  flex-shrink: 0;
  transition: transform 0.2s;
}
details[open] .faq-item__q::after { content: '−'; }

.faq-item__a {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ── Employment Table ── */
.jobs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.jobs-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
}
.jobs-table td {
  padding: 14px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.jobs-table tr:last-child td { border-bottom: none; }
.jobs-table .status-open {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #2d6b2d;
  background: var(--green-pale);
  padding: 4px 10px;
  border-radius: 10px;
}
.jobs-table .status-limited {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #7a4a00;
  background: var(--amber-pale);
  padding: 4px 10px;
  border-radius: 10px;
}

/* ── Info Box ── */
.info-box {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green-bright);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.info-box--amber {
  border-left-color: var(--amber);
  background: var(--amber-pale);
}
.info-box--fire {
  background: #fff5f0;
  border-left-color: #d4380a;
}

/* ── Contact Card ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-detail__icon {
  width: 40px;
  height: 40px;
  background: var(--green-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-detail__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-detail__value {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

/* ── District Sidebar Layout ── */
.district-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 800px) { .district-layout { grid-template-columns: 1fr; } }

.sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}
.sidebar__title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.sidebar__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar__links a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background 0.12s, color 0.12s;
}
.sidebar__links a:hover,
.sidebar__links a.active {
  background: var(--green-pale);
  color: var(--forest-700);
}

/* ── Recreation Links ── */
.rec-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 600px) { .rec-links-grid { grid-template-columns: 1fr; } }

.rec-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.rec-link:hover {
  border-color: var(--green-bright);
  box-shadow: 0 4px 16px rgba(76,175,80,0.12);
}
.rec-link__icon { font-size: 20px; flex-shrink: 0; }
.rec-link__text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

/* ── Footer ── */
.footer {
  background: var(--forest-900);
  padding: 64px 0 32px;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand-logo {
  font-family: var(--font-display);
  font-size: 24px;
  color: #f0f7f0;
  margin-bottom: 12px;
}
.footer__brand-logo span { color: var(--green-light); }

.footer__brand-desc {
  font-size: 13px;
  color: #6a8a6a;
  line-height: 1.65;
  max-width: 260px;
}

.footer__col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 13px;
  color: #6a8a6a;
  text-decoration: none;
  transition: color 0.12s;
}
.footer__links a:hover { color: #b8d4b8; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy {
  font-size: 12px;
  color: #445544;
}
.footer__nfra {
  font-size: 12px;
  color: #556655;
}
.footer__nfra a { color: var(--green-light); opacity: 0.7; }
.footer__nfra a:hover { opacity: 1; }

/* ── Responsive Nav ── */
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #b8d4b8;
  margin: 5px 0;
  transition: 0.2s;
}

@media (max-width: 860px) {
  .nav__hamburger { display: block; }
  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--forest-900);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 16px; border-radius: var(--radius-sm); }
  .nav__cta { margin-left: auto; }
}

/* ── Utility ── */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-16 { gap: 16px; }
