/* Root font scaling for responsive text */
html {
  font-size: clamp(16px, 1.2vw, 20px);
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  color: #222;
}

/* MENU TOGGLE (Seed → DNA) */
.menu-toggle {
  cursor: pointer;
  display: block;
  width: 50px;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1001;
  transition: transform 0.3s ease;
  will-change: transform;
}

.seed-img, .dna-img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.3s cubic-bezier(0.25, 1.5, 0.5, 1), opacity 0.3s ease;
}

.dna-img { opacity: 0; }
#menu-toggle { display: none; }
#menu-toggle:checked + .menu-toggle .seed-img { opacity: 0; }
#menu-toggle:checked + .menu-toggle .dna-img { opacity: 1; }
.menu-toggle:hover .seed-img,
.menu-toggle:hover .dna-img { transform: translateY(-5px) rotate(-5deg); }

/* MENU PANEL */
.menu {
  position: fixed;
  top: 0;
  right: -220px;
  width: 220px;
  height: 100vh;
  background: white;
  display: flex;
  flex-direction: column;
  padding-top: 6rem;
  transition: right 0.3s;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  font-size: 0.9rem;
  z-index: 1000;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li { padding: 0.7rem 1.5rem; }
.menu a { text-decoration: none; color: #222; }
#menu-toggle:checked ~ .menu { right: 0; }

/* HERO */
.hero {
  background: url("images/hero-pumpkin.jpg") center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  color: white;
}
.hero::after {
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.25);
}
.hero-text {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-left: 20%;
}
.hero-text h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero-text p { font-size: 1.2rem; margin-bottom: 1.5rem; }

/* Buttons */
.button, .donate-button {
  display: inline-block;
  background: #f57c00;
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 1rem;
}

/* Sections */
.section {
  max-width: 750px;
  margin: auto;
  padding: 4rem 1.5rem;
}
.section h2 { font-size: 2rem; margin-bottom: 1rem; }

/* Progress Bar */
/* Progress Bar Container */
.progress-container {
  margin-bottom: 1rem;
}

/* Overall bar frame */
.progress-bar {
  width: 100%;
  height: 25px;
  background: #ddd; /* soft neutral gray */
  border-radius: 12px;
  overflow: hidden;
  display: flex;
}

/* Container for the colored portions */
.progress-fill {
  display: flex;
  height: 100%;
  width: 100%;
}

/* Portion up to goal (muted blue) */
.main-fund {
  background: #4a90a4; /* calm teal-blue */
  transition: flex 0.5s ease;
  border-radius: 12px 0 0 12px;
}

/* Extra funding (muted light blue) */
.extra-fund {
  background: #7fb3c9; /* lighter, subtle contrast */
  transition: flex 0.5s ease;
  border-radius: 0 12px 12px 0;
}

/* Funding text below */
.progress-text {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-weight: 600;
  color: #222;
}
/* Footer */
footer {
  background: #f5f5f5;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #222;
  border-top: 1px solid #ddd;
}

/* Links */
a { color: #f57c00; text-decoration: none; transition: color 0.2s ease; }
a:not(.button):not(.donate-button):not(.menu a):hover { color: #ff9c33; }

/* TEAM GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.team-member { text-align: center; }
.team-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 4px solid #f57c00;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-photo:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.team-member h3 { margin: 0.5rem 0 0.3rem; font-size: 1.2rem; color: #222; }
.team-member p { font-size: 0.95rem; color: #555; }

/* Budget Table */
.budget-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  font-family: system-ui, sans-serif;
}
.budget-table th,
.budget-table td {
  border: 1px solid #e08c4f;
  padding: 0.75rem 1rem;
  text-align: left;
}
.budget-table th { background-color: #ffd9b3; font-weight: 600; }
.budget-table tr:nth-child(even) { background-color: #fff3e6; }
.budget-table tr:hover { background-color: #ffe0b2; }
.total-row td { background-color: #ffc27f; font-weight: bold; }

@media (max-width: 600px) {
  .budget-table th, .budget-table td { padding: 0.5rem; font-size: 0.85rem; }
}

/* Blockquote */
blockquote {
  font-size: 1.1rem;
  font-style: italic;
  max-width: 700px;
  margin: 2rem auto;
  padding: 1rem 1.5rem;
  border-left: 3px solid #e0732a; /* harmonized pumpkin accent */
  background: rgba(224, 140, 79, 0.08);
  line-height: 1.6;
  color: #333;
}
blockquote::before {
  content: "“";
  font-size: 2rem;
  color: #e0732a;
  position: relative;
  top: 0;
  margin-right: 4px;
  vertical-align: middle;
}

/* Significance Figure */
.significance-figure {
  max-width: 750px;
  margin: 2rem auto 1.5rem auto;
  text-align: center;
}
.figure-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.significance-figure figcaption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

/* Learn and Stretch Lists (bullets) */
.learn-list, .stretch-list {
  max-width: 700px;
  margin: 1.5rem auto;
  padding-left: 0;
  list-style: none;
}
.learn-list li, .stretch-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}
.learn-list li::before, .stretch-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #e0732a; /* harmonized pumpkin accent */
  font-size: 1rem;
}
