/* style.css */

/* Variables & Base */
:root {
  --green-dark: #2d5f2e;
  --green-light: #a3c293;
  --gold: #e2b659;
  --gray-dark: #333;
  --gray-light: #f4f4f4;
  --font-sans: 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font-sans);
  color: var(--gray-dark);
  line-height: 1.6;
}

/* Utility */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }

.section {
  padding: 4rem 0;
  background: var(--gray-light);
}
.section:nth-of-type(even) { background: #fff; }

/* Header / Nav */
.site-header {
  background: var(--green-dark);
  color: #fff;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; padding: 1rem 0;
}
.logo { font-size: 1.8rem; }
.nav-list { list-style: none; display: flex; gap: 1.5rem; }
.nav-list a {
  color: #fff; text-decoration: none; font-weight: 500;
}
.nav-list a:hover { text-decoration: underline; }

/* Hero */
.hero {
  background: url('images/hero.jpg') center/cover no-repeat;
  color: #fff; text-align: center; padding: 6rem 0;
}
.hero h2 {
  font-size: 2.5rem; margin-bottom: 1rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero p { font-size: 1.2rem; margin-bottom: 2rem; }
.btn-primary {
  background: var(--gold); color: var(--green-dark);
  padding: 0.8rem 2rem; border: none; border-radius: 4px;
  font-size: 1rem; font-weight: bold; text-decoration: none;
}
.btn-primary:hover { background: var(--green-light); }

/* About */
.about h2 { margin-bottom: 1rem; font-size: 2rem; color: var(--green-dark); }

/* How It Works */
.how-it-works .step {
  background: #fff; padding: 2rem; text-align: center; border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.how-it-works .step img {
  width: 64px;
  height: 64px;
  display: block;
  margin: 0 auto 0.3rem auto;
}
.how-it-works h3 { margin-bottom: 0.5rem; color: var(--green-dark); }

/* Impact */
.impact .stats .stat {
  text-align: center;
}
.impact .stat h3 { font-size: 2rem; color: var(--green-dark); }
.impact .stat p { margin-top: 0.5rem; }

/* CTA */
.cta { background: var(--green-dark); color: #fff; text-align: center; padding: 4rem 0; }
.btn-secondary {
  background: var(--gold); color: var(--green-dark);
  padding: 0.6rem 1.8rem; border-radius: 4px; text-decoration: none;
  font-weight: bold;
}
.btn-secondary:hover { background: var(--green-light); }

/* Footer */
.site-footer {
  background: var(--green-dark); color: #fff; padding: 2rem 0;
}
.site-footer h3 { margin-bottom: 0.5rem; }
.site-footer p, .site-footer a { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer ul li a:hover { text-decoration: underline; }
.site-footer .copyright {
  text-align: center; margin-top: 2rem; font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header .container { flex-direction: column; gap: 1rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* Responsive styles for header and hero-about section */
@media (max-width: 700px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    padding: 0 1rem;
  }
  .nav-list {
    flex-wrap: wrap;
    gap: 1rem !important;
    font-size: 1rem !important;
    justify-content: flex-start;
  }
  .logo {
    font-size: 1.5rem !important;
  }
  .hero-about .container {
    flex-direction: column !important;
    gap: 1.5rem !important;
    padding: 0 1rem;
  }
  .hero-image {
    min-height: 160px !important;
    max-width: 100% !important;
  }
  .hero-about h2 {
    font-size: 1.1rem !important;
    padding: 0.5rem 0.5rem !important;
  }
  .hero-about p {
    font-size: 0.98rem !important;
  }
}

@media (max-width: 480px) {
  .site-header .container {
    padding: 0 0.5rem;
  }
  .hero-about .container {
    padding: 0 0.5rem;
  }
  .hero-image {
    min-height: 100px !important;
  }
  .hero-about h2 {
    font-size: 0.95rem !important;
  }
}

/* Step icon sizing for consistency, now for PNGs */
.step img[src$=".png"] {
  width: 64px;
  height: 64px;
  display: block;
  margin: 0 auto 0.3rem auto;
}
