﻿/* =============================================================
   GET-INVOLVED.CSS
   Hillside Hope | hillsidehope.org
   ============================================================= */

/* ── Ways to give (Take Action cards — reuse global styles) ── */
.get-involved-cards {
  background: var(--bg-light);
  padding: 80px var(--pad-page);
}

.get-involved-cards__header {
  text-align: center;
  margin-bottom: 44px;
}

.get-involved-cards__header h2 { font-size: 34px; }

.get-involved-cards__script {
  font-family: 'Dancing Script', cursive;
  font-size: 36px;
  font-weight: 600;
  color: var(--blue-bright);
  display: block;
}

/* ── Sponsor section ────────────────────────────────────────── */
.sponsor {
  background: #fff;
  padding: 80px var(--pad-page);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.sponsor__text h2 { font-size: 34px; margin-bottom: 4px; }

.sponsor__script {
  font-family: 'Dancing Script', cursive;
  font-size: 34px;
  font-weight: 600;
  color: var(--blue-bright);
  display: block;
  margin-bottom: 18px;
}

.sponsor__text p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 14px;
}

.sponsor__tiers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 28px;
}

.sponsor-tier {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
}

.sponsor-tier__amount {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  min-width: 72px;
}

.sponsor-tier__label {
  font-size: 14px;
  color: var(--text-body);
}

.sponsor__photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--blue-pale);
  /* Match the uniform photo shape used in Volunteer / Mission Trips. */
  width: 100%;
  aspect-ratio: 4 / 3;
  align-self: center;
  position: relative;
}

.sponsor__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sponsor__photo img {
  position: absolute;
  inset: 0;
}

/* ── Mission Trips ──────────────────────────────────────────── */
.mission-trips {
  background: var(--bg-light);
  padding: 80px var(--pad-page);
}

.mission-trips__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mission-trips__photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--blue-pale);
  /* Uniform photo shape across Volunteer / Mission Trips sections —
     without this the image stretches to whatever the text column's
     height is and can look oversized. width:100% keeps the column width
     authoritative; aspect-ratio derives height from it (a min-height here
     would feed back into width and overflow the grid column). */
  width: 100%;
  aspect-ratio: 4 / 3;
  align-self: center;
  position: relative;
}

/* Note: the container div also carries .img-placeholder; it must NOT get
   height:100% or it stretches to the full grid-row height and defeats the
   4:3 aspect-ratio above. Only the img fills. */
.mission-trips__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Absolute fill so the image's natural size can't stretch the container
   past its 4:3 shape. */
.mission-trips__photo img {
  position: absolute;
  inset: 0;
}

.mission-trips__text h2 { font-size: 32px; margin-bottom: 4px; }

.mission-trips__script {
  font-family: 'Dancing Script', cursive;
  font-size: 32px;
  font-weight: 600;
  color: var(--blue-bright);
  display: block;
  margin-bottom: 16px;
}

.mission-trips__text p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* Trip detail pills */
.trip-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 28px;
}

.trip-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-dark);
}

.trip-pill svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

/* ── Prayer community ───────────────────────────────────────── */
.prayer {
  background: var(--navy);
  padding: 72px var(--pad-page);
  text-align: center;
}

.prayer h2 {
  color: #fff;
  font-size: 34px;
  margin-bottom: 4px;
}

.prayer__script {
  font-family: 'Dancing Script', cursive;
  font-size: 36px;
  font-weight: 600;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.prayer p {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.prayer__form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0;
}

.prayer__form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  outline: none;
}

.prayer__form button {
  padding: 14px 24px;
  background: #F5AB1C;
  color: #3B1F00;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
  transition: background 0.2s;
}

.prayer__form button:hover { background: #D4920F; color: #fff; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .get-involved-cards { padding: 56px 24px; }
  .sponsor { grid-template-columns: 1fr; padding: 56px 24px; gap: 32px; }
  .sponsor__photo { min-height: 260px; }
  .mission-trips { padding: 56px 24px; }
  .mission-trips__inner { grid-template-columns: 1fr; gap: 32px; }
  /* On mobile, always show the section header/text first, image below */
  .mission-trips__text { order: 1; }
  .mission-trips__photo { min-height: 260px; order: 2; }
  .prayer { padding: 56px 24px; }
  .prayer__form { flex-direction: column; }
  .prayer__form input[type="email"] { border-radius: var(--radius-pill); }
  .prayer__form button { border-radius: var(--radius-pill); padding: 14px; }
}
