/* ============================================================
   All Nations Full Gospel Church — Stylesheet
   Colors: #C2B660 (gold), #111111 (dark), #F9F7F2 (light bg)
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold:       #C2B660;
  --gold-dark:  #a89a4d;
  --dark:       #111111;
  --mid:        #1E1E1E;
  --light-bg:   #F9F7F2;
  --body-text:  #2C2C2C;
  --light-text: #F5F4EF;
  --muted:      #888;
  --nav-height: 70px;
  --radius:     6px;
  --transition: 0.3s ease;

  /* ── Spacing scale ── */
  --s-1: 4px;   --s-2: 8px;   --s-3: 16px;  --s-4: 24px;
  --s-5: 40px;  --s-6: 64px;  --s-7: 96px;  --s-8: 144px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--body-text);
  background: var(--dark);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── Typography ── */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

/* Task 3: larger hero headline */
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -0.02em; }

/* Task 4: h2 letter-spacing + balance */
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); letter-spacing: -0.01em; text-wrap: balance; }
h3 { font-size: 1.2rem; }

/* Task 4: section-label spacing */
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-3);
  display: block;
}

/* Task 4: global section-intro rhythm */
.section-intro {
  max-width: 56ch;
  margin: 0 auto var(--s-6);
  line-height: 1.6;
}

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--s-4);
}

/* Task 2: section rhythm */
section {
  padding: var(--s-8) 0;
}

/* Task 7: section h2 SVG flourish underline */
section h2 {
  position: relative;
  padding-bottom: var(--s-4);
}

section h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(30%, 180px);
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q 50 2%2C 100 7 T 198 6' stroke='%23C2B660' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

/* Left-aligned heading in the about section gets a left-anchored flourish */
.about-text h2::before {
  left: 0;
  transform: none;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: var(--s-2) var(--s-5);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
}

.btn-dark {
  background: var(--dark);
  color: var(--gold);
  border-color: var(--dark);
}

.btn-dark:hover {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

/* ──────────────────────────────────────────
   NAV
─────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(194, 182, 96, 0.15);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

#navbar.scrolled {
  background: rgba(17, 17, 17, 0.98);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  border-bottom-color: rgba(194, 182, 96, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 70px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
}

.nav-links {
  display: flex;
  gap: var(--s-5);
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--light-text);
  letter-spacing: 0.06em;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s-1);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--light-text);
  border-radius: 2px;
  transition: all var(--transition);
}

.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 drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(17, 17, 17, 0.98);
  padding: var(--s-4) var(--s-4) var(--s-5);
  border-bottom: 1px solid rgba(194, 182, 96, 0.15);
  z-index: 999;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.nav-mobile a {
  font-size: 1rem;
  color: var(--light-text);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.nav-mobile a:hover {
  color: var(--gold);
}

/* ──────────────────────────────────────────
   HERO
─────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../new-assets/fxn-2025-09-13-201114.444.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}

.hero-bg.loaded {
  transform: scale(1);
}

/* Task 3: calmer gradient — lighter top, legible bottom */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 17, 17, 0.35) 0%,
    rgba(17, 17, 17, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + var(--s-5)) var(--s-4) var(--s-6);
  width: 100%;
}

/* Task 3: single gold rule above eyebrow only (::before) */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-eyebrow span {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.hero-content h1 {
  color: #ffffff;
  max-width: 680px;
  margin-bottom: var(--s-4);
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.hero-tagline {
  font-size: 1.15rem;
  color: rgba(245, 244, 239, 0.88);
  max-width: 500px;
  margin-bottom: var(--s-5);
  font-style: italic;
}

.hero-actions {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--s-5);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-1);
  color: rgba(245, 244, 239, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2.5s infinite;
}

.hero-scroll-hint svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ──────────────────────────────────────────
   ABOUT
─────────────────────────────────────────── */
#about {
  background: var(--light-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
  position: relative;
  z-index: 1;
}

.about-text h2 {
  color: var(--body-text);
  margin-bottom: var(--s-4);
}

.about-text > p {
  color: #555;
  margin-bottom: var(--s-5);
  font-size: 1.05rem;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}

.pillar {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--dark);
  fill: none;
}

.pillar-text h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--body-text);
  margin-bottom: var(--s-1);
}

.pillar-text p {
  font-size: 0.9rem;
  color: #666;
}

/* ──────────────────────────────────────────
   CONTACT
─────────────────────────────────────────── */
#contact {
  background: var(--mid);
}

#contact .section-label {
  text-align: center;
}

#contact h2 {
  color: var(--light-text);
  text-align: center;
  margin-bottom: var(--s-2);
}

#contact > .container > .section-intro {
  text-align: center;
  color: rgba(245, 244, 239, 0.68);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}

/* Task 5: card micro-interactions */
.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: var(--s-5) var(--s-4);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform 0.35s ease;
}

.contact-card:hover {
  border-color: rgba(194, 182, 96, 0.45);
  transform: translateY(-4px);
}

.contact-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.contact-card:hover::after {
  width: 32px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(194, 182, 96, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-4);
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
}

.contact-card h3 {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: var(--s-3);
}

.contact-card p,
.contact-card address {
  font-style: normal;
  color: rgba(245, 244, 239, 0.72);
  font-size: 0.95rem;
  line-height: 1.75;
}

.contact-card a {
  color: var(--gold);
  transition: opacity var(--transition);
}

.contact-card a:hover {
  opacity: 0.75;
}

/* ──────────────────────────────────────────
   FOOTER
─────────────────────────────────────────── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(194, 182, 96, 0.12);
  padding: var(--s-5) 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-socials {
  display: flex;
  gap: var(--s-3);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid rgba(194, 182, 96, 0.5);
  border-radius: 999px;
  color: var(--light-text);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(194, 182, 96, 0.08);
}

/* ──────────────────────────────────────────
   ABOUT (updated)
─────────────────────────────────────────── */
.about-mission-link {
  color: #555;
  font-size: 1.0rem;
  margin-bottom: var(--s-5);
  line-height: 1.7;
}

.about-mission-anchor {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  transition: opacity var(--transition);
}

.about-mission-anchor:hover { opacity: 0.75; }

.about-cta-row {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}

/* ──────────────────────────────────────────
   MISSION  —  five-fold creed row (I–V)
─────────────────────────────────────────── */
#mission {
  background: var(--mid);
}

#mission .section-label,
#mission h2,
#mission .section-intro {
  text-align: center;
}

#mission h2 {
  color: var(--light-text);
  margin-bottom: var(--s-2);
}

#mission .section-intro {
  color: rgba(245, 244, 239, 0.68);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-5);
}

/* Task 5: mission card — inherits contact-card micro-interactions */
.mission-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-3);
  position: relative;
  overflow: hidden;
}

.mission-card-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  opacity: 0.85;
  margin-bottom: -0.25rem;
}

.mission-card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(194, 182, 96, 0.10);
  margin-bottom: var(--s-1);
}

.mission-card .card-icon svg {
  width: 18px;
  height: 18px;
}

.mission-card-tag {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid rgba(194, 182, 96, 0.15);
}

.mission-card h3 {
  color: var(--light-text);
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  margin-bottom: 0;
  line-height: 1.25;
}

.mission-card p {
  color: rgba(245, 244, 239, 0.7);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ──────────────────────────────────────────
   MINISTRIES
─────────────────────────────────────────── */
#ministries {
  background: var(--light-bg);
}

#ministries .section-intro,
#ministries h2 {
  text-align: center;
}

#ministries h2 {
  color: var(--body-text);
  margin-bottom: var(--s-2);
}

.ministries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}

/* Task 5: ministry card micro-interactions */
.ministry-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  padding: var(--s-4);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition), transform 0.35s ease;
}

.ministry-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.ministry-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.ministry-card:hover::after {
  width: 32px;
}

.ministry-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--mid);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-3);
  border: 1px solid rgba(194, 182, 96, 0.25);
}

.ministry-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
}

.ministry-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--body-text);
  margin-bottom: var(--s-2);
}

.ministry-card p {
  font-size: 0.88rem;
  color: #777;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ──────────────────────────────────────────
   EVENTS  —  calmer card, gold as accent only
─────────────────────────────────────────── */
/* ── Upcoming Events ── */
#events {
  background: var(--mid);
}

#events .section-label,
#events .section-intro,
#events h2 {
  text-align: center;
}

#events h2 {
  color: var(--light-text);
  margin-bottom: var(--s-2);
}

#events .section-intro {
  color: rgba(245, 244, 239, 0.68);
}

.upcoming-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  align-items: start;
}

.upcoming-month-col {
  background: #fff;
  border: 1px solid rgba(194, 182, 96, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform 0.35s ease;
}

.upcoming-month-col:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.upcoming-month-header {
  background: var(--dark);
  padding: var(--s-3) var(--s-4);
  border-bottom: 2px solid var(--gold);
}

.upcoming-month-name {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold);
  letter-spacing: -0.01em;
}

.upcoming-month-events {
  padding: var(--s-3) var(--s-4) var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.upcoming-event-item {
  padding-left: var(--s-3);
  border-left: 2px solid var(--gold);
}

.upcoming-event-item h3 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: var(--s-1);
}

.upcoming-event-item p {
  font-size: 0.875rem;
  color: rgba(44, 44, 44, 0.68);
  line-height: 1.6;
}

.event-item-date {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--s-1);
}

/* ── Weekly Programs ── */
#weekly-programs {
  background: var(--dark);
}

#weekly-programs .section-label,
#weekly-programs .section-intro,
#weekly-programs h2 {
  text-align: center;
}

#weekly-programs h2 {
  color: var(--light-text);
  margin-bottom: var(--s-2);
}

#weekly-programs .section-intro {
  color: rgba(245, 244, 239, 0.68);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}

/* Task 5: event card micro-interactions */
.event-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: border-color var(--transition), transform 0.35s ease;
}

.event-card:hover {
  border-color: rgba(194, 182, 96, 0.45);
  transform: translateY(-4px);
}

.event-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.event-card:hover::after {
  width: 32px;
}

.event-date-badge {
  background: transparent;
  padding: var(--s-4) var(--s-4) var(--s-2);
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0;
}

.event-month {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
}

.event-day {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 244, 239, 0.5);
  font-weight: 500;
  margin-left: auto;
}

.event-body {
  padding: var(--s-4) var(--s-4) var(--s-4);
}

.event-body h3 {
  color: var(--light-text);
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: var(--s-2);
}

.event-meta {
  display: flex;
  align-items: center;
  gap: var(--s-1);
  font-size: 0.82rem;
  color: rgba(245, 244, 239, 0.72);
  margin-bottom: var(--s-3);
  letter-spacing: 0.02em;
}

.event-meta svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
  flex-shrink: 0;
}

.event-body > p {
  color: rgba(245, 244, 239, 0.6);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: var(--s-4);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.82rem;
}

/* ──────────────────────────────────────────
   ANNOUNCEMENTS
─────────────────────────────────────────── */

/* ──────────────────────────────────────────
   WAYS TO GIVE
─────────────────────────────────────────── */
#give {
  background: var(--mid);
}

#give h2,
#give .section-label,
#give .section-intro {
  text-align: center;
}

#give h2 {
  color: var(--light-text);
  margin-bottom: var(--s-2);
}

.give-verse {
  text-align: center;
  margin: 0 auto var(--s-6);
  font-style: italic;
  color: rgba(245, 244, 239, 0.65);
}

.give-verse cite {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--gold);
  margin-top: var(--s-2);
  letter-spacing: 0.1em;
}

.give-card h3 {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
}

.give-btn {
  display: inline-block;
  margin-top: var(--s-3);
}

.give-detail {
  margin-top: var(--s-3);
  font-size: 0.9rem;
  color: rgba(245, 244, 239, 0.7);
}

.give-email {
  color: var(--gold);
  font-weight: 600;
  transition: opacity var(--transition);
}

.give-email:hover { opacity: 0.75; }

.give-hint {
  font-size: 0.72rem;
  color: rgba(136, 136, 136, 0.7);
  margin-top: var(--s-2);
  font-style: italic;
}

.give-hint code {
  background: rgba(255,255,255,0.07);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.7rem;
}

.give-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: var(--s-5);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.give-note a {
  color: var(--gold);
  transition: opacity var(--transition);
}

.give-note a:hover { opacity: 0.75; }

/* ──────────────────────────────────────────
   CONNECT
─────────────────────────────────────────── */
.connect-section {
  position: relative;
  padding: var(--s-7) 0;
  text-align: center;
  overflow: hidden;
}

.connect-bg {
  position: absolute;
  inset: 0;
  background-image: url('../Dropbox/IMG_1598.JPG');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.connect-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.78);
}

.connect-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.connect-content h2 {
  color: #fff;
  margin-bottom: var(--s-3);
}

.connect-content > p {
  color: rgba(245, 244, 239, 0.82);
  font-size: 1.05rem;
  margin-bottom: var(--s-5);
  line-height: 1.7;
}

.connect-hq {
  margin-top: var(--s-4);
  font-size: 0.82rem;
  color: rgba(245, 244, 239, 0.45);
}

.connect-hq a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity var(--transition);
}

.connect-hq a:hover { opacity: 0.75; }

/* ── Connect Form ── */
.connect-form {
  width: 100%;
  max-width: 580px;
  margin: 0 auto var(--s-5);
  text-align: left;
}

.cf-row {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}

.cf-2col {
  flex-direction: row;
  gap: var(--s-5);
}

.cf-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  min-width: 0;
}

.cf-field label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 244, 239, 0.5);
  font-weight: 500;
}

.cf-required { color: var(--gold); }

.cf-optional {
  color: rgba(245, 244, 239, 0.3);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.cf-field input,
.cf-field select,
.cf-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245, 244, 239, 0.2);
  border-radius: 0;
  color: var(--light-text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: var(--s-2) 0;
  outline: none;
  width: 100%;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}

.cf-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(245,244,239,0.35)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 12px;
  padding-right: var(--s-4);
}

.cf-field select option {
  background: var(--mid);
  color: var(--light-text);
}

.cf-field textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.65;
}

.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  border-bottom-color: var(--gold);
}

.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: rgba(245, 244, 239, 0.2);
}

.cf-field.has-error input,
.cf-field.has-error select,
.cf-field.has-error textarea {
  border-bottom-color: #e05252;
}

.cf-error-msg {
  font-size: 0.82rem;
  color: #e05252;
  margin-bottom: var(--s-3);
  margin-top: calc(-1 * var(--s-2));
}

.cf-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: var(--s-2);
}

.cf-submit-btn {
  position: relative;
  min-width: 150px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cf-submit-btn.is-loading .cf-submit-label { opacity: 0; }

.cf-submit-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(17, 17, 17, 0.3);
  border-top-color: var(--dark);
  border-radius: 50%;
  animation: cf-spin 0.7s linear infinite;
  position: absolute;
}

.cf-submit-btn.is-loading .cf-submit-spinner { display: block; }

@keyframes cf-spin { to { transform: rotate(360deg); } }

/* Success state */
.connect-success {
  max-width: 420px;
  margin: 0 auto var(--s-5);
  text-align: center;
}

.connect-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(194, 182, 96, 0.12);
  border: 1px solid rgba(194, 182, 96, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s-4);
}

.connect-success-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
}

.connect-success h3 {
  font-family: 'Playfair Display', serif;
  color: var(--light-text);
  font-size: 1.5rem;
  margin-bottom: var(--s-3);
}

.connect-success p {
  color: rgba(245, 244, 239, 0.72);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 580px) {
  .cf-2col {
    flex-direction: column;
  }
}

/* ──────────────────────────────────────────
   FOOTER (updated)
─────────────────────────────────────────── */
.footer-hq {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid rgba(194, 182, 96, 0.08);
  margin-bottom: var(--s-4);
}

.footer-hq a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity var(--transition);
}

.footer-hq a:hover { opacity: 0.75; }

.footer-privacy-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition);
}

.footer-privacy-btn:hover {
  color: var(--gold);
}

/* ──────────────────────────────────────────
   PRIVACY NOTICE MODAL
─────────────────────────────────────────── */
.privacy-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.82);
  align-items: center;
  justify-content: center;
  padding: var(--s-4);
}

.privacy-modal.open {
  display: flex;
}

.privacy-panel {
  background: var(--mid);
  border: 1px solid rgba(194, 182, 96, 0.15);
  border-radius: var(--radius);
  max-width: 580px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: var(--s-6) var(--s-5);
  position: relative;
}

.privacy-close {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: var(--s-2);
  transition: color var(--transition);
}

.privacy-close:hover {
  color: var(--gold);
}

.privacy-panel > h2 {
  font-size: 1.5rem;
  color: var(--light-text);
  margin-bottom: var(--s-2);
}

.privacy-updated {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: var(--s-5);
  display: block;
}

.privacy-section {
  padding-bottom: var(--s-4);
  margin-bottom: var(--s-4);
  border-bottom: 1px solid rgba(194, 182, 96, 0.08);
}

.privacy-section--last {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.privacy-section h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-3);
}

.privacy-section p {
  font-size: 0.875rem;
  color: rgba(245, 244, 239, 0.65);
  line-height: 1.75;
}

.privacy-strong {
  color: var(--light-text);
  font-weight: 600;
}

.privacy-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.privacy-service {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0 var(--s-3);
  align-items: baseline;
  font-size: 0.875rem;
  line-height: 1.7;
}

.privacy-service-name {
  font-weight: 600;
  color: var(--light-text);
  padding-top: 2px;
}

.privacy-service span:last-child {
  color: rgba(245, 244, 239, 0.65);
}

.privacy-section a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.privacy-section a:hover {
  color: var(--light-text);
}

@media (max-width: 480px) {
  .privacy-panel {
    padding: var(--s-5) var(--s-4);
  }

  .privacy-service {
    grid-template-columns: 1fr;
    gap: var(--s-1) 0;
  }

  .privacy-service-name {
    font-size: 0.8rem;
  }
}

/* ──────────────────────────────────────────
   VERSE STRIP
─────────────────────────────────────────── */
.verse-strip {
  background: var(--dark);
  border-top: 1px solid rgba(194, 182, 96, 0.15);
  border-bottom: 1px solid rgba(194, 182, 96, 0.15);
  padding: var(--s-6) 0;
  text-align: center;
}

.verse-strip blockquote {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--s-4);
}

.verse-strip blockquote p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  color: var(--light-text);
  line-height: 1.55;
  font-style: italic;
  margin-bottom: var(--s-3);
}

.verse-strip blockquote p::before { content: '\201C'; color: var(--gold); }
.verse-strip blockquote p::after  { content: '\201D'; color: var(--gold); }

.verse-strip cite {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* ──────────────────────────────────────────
   GALLERY
─────────────────────────────────────────── */
#gallery {
  background: var(--dark);
  padding-bottom: var(--s-7);
}

#gallery .section-label,
#gallery h2 {
  text-align: center;
}

#gallery h2 {
  color: var(--light-text);
  margin-bottom: var(--s-5);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2);
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(194, 182, 96, 0);
  transition: background var(--transition);
}

.gallery-item:hover::after {
  background: rgba(194, 182, 96, 0.08);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: var(--s-4);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: fixed;
  top: var(--s-4);
  right: var(--s-4);
  background: none;
  border: none;
  color: var(--light-text);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition);
  z-index: 2001;
}

.lightbox-close:hover { opacity: 1; }

/* ──────────────────────────────────────────
   WHAT TO EXPECT — slideshow carousel
─────────────────────────────────────────── */
#expect {
  background: var(--dark);
  overflow: hidden;
}

#expect .section-label,
#expect h2,
#expect .section-intro {
  text-align: center;
}

#expect h2 {
  color: var(--light-text);
  margin-bottom: var(--s-2);
}

#expect .section-intro {
  color: rgba(245, 244, 239, 0.68);
}

.slideshow {
  position: relative;
  /* breakout to viewport edges so peeking neighbours can spill past the container */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

.slideshow-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* breathing room so neighbours peek either side */
  padding: 0.5rem max(1.5rem, calc(50vw - 220px)) 1.5rem;
  outline: none;
}

.slideshow-track::-webkit-scrollbar { display: none; }

.slideshow-track:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(194, 182, 96, 0.3);
}

.slideshow-slide {
  flex: 0 0 440px;
  margin: 0;
  scroll-snap-align: center;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--mid);
  transition: opacity 0.45s ease, transform 0.45s ease;
  opacity: 0.32;
  transform: scale(0.94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.slideshow-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Arrows — sit on top of the peeking slides */
.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(194, 182, 96, 0.35);
  background: rgba(17, 17, 17, 0.72);
  backdrop-filter: blur(6px);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color var(--transition), background var(--transition), transform var(--transition), opacity var(--transition);
}

.slideshow-arrow:hover {
  border-color: var(--gold);
  background: rgba(17, 17, 17, 0.9);
  transform: translateY(-50%) scale(1.05);
}

.slideshow-arrow:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.slideshow-arrow[disabled] {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.slideshow-arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  stroke-width: 1.8;
  fill: none;
}

.slideshow-prev { left: max(1.5rem, calc(50vw - 320px)); }
.slideshow-next { right: max(1.5rem, calc(50vw - 320px)); }

/* Dots */
.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: var(--s-2);
  margin-top: 1.75rem;
}

.slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(245, 244, 239, 0.2);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), width var(--transition), border-radius var(--transition);
}

.slideshow-dot:hover {
  background: rgba(245, 244, 239, 0.4);
}

.slideshow-dot.is-active {
  background: var(--gold);
  width: 26px;
  border-radius: 4px;
}

.slideshow-dot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Counter */
.slideshow-counter {
  text-align: center;
  margin-top: var(--s-3);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: rgba(245, 244, 239, 0.45);
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
}

.slideshow-counter-sep {
  margin: 0 var(--s-2);
  opacity: 0.5;
}

/* Tablet */
@media (max-width: 900px) {
  .slideshow-track {
    padding: 0.5rem max(1.25rem, calc(50vw - 170px)) 1.5rem;
  }
  .slideshow-slide {
    flex: 0 0 340px;
  }
  .slideshow-prev { left: max(0.75rem, calc(50vw - 240px)); }
  .slideshow-next { right: max(0.75rem, calc(50vw - 240px)); }
  .slideshow-arrow { width: 44px; height: 44px; }
}

/* Mobile — full-width, no arrows (swipe only) */
@media (max-width: 640px) {
  .slideshow-track {
    padding: 0.25rem 1.25rem 1.25rem;
    gap: 0.75rem;
  }
  .slideshow-slide {
    flex: 0 0 calc(100% - 2.5rem);
    transform: none;
    opacity: 1;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  }
  .slideshow-slide.is-active {
    transform: none;
  }
  .slideshow-arrow {
    display: none;
  }
}

/* ──────────────────────────────────────────
   FADE-IN ANIMATION
─────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ──────────────────────────────────────────
   RESPONSIVE
─────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }

  .about-image-wrap img {
    height: auto;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Mission collapses to a 2x3 with the last spanning both cols */
  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-grid .mission-card:nth-child(5) {
    grid-column: 1 / -1;
  }

  .ministries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .upcoming-events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* ── Mission grid: 3 cols between the full 5-col desktop and the 2-col tablet layout ── */
@media (max-width: 1100px) and (min-width: 901px) {
  .mission-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Show hamburger on iPads and smaller ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 640px) {
  .hero-tagline {
    font-size: 1rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  /* Task 2: mobile section rhythm */
  section {
    padding: var(--s-7) 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .ministries-grid {
    grid-template-columns: 1fr;
  }

  .about-cta-row {
    flex-direction: column;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .events-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .upcoming-events-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 400px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ──────────────────────────────────────────
   REDUCED MOTION
─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-bg,
  .hero-bg.loaded {
    transform: none !important;
    transition: none;
  }

  .gallery-item img {
    transition: none;
  }

  .hero-scroll-hint {
    animation: none;
  }

  section h2::before {
    display: none;
  }

  .contact-card::after,
  .ministry-card::after,
  .event-card::after {
    display: none;
  }

  .upcoming-month-col:hover {
    transform: none;
    box-shadow: none;
  }
}
