/* ============================================================
   Spring Hill Civic League — Main Stylesheet
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Open+Sans:wght@400;500;600&display=swap');

/* --- Variables --- */
:root {
  /* Blue family, keyed to the brand blue in the header (--shcl-blue).
     The variable names below are historical — the site used to be green.
     Warm accents (--amber / --gold / --orange) are kept deliberately:
     orange is the complement of this blue and matches the SHCL-5.3 mockup. */
  --forest:      #0b3252;  /* darkest — headings, footer, dark sections */
  --green:       #125687;  /* brand blue — links, primary accents */
  --sage:        #2a6f9e;  /* mid blue — borders, chips, small labels */
  --leaf:        #6ba3cc;  /* light blue — soft accents */
  --amber:       #a87828;
  --gold:        #c8a040;
  --cream:       #f5f1e6;
  --tan:         #e8dfc8;
  --stone:       #c8baa0;
  --bark:        #6b4e28;
  --sky:         #8aa6c2;
  --sky-dark:    #708ca8;
  --shcl-blue:   #125687;
  --shcl-blue-d: #0d4269;
  --orange:      #ff7a14;
  --orange-dark: #d8590a;
  --text:        #1a1510;
  --text-mid:    #4a3e28;
  --text-light:  #7a6e58;
  --border:      #d4c8a8;
  --white:       #ffffff;
  --shadow-sm:   0 1px 4px rgba(26,21,16,.12);
  --shadow:      0 2px 12px rgba(26,21,16,.14);
  --shadow-lg:   0 6px 28px rgba(26,21,16,.18);
  --radius:      6px;
  --radius-lg:   12px;
  --font-serif:  'Lora', Georgia, serif;
  --font-sans:   'Open Sans', system-ui, sans-serif;
  --ease:        0.2s ease;
  --max:         1100px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
ul { list-style: none; }
address { font-style: normal; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  line-height: 1.3;
  color: var(--forest);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--green); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--amber); }
strong { font-weight: 600; }

/* --- Layout --- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section-alt { background: var(--tan); }
.section-dark { background: var(--forest); color: var(--cream); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--gold); }

.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { margin-bottom: .5rem; }
.section-header p { color: var(--text-mid); font-size: 1.05rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: .7rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
  line-height: 1.4;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--orange);
}
.btn-secondary:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

.btn-amber {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}
.btn-amber:hover { background: #8a6020; border-color: #8a6020; color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover { background: var(--green); color: var(--white); }

.btn-sm { padding: .45rem 1rem; font-size: .88rem; }
.btn-lg { padding: .9rem 2.2rem; font-size: 1.05rem; }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: box-shadow var(--ease), transform var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-mid); font-size: .95rem; }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  background: var(--shcl-blue);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 68px;
}

.site-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.logo-img {
  height: 42px;
  width: auto;
  display: block;
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: .25rem .4rem;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: .95rem;
  line-height: 1.25;
  color: var(--white);
}
.logo-text em { color: var(--gold); font-style: normal; font-size: .85rem; }

/* Nav */
.main-nav { display: flex; align-items: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-list > li { position: relative; }

.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .5rem .9rem;
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .01em;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
  border-radius: var(--radius);
  transition: background var(--ease), color var(--ease), transform var(--ease);
  white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > li > a.active {
  background: rgba(255,255,255,.22);
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.nav-list > li > a.active { background: var(--orange); color: #fff; }

.caret { font-size: .7rem; transition: transform var(--ease); }

/* Dropdown */
.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 6px;
  background: transparent;
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--ease), transform var(--ease);
  z-index: 300;
}
.has-dropdown .dropdown::before {
  content: '';
  display: block;
  position: absolute;
  inset: 6px 0 0 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: -1;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.has-dropdown:hover .caret { transform: rotate(180deg); }

.dropdown li a {
  display: block;
  padding: .6rem 1.1rem;
  color: var(--text-mid);
  font-size: .9rem;
  transition: background var(--ease), color var(--ease);
}
.dropdown li a:hover { background: var(--cream); color: var(--green); }
.dropdown li:first-child a { border-radius: var(--radius) var(--radius) 0 0; }
.dropdown li:last-child a  { border-radius: 0 0 var(--radius) var(--radius); }

/* Donate CTA in nav */
.nav-donate > a {
  background: var(--amber) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}
.nav-donate > a:hover { background: #8a6020 !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO (Home page)
   ============================================================ */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: stretch;
  background: var(--green);
  overflow: hidden;
}
/* .hero is a flex parent, so its .container must be told to fill the row —
   otherwise it shrinks to fit its contents and `margin: 0 auto` centers it. */
.hero > .container { width: 100%; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/JamesPhotos/PXL_20251104_223401099.jpg');
  background-size: cover;
  /* anchored near the top so the logo sits on open sky, but pulled down
     enough to bring the skyline and city lights into frame */
  background-position: center 16%;
  filter: brightness(1.3) saturate(1.4) contrast(1.05);
  z-index: 0;
}
.hero-hills { display: none; }
/* Soft scrim over the top of the sky — keeps the white logo lettering and
   headline legible against bright cloud, without touching the logo itself. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(6, 28, 48, .45) 0%,
    rgba(6, 28, 48, .22) 40%,
    rgba(6, 28, 48, 0) 68%);
  z-index: 1;
  pointer-events: none;
}
.hero > .container {
  display: flex;
  align-items: stretch;
  position: relative;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2.25rem 0 3rem;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 3rem;
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 620px;
  margin-top: 3.5rem;   /* sits lower than the logo, not level with it */
}
.hero-logo-box {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (max-width: 820px) {
  .hero-content { flex-direction: column; align-items: flex-start; padding: 2rem 0 3rem; gap: 1.5rem; }
  .hero-text { margin-top: 0; }   /* already stacked below the logo */
  .hero-tagline { font-size: 1.3rem; }
}
.hero-tagline {
  margin: 1.1rem 0 0;
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--white);
  /* stretch to the logo's width so the text centers under the logo,
     not under its own shrink-wrapped box */
  align-self: stretch;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0,0,0,.85), 0 1px 18px rgba(0,0,0,.6);
  letter-spacing: .015em;
}
.hero-logo {
  height: 240px;
  width: auto;
  display: block;
}
@media (max-width: 820px) {
  .hero-logo { height: 160px; }
}
.hero-eyebrow {
  display: inline-block;
  background: var(--gold);
  color: var(--forest);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .8rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.hero h1 { color: var(--white); margin-bottom: 0; text-shadow: 0 2px 10px rgba(0,0,0,.65), 0 1px 3px rgba(0,0,0,.5); }
.hero .hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Stats Bar --- */
.stats-bar {
  background: var(--amber);
  color: var(--white);
  padding: 1.25rem 0;
}
.stats-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}
.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}
.stat-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; opacity: .9; }

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--forest) 0%, var(--green) 100%);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.page-header h1 { color: var(--white); margin-bottom: .35rem; position: relative; z-index: 2; }
.page-header .breadcrumb { color: rgba(255,255,255,.85); font-size: .88rem; position: relative; z-index: 2; }
.page-header .breadcrumb a { color: var(--gold); }
.page-header .breadcrumb a:hover { color: var(--white); }
.page-header .container { position: relative; z-index: 2; }

/* Photo variant — applied when an inline background-image is set */
.page-header.has-photo {
  background-size: cover;
  background-position: center;
  padding: 6rem 0 5rem;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}
.page-header.has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(11,50,82,.55) 70%, rgba(0,0,0,.65) 100%);
  z-index: 1;
}
.page-header.has-photo h1 { text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.page-header.has-photo .breadcrumb { text-shadow: 0 1px 6px rgba(0,0,0,.7); }

/* In-content photo block */
.content-photo {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

/* ============================================================
   HOME — EVENTS SECTION
   ============================================================ */
.events-list { display: flex; flex-direction: column; gap: 1rem; }

/* --- Featured "next event" card (homepage) --- */
.event-featured {
  background: var(--shcl-blue);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.ef-flag {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .25rem .6rem;
  border-radius: 3px;
  margin-bottom: .85rem;
}
.ef-when {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: .15rem;
}
.event-featured .ef-title {
  color: var(--white);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  margin-bottom: .5rem;
}
.ef-desc { color: rgba(255,255,255,.9); font-size: .95rem; margin-bottom: .6rem; }
.ef-meta { font-size: .87rem; color: rgba(255,255,255,.75); }

/* --- Compact upcoming list (homepage) --- */
.events-compact {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.event-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: .7rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
.event-row:last-child { border-bottom: none; }
.event-row:nth-child(odd) { background: rgba(18, 86, 135, .035); }

.er-when {
  flex: 0 0 4.5rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--shcl-blue);
  white-space: nowrap;
}
.er-when .er-day {
  font-size: 1.25rem;
  letter-spacing: 0;
  margin-left: .3rem;
}
.er-when-text { font-size: .74rem; opacity: .75; }

.er-body {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .15rem .75rem;
  min-width: 0;
}
.er-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1rem;
  color: var(--forest);
  line-height: 1.35;
}
.er-meta { font-size: .82rem; color: var(--text-light); }

@media (max-width: 480px) {
  .event-row { padding: .65rem .85rem; gap: .75rem; }
  .er-when { flex-basis: 3.9rem; }
  .er-body { flex-direction: column; gap: .1rem; }
}

.event-item {
  display: flex;
  gap: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow var(--ease);
}
.event-item:hover { box-shadow: var(--shadow); }

.event-date {
  flex-shrink: 0;
  width: 58px;
  text-align: center;
  background: var(--forest);
  border-radius: var(--radius);
  padding: .5rem .25rem;
  color: var(--white);
}
.event-date .month { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.event-date .day { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700; line-height: 1; }

.event-info h4 { margin-bottom: .25rem; color: var(--forest); }
.event-info p { color: var(--text-mid); font-size: .92rem; margin: 0; }
.event-meta { font-size: .82rem; color: var(--text-light); margin-top: .2rem; }

/* ============================================================
   ARCHIVE LISTS (newsletter, minutes, development)
   ============================================================ */
.archive-year { margin-bottom: 2.5rem; }
.archive-year h3 {
  color: var(--forest);
  font-size: 1.2rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--tan);
  margin-bottom: 1rem;
}
.archive-items { display: flex; flex-direction: column; gap: .5rem; }
.archive-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-mid);
  font-size: .95rem;
  transition: background var(--ease), border-color var(--ease);
}
.archive-link:hover {
  background: var(--cream);
  border-color: var(--sage);
  color: var(--green);
}
.archive-link .file-icon { font-size: 1.1rem; flex-shrink: 0; }
.archive-link .file-date { margin-left: auto; font-size: .82rem; color: var(--text-light); }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: .4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease);
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(42,111,158,.18);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-card h3 { margin-bottom: 1.25rem; }

/* ============================================================
   MEMBERSHIP / DONATE
   ============================================================ */
.paypal-box {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.paypal-box p { color: var(--text-mid); margin-bottom: 1.25rem; }

.tier-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.tier-card:hover { border-color: var(--sage); box-shadow: var(--shadow); }
.tier-card.featured { border-color: var(--amber); }
.tier-price {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
  margin: .5rem 0;
}
.tier-price span { font-size: 1rem; font-weight: 400; color: var(--text-light); }

/* ============================================================
   CALENDAR PAGE
   ============================================================ */
.calendar-embed {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.calendar-embed iframe { display: block; width: 100%; border: none; }

/* ============================================================
   BOARD PAGE
   ============================================================ */
.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.board-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.board-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--tan);
  margin: 0 auto .75rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--forest);
  font-weight: 700;
}
.board-card h4 { margin-bottom: .2rem; }
.board-card .board-title { color: var(--sage); font-size: .85rem; font-weight: 600; }

/* ============================================================
   HISTORY PAGE
   ============================================================ */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: .5rem; top: 0; bottom: 0;
  width: 2px;
  background: var(--tan);
}
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-dot {
  position: absolute;
  left: -1.75rem; top: .35rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--amber);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--amber);
}
.timeline-year {
  font-family: var(--font-serif);
  font-size: .8rem;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .2rem;
}
.timeline-item h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.timeline-item p { color: var(--text-mid); font-size: .95rem; margin: 0; }

/* ============================================================
   BYLAWS PAGE
   ============================================================ */
.bylaws-section { margin-bottom: 2.5rem; }
.bylaws-section h3 {
  color: var(--forest);
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--tan);
  margin-bottom: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--forest);
  color: rgba(255,255,255,.8);
  padding: 3rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-logo-img { height: 56px; width: auto; margin-bottom: .75rem; background: var(--white); border-radius: var(--radius); padding: .3rem .5rem; }
.footer-brand .logo-text { color: var(--white); font-size: 1.05rem; margin-bottom: .75rem; display: block; }
.footer-brand .logo-text em { color: var(--gold); font-size: .9rem; }
.footer-brand p { font-size: .9rem; line-height: 1.6; }
.footer-social { margin-top: 1rem; display: flex; gap: .5rem; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .35rem .75rem;
  background: rgba(255,255,255,.1);
  border-radius: 20px;
  color: var(--white);
  font-size: .82rem;
  transition: background var(--ease);
}
.social-link:hover { background: rgba(255,255,255,.2); color: var(--white); }

.footer-col h4 {
  color: var(--gold);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: .4rem; }
.footer-col ul li a { color: rgba(255,255,255,.75); font-size: .9rem; transition: color var(--ease); }
.footer-col ul li a:hover { color: var(--white); }
.footer-col address { font-size: .9rem; line-height: 1.8; color: rgba(255,255,255,.75); }
.footer-col .tax-info { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: .75rem; }

.footer-bottom {
  background: rgba(0,0,0,.25);
  padding: 1rem 0;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.text-muted { color: var(--text-light); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.notice {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--amber);
  background: rgba(200,160,64,.1);
  font-size: .92rem;
  color: var(--text-mid);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  /* Mobile nav */
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--forest);
    border-top: 1px solid rgba(255,255,255,.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 600px; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: .75rem 0;
    gap: 0;
  }
  .nav-list > li > a { border-radius: 0; padding: .75rem 1.5rem; }

  .has-dropdown .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,.06);
    border-radius: 0;
    opacity: 1;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transform: none;
    transition: max-height .25s ease;
  }
  .has-dropdown.open .dropdown {
    pointer-events: auto;
    max-height: 300px;
  }
  .dropdown li a { color: rgba(255,255,255,.8); padding-left: 2.5rem; }

  /* Layout adjustments */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { min-height: 420px; }
  .stats-inner { gap: 1.5rem; }
  .hero-hills { display: none; }
}

@media (max-width: 480px) {
  .section { padding: 2.5rem 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .board-grid { grid-template-columns: 1fr 1fr; }
}
