/*
 * give.css
 * Styles specific to the /give page.
 * Depends on styles.css being loaded first for design tokens
 * (--ink, --cream, --cream-2, --gold, --gold-deep, --text-dark, --text-muted, --radius, .container, .btn, .eyebrow, etc.).
 * Load order in <head>: styles.css, then give.css.
 *
 * DESIGN CONCEPT
 * Two jobs on this page, kept visually distinct:
 *  1) "Ways to Give" — a practical, scannable set of account details per
 *     currency. Treated like a wallet of bank cards: a tab switches which
 *     card is showing, each field has its own copy button (this will live
 *     on phones, so tapping to copy an account number beats select-and-hold).
 *  2) "The Vision" — the Godman Center video (a YouTube iframe embed).
 *     Given real weight: full-width cinematic frame, corner tick marks
 *     like a site/blueprint plan (nod to it being a building under
 *     construction), vision copy alongside rather than buried under
 *     the fold.
 */

/* =========================================================
   PAGE HERO (shared entry pattern used across /visit, /sermons,
   /trainings, /testimonies — intentionally kept identical here)
   ========================================================= */
.page-hero {
  position: relative;
  height: 46vh;
  min-height: 340px;
  max-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink) var(--hero-img, none) center / cover no-repeat;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 9, 7, 0.55) 0%,
    rgba(10, 9, 7, 0.35) 40%,
    rgba(10, 9, 7, 0.85) 100%
  );
}
.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 44px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.18s ease;
}
.breadcrumb a:hover {
  color: var(--gold);
}
.breadcrumb i {
  font-size: 0.6rem;
  opacity: 0.6;
}
.breadcrumb span {
  color: var(--gold);
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 600;
  max-width: 640px;
}
.page-hero p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  max-width: 520px;
}

/* ---- shared section heading ---- */
.section-head {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 {
  font-size: 2.1rem;
  font-weight: 600;
  margin: 10px 0 12px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* =========================================================
   WAYS TO GIVE — currency tabs + account cards
   ========================================================= */
.give-ways-section {
  padding: 100px 0 90px;
}

.currency-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.currency-tab {
  appearance: none;
  cursor: pointer;
  background: var(--cream-2);
  border: 1px solid rgba(20, 18, 14, 0.1);
  border-radius: 999px;
  padding: 10px 22px;
  min-width: 76px;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-muted);
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}
.currency-tab:hover {
  border-color: rgba(217, 164, 65, 0.4);
  color: var(--text-dark);
}
.currency-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.currency-panels {
  max-width: 760px;
  margin: 0 auto;
}
.currency-card {
  display: none;
  background: var(--cream);
  border: 1px solid rgba(20, 18, 14, 0.08);
  border-radius: var(--radius);
  padding: 34px 34px 28px;
}
.currency-card.is-active {
  display: block;
  animation: giveCardIn 0.28s ease;
}
@keyframes giveCardIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.currency-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.currency-card-flag {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream-2);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--gold-deep);
  font-size: 1.05rem;
}
.currency-card-head h3 {
  font-size: 1.15rem;
  font-weight: 600;
}
.currency-card-head span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(20, 18, 14, 0.08);
}
.account-row:last-of-type {
  border-bottom: none;
}
.account-row-text {
  min-width: 0;
}
.account-row-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.account-row-value {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.copy-btn {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  appearance: none;
  cursor: pointer;
  background: var(--cream-2);
  border: 1px solid rgba(20, 18, 14, 0.1);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-dark);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}
.copy-btn:hover {
  border-color: rgba(217, 164, 65, 0.5);
}
.copy-btn.is-copied {
  background: var(--gold);
  border-color: var(--gold);
  color: #211a0c;
}
.copy-btn i {
  font-size: 0.72rem;
}

.give-designate-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: calc(var(--radius) - 6px);
  background: rgba(217, 164, 65, 0.1);
  border: 1px solid rgba(217, 164, 65, 0.3);
  font-size: 0.82rem;
  color: var(--text-dark);
  line-height: 1.55;
}
.give-designate-note strong {
  color: var(--gold-deep);
}

/* =========================================================
   THE VISION — Godman Center video
   ========================================================= */
.vision-section {
  padding: 30px 0 110px;
}
.vision-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

/* ---- video frame with blueprint-style corner ticks ----
   The signature element for this page: since the subject is a
   building under construction, the frame reads like a site plan
   corner-marked in a print, rather than a generic rounded video card. */
.vision-frame {
  position: relative;
  padding: 18px;
}
.vision-frame::before,
.vision-frame::after,
.vision-frame-inner::before,
.vision-frame-inner::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid var(--gold);
  opacity: 0.85;
}
.vision-frame::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}
.vision-frame::after {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}
.vision-frame-inner::before {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}
.vision-frame-inner::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}
.vision-frame-inner {
  position: relative;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 16 / 9;
}
.vision-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.vision-copy .eyebrow {
  display: block;
  margin-bottom: 10px;
}
.vision-copy h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.vision-copy p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.vision-copy .btn {
  margin-top: 8px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .vision-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .vision-copy {
    order: 2;
  }
  .vision-frame {
    order: 1;
  }
}

@media (max-width: 720px) {
  .page-hero {
    height: 40vh;
    min-height: 260px;
    max-height: 360px;
  }
  .page-hero-content {
    padding-bottom: 26px;
  }
  .breadcrumb {
    font-size: 0.66rem;
    gap: 6px;
    margin-bottom: 10px;
  }
  .page-hero h1 {
    font-size: clamp(1.5rem, 6.5vw, 2.1rem);
    max-width: 100%;
  }
  .page-hero p {
    margin-top: 10px;
    font-size: 0.85rem;
    max-width: 100%;
  }

  .give-ways-section {
    padding: 64px 0 56px;
  }
  .section-head h2 {
    font-size: 1.6rem;
  }
  .currency-tabs {
    gap: 8px;
    margin-bottom: 30px;
  }
  .currency-tab {
    padding: 7px 16px;
    min-width: 60px;
    font-size: 0.76rem;
  }
  .currency-card {
    padding: 26px 22px 22px;
  }
  .account-row {
    flex-wrap: wrap;
  }
  .copy-btn {
    padding: 7px 12px;
  }

  .vision-section {
    padding: 20px 0 70px;
  }
  .vision-copy h2 {
    font-size: 1.55rem;
  }
  .vision-play-btn {
    width: 60px;
    height: 60px;
    font-size: 1.15rem;
  }
}

@media (max-width: 400px) {
  .page-hero {
    height: 34vh;
    min-height: 220px;
    max-height: 300px;
  }
  .page-hero-content {
    padding-bottom: 18px;
  }
  .breadcrumb {
    font-size: 0.6rem;
    margin-bottom: 8px;
  }
  .page-hero h1 {
    font-size: clamp(1.3rem, 7vw, 1.6rem);
  }
  .page-hero p {
    font-size: 0.78rem;
    margin-top: 8px;
  }
  .account-row-value {
    font-size: 0.88rem;
  }
}