/* ============================================================
   MINDFUL HARVEST — Design System
   Colors: Forest Green #1B5E20 | Rust Red #D84315 | Amber #FF6F00
           Cream #FFF8E1 | Charcoal #263238
   Fonts: Playfair Display (headlines) + Inter (body)
============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --green-dark:    #1B5E20;
  --green-mid:     #2E7D32;
  --green-light:   #4CAF50;
  --red:           #D84315;
  --amber:         #FF6F00;
  --cream:         #FFF8E1;
  --cream-dark:    #F5E6C8;
  --charcoal:      #263238;
  --charcoal-mid:  #37474F;
  --white:         #ffffff;
  --text-dark:     #1C2526;
  --text-mid:      #455A64;
  --text-light:    #78909C;
  --font-serif:    'Playfair Display', Georgia, serif;
  --font-sans:     'Inter', system-ui, sans-serif;
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-pill:   100px;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:     0 16px 48px rgba(0,0,0,0.16);
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--text-dark); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-sans); border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { font-size: 1rem; line-height: 1.7; color: var(--text-mid); }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

/* ---------- Container ---------- */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Section Padding ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(216,67,21,0.35);
}
.btn-primary:hover {
  background: #BF360C;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(216,67,21,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-green {
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(27,94,32,0.3);
}
.btn-green:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,94,32,0.4);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: relative;
  z-index: 100;
  background: var(--white);
  padding: 0 24px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.2;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--red);
  background: rgba(216,67,21,0.06);
}
.nav-donate-desktop {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 3px 12px rgba(216,67,21,0.3);
  flex-shrink: 0;
  white-space: nowrap;
  transition: var(--transition);
  text-decoration: none;
}
.nav-donate-desktop:hover {
  background: #BF360C;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(216,67,21,0.4);
}
/* mobile-only donate link inside the dropdown */
.nav-mobile-donate { display: none; }
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Page Hero Banner (inner pages) ---------- */
.page-hero {
  position: relative;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,94,32,0.82) 0%, rgba(38,50,56,0.75) 100%);
  z-index: 1;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.page-hero-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  color: var(--white);
  text-align: center;
  font-style: italic;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
  padding: 0 24px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.85);
  padding: 64px 24px 0;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.8fr;
  gap: 48px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin: 16px 0 24px;
  line-height: 1.7;
}
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: rgba(255,255,255,0.8);
}
.footer-social a:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--amber); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}
.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--amber);
}
.footer-contact-item a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-contact-item a:hover { color: var(--amber); }
.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 0;
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Section Label + Title ---------- */
.section-label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 52px;
}
.section-label.center { text-align: center; align-items: center; }
.section-label h2 { color: var(--text-dark); }
.section-label p { max-width: 560px; }
.section-label.center p { margin: 0 auto; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-body { padding: 28px; }

/* ---------- Tag / Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-green { background: rgba(27,94,32,0.1); color: var(--green-dark); }
.badge-red { background: rgba(216,67,21,0.1); color: var(--red); }
.badge-amber { background: rgba(255,111,0,0.1); color: var(--amber); }

/* ---------- Experience Badge ---------- */
.exp-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.exp-badge .num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.exp-badge .label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

/* ---------- Partner Marquee ---------- */
.marquee-track {
  overflow: hidden;
  position: relative;
}
.marquee-inner {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-inner:hover { animation-play-state: paused; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  min-width: 200px;
  transition: var(--transition);
}
.partner-item:hover { border-color: var(--green-dark); box-shadow: var(--shadow-sm); }
.partner-item img { height: 80px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(20%); transition: var(--transition); }
.partner-item:hover img { filter: grayscale(0%); }

/* ---------- Green section bg ---------- */
.bg-green { background: var(--green-dark); }
.bg-green h2, .bg-green h3, .bg-green p { color: var(--white); }
.bg-green p { color: rgba(255,255,255,0.8); }
.bg-cream { background: var(--cream); }
.bg-charcoal { background: var(--charcoal); }
.bg-light-green { background: #E8F5E9; }

/* ---------- Divider ---------- */
.divider {
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
  margin: 12px 0;
}
.divider.center { margin: 12px auto; }

/* ---------- Mobile Nav ---------- */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    align-items: flex-start;
    margin: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 16px; border-radius: var(--radius-sm); }
  .nav-mobile-toggle { display: flex; }
  .nav-donate-desktop { display: none !important; }
  .nav-mobile-donate {
    display: block !important;
    width: 100%;
    background: var(--red);
    color: var(--white) !important;
    padding: 12px 16px !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600;
    text-align: center;
    margin-top: 8px;
  }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .page-hero { height: 180px; }
}
