/* ============================================================
   Word of the Lord Gospel Church — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Brand Colors */
  --primary:          #C67A2E;
  --primary-dark:     #8B5A1B;
  --primary-light:    #E8A94E;
  --secondary:        #1B1464;
  --secondary-light:  #2D2280;
  --accent:           #D4572A;

  /* Background Colors */
  --bg-light:         #FDF8F2;
  --bg-section:       #F5EDE3;
  --bg-dark:          #0F0D3D;

  /* Text Colors */
  --text-dark:        #2C2C2C;
  --text-medium:      #5A5A5A;
  --text-light:       #FFFFFF;
  --text-muted:       #9A8E80;

  /* Border & Shadow */
  --border:           #E0D5C7;
  --border-light:     #F0E8DC;
  --shadow-sm:        0 2px 8px rgba(27, 20, 100, 0.07);
  --shadow-md:        0 6px 24px rgba(27, 20, 100, 0.11);
  --shadow-lg:        0 16px 48px rgba(27, 20, 100, 0.15);

  /* Typography */
  --font-heading:     'Playfair Display', Georgia, serif;
  --font-body:        'Inter', 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-xxl:  6rem;

  /* Layout */
  --container-max: 1200px;
  --header-height: 76px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

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

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

ul, ol { list-style: none; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section { padding: var(--space-xl) 0; }
.section--alt { background-color: var(--bg-section); }
.section--dark { background-color: var(--secondary); color: var(--text-light); }

.text-center { text-align: center; }
.text-primary { color: var(--primary); }

/* Scroll animation utility */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--secondary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

.section__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.section__title {
  color: var(--secondary);
  margin-bottom: var(--space-md);
}

.section__title--light { color: var(--text-light); }

.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-medium);
  max-width: 640px;
  margin: 0 auto var(--space-lg);
  line-height: 1.8;
}

.section__subtitle--light { color: rgba(255,255,255,0.8); }

.ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  margin-bottom: var(--space-md);
}
.ornament::before, .ornament::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary));
}
.ornament::after { background: linear-gradient(to left, transparent, var(--primary)); }
.ornament span {
  color: var(--primary);
  font-size: 1.2rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-light);
  border-color: var(--primary);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #6B4312);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(198, 122, 46, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn--outline-light {
  background: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}
.btn--outline-light:hover {
  background: var(--text-light);
  color: var(--secondary);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(27, 20, 100, 0.0);
  backdrop-filter: blur(0px);
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(27, 20, 100, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.site-header.solid {
  background: var(--secondary);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-md);
}

/* Logo + Brand */
.header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.header__brand-text {
  display: flex;
  flex-direction: column;
}

.header__church-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.2;
  white-space: nowrap;
}

.header__church-sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Navigation */
.header__nav {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.nav__item { position: relative; }

.nav__link {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary-light);
  background: rgba(255,255,255,0.07);
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--primary-light);
  border-radius: 2px;
}

/* Hamburger */
.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  flex-shrink: 0;
}

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

.header__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__toggle.open span:nth-child(2) { opacity: 0; }
.header__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--secondary);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero.mounted .hero__bg { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 9, 62, 0.70) 0%,
    rgba(11, 9, 62, 0.55) 50%,
    rgba(11, 9, 62, 0.75) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--header-height) + var(--space-xl)) var(--space-md) var(--space-xl);
  max-width: 860px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(198, 122, 46, 0.2);
  border: 1px solid rgba(198, 122, 46, 0.5);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: var(--space-md);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.15;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero__title em {
  font-style: italic;
  color: var(--primary-light);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero__scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.5);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
}

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

/* Page Banner (inner pages) */
.page-banner {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--secondary);
  padding-top: var(--header-height);
}

.page-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
}

.page-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.page-banner__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: var(--space-xs);
}

.page-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text-light);
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.page-banner__breadcrumb {
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.page-banner__breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.page-banner__breadcrumb a:hover { color: var(--primary-light); }

/* ============================================================
   MISSION STATEMENT STRIP
   ============================================================ */
.mission-strip {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mission-strip::before {
  content: '\2720';
  position: absolute;
  font-size: 18rem;
  color: rgba(255,255,255,0.02);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.mission-strip__verse {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto var(--space-sm);
  line-height: 1.6;
}

.mission-strip__ref {
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.mission-strip__text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 720px;
  margin: var(--space-md) auto 0;
  line-height: 1.8;
}

/* ============================================================
   CARDS
   ============================================================ */
.card-grid {
  display: grid;
  gap: var(--space-md);
}

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

.card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card__image {
  height: 220px;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card__image img { transform: scale(1.05); }

.card__body {
  padding: var(--space-md);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
  box-shadow: 0 4px 12px rgba(198, 122, 46, 0.3);
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.card__text {
  font-size: 0.93rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: gap var(--transition);
}
.card__link:hover { gap: 0.6rem; color: var(--primary-dark); }

/* Icon Card (no image) */
.icon-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.icon-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.icon-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.icon-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.icon-card__text {
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* ============================================================
   PHOTO GRID
   ============================================================ */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.photo-grid__item {
  overflow: hidden;
  position: relative;
}

.photo-grid__item--wide { grid-column: span 2; }
.photo-grid__item--tall { grid-row: span 2; }

.photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-grid__item:hover img { transform: scale(1.07); }

/* ============================================================
   SCHEDULE / TIMES
   ============================================================ */
.schedule {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.schedule__item {
  text-align: center;
  padding: var(--space-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  transition: background var(--transition);
}

.schedule__item:hover { background: rgba(255,255,255,0.1); }

.schedule__icon { font-size: 2rem; margin-bottom: 0.75rem; }

.schedule__day {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 0.25rem;
}

.schedule__service {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.schedule__time {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* ============================================================
   CONTACT INFO
   ============================================================ */
.contact-info-list { display: flex; flex-direction: column; gap: var(--space-sm); }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-info-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: white;
}

.contact-info-item__body { flex: 1; }

.contact-info-item__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.contact-info-item__value {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.5;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #FFFFFF;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(198, 122, 46, 0.15);
}

.form-control::placeholder { color: var(--text-muted); }

textarea.form-control { resize: vertical; min-height: 140px; }

select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235A5A5A' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

/* ============================================================
   ALERT / NOTICE BOXES
   ============================================================ */
.alert {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border-left: 4px solid;
  margin-bottom: var(--space-md);
}

.alert--success { background: #F0FDF4; border-color: #22C55E; color: #166534; }
.alert--error   { background: #FFF1F2; border-color: #EF4444; color: #991B1B; }

/* ============================================================
   MAP
   ============================================================ */
.map-embed {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   QUOTE BLOCK
   ============================================================ */
.scripture-quote {
  background: linear-gradient(135deg, #FDF8F2, var(--bg-section));
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
}

.scripture-quote__text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--secondary);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.scripture-quote__ref {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
}

/* ============================================================
   ABOUT: TWO-COLUMN LAYOUT
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

.two-col__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.two-col__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.two-col__content { }

.two-col__content h3 {
  margin-bottom: var(--space-sm);
}

.two-col__content p {
  color: var(--text-medium);
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}

/* Beliefs List */
.beliefs-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.beliefs-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.beliefs-list__item::before {
  content: '✦';
  color: var(--primary);
  font-size: 0.8rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

/* ============================================================
   EVENTS
   ============================================================ */
.events-list { display: flex; flex-direction: column; gap: var(--space-md); }

.event-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-md);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.event-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.event-item__date {
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  color: white;
  line-height: 1.2;
}

.event-item__month {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.event-item__day {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
}

.event-item__content { }

.event-item__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.event-item__meta {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.event-item__desc {
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--secondary);
  color: var(--text-light);
  padding-top: var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Footer Brand Column */
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}

.footer__logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.2);
}

.footer__church-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.3;
}

.footer__tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.footer__registry {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(198, 122, 46, 0.15);
  border: 1px solid rgba(198, 122, 46, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 0.04em;
}

/* Footer Nav Column */
.footer__col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer__links { display: flex; flex-direction: column; gap: 0.5rem; }

.footer__link {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition);
}

.footer__link::before {
  content: '›';
  color: var(--primary);
  font-size: 1rem;
}

.footer__link:hover { color: var(--primary-light); }

/* Footer Contact Column */
.footer__contact-list { display: flex; flex-direction: column; gap: 0.85rem; }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.footer__contact-icon {
  font-size: 1rem;
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Footer Bottom Bar */
.footer__bottom {
  padding: var(--space-md) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__bottom-link {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__bottom-link:hover { color: var(--primary-light); }

/* ============================================================
   STAT / IMPACT BOXES
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.stat-box {
  text-align: center;
  padding: var(--space-md);
}

.stat-box__number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-box__label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: var(--space-xl) 0;
  text-align: center;
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-sm);
}

.cta-banner__text {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   VOLUNTEER SECTION
   ============================================================ */
.volunteer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.volunteer-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.volunteer-item__icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.volunteer-item__title {
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.volunteer-item__text {
  font-size: 0.87rem;
  color: var(--text-medium);
  line-height: 1.5;
}

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.4rem;
  color: var(--secondary);
  margin: var(--space-lg) 0 var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.prose h2:first-child { border-top: none; margin-top: 0; }

.prose p {
  color: var(--text-medium);
  line-height: 1.85;
  margin-bottom: var(--space-sm);
}

.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: var(--space-sm);
}

.prose ul li {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 0.3rem;
}

.prose strong { color: var(--text-dark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet ≤ 1024px */
@media (max-width: 1024px) {
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :last-child { grid-column: span 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .schedule { grid-template-columns: 1fr; gap: var(--space-sm); }
  .two-col { grid-template-columns: 1fr; gap: var(--space-lg); }
  .two-col--reverse { direction: ltr; }
}

/* Mobile ≤ 768px */
@media (max-width: 768px) {
  :root {
    --space-xl: 3rem;
    --space-xxl: 4rem;
  }

  .header__toggle { display: flex; }

  .header__nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(15, 13, 61, 0.98);
    backdrop-filter: blur(12px);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
  }

  .header__nav.open {
    max-height: 480px;
    padding: var(--space-sm) 0;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    white-space: normal;
  }

  .nav__link {
    padding: 0.85rem var(--space-md);
    font-size: 1rem;
    border-radius: 0;
  }

  .nav__link.active::after { display: none; }

  .card-grid--3,
  .card-grid--2 { grid-template-columns: 1fr; }

  .photo-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .photo-grid__item--wide,
  .photo-grid__item--tall { grid-column: auto; grid-row: auto; }
  .photo-grid { height: auto; }
  .photo-grid__item { height: 160px; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__grid > :last-child { grid-column: auto; }

  .footer__bottom { flex-direction: column; text-align: center; gap: 0.5rem; }

  .hero__actions { flex-direction: column; align-items: center; }

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

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

  .event-item { grid-template-columns: 70px 1fr; }

  .two-col { grid-template-columns: 1fr; }

  .header__church-name { font-size: 0.9rem; }
  .header__church-sub { display: none; }
}

@media (max-width: 480px) {
  .header__logo { height: 38px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .schedule { grid-template-columns: 1fr; }
}
