/* ===========================================
   FAITH HEALING BIBLE CHURCH — DMV USA
   Shared Stylesheet
=========================================== */
:root {
  --navy:       #0B1E4A;
  --navy-deep:  #060F28;
  --navy-mid:   #122459;
  --gold:       #C9A84C;
  --gold-light: #E6C97A;
  --gold-pale:  #F5EDD2;
  --lavender:   #9B8EC4;
  --lavender-lt:#E8E3F5;
  --white:      #FFFFFF;
  --off-white:  #F9F7F3;
  --text-dark:  #1A1A2E;
  --text-mid:   #3D3D5C;
  --text-light: #7A7A99;
  --border:     rgba(201,168,76,0.25);
  --section-pad: clamp(64px, 8vw, 110px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Typography ---- */
.display { font-family: 'Playfair Display', Georgia, serif; line-height: 1.1; letter-spacing: -0.02em; }
.serif   { font-family: 'Cormorant Garamond', Georgia, serif; }
.eyebrow { font-family: 'DM Sans', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }

/* ---- Layout ---- */
.container  { max-width: 1160px; margin: 0 auto; padding: 0 clamp(20px,5vw,60px); }
.section-pad{ padding: var(--section-pad) 0; }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy-deep);
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 30px; border-radius: 2px;
  transition: background .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 4px 20px rgba(201,168,76,.3);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,168,76,.4); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--navy); color: var(--navy);
  font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 13px 28px; border-radius: 2px;
  transition: background .25s, color .25s, border-color .25s;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(255,255,255,.35); color: rgba(255,255,255,.85);
  font-weight: 500; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 13px 26px; border-radius: 2px;
  transition: border-color .25s, color .25s, background .25s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(201,168,76,.06); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: var(--navy-deep);
  padding: 140px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #060F28 0%, #0B1E4A 55%, #122459 100%);
}
.page-hero-pattern {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--gold); margin-bottom: 14px; display: block; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800; color: var(--white); margin-bottom: 16px; line-height: 1.1;
}
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2vw, 1.3rem); color: rgba(255,255,255,.7);
  font-style: italic; max-width: 560px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; color: rgba(255,255,255,.4);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.4); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ---- Section Headers ---- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow { color: var(--gold); margin-bottom: 12px; display: block; }
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; color: var(--navy); margin-bottom: 14px;
}
.section-header h2 em { font-style: italic; color: var(--lavender); }
.section-header p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; color: var(--text-mid); max-width: 520px; margin: 0 auto; font-style: italic;
}

/* ---- Announcement Strip ---- */
.announcement-strip { background: var(--gold); padding: 13px 0; }
.announcement-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap;
}
.announcement-inner p {
  font-size: 0.78rem; font-weight: 600; color: var(--navy-deep);
  letter-spacing: 0.06em; text-transform: uppercase;
  display: flex; align-items: center; gap: 7px;
}
.announcement-inner .dot { width: 4px; height: 4px; background: var(--navy-deep); border-radius: 50%; opacity: .4; }

/* ---- NAVBAR ---- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  transition: background .4s, box-shadow .4s, padding .3s;
  padding: 18px 0;
}
#navbar.scrolled {
  background: rgba(6,15,40,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 30px rgba(0,0,0,.35);
  padding: 11px 0;
}
#navbar.solid { background: rgba(6,15,40,.97); padding: 11px 0; }

.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-brand  { display: flex; align-items: center; gap: 12px; }
.nav-logo   { width: 46px; height: 46px; border-radius: 50%; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.nav-title  { display: flex; flex-direction: column; line-height: 1.25; }
.nav-title span:first-child { font-family: 'Playfair Display', serif; font-size: 0.9rem; font-weight: 700; color: var(--white); }
.nav-title span:last-child  { font-size: 0.62rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-light); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.8rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.8); transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--gold); transition: width .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--gold) !important; color: var(--navy-deep) !important;
  padding: 8px 18px !important; border-radius: 2px; font-weight: 700 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 5px; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  background: var(--navy-deep); border: 1px solid rgba(201,168,76,.15); border-radius: 4px;
  min-width: 200px; padding: 8px 0; opacity: 0; pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity .25s, transform .25s;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block; padding: 10px 20px; font-size: 0.8rem;
  color: rgba(255,255,255,.7) !important; letter-spacing: .05em;
  transition: color .2s, background .2s;
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover { color: var(--gold-light) !important; background: rgba(201,168,76,.06); }

/* Hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile { display: none; flex-direction: column; background: var(--navy-deep); padding: 12px 0 20px; border-top: 1px solid rgba(201,168,76,.15); }
.nav-mobile.open { display: flex; }
.nav-mobile a { color: rgba(255,255,255,.8); font-size: 0.88rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 13px clamp(20px,5vw,60px); border-bottom: 1px solid rgba(255,255,255,.05); transition: color .2s, background .2s; }
.nav-mobile a:hover { color: var(--gold-light); background: rgba(201,168,76,.04); }
.nav-mobile a.active { color: var(--gold); }
.nav-mobile-section { font-size: 0.65rem; color: rgba(255,255,255,.3); letter-spacing: .18em; text-transform: uppercase; padding: 14px clamp(20px,5vw,60px) 6px; margin-top: 6px; }

/* ---- FOOTER ---- */
#footer { background: var(--navy-deep); padding: 64px 0 0; }
.footer-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-logo-wrap { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-logo { width: 50px; height: 50px; border-radius: 50%; object-fit: contain; }
.footer-church-name { font-family: 'Playfair Display', serif; font-size: 0.95rem; color: var(--white); font-weight: 700; line-height: 1.3; }
.footer-chapter { font-size: 0.62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.footer-tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 0.92rem; color: rgba(255,255,255,.4); line-height: 1.6; max-width: 260px; margin-bottom: 20px; }
.footer-addr { font-size: 0.78rem; color: rgba(255,255,255,.28); line-height: 1.7; }
.footer-col h4 { font-size: 0.68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 0.82rem; color: rgba(255,255,255,.45); transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 0.73rem; color: rgba(255,255,255,.25); }
.footer-bottom a { color: var(--gold); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---- Scroll Reveal ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ---- Image with overlay ---- */
.img-overlay { position: relative; overflow: hidden; border-radius: 4px; }
.img-overlay img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.img-overlay:hover img { transform: scale(1.03); }

/* ---- Cards ---- */
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: 4px;
  padding: 28px 24px; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(11,30,74,.09); border-color: rgba(201,168,76,.35); }

/* ---- Responsive ---- */
@media(max-width:960px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1/-1; }
}
@media(max-width:600px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .announcement-inner { flex-direction: column; gap: 6px; }
}
