@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Source+Sans+3:wght@300;400;600&display=swap');

:root {
  --gold: #3A7D1E;        /* forest green (replaces gold) */
  --gold-light: #6DB842;  /* bright leaf green (replaces gold-light) */
  --dark: #0D1A08;        /* deep forest dark (replaces dark brown) */
  --dark-mid: #142B0C;    /* dark forest green (replaces dark-mid brown) */
  --tan: #EBF5E1;         /* pale sage (replaces tan) */
  --tan-mid: #D0E8B8;     /* light sage (replaces tan-mid) */
  --brown: #2D6012;       /* medium forest green (replaces brown) */
  --text: #142B0C;        /* dark green text (replaces brown text) */
  --text-light: #4A7A30;  /* muted green (replaces brown-light text) */
  --white: #F6FBF2;       /* faint green-white (replaces warm white) */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--white);
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
}

/* ── HEADER ── */
header {
  background: var(--dark);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-badge-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 700;
}

.logo-text span {
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 300;
}

/* ── NAV ── */
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

nav a {
  text-decoration: none;
  color: var(--tan-mid);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

nav a:hover, nav a.active {
  color: var(--gold-light);
  background: rgba(58,125,30,0.12);
}

/* hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tan);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  background: var(--dark-mid);
  background-image:
    radial-gradient(ellipse at 20% 60%, rgba(58,125,30,0.28) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(109,184,66,0.15) 0%, transparent 50%);
  padding: 80px 24px 90px;
  text-align: center;
  border-bottom: 2px solid var(--gold);
}

.hero-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.hero-logo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 50%;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.4));
  margin-top: -8px;
  margin-left: -24px;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
}

.hero-text h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.hero-text p {
  max-width: 480px;
  margin: 0 0 28px;
  color: var(--tan);
  font-size: 1.05rem;
  font-weight: 300;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 4px;
  border: 2px solid var(--gold);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn:hover {
  background: transparent;
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--gold);
  margin-left: 12px;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
}

.hero .tagline {
  font-size: 1rem;
  color: var(--tan-mid);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 40px;
  text-align: center;
}

/* ── SECTIONS ── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.section-rule {
  width: 52px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 32px;
}

/* ── TWO-COL INTRO ── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.intro-grid p { font-weight: 300; margin-bottom: 16px; }

.join-card {
  background: var(--dark);
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 36px 32px;
  color: var(--tan);
}

.join-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.join-card p { font-weight: 300; margin-bottom: 24px; }

/* ── HIGHLIGHT BAR ── */
.highlight-bar {
  background: var(--tan);
  border-top: 2px solid var(--tan-mid);
  border-bottom: 2px solid var(--tan-mid);
}

.highlight-bar .section {
  padding: 48px 24px;
}

.highlight-card {
  background: var(--white);
  border: 1px solid var(--tan-mid);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 28px 28px 28px 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.highlight-card .hc-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 4px;
}

.highlight-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.highlight-card p { font-weight: 300; margin-bottom: 14px; }

/* ── ACTIVITIES GRID ── */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.act-card {
  border: 1px solid var(--tan-mid);
  border-radius: 8px;
  padding: 28px 24px;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.act-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(58,125,30,0.12);
}

.act-card .act-icon { font-size: 2rem; margin-bottom: 14px; }
.act-card h4 { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 8px; }
.act-card p { font-size: 0.93rem; color: var(--text-light); font-weight: 300; }

/* ── SPONSORS ── */
.sponsors {
  background: var(--dark);
  border-top: 2px solid var(--gold);
  padding: 40px 24px;
  text-align: center;
}

.sponsors h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.sponsor-note {
  color: var(--text-light);
  font-size: 0.9rem;
  font-style: italic;
}

.sponsor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 8px;
}

.sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.2s, transform 0.2s;
}

.sponsor-item:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.sponsor-item img {
  max-height: 90px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 3px solid var(--gold);
  color: var(--tan-mid);
  padding: 40px 24px 28px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

footer h4 {
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 14px;
}

footer p, footer a {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--tan-mid);
  text-decoration: none;
  line-height: 2;
}

footer a:hover { color: var(--gold-light); }

footer ul { list-style: none; }
footer ul li a { display: block; }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(58,125,30,0.30);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--dark-mid);
  padding: 52px 24px;
  border-bottom: 2px solid var(--gold);
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-hero .breadcrumb {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-hero .breadcrumb a { color: var(--gold); text-decoration: none; }

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  font-weight: 700;
}

/* ── ABOUT PAGE ── */
.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 56px;
  align-items: start;
}

.about-grid p { font-weight: 300; margin-bottom: 16px; }

.contact-card {
  background: var(--tan);
  border: 1px solid var(--tan-mid);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 32px 28px;
}

.contact-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.95rem;
}

.contact-row dt {
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-row dd {
  color: var(--text);
  font-weight: 300;
}

.contact-row dd a { color: var(--brown); text-decoration: none; }
.contact-row dd a:hover { color: var(--gold); }

.bylaws-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--brown);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed var(--brown);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.bylaws-link:hover { color: var(--gold); border-color: var(--gold); }

/* ── NERHBC PAGE ── */
.dates-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 32px;
}

.dates-table th {
  background: var(--dark);
  color: var(--gold-light);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
}

.dates-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--tan-mid);
  font-weight: 300;
}

.dates-table tr:nth-child(even) td { background: var(--tan); }

/* ── NERHBC INTRO ── */
.nerhbc-intro {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 0;
}

.nerhbc-intro-text {
  flex: 1;
}

.nerhbc-emblem {
  flex-shrink: 0;
  width: 220px;
}

.nerhbc-emblem img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav ul { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--dark); padding: 16px; gap: 4px; border-bottom: 2px solid var(--gold); }
  nav ul.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero-content { flex-direction: column; text-align: center; gap: 28px; }
  .hero-logo { width: 150px; height: 150px; }
  .hero-text p { margin: 0 auto 28px; }

  .intro-grid, .about-grid { grid-template-columns: 1fr; }
  .activities-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .btn-outline { margin-left: 0; margin-top: 10px; display: block; text-align: center; }
  .nerhbc-intro { flex-direction: column; }
  .nerhbc-emblem { width: 180px; margin: 0 auto; }
}

@media (max-width: 500px) {
  .activities-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
