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

:root {
  --bg: hsl(40, 33%, 96%);
  --fg: hsl(220, 40%, 13%);
  --card: hsl(40, 30%, 98%);
  --card-fg: hsl(220, 40%, 13%);
  --primary: hsl(220, 40%, 13%);
  --primary-fg: hsl(40, 33%, 96%);
  --secondary: hsl(40, 20%, 90%);
  --muted: hsl(220, 10%, 45%);
  --accent: hsl(38, 60%, 50%);
  --accent-fg: hsl(40, 33%, 96%);
  --border: hsl(40, 20%, 88%);
  --radius: 0.375rem;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== Utilities ===== */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-xs { font-size: 0.75rem; }
.icon-accent { color: var(--accent); }
.icon-center { margin: 0 auto; }

/* ===== Gold Divider ===== */
.gold-divider {
  width: 4rem;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 1.5rem;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: hsla(40, 33%, 96%, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.nav-links {
  display: none;
  gap: 2rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.nav-links a:hover, .nav-links a.active { color: var(--fg); transition: color 0.2s; }
@media (min-width: 768px) { .nav-links { display: flex; } .hamburger { display: none; } }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--fg);
  border-radius: 1px;
  transition: transform 0.2s;
}

/* Mobile menu */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: hsla(40, 33%, 96%, 0.95);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsla(220, 40%, 10%, 0.7), hsla(220, 40%, 10%, 0.8));
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 48rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.hero-content .gold-divider { margin-bottom: 2rem; }
.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 600;
  color: var(--primary-fg);
  line-height: 1.1;
}
.hero-location {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: hsla(40, 33%, 96%, 0.8);
  margin-top: 1rem;
  font-style: italic;
}
.hero-verse {
  color: hsla(40, 33%, 96%, 0.6);
  margin-top: 1.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
}

/* ===== Sections ===== */
.section {
  padding: 5rem 1.5rem;
}
.section.bg-card { background: var(--card); }
@media (min-width: 768px) { .section { padding: 5rem 3rem; } }
@media (min-width: 1024px) { .section { padding: 7rem 6rem; } }

.container { max-width: 56rem; margin: 0 auto; }
.container-narrow { max-width: 48rem; margin: 0 auto; }

.section-header { margin-bottom: 3.5rem; }
.section-sub { color: var(--muted); margin-top: 0.75rem; font-size: 0.875rem; }

h2 {
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.section p { color: var(--muted); font-size: 1rem; line-height: 1.75; }
@media (min-width: 768px) { .section p { font-size: 1.125rem; } }

/* ===== Cards ===== */
.card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}
.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0;
}
.card ul { margin-top: 0.5rem; }
.card li {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 0.25rem 0;
}

/* ===== Grids ===== */
.grid-2, .grid-3 { display: grid; gap: 2rem; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Presbyter ===== */
.presbyter-card { display: flex; flex-direction: column; align-items: center; margin-top: 2.5rem; }
.avatar-circle {
  width: 7rem; height: 7rem;
  border-radius: 50%;
  background: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.presbyter-card h3 { font-size: 1.5rem; font-weight: 600; }
.designation {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}
.bio {
  max-width: 32rem;
  margin-top: 1rem;
  font-size: 0.875rem !important;
  line-height: 1.7;
}

/* ===== Offerings ===== */
.qr-placeholder {
  width: 12rem; height: 12rem;
  background: var(--secondary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin: 1rem auto;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}
.bank-header {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.bank-header h3 { margin: 0; }
.bank-details { display: flex; flex-direction: column; }
.bank-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 0.75rem; margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.bank-row.last { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.bank-row span { color: var(--muted); }
.bank-row strong { font-family: var(--font-display); font-weight: 500; }

/* ===== Committee ===== */
.avatar-small {
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.member-name { font-size: 1rem !important; }

/* ===== Page Header ===== */
.page-header {
  padding: 8rem 1.5rem 4rem;
  text-align: center;
  background: var(--primary);
  color: var(--primary-fg);
}
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--primary-fg);
  margin-bottom: 1rem;
}
.page-header .hero-verse {
  color: hsla(40, 33%, 96%, 0.6);
  font-size: 0.875rem;
}

/* ===== Committee Link Wrapper ===== */
.committee-link-wrapper {
  display: block;
  color: inherit;
  text-decoration: none;
}
.committee-link-wrapper:hover .card {
  border-color: var(--accent);
  transition: border-color 0.2s;
}
.view-all-link {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.committee-link-wrapper:hover .view-all-link { text-decoration: underline; }

/* ===== Member List (30 members) ===== */
.member-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 768px) { .member-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .member-list { grid-template-columns: repeat(3, 1fr); } }
.member-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  font-family: var(--font-display);
}
.member-list-item:hover { background: var(--secondary); }
.member-number {
  width: 1.75rem;
  height: 1.75rem;
  min-width: 1.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
  font-family: var(--font-body);
}

/* ===== Avatar Image ===== */
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ===== Videos ===== */
.video-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}
.video-placeholder {
  aspect-ratio: 16 / 9;
  background: var(--secondary);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.5rem;
}
.video-placeholder p { font-size: 0.75rem; color: var(--muted); }
.video-title {
  padding: 1rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
}
.youtube-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.youtube-link:hover { color: var(--fg); }

/* ===== Contact ===== */
.contact-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2.5rem; }
.contact-item {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.75rem;
  color: var(--fg);
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
