/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:   #1a3a1f;
  --green-mid:    #2d5a35;
  --green-light:  #4a8c55;
  --cream:        #f5f0e8;
  --cream-dark:   #ede6d6;
  --red:          #c0392b;
  --red-light:    #e74c3c;
  --gold:         #c9a84c;
  --text-dark:    #1a1a1a;
  --text-mid:     #3d3d3d;
  --text-light:   #666;
  --white:        #ffffff;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.12);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.18);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.25);
  --radius:       8px;
  --radius-lg:    16px;
  --transition:   0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.75;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAV ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--green-dark);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  box-shadow: var(--shadow-md);
  transition: background var(--transition);
}

#navbar .nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

#navbar .nav-brand .stop-sign {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}

#navbar nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

#navbar nav a {
  color: rgba(255,255,255,0.8);
  font-family: 'Arial', sans-serif;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color var(--transition);
}

#navbar nav a:hover { color: var(--white); text-decoration: none; }

.btn-petition {
  background: var(--red);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.88rem !important;
  letter-spacing: 0.03em;
  transition: background var(--transition), transform var(--transition);
}

.btn-petition:hover {
  background: var(--red-light) !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  background:
    linear-gradient(to bottom, rgba(15,35,15,0.82) 0%, rgba(10,25,12,0.65) 60%, rgba(5,15,8,0.85) 100%),
    url('photos/tree_coverage.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
}

.hero-eyebrow {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.hero-inner h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.hero-inner h1 span { color: var(--gold); }

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 12px;
  font-style: italic;
}

.hero-location {
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-cta {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  padding: 16px 40px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(192,57,43,0.5);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.hero-cta:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(192,57,43,0.6);
  text-decoration: none;
  color: var(--white);
}

/* ===== SECTIONS ===== */
section { padding: 80px 0; }

section:nth-child(even) { background: var(--white); }
section:nth-child(odd)  { background: var(--cream); }

.section-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--green-dark);
  line-height: 1.3;
  margin-bottom: 20px;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 750px;
  margin-bottom: 40px;
  font-style: italic;
}

.divider {
  width: 56px;
  height: 4px;
  background: var(--green-mid);
  border-radius: 2px;
  margin-bottom: 32px;
}

/* ===== STORY ===== */
#story .story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.story-text p {
  margin-bottom: 18px;
  color: var(--text-mid);
}

.story-text p:first-child {
  font-size: 1.1rem;
  color: var(--text-dark);
}

.story-image figure {
  position: relative;
}

.story-image figure figcaption {
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 8px;
  font-style: italic;
}

.photo-thumb {
  cursor: zoom-in;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  object-fit: cover;
  width: 100%;
}

.photo-thumb:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

/* ===== TIMELINE ===== */
#history { background: var(--green-dark) !important; color: var(--white); }
#history .section-label { color: var(--gold); }
#history .section-title { color: var(--white); }
#history .section-lead { color: rgba(255,255,255,0.8); }
#history .divider { background: var(--gold); }

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(255,255,255,0.2);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -34px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--green-dark);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-year {
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.timeline-item h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 8px;
}

.timeline-item p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.timeline-photo {
  margin-top: 12px;
  max-width: 360px;
}

.timeline-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* ===== PROPOSAL ===== */
#proposal .proposal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Arial', sans-serif;
  font-size: 0.88rem;
  margin-top: 20px;
}

.spec-table tr { border-bottom: 1px solid var(--cream-dark); }
.spec-table td { padding: 10px 8px; }
.spec-table td:first-child { color: var(--text-light); font-weight: 600; width: 55%; }
.spec-table td:last-child { color: var(--text-dark); font-weight: 600; }
.spec-table tr.alert td:last-child { color: var(--red); }

.warning-box {
  background: #fdf2f0;
  border-left: 4px solid var(--red);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 24px;
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.warning-box strong { color: var(--red); }

/* ===== OPPOSITION SECTIONS ===== */
.oppose-section {
  margin-bottom: 72px;
}

.oppose-section:last-child { margin-bottom: 0; }

.oppose-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.oppose-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.oppose-icon.red   { background: #fdecea; }
.oppose-icon.green { background: #eaf5eb; }
.oppose-icon.gold  { background: #fdf8ec; }
.oppose-icon.blue  { background: #eaf2fd; }

.oppose-header h3 {
  font-size: 1.35rem;
  color: var(--green-dark);
}

.oppose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.oppose-text p {
  margin-bottom: 14px;
  color: var(--text-mid);
}

.oppose-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.oppose-photos figure figcaption {
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 5px;
  font-style: italic;
}

.height-compare {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 16px;
}

.height-compare h4 {
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: 'Arial', sans-serif;
  font-size: 0.82rem;
}

.bar-label {
  width: 130px;
  flex-shrink: 0;
  color: var(--text-mid);
  font-size: 0.78rem;
}

.bar-track {
  flex: 1;
  height: 22px;
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding-left: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  transition: width 1s ease;
}

.bar-fill.normal { background: var(--green-light); }
.bar-fill.alert  { background: var(--red); }

.profit-box {
  background: linear-gradient(135deg, #1a3a1f 0%, #2d5a35 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 16px;
}

.profit-box h4 {
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.money-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.money-item {
  text-align: center;
}

.money-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.money-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.money-arrow {
  font-size: 1.5rem;
  color: var(--gold);
}

/* ===== PHOTO GALLERY ===== */
#gallery { background: var(--green-dark) !important; }
#gallery .section-label { color: var(--gold); }
#gallery .section-title { color: var(--white); }
#gallery .section-lead { color: rgba(255,255,255,0.8); }
#gallery .divider { background: var(--gold); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: rgba(255,255,255,0.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: var(--white);
  font-family: 'Arial', sans-serif;
  font-size: 0.7rem;
  padding: 20px 10px 8px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-caption { opacity: 1; }

/* ===== LIGHTBOX ===== */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#lightbox.open { display: flex; }

#lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

#lightbox-caption {
  color: rgba(255,255,255,0.8);
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  text-align: center;
  margin-top: 14px;
  max-width: 600px;
}

#lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity var(--transition);
}

#lightbox-close:hover { opacity: 1; }

#lightbox-prev, #lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  font-size: 2rem;
  padding: 16px 14px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background var(--transition);
  z-index: 10000;
}

#lightbox-prev { left: 12px; }
#lightbox-next { right: 12px; }
#lightbox-prev:hover, #lightbox-next:hover { background: rgba(255,255,255,0.25); }

/* ===== PETITION CTA ===== */
#petition {
  background: linear-gradient(135deg, var(--red) 0%, #9b1e12 100%) !important;
  color: var(--white);
  text-align: center;
  padding: 100px 24px;
}

#petition .section-label { color: rgba(255,255,255,0.7); }
#petition .section-title { color: var(--white); font-size: clamp(1.8rem, 5vw, 3rem); }
#petition .divider { background: rgba(255,255,255,0.4); margin: 0 auto 32px; }

.petition-text {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 40px;
  color: rgba(255,255,255,0.9);
}

.petition-btn {
  display: inline-block;
  background: var(--white);
  color: var(--red);
  font-family: 'Arial', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  padding: 18px 52px;
  border-radius: var(--radius);
  box-shadow: 0 6px 30px rgba(0,0,0,0.3);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.petition-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  text-decoration: none;
  color: var(--red);
}

.petition-count {
  margin-top: 24px;
  font-family: 'Arial', sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}

/* ===== CONTACT ===== */
#contact {
  background: var(--green-dark) !important;
}

#contact .section-label { color: var(--gold); }
#contact .section-title { color: var(--white); }
#contact .divider { background: var(--gold); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-block h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 12px;
}

.contact-block p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.contact-email {
  display: inline-block;
  color: var(--gold);
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(201,168,76,0.4);
  padding-bottom: 2px;
  transition: border-color var(--transition), color var(--transition);
}

.contact-email:hover {
  color: var(--white);
  border-color: var(--white);
  text-decoration: none;
}

.contact-moveon {
  display: inline-block;
  color: var(--gold);
  font-family: 'Arial', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(201,168,76,0.4);
  padding-bottom: 2px;
  transition: border-color var(--transition), color var(--transition);
}

.contact-moveon:hover {
  color: var(--white);
  border-color: var(--white);
  text-decoration: none;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== FOOTER ===== */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 32px 24px;
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  line-height: 1.7;
}

footer a { color: rgba(255,255,255,0.7); }
footer a:hover { color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  #navbar nav { display: none; flex-direction: column; }
  #navbar nav.open {
    display: flex;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--green-dark);
    padding: 20px 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }
  .nav-toggle { display: flex; }

  #story .story-grid,
  #proposal .proposal-grid,
  .oppose-grid { grid-template-columns: 1fr; }

  .oppose-photos { grid-template-columns: 1fr 1fr; }

  .hero-stats { gap: 24px; }

  .timeline { padding-left: 28px; }
  .timeline-dot { left: -22px; }

  .money-flow { justify-content: center; }

  #lightbox-prev { left: 4px; padding: 12px 10px; }
  #lightbox-next { right: 4px; padding: 12px 10px; }
}

@media (max-width: 480px) {
  .oppose-photos { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-direction: column; gap: 16px; }
  .money-flow { flex-direction: column; gap: 8px; }
  .money-arrow { transform: rotate(90deg); }
}
