/* ==========================================================================
   Feed for All — Stylesheet
   Warm, welcoming palette for a hunger-relief nonprofit
   ========================================================================== */

:root {
  --color-primary: #E67E22;      /* warm harvest orange */
  --color-primary-dark: #C9660F;
  --color-secondary: #2D6A4F;    /* deep green */
  --color-secondary-light: #40916C;
  --color-cream: #FFF9F0;
  --color-cream-dark: #FBEFDD;
  --color-text: #2B2118;
  --color-text-light: #5B4E3F;
  --color-white: #FFFFFF;
  --shadow-soft: 0 6px 20px rgba(43, 33, 24, 0.08);
  --radius: 14px;
  --max-width: 1140px;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { color: var(--color-text-light); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section-alt { background: var(--color-cream-dark); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section-header .eyebrow {
  display: inline-block;
  color: var(--color-primary-dark);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.section-header p { margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 30px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(230, 126, 34, 0.35);
}
.btn-primary:hover { background: var(--color-primary-dark); }

.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(45, 106, 79, 0.3);
}
.btn-secondary:hover { background: #1f4d38; }

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

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

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(43, 33, 24, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-secondary);
}
.brand .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--color-text);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
}

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--color-secondary) 0%, #1f4d38 100%);
  color: var(--color-white);
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(230, 126, 34, 0.25);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { color: var(--color-white); margin-bottom: 20px; }
.hero p.lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 32px;
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.hero-stats .stat-number {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-primary);
}
.hero-stats .stat-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.page-hero {
  background: linear-gradient(160deg, var(--color-secondary) 0%, #1f4d38 100%);
  color: var(--color-white);
  padding: 70px 0;
  text-align: center;
}
.page-hero h1 { color: var(--color-white); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto; }

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(43,33,24,0.12); }

.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--color-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.card h3 { margin-bottom: 10px; }

.card-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

/* ---------- Values / list rows ---------- */
.value-row {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(43,33,24,0.08);
}
.value-row:last-child { border-bottom: none; }
.value-row .num {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-primary);
  font-size: 1.4rem;
  min-width: 46px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--color-white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.9); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--color-text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(43,33,24,0.15);
  font-family: var(--font-body);
  font-size: 0.96rem;
  background: var(--color-cream);
  color: var(--color-text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-note {
  font-size: 0.85rem;
  margin-top: 16px;
  color: var(--color-text-light);
}
.form-success {
  display: none;
  background: var(--color-cream-dark);
  border-left: 4px solid var(--color-secondary);
  padding: 16px 20px;
  border-radius: 10px;
  margin-top: 20px;
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text);
}
.faq-question .plus { color: var(--color-primary); font-size: 1.3rem; transition: transform 0.2s ease; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px;
}

/* ---------- Info list (contact / get help) ---------- */
.info-list { margin-top: 24px; }
.info-list .info-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.info-list .info-row .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-list .info-row strong { display: block; margin-bottom: 2px; }

.placeholder-note {
  display: inline-block;
  background: #FFF3CD;
  color: #7A5B00;
  border: 1px dashed #E0B84D;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #1E1810;
  color: rgba(255,255,255,0.75);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a:hover { color: var(--color-primary); }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 14px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-links a:hover { background: var(--color-primary); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.mb-24 { margin-bottom: 24px; }

/* ---------- Legal / policy pages ---------- */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 44px 48px;
  box-shadow: var(--shadow-soft);
}
.legal-content h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 1.35rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 14px; }
.legal-content ul, .legal-content ol {
  margin: 0 0 14px 22px;
  color: var(--color-text-light);
}
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: 8px; }
.legal-meta {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(43,33,24,0.08);
}
.legal-disclaimer {
  background: #FFF3CD;
  border: 1px solid #E0B84D;
  color: #7A5B00;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 0.88rem;
  margin-bottom: 30px;
}

/* ---------- Donation impact ---------- */
.impact-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border-top: 5px solid var(--color-primary);
}
.impact-card .amount {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.impact-card .impact-desc {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--color-text);
}
.footer-legal-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
  line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-outline-dark { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-cream);
    padding: 20px 24px;
    gap: 16px;
    box-shadow: var(--shadow-soft);
  }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .legal-content { padding: 28px 22px; }
}
