/* ============================================================
   Sunnyside Families Love Palestine — Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800;900&display=swap');

/* ── Design Tokens ── */
:root {
  --sage:        #c6d4bb;
  --sage-light:  #e9f2ea;
  --white:       #ffffff;
  --coral:       #d94f2e;
  --coral-dark:  #bf4226;
  --text:        #1f1f1f;
  --muted:       #666666;
  --border:      #d0d0d0;
  --radius:      12px;
  --max-w:       1100px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  font-size: 1.25rem;
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.5em; margin-bottom: 1em; }
li { margin-bottom: 0.35em; }
h1, h2, h3, h4 { line-height: 1.2; }

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.7rem 2rem;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: opacity 0.2s, transform 0.1s;
}
.btn:hover { opacity: 0.87; }
.btn:active { transform: scale(0.98); }
.btn-coral { background: var(--coral); color: var(--white); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--coral);
  color: var(--coral);
}
.btn-sm { font-size: 0.875rem; padding: 0.5rem 1.25rem; }

/* ── Header ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.site-header.scrolled {
  transform: translateY(0);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.logo img { height: 56px; width: auto; }
.header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--coral); }
.btn-ig {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 2px solid var(--coral);
  color: var(--coral);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-ig:hover { background: var(--coral); color: var(--white); }

/* ── Intro Banner ── */
.intro-banner {
  background: var(--sage-light);
  padding: 0.75rem 1.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
}

/* ── Hero (homepage/nesrene) ── */
/* ── Hero Banner (homepage) ── */
.hero-banner {
  background: #fee2f1;
  padding: 0 0 3rem;
  overflow: visible;
  position: relative;
}
.hero-banner-edge {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  display: block;
}
.hero-banner-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
  padding: 0 6rem;
}
.hero-banner-logo {
  width: 140px;
  height: auto;
  flex-shrink: 0;
}
.hero-banner-headline {
  font-size: clamp(2rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  flex: 1;
  max-width: 560px;
}
.hero-banner-photo {
  flex-shrink: 0;
  margin-left: auto;
}
.hero-banner-photo img {
  width: 340px;
  height: auto;
  display: block;
  margin-bottom: -80px;
}

.hero {
  background: var(--white);
  padding: 0;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1.5fr;
  align-items: stretch;
  min-height: 520px;
}
.hero-photo-left,
.hero-photo-right {
  overflow: hidden;
}
.hero-photo-left img,
.hero-photo-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1.5rem;
  min-width: 0;
  width: 100%;
}
.hero-logo {
  width: 180px;
  height: auto;
  object-fit: contain;
  margin-bottom: 1.5rem;
}
/* legacy .hero .container kept for campaign-detail layout on other pages */
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-center { font-family: 'Outfit', sans-serif; }
.hero-eyebrow {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.hero .tagline {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.current-goal-label {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coral);
  margin-bottom: 0.4rem;
}
.campaign-title {
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
  font-weight: 800;
  margin-bottom: 0.9rem;
  line-height: 1.3;
}
.hero-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.hero-photos img {
  border-radius: var(--radius);
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
}
.hero-photos img.span-full {
  grid-column: 1 / -1;
  height: 230px;
}
.hero-photos img.tall {
  height: 100%;
  min-height: 430px;
  grid-row: 1 / 3;
}

/* ── Stats Row (25x25 pages) ── */
.stats-row {
  background: var(--white);
  padding: 3rem 1.5rem;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-n {
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}
.stat-l {
  font-size: 1.25rem;
  color: var(--text);
  margin-top: 0.3rem;
}
.stat-x {
  font-size: 3rem;
  color: var(--text);
  font-weight: 700;
  padding: 0 1rem;
  align-self: center;
}

/* ── Stats Description (25x25 pages) ── */
.stats-desc {
  background: var(--sage-light);
  padding: 3rem 1.5rem;
}
.stats-desc .container {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: start;
}
.stats-desc h2 {
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1.35;
  margin-bottom: 1rem;
}

/* ── Match Banner ── */
.match-banner {
  background: none;
  padding: 0.9rem 0;
  text-align: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: rgba(33, 170, 88, 1);
  margin: 1.5rem 0;
}

/* ── Campaign Headline Section ── */
.campaign-headline {
  position: relative;
  background: #ffffff;
  text-align: center;
  padding: 4rem 10rem;
  overflow: hidden;
}
.campaign-headline .current-goal-label {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.campaign-headline h2 {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.35;
  max-width: 800px;
  margin: 0 auto;
}
.sparkle {
  position: absolute;
  pointer-events: none;
}
.sparkle-left  { left: 8rem;  bottom: 2.5rem; }
.sparkle-right { right: 8rem; top: 2.5rem;    }

/* ── Support Box ── */
.support-box {
  background: #fee2f1;
  border-radius: 0;
  padding: 2.5rem 2rem;
  position: sticky;
  top: 80px;
}
.support-box h3 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
  margin-bottom: 1.25rem;
}
.support-box .sub {
  font-size: 1.05rem;
  color: var(--text);
  text-align: left;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.support-box .btn { display: block; margin-bottom: 0.75rem; }

/* ── Donate Pill Button ── */
.btn-donate-pill {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1.6rem 2rem;
  background: var(--text);
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: opacity 0.2s;
}
.btn-donate-pill:hover { opacity: 0.85; }

/* ── Countdown ── */
.countdown {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.cd-unit { text-align: center; }
.cd-num {
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1;
  display: block;
  color: var(--text);
}
.cd-lbl {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-top: 0.4rem;
  display: block;
}

/* ── Photo Grids ── */
.photo-grid {
  display: grid;
  gap: 0.6rem;
  margin: 1.25rem 0;
}
.photo-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.photo-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.photo-grid img {
  border-radius: var(--radius);
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top;
}
.photo-grid img.span { grid-column: 1 / -1; height: 220px; }
.photo-grid img.tall { height: 280px; }

/* ── Update Section ── */
.update-section {
  padding: 3rem 1.5rem;
  background: var(--white);
}
.update-section h2 {
  font-size: 2.25rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.update-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ── Campaign Detail Section ── */
.campaign-detail {
  padding: 3rem 1.5rem;
  background: var(--white);
}
.campaign-detail .container {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: start;
}
.campaign-detail h2 {
  font-size: 2.25rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

/* ── CTA Section (Help Bring Stability) ── */
.cta-section {
  background: var(--sage-light);
  padding: 3rem 1.5rem;
  text-align: center;
}
.cta-section h2 {
  font-size: 2.25rem;
  font-weight: 300;
  margin-bottom: 0.75rem;
}
.cta-section p { max-width: 640px; margin: 0 auto 1.5rem; color: var(--muted); }

/* ── About Section ── */
.about-section {
  padding: 3.5rem 1.5rem;
  background: var(--sage-light);
  text-align: center;
}
.about-section .container { max-width: 780px; }
.about-section h2 {
  font-size: 2.25rem;
  font-weight: 300;
  margin-bottom: 1.25rem;
}

/* ── Other Families ── */
.other-families {
  padding: 4rem 1.5rem;
  background: var(--sage-light);
}
.other-families h2 {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 300;
  margin-bottom: 3rem;
}
.family-entries {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.family-entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.family-entry.reverse {
  direction: rtl;
}
.family-entry.reverse > * {
  direction: ltr;
}
.family-entry-photo img {
  width: 100%;
  border-radius: 20px;
  display: block;
}
.family-entry-photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  border-radius: 20px;
  overflow: hidden;
}
.family-entry-photo-pair img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
  display: block;
}
.family-entry-text h3 {
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.125;
  margin-bottom: 1rem;
}
.family-entry-text p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.family-entry-text .btn {
  display: block;
  text-align: center;
  width: 100%;
}
.btn-outline-dark {
  background: transparent;
  border: 2px solid var(--text);
  color: var(--text);
}

/* ── Moms Section ── */
.moms-section {
  padding: 4rem 1.5rem;
  background: var(--white);
}
.moms-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 3.5rem;
}
.mom-entry {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4.5rem;
  align-items: start;
  padding-bottom: 5rem;
  margin-bottom: 5rem;
}
.mom-entry:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}
.mom-entry.flip {
  grid-template-columns: 1fr 380px;
}
.mom-entry.flip .mom-photo { order: 2; }
.mom-entry.flip .mom-text  { order: 1; }
.mom-photo img {
  border-radius: 16px;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}
.mom-text h3 {
  display: none;
}
.mom-text {
  font-size: 1.25rem;
  line-height: 1.8;
}

/* ── FAQs ── */
.faq-section {
  padding: 4rem 1.5rem;
  background: var(--white);
}
.faq-section h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  margin-bottom: 3rem;
}
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { margin-bottom: 2.5rem; }
.faq-q {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.faq-answer {
  font-size: 1.25rem;
  color: var(--text);
  line-height: 1.75;
}
.faq-answer a { color: var(--coral); text-decoration: underline; }

/* ── Footer ── */
.site-footer {
  background: #ffffff;
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  border-top: 1px solid #eee;
}
.site-footer h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
}
.site-footer p {
  max-width: 640px;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}
.btn-outline-pill {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border: 2px solid var(--text);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline-pill:hover { background: var(--text); color: var(--white); }
.footer-logo {
  display: block;
  width: 220px;
  margin: 3rem auto 1.5rem;
}
.site-footer .copyright {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 auto;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-photo-left { display: none; }
  .hero-photo-right { height: 260px; }
  .hero-center { padding: 2rem 1.5rem; }
  .hero-banner { padding: 1.5rem 1.5rem 2rem; }
  .hero-banner-inner { flex-wrap: wrap; gap: 1rem; }
  .hero-banner-logo { width: 80px; }
  .hero-banner-headline { font-size: 1.1rem; min-width: 60%; }
  .hero-banner-photo { margin-bottom: -1.5rem; }
  .hero-banner-photo img { width: 100px; }
  .hero-banner-edge { height: 25px; }
  .hero .container,
  .campaign-detail .container,
  .stats-desc .container,
  .update-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .family-cards { grid-template-columns: 1fr; }
  .family-entry { grid-template-columns: 1fr; gap: 2rem; }
  .mom-entry,
  .mom-entry.flip { grid-template-columns: 1fr; }
  .mom-entry.flip .mom-photo,
  .mom-entry.flip .mom-text { order: unset; }
  .mom-photo img { aspect-ratio: 3 / 4; }
  .nav-links { display: none; }
  .stat-n { font-size: 2.5rem; }
  .stat-x { font-size: 2rem; }
  .support-box { position: static; }
}

@media (max-width: 480px) {
  .hero-photos img { height: 150px; }
  .hero-photos img.span-full { height: 180px; }
  .photo-grid img { height: 150px; }
  .photo-grid img.span { height: 180px; }
  .photo-grid.cols-3 { grid-template-columns: 1fr 1fr; }
}
