/* ================================================
   Harvesting Hope — Main Stylesheet
   FreedomHub Agency Build | 2026-03-10
   ================================================ */

:root {
  --green:      #2D6A4F;
  --green-dark: #1B4332;
  --green-light:#52B788;
  --harvest:    #F4A261;
  --harvest-dark:#E76F51;
  --cream:      #FAFAF7;
  --cream-dark: #F0F4EE;
  --text:       #1B1B1B;
  --text-mid:   #4A5568;
  --text-light: #718096;
  --white:      #FFFFFF;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.12);
  --transition: all 0.25s ease;
}

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

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; line-height: 1.3; }
p  { font-size: 1rem; line-height: 1.75; color: var(--text-mid); }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 0.75rem;
  display: block;
}

/* ---- LAYOUT ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }
.section-alt { background: var(--cream-dark); }
.section-green { background: var(--green-dark); color: var(--white); }
.section-green p { color: rgba(255,255,255,0.8); }
.section-green .section-label { color: var(--green-light); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--harvest);
  color: var(--white);
}
.btn-primary:hover { background: var(--harvest-dark); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-secondary {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-secondary:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }

.btn-white {
  background: var(--white);
  color: var(--green-dark);
}
.btn-white:hover { background: var(--cream); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--green-dark);
}
.nav-logo img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--green); }
.nav-links .btn { padding: 0.6rem 1.5rem; font-size: 0.85rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: var(--transition); }

/* ---- HERO ---- */
.hero {
  padding: 9rem 0 5rem;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.15;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { color: var(--harvest); font-style: normal; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-bottom: 2rem; max-width: 540px; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  flex-wrap: wrap;
}
.hero-stat-num { font-size: 1.75rem; font-weight: 800; color: var(--harvest); display: block; }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.05em; }

/* ---- VIDEO SECTION ---- */
.video-section { background: var(--green-dark); padding: 5rem 0; }
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 2rem auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
  aspect-ratio: 16/9;
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.video-play-btn {
  width: 80px;
  height: 80px;
  background: var(--harvest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: var(--transition);
}
.video-play-btn:hover { transform: scale(1.1); background: var(--harvest-dark); }
.video-play-btn svg { fill: white; width: 30px; height: 30px; margin-left: 5px; }
.video-placeholder p { color: rgba(255,255,255,0.8); font-size: 0.9rem; }

/* ---- PROBLEM SECTION ---- */
.problem-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.problem-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border-left: 4px solid var(--harvest);
  box-shadow: var(--shadow);
}
.problem-card h3 { margin-bottom: 0.5rem; }

/* ---- KIT SECTION ---- */
.kit-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.kit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.kit-card img { width: 100%; height: 220px; object-fit: cover; }
.kit-card-body { padding: 1.75rem; }
.kit-card-body h3 { margin-bottom: 0.5rem; color: var(--green-dark); }
.kit-badge {
  display: inline-block;
  background: var(--cream-dark);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

/* ---- HOW IT WORKS ---- */
.steps { counter-reset: steps; }
.step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--harvest);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
}
.step-text h3 { margin-bottom: 0.4rem; }

/* ---- IMPACT ---- */
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.impact-card {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}
.impact-num { font-size: 2.5rem; font-weight: 800; color: var(--harvest); display: block; line-height: 1; margin-bottom: 0.5rem; }
.impact-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

/* ---- TESTIMONIALS ---- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.testimonial-text { font-style: italic; margin-bottom: 1.25rem; font-size: 0.95rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-dark);
  overflow: hidden;
  flex-shrink: 0;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--green-dark); }
.testimonial-role { font-size: 0.8rem; color: var(--text-light); }
.stars { color: var(--harvest); font-size: 0.9rem; margin-bottom: 0.75rem; }

/* ---- DONATE / PRICING ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: var(--transition);
}
.pricing-card:hover, .pricing-card.featured {
  border-color: var(--harvest);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured { background: var(--green-dark); color: var(--white); }
.pricing-card.featured p { color: rgba(255,255,255,0.75); }
.pricing-amount { font-size: 2rem; font-weight: 800; color: var(--harvest); margin: 0.75rem 0; display: block; }
.pricing-card h3 { font-size: 1rem; }
.pricing-card .btn { margin-top: 1.25rem; width: 100%; justify-content: center; }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--harvest) 0%, var(--harvest-dark) 100%);
  padding: 4rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---- TEAM ---- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--cream-dark);
  margin: 0 auto 1rem;
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-weight: 700; color: var(--green-dark); margin-bottom: 0.25rem; }
.team-role { font-size: 0.85rem; color: var(--text-light); }

/* ---- FOOTER ---- */
.footer {
  background: var(--green-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: rgba(255,255,255,0.65); margin-top: 1rem; font-size: 0.9rem; max-width: 280px; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green-light); margin-bottom: 1.25rem; }
.footer-col a { display: block; color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 0.6rem; transition: var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.8rem; color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 200;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ---- MOBILE STICKY CTA ---- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  background: var(--white);
  padding: 0.875rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.mobile-cta .btn { width: 100%; justify-content: center; }

/* ---- PAGE HERO ---- */
.page-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ---- FORMS ---- */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* ---- BLOG ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--green-light); letter-spacing: 0.05em; margin-bottom: 0.5rem; display: block; }
.blog-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.blog-card h3 a:hover { color: var(--green); }
.blog-date { font-size: 0.8rem; color: var(--text-light); margin-top: 1rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .grid-4, .impact-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .grid-2, .grid-3, .problem-cards, .testimonials, .team-grid, .blog-grid { grid-template-columns: 1fr; }
  .grid-4, .impact-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 7rem 0 4rem; }
  .hero-stats { gap: 1.5rem; }
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 1.5rem; gap: 1rem; border-bottom: 1px solid rgba(0,0,0,0.06); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-cta { display: block; }
  .whatsapp-float { bottom: 5rem; }
}

@media (max-width: 480px) {
  .grid-4, .impact-grid, .pricing-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
}

@media print {
  .nav, .whatsapp-float, .mobile-cta { display: none; }
  body { background: white; }
}
