

/* ── Custom Properties ─────────────────────────────── */
:root {
  --cream:       #f0ebe3;
  --forest:      #1b3a2d;
  --forest-mid:  #2a5040;
  --sage:        #c9dcd0;
  --sage-light:  #deeae2;
  --blush:       #c0392b;
  --text-dark:   #1a1a18;
  --text-mid:    #444;
  --text-light:  #777;
  --white:       #ffffff;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   28px;
  --radius-xl:   40px;

  --shadow:      0 4px 32px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.15);
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a  { text-decoration: none; color: inherit; }

/* ── Shared Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .1em;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn--light {
  background: var(--cream);
  color: var(--forest);
  padding: .85rem 2.8rem;
  border-radius: 999px;
}
.btn--dark {
  background: var(--forest);
  color: var(--cream);
  padding: .85rem 2.4rem;
  border-radius: var(--radius-md);
}
.btn--light-outline {
  background: var(--cream);
  color: var(--forest);
  padding: .85rem 2.4rem;
  border-radius: 999px;
}
.btn--send {
  width: 100%;
  background: var(--forest);
  color: var(--cream);
  padding: 1rem 2rem;
  border-radius: 999px;
  font-size: 1rem;
  margin-top: .75rem;
}


.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--cream);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.10); }

.navbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .05em;
  color: var(--text-dark);
}

.navbar__nav { display: flex; gap: 2.5rem; }
.navbar__link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-mid);
  position: relative;
  transition: color .2s;
}
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--forest);
  transition: width .25s;
}
.navbar__link:hover, .navbar__link.active { color: var(--text-dark); }
.navbar__link.active::after, .navbar__link:hover::after { width: 100%; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--forest);
  padding: 1.5rem 2rem;
  gap: 1.2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav__link {
  color: var(--cream);
  font-size: 1.1rem;
  font-weight: 500;
}


.hero {
  padding: 0;
  background: var(--cream);
  padding-top: 64px; /* navbar height offset */
}
.hero__card {
  width: 100%;
  background: var(--forest);
  border-radius: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 620px;
  position: relative;
}
/* Decorative diagonal overlay for visual interest */
.hero__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,58,45,0.95) 50%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  display: none; /* subtle fallback disabled; handled by content z-index */
}

.hero__content {
  padding: 5rem 5rem 5rem 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.8rem;
  position: relative;
  z-index: 1;
}
/* subtle green glow orb behind text */
.hero__content::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(42,80,64,0.6) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.hero__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1.05;
  color: var(--cream);
}
/* thin accent line before heading */
.hero__heading::before {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--sage);
  margin-bottom: 1.2rem;
  border-radius: 2px;
}

.hero__sub {
  font-size: .95rem;
  line-height: 1.7;
  color: rgba(240,235,227,.75);
  font-style: italic;
}

.hero__image-wrap {
  position: relative;
  overflow: hidden;
}
.hero__image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(27,58,45,0.35) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.hero__image {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.85) saturate(.9);
  transition: transform 6s ease;
  background-image: url(./src/images/dfs-hero.png);
}
.hero__image-wrap:hover .hero__image { transform: scale(1.04); }

/* ════════════════════════════════════════════════════
   STATS
════════════════════════════════════════════════════ */
.stats {
  padding: 2rem 2rem 3.5rem;
  background: var(--cream);
}
.stats__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stats__item {
  background: var(--sage-light);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform .25s;
}
.stats__item:hover { transform: translateY(-4px); }

.stats__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  color: var(--forest);
}
.stats__icon svg { width: 100%; height: 100%; }

.stats__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-dark);
}
.stats__label {
  display: block;
  font-size: .8rem;
  color: var(--text-light);
  margin-top: .1rem;
}

/* ════════════════════════════════════════════════════
   ABOUT  (PDF page 2)
════════════════════════════════════════════════════ */
.about {
  background: var(--white);
  padding: 4rem 5rem 0;
}

/* Top row: heading+body LEFT, donate button RIGHT */
.about__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.8rem;
  gap: 3rem;
}

.about__text-col { max-width: 420px; }

.about__heading {
  font-family: var(--font-body);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 1rem;
  /* PDF: center-aligned heading */
  text-align: center;
}

.about__body {
  font-size: .875rem;
  line-height: 1.7;
  color: var(--text-mid);
}

.about__cta-col {
  flex-shrink: 0;
  padding-top: .25rem;
}

.btn--donate {
  background: var(--forest);
  color: var(--cream);
  padding: .75rem 2.2rem;
  border-radius: var(--radius-md);
  font-size: .85rem;
  letter-spacing: .08em;
}

/* 2-column mosaic: each col has tall image + short image */
.about__mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
}

.mosaic__col {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.mosaic__img {
  overflow: hidden;
  border-radius: var(--radius-md);
}
.mosaic__img img { width: 100%; height: 100%; object-fit: cover; }

/* Left col: tall ≈ 60%, short ≈ 38% of total height */
.mosaic__img--tall  { height: 420px; }
.mosaic__img--short { height: 260px; }

/* ════════════════════════════════════════════════════
   SUCCESS STORIES  (PDF page 3)
════════════════════════════════════════════════════ */
.stories {
  padding: 5rem 5rem 6rem;
  background: var(--cream);
}

/* Header block — top-left */
.stories__header {
  margin-bottom: 3.5rem;
}

.stories__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;           /* thin weight like PDF */
  line-height: 1;
  color: var(--text-dark);
  letter-spacing: -.01em;
}

.stories__subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: #1a35c8;             /* blue from PDF */
  margin-top: .15rem;
  margin-bottom: .7rem;
  letter-spacing: .02em;
}

.stories__intro {
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 380px;
}

/* 3-equal-column grid */
.stories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.story-card { display: flex; flex-direction: column; }

/* Frame = the image + accent border together */
.story-card__frame {
  position: relative;
  margin-bottom: 1.2rem;
  /* accent offset: shift image right+down so accent shows top-left */
  padding-left: 10px;
  padding-bottom: 10px;
}

/* Dark green rect behind the image (top-left corner peeks out) */
.story-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  /* stretches almost to image bottom-right */
  right: 10px;
  bottom: 10px;
  background: var(--forest);
  border-radius: var(--radius-sm);
  z-index: 0;
}

/* The image sits in front, offset right+down */
.story-card__img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 400px;
}
.story-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .5s ease;
}
.story-card:hover .story-card__img img { transform: scale(1.04); }

.story-card__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  color: var(--text-dark);
  margin-bottom: .5rem;
  line-height: 1.4;
}

.story-card__body {
  font-size: .82rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════
   TEAM  (PDF page 4)
════════════════════════════════════════════════════ */
.team {
  background: var(--white);
  padding: 5rem 5rem 5rem;
}

/* Top row: big heading+sub LEFT, two paragraphs RIGHT */
.team__top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6rem;
  align-items: start;
  margin-bottom: 4rem;
}

.team__header-col {}

.team__heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;           /* very thin, like PDF */
  line-height: 1;
  color: var(--text-dark);
  letter-spacing: -.01em;
  margin-bottom: .9rem;
}

.team__sub {
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 280px;
}

.team__desc-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 520px;
  /* vertically align to heading top, push to right side */
  justify-self: end;
  padding-top: .25rem;
}

/* 4-column grid for 4 team members */
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.5rem;
}

.team-card {}

.team-card__photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  /* wide landscape-ish ratio like PDF — photos are wide, not portrait */
  height: 240px;
  margin-bottom: .75rem;
}
.team-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .4s ease;
}
.team-card:hover .team-card__photo img { transform: scale(1.04); }

.team-card__name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  color: var(--text-dark);
  margin-bottom: .2rem;
}
.team-card__role {
  font-size: .82rem;
  color: var(--text-mid);
}

/* ════════════════════════════════════════════════════
   MISSION
════════════════════════════════════════════════════ */
.mission {
  background: var(--cream);
  padding: 6rem 2rem 5rem;
}

.mission__inner {
  max-width: 1000px;
  margin: 0 auto 5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
}

.mission__icon-block {
  width: 260px;
  height: 260px;
  background: var(--forest);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mission__icon {
  width: 100px; height: 100px;
}
.mission__icon svg { width: 100%; height: 100%; }

.mission__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--blush);
  margin-bottom: 1rem;
  font-weight: 600;
}
.mission__body {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* Testimonials */
.testimonials {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.7;
  box-shadow: var(--shadow);
  transition: transform .25s;
}
.testimonial-card:hover { transform: translateY(-5px); }

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--sage);
}
.testimonial-card__author strong { font-size: .95rem; }

/* ════════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════════ */
.contact { background: var(--cream); }

/* Photo strip */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 180px;
  overflow: hidden;
  border-top: 5px solid var(--forest);
  border-bottom: 5px solid var(--forest);
  filter: grayscale(1);
}
.photo-strip img { height: 100%; object-fit: cover; object-position: center top; }

/* Body */
.contact__body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: center;
}

.contact__cta-card {
  background: var(--forest);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact__heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
}
.contact__sub {
  font-size: .9rem;
  color: rgba(240,235,227,.75);
  font-style: italic;
  line-height: 1.65;
}

.contact__form-col { display: flex; flex-direction: column; }

.contact__textarea {
  width: 100%;
  background: var(--sage-light);
  border: none;
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-dark);
  resize: vertical;
  outline: none;
  transition: box-shadow .2s;
}
.contact__textarea:focus {
  box-shadow: 0 0 0 2px var(--forest);
}
.contact__textarea::placeholder { color: var(--text-light); }

/* ════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════ */
.footer {
  background: var(--forest);
  color: rgba(240,235,227,.7);
  text-align: center;
  padding: 1.6rem 2rem;
  font-size: .85rem;
}

/* ════════════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about { padding: 4rem 2.5rem 0; }
  .stories { padding: 4rem 2.5rem 5rem; }
  .team { padding: 4rem 2.5rem 4rem; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stories__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr 1fr; }
  .mission__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

@media (max-width: 768px) {
  .navbar__nav { display: none; }
  .hamburger { display: flex; }

  .about { padding: 3rem 1.5rem 0; }
  .stories { padding: 3rem 1.5rem 4rem; }
  .team { padding: 3rem 1.5rem 3rem; }

  .hero__card { grid-template-columns: 1fr; }
  .hero__image-wrap { height: 300px; order: -1; }
  .hero__content { padding: 2.5rem 1.5rem 3rem; }

  .about__top { flex-direction: column; }
  .about__mosaic { grid-template-columns: 1fr; }
  .mosaic__img--tall  { height: 280px; }
  .mosaic__img--short { height: 180px; }

  .stories__grid { grid-template-columns: 1fr; }
  .story-card__img { height: 300px; }

  .team__top { grid-template-columns: 1fr; gap: 1.5rem; }
  .team__desc-col { justify-self: start; max-width: 100%; }
  .team__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }

  .testimonials { grid-template-columns: 1fr; }
  .contact__body { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
  .photo-strip img:nth-child(4),
  .photo-strip img:nth-child(5) { display: none; }
  .mission__icon-block { width: 180px; height: 180px; }
}

@media (max-width: 480px) {
  .about { padding: 2.5rem 1rem 0; }
  .stories { padding: 2.5rem 1rem 3rem; }
  .team { padding: 2.5rem 1rem 2.5rem; }

  .stats__grid { grid-template-columns: 1fr 1fr; }
  .team__grid { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .photo-strip img:nth-child(3) { display: none; }
}
