/* ═══════════════════════════════════════════
   FREE BIBLES NOW — Global Styles
   ═══════════════════════════════════════════ */

:root {
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --sky-800: #075985;
  --sky-900: #0c4a6e;
  --gold: #c9a84c;
  --gold-light: #e8d48b;
  --cream: #fefcf6;
  --text-dark: #1e293b;
  --text-mid: #475569;
  --text-light: #94a3b8;
  --white: #ffffff;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(14,165,233,0.08);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(12,74,110,0.08); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sky-800);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active { color: var(--sky-600); }
.nav-cta {
  background: var(--sky-600) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--sky-700) !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--sky-800);
  border-radius: 2px;
  transition: 0.3s;
}

/* ─── PAGE HERO (used on inner pages) ─── */
.page-hero {
  padding: 10rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero.sky-gradient {
  background: linear-gradient(165deg, var(--sky-50) 0%, var(--white) 40%, var(--sky-100) 100%);
}
.page-hero.dark-gradient {
  background: linear-gradient(170deg, var(--sky-800) 0%, var(--sky-900) 100%);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(125,211,252,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero .section-label { animation: fadeUp 0.6s ease both; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--sky-900);
  margin-bottom: 1.2rem;
  letter-spacing: -0.025em;
  animation: fadeUp 0.6s 0.1s ease both;
}
.page-hero.dark-gradient h1 { color: var(--white); }
.page-hero p {
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.8;
  animation: fadeUp 0.6s 0.2s ease both;
}
.page-hero.dark-gradient p { color: rgba(255,255,255,0.7); }

/* ─── SECTIONS ─── */
section { padding: 6rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-500);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--sky-900);
  line-height: 1.2;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-mid);
  font-weight: 300;
  max-width: 600px;
  line-height: 1.7;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}
.btn-primary {
  background: var(--sky-600);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(2,132,199,0.25);
}
.btn-primary:hover { background: var(--sky-700); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(2,132,199,0.3); }
.btn-outline {
  background: transparent;
  color: var(--sky-700);
  border: 2px solid var(--sky-200);
}
.btn-outline:hover { border-color: var(--sky-400); background: var(--sky-50); }
.btn-gold {
  background: var(--gold);
  color: var(--sky-900);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ─── IMAGE CONTAINERS ─── */
.img-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(12,74,110,0.08);
  background: linear-gradient(135deg, var(--sky-100), var(--sky-200));
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-placeholder {
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem;
  color: var(--sky-500);
  font-size: 0.85rem;
  font-weight: 500;
}
.img-placeholder svg { width: 48px; height: 48px; stroke: var(--sky-300); opacity: 0.6; }

/* ─── PHOTO GALLERY GRID ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.gallery-grid .img-frame { aspect-ratio: 4/3; }

/* ─── TWO-COL LAYOUT ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col.reverse > :first-child { order: 2; }
.two-col.reverse > :last-child { order: 1; }

/* ─── CONTENT PROSE ─── */
.prose p {
  color: var(--text-mid);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  line-height: 1.85;
}
.prose p:last-child { margin-bottom: 0; }

/* ─── SERVICE CARDS ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(14,165,233,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(12,74,110,0.08);
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sky-100), var(--sky-200));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.service-icon svg { width: 28px; height: 28px; stroke: var(--sky-600); fill: none; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sky-900);
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ─── INVITE STEPS ─── */
.invite-steps { list-style: none; counter-reset: step; }
.invite-steps li {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 2rem;
  counter-increment: step;
}
.invite-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--sky-500), var(--sky-600));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.invite-steps h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sky-900);
  margin-bottom: 0.3rem;
}
.invite-steps p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ─── DETAIL LIST (checkmarks) ─── */
.detail-list { list-style: none; }
.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.detail-item svg { width: 22px; height: 22px; stroke: var(--sky-500); flex-shrink: 0; margin-top: 2px; }
.detail-item p { font-size: 0.95rem; color: var(--text-dark); line-height: 1.6; }

/* ─── BOX / CARD ─── */
.info-box {
  background: linear-gradient(145deg, var(--sky-50), var(--sky-100));
  border: 1px solid rgba(14,165,233,0.1);
  border-radius: 16px;
  padding: 2.5rem;
}
.info-box h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sky-900);
  margin-bottom: 0.5rem;
}
.info-box > p {
  color: var(--text-mid);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* ─── CTA BAND ─── */
.cta-band {
  background: linear-gradient(170deg, var(--sky-800) 0%, var(--sky-900) 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%; right: -25%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(125,211,252,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-band .section-label { color: var(--sky-300); }
.cta-band .section-title { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 2rem; font-size: 1.05rem; line-height: 1.7; }

/* ─── VERSE BANNER ─── */
.verse-banner {
  background: var(--sky-50);
  padding: 4rem 2rem;
  text-align: center;
}
.verse-banner blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--sky-800);
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.7;
}
.verse-banner cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--sky-500);
  letter-spacing: 0.05em;
}

/* ─── PHOTO WITH CAPTION ─── */
.photo-feature {
  margin: 3rem 0;
}
.photo-feature .img-frame {
  aspect-ratio: 21/9;
}
.photo-caption {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  font-style: italic;
}

/* ─── FOOTER ─── */
footer {
  background: var(--sky-900);
  color: rgba(255,255,255,0.6);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}
.footer-logo span { color: var(--gold); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  font-size: 0.85rem;
  width: 100%;
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.reverse > :first-child { order: 0; }
  .two-col.reverse > :last-child { order: 0; }
  .services-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(14,165,233,0.1);
    box-shadow: 0 8px 24px rgba(12,74,110,0.06);
    gap: 1rem;
  }
  .hamburger { display: flex; }
  section { padding: 4rem 1.25rem; }
  .page-hero { padding: 8rem 1.25rem 3.5rem; }
  .gallery-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}
