/* ============================================================
   TVOW — Trumpet Voices of Worship
   Design system: Deep Navy · Sacred Gold · Warm Ivory · Crimson accent
   Typefaces: Playfair Display (display) + Inter (body) + Cinzel (nav/labels)
   ============================================================ */

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

/* ── Tokens ── */
:root {
  --navy:    #0D1B2A;
  --navy2:   #132236;
  --navy3:   #1A2E47;
  --gold:    #C9A84C;
  --gold2:   #E8C96A;
  --ivory:   #F5F0E8;
  --ivory2:  #FDF9F3;
  --crimson: #8B1A2A;
  --text:    #1A1A2E;
  --muted:   #6B7280;
  --white:   #FFFFFF;

  --radius:  6px;
  --shadow:  0 4px 24px rgba(13,27,42,0.18);
  --trans:   0.25s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--ivory2);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 0 2rem;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 46px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a,
.nav-links > li > span {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.85rem;
  display: flex; align-items: center; gap: 4px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: color var(--trans), background var(--trans);
}
.nav-links > li > a:hover,
.nav-links > li > span:hover,
.nav-links > li > a.active { color: var(--gold); }
.nav-links > li > a.donate-btn {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  padding: 0.45rem 1rem;
}
.nav-links > li > a.donate-btn:hover { background: var(--gold2); }

/* dropdown */
.dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 180px;
  background: var(--navy2); border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius); padding: 0.4rem 0; list-style: none;
  box-shadow: var(--shadow);
}
.nav-links > li:hover .dropdown { display: block; }
.dropdown li a {
  display: block; padding: 0.5rem 1.1rem;
  font-family: 'Cinzel', serif; font-size: 0.7rem; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.8);
  transition: color var(--trans), background var(--trans);
}
.dropdown li a:hover { color: var(--gold); background: rgba(201,168,76,0.08); }

/* hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); display: block; border-radius: 2px; transition: var(--trans); }
.mobile-menu { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--navy); z-index: 999;
  padding: 1rem 0; max-height: calc(100vh - 70px); overflow-y: auto; }
.mobile-menu.open { display: block; }
.mobile-menu a, .mobile-menu .m-group-label {
  display: block; padding: 0.65rem 1.5rem;
  font-family: 'Cinzel', serif; font-size: 0.8rem; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.85); border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-menu a:hover { color: var(--gold); background: rgba(201,168,76,0.07); }
.mobile-menu .m-sub a { padding-left: 2.5rem; font-size: 0.75rem; color: rgba(255,255,255,0.65); }
.mobile-menu .m-donate { background: var(--gold); color: var(--navy) !important; font-weight: 700; margin: 0.75rem 1.5rem; border-radius: var(--radius); text-align: center; }

/* ── PAGE OFFSET ── */
.page-body { padding-top: 70px; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 92vh;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://trumpetvoicesofworship1.netlify.app/throne/IMG-20250921-WA0058.jpg') center/cover no-repeat;
  opacity: 0.2;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,27,42,0.6) 0%, rgba(13,27,42,0.85) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 820px; padding: 3rem 2rem;
}
.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 1.2rem; display: block;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900; color: var(--white);
  line-height: 1.15; margin-bottom: 1.2rem;
}
.hero h1 em { font-style: italic; color: var(--gold2); }
.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,0.78);
  max-width: 560px; margin: 0 auto 2.2rem;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  font-family: 'Cinzel', serif; font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.1em;
  border-radius: var(--radius); cursor: pointer;
  transition: all var(--trans); border: none;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy3); }
.btn-crimson { background: var(--crimson); color: var(--white); }
.btn-crimson:hover { background: #a82030; }

/* ── SECTIONS ── */
section { padding: 5rem 2rem; }
.section-dark { background: var(--navy); color: var(--white); }
.section-ivory { background: var(--ivory); }
.section-navy2 { background: var(--navy2); color: var(--white); }

.container { max-width: 1100px; margin: 0 auto; }
.container-sm { max-width: 800px; margin: 0 auto; }

.section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em;
  color: var(--gold); text-transform: uppercase;
  display: block; margin-bottom: 0.75rem;
}
h2.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; line-height: 1.2;
  margin-bottom: 1rem;
}
h2.section-title.light { color: var(--white); }
.section-sub { font-size: 1rem; color: var(--muted); max-width: 580px; margin-bottom: 3rem; }
.section-sub.light { color: rgba(255,255,255,0.65); }

/* ── GOLD RULE ── */
.gold-rule { width: 60px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold2)); border-radius: 2px; margin-bottom: 1.5rem; }

/* ── STAT BAR ── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2rem; }
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 900;
  color: var(--gold); line-height: 1;
}
.stat-label { font-family: 'Cinzel', serif; font-size: 0.72rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); margin-top: 0.4rem; text-transform: uppercase; }

/* ── CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--trans), box-shadow var(--trans);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(13,27,42,0.15); }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-tag { font-family: 'Cinzel', serif; font-size: 0.65rem; letter-spacing: 0.15em; color: var(--gold); text-transform: uppercase; margin-bottom: 0.5rem; display: block; }
.card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.card p { font-size: 0.92rem; color: var(--muted); }
.card-dark { background: var(--navy3); }
.card-dark h3, .card-dark .card-tag { color: var(--gold); }
.card-dark p { color: rgba(255,255,255,0.65); }

/* ── GALLERY GRID ── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.75rem; }
.gallery-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); transition: transform var(--trans), filter var(--trans); cursor: pointer; }
.gallery-grid img:hover { transform: scale(1.03); filter: brightness(1.08); }

/* ── LIGHTBOX ── */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 2000; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: var(--radius); box-shadow: 0 0 60px rgba(0,0,0,0.7); }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 2rem; color: var(--white); cursor: pointer; line-height: 1; background: none; border: none; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 2rem; color: var(--white); cursor: pointer; background: rgba(255,255,255,0.1);
  border: none; border-radius: 50%; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ── QUOTE / TESTIMONIALS ── */
.testimonial-track { display: flex; gap: 1.5rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; }
.testimonial-track::-webkit-scrollbar { height: 4px; }
.testimonial-track::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
.testimonial { flex: 0 0 300px; scroll-snap-align: start; background: var(--navy3); border-left: 3px solid var(--gold); padding: 1.5rem; border-radius: var(--radius); }
.testimonial blockquote { font-family: 'Playfair Display', serif; font-size: 1rem; font-style: italic; color: rgba(255,255,255,0.9); margin-bottom: 1rem; }
.testimonial cite { font-family: 'Cinzel', serif; font-size: 0.7rem; color: var(--gold); letter-spacing: 0.1em; }

/* ── FORMS ── */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-family: 'Cinzel', serif; font-size: 0.7rem; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.4rem; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius); color: var(--white);
  font-family: 'Inter', sans-serif; font-size: 0.95rem;
  transition: border-color var(--trans);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group select option { background: var(--navy2); color: var(--white); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ── DONATE CARDS ── */
.donate-method {
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--navy3); border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.25rem;
  transition: border-color var(--trans);
}
.donate-method:hover { border-color: var(--gold); }
.donate-method img { height: 48px; width: auto; flex-shrink: 0; }
.donate-method h4 { font-family: 'Cinzel', serif; font-size: 0.85rem; color: var(--gold); margin-bottom: 0.3rem; }
.donate-method p { font-size: 0.9rem; color: rgba(255,255,255,0.75); }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--navy);
  padding: 6rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.08) 0%, transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900; color: var(--white); margin-bottom: 0.75rem;
}
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.05rem; }

/* ── OUTREACH SECTION ── */
.outreach-section { margin-bottom: 3rem; }
.outreach-section h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--gold); margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.75rem; }
.outreach-section h3::after { content: ''; flex: 1; height: 1px; background: rgba(201,168,76,0.2); }

/* ── MEMBERS GRID ── */
.members-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; }
.member-card {
  background: var(--navy3); border-radius: var(--radius);
  overflow: hidden; text-align: center;
  transition: transform var(--trans); border: 1px solid rgba(201,168,76,0.1);
}
.member-card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,0.3); }
.member-card img { width: 100%; height: 200px; object-fit: cover; object-position: top; }
.member-card-body { padding: 1.1rem; }
.member-card h3 { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--white); margin-bottom: 0.25rem; }
.member-card .church { font-size: 0.8rem; color: var(--gold); font-family: 'Cinzel', serif; letter-spacing: 0.06em; margin-bottom: 0.25rem; }
.member-card .phone { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ── VALUES GRID ── */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.value-card { padding: 2rem; border-top: 3px solid var(--gold); background: var(--white); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); }
.value-card .icon { font-size: 1.8rem; margin-bottom: 1rem; }
.value-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--navy); }
.value-card p { font-size: 0.9rem; color: var(--muted); }

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--gold), transparent); }
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item::before { content: ''; position: absolute; left: -2.35rem; top: 0.3rem; width: 12px; height: 12px; background: var(--gold); border-radius: 50%; }
.timeline-item h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--white); margin-bottom: 0.4rem; }
.timeline-item p { font-size: 0.9rem; color: rgba(255,255,255,0.65); }

/* ── EVENTS ── */
.event-card {
  display: flex; gap: 1.5rem; align-items: flex-start;
  background: var(--white); border-radius: var(--radius);
  padding: 1.5rem; margin-bottom: 1.25rem;
  box-shadow: var(--shadow); border-left: 4px solid var(--gold);
  transition: transform var(--trans);
}
.event-card:hover { transform: translateX(4px); }
.event-date { text-align: center; flex-shrink: 0; width: 64px; }
.event-date .day { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; color: var(--crimson); line-height: 1; }
.event-date .month { font-family: 'Cinzel', serif; font-size: 0.65rem; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.event-info h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.event-info p { font-size: 0.9rem; color: var(--muted); }
.event-location { font-family: 'Cinzel', serif; font-size: 0.7rem; letter-spacing: 0.08em; color: var(--gold); margin-top: 0.4rem; display: flex; align-items: center; gap: 0.3rem; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-icon { width: 44px; height: 44px; background: rgba(201,168,76,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.contact-item h4 { font-family: 'Cinzel', serif; font-size: 0.75rem; color: var(--gold); margin-bottom: 0.2rem; letter-spacing: 0.1em; }
.contact-item p, .contact-item a { font-size: 0.95rem; color: rgba(255,255,255,0.8); }
.contact-item a:hover { color: var(--gold); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 3.5rem 2rem 2rem;
  color: rgba(255,255,255,0.65);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; max-width: 1100px; margin: 0 auto 2.5rem; }
.footer-brand img { height: 44px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 { font-family: 'Cinzel', serif; font-size: 0.72rem; letter-spacing: 0.15em; color: var(--gold); text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; transition: color var(--trans); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.5rem; text-align: center; font-size: 0.82rem; max-width: 1100px; margin: 0 auto; }
.social-links { display: flex; gap: 1rem; margin-top: 1rem; }
.social-links a { width: 36px; height: 36px; border: 1px solid rgba(201,168,76,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 0.85rem; transition: all var(--trans); }
.social-links a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ── SUBSCRIBE BAR ── */
.subscribe-bar { background: var(--crimson); padding: 3rem 2rem; text-align: center; }
.subscribe-bar h2 { font-family: 'Playfair Display', serif; color: var(--white); font-size: 1.6rem; margin-bottom: 0.5rem; }
.subscribe-bar p { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; }
.subscribe-form { display: flex; gap: 0.75rem; max-width: 440px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.subscribe-form input { flex: 1; min-width: 220px; padding: 0.7rem 1rem; border: none; border-radius: var(--radius); font-size: 0.95rem; }
.subscribe-form button { padding: 0.7rem 1.5rem; background: var(--navy); color: var(--white); border: none; border-radius: var(--radius); font-family: 'Cinzel', serif; font-size: 0.75rem; letter-spacing: 0.1em; cursor: pointer; transition: background var(--trans); }
.subscribe-form button:hover { background: var(--navy3); }

/* ── BREADCRUMB ── */
.breadcrumb { font-family: 'Cinzel', serif; font-size: 0.7rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 0.4rem; }

/* ── SECTION DIVIDER ── */
.divider { border: none; border-top: 1px solid rgba(201,168,76,0.15); margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 3.5rem 1.25rem; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2rem; }
}

/* ── SCROLL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── UTILITY ── */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.flex-center { display: flex; justify-content: center; }
