/* journeys-of-faith.css — Page-specific styling for the Journeys of Faith page.
   Moved from an inline <style> block. */

/* ═══════════════════════════════════════
   PAGE-LEVEL VARIABLES & RESET
═══════════════════════════════════════ */
body.page-journeys-of-faith {
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --text-primary: #1d1d1f;
    --text-secondary: #515155;
    --accent-blue: #0071e3;
    --accent-green: #34c759;
    --accent-purple: #5856D6;
    --grad-title-blue: linear-gradient(135deg,#0072ff 0%,#00c6ff 100%);
    --container-max: 1240px;
    --ease-spring: cubic-bezier(.25,1,.5,1);
}
:where(body.page-journeys-of-faith *, body.page-journeys-of-faith *::before, body.page-journeys-of-faith *::after) {
    box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased;
}
body.page-journeys-of-faith { font-family: var(--font-body); color: var(--text-primary); background: #f5f5f7; font-size: 16px; line-height: 1.6; overflow-x: hidden; }
body.page-journeys-of-faith a { text-decoration: none; color: inherit; }
body.page-journeys-of-faith ul { list-style: none; }
body.page-journeys-of-faith img { max-width: 100%; display: block; }
body.page-journeys-of-faith .container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; position: relative; }

/* Background orbs */
body.page-journeys-of-faith .liquid-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; overflow: hidden; background: #f5f5f7; pointer-events: none; }
body.page-journeys-of-faith .orb { position: absolute; border-radius: 50%; filter: blur(130px); will-change: transform; }
body.page-journeys-of-faith .orb-1 { width: 50vw; height: 50vw; top: -5%; left: -10%; background: radial-gradient(circle, rgba(0,113,227,.1) 0%, transparent 70%); animation: jof-o1 28s infinite ease-in-out alternate; }
body.page-journeys-of-faith .orb-2 { width: 40vw; height: 40vw; bottom: 10%; right: -5%; background: radial-gradient(circle, rgba(52,199,89,.1) 0%, transparent 70%); animation: jof-o2 34s infinite ease-in-out alternate; }
body.page-journeys-of-faith .orb-3 { width: 35vw; height: 35vw; top: 40%; left: 50%; background: radial-gradient(circle, rgba(88,86,214,.08) 0%, transparent 70%); animation: jof-o3 40s infinite ease-in-out alternate; }
@keyframes jof-o1 { 0%{transform:translate(0,0)} 100%{transform:translate(40px,60px)} }
@keyframes jof-o2 { 0%{transform:translate(0,0)} 100%{transform:translate(-30px,-40px)} }
@keyframes jof-o3 { 0%{transform:translate(0,0)} 100%{transform:translate(20px,-30px)} }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
body.page-journeys-of-faith .jof-hero {
    position: relative; height: 92vh; min-height: 600px; max-height: 900px;
    display: flex; align-items: center; overflow: hidden; color: #fff;
}
body.page-journeys-of-faith .jof-hero-img {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    transform: scale(1.05); transition: transform 8s ease;
}
body.page-journeys-of-faith .jof-hero:hover .jof-hero-img { transform: scale(1.0); }
body.page-journeys-of-faith .jof-hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to right, rgba(0,10,30,.92) 0%, rgba(0,10,30,.75) 50%, rgba(0,10,30,.4) 100%),
                linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 50%);
}
body.page-journeys-of-faith #jof-particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
body.page-journeys-of-faith .jof-hero-content { position: relative; z-index: 3; max-width: 680px; padding: 60px 0; }
body.page-journeys-of-faith .jof-hero h1 {
    font-size: clamp(40px,6vw,80px); font-weight: 800; letter-spacing: -.04em;
    line-height: 1.0; margin: 16px 0;
}
body.page-journeys-of-faith .jof-hero h1 span { background: var(--grad-title-blue); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
body.page-journeys-of-faith .jof-hero p { font-size: 18px; color: rgba(255,255,255,.8); line-height: 1.7; max-width: 560px; margin-bottom: 28px; }
body.page-journeys-of-faith .jof-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
body.page-journeys-of-faith .jof-hero-badges span {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
    border-radius: 100px; font-size: 13px; font-weight: 600; color: #fff;
    backdrop-filter: blur(10px);
}
body.page-journeys-of-faith .jof-cta-btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px;
    background: var(--accent-blue); color: #fff; border-radius: 100px; font-size: 15px; font-weight: 700;
    box-shadow: 0 8px 32px rgba(0,113,227,.4); transition: all .3s ease;
}
body.page-journeys-of-faith .jof-cta-btn:hover { background: #005bb5; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,113,227,.5); }

/* ═══════════════════════════════════════
   INTRO SECTION
═══════════════════════════════════════ */
body.page-journeys-of-faith .jof-intro-section { padding: 80px 0 60px; }
body.page-journeys-of-faith .jof-intro-header { text-align: center; margin-bottom: 48px; }
body.page-journeys-of-faith .jof-intro-header h2 { font-size: clamp(28px,4vw,48px); font-weight: 800; letter-spacing: -.03em; margin: 12px 0 16px; }
body.page-journeys-of-faith .jof-intro-header p { font-size: 17px; color: var(--text-secondary); max-width: 580px; margin: 0 auto; }
body.page-journeys-of-faith .jof-program-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
body.page-journeys-of-faith .jof-prog-card {
    border-radius: 24px; overflow: hidden; display: flex; flex-direction: column;
    box-shadow: 0 12px 40px rgba(0,0,0,.12); transition: transform .35s ease, box-shadow .35s ease; cursor: pointer;
}
body.page-journeys-of-faith .jof-prog-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0,0,0,.2); }
body.page-journeys-of-faith .jof-prog-card-img { height: 220px; background-size: cover; background-position: center; }
body.page-journeys-of-faith .jof-prog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); }
body.page-journeys-of-faith .jof-prog-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-blue); }
body.page-journeys-of-faith .jof-prog-italy .jof-prog-tag { color: #1a7f3c; }
body.page-journeys-of-faith .jof-prog-churches .jof-prog-tag { color: var(--accent-purple); }
body.page-journeys-of-faith .jof-prog-card-body h3 { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
body.page-journeys-of-faith .jof-prog-card-body h4 { font-size: 22px; font-weight: 800; color: var(--text-primary); line-height: 1.2; }
body.page-journeys-of-faith .jof-prog-card-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; flex: 1; }
body.page-journeys-of-faith .jof-prog-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent-blue); margin-top: 8px; }
body.page-journeys-of-faith .jof-prog-italy .jof-prog-link { color: #1a7f3c; }
body.page-journeys-of-faith .jof-prog-churches .jof-prog-link { color: var(--accent-purple); }

/* ═══════════════════════════════════════
   GALLERY STRIP (auto-scroll)
═══════════════════════════════════════ */
body.page-journeys-of-faith .jof-gallery-strip { overflow: hidden; padding: 0; height: 200px; position: relative; }
body.page-journeys-of-faith .jof-gallery-track { display: flex; gap: 8px; animation: jof-scroll 35s linear infinite; width: max-content; height: 100%; }
body.page-journeys-of-faith .jof-gallery-img { width: 300px; height: 200px; flex-shrink: 0; background-size: cover; background-position: center; border-radius: 4px; }
@keyframes jof-scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ═══════════════════════════════════════
   DESTINATION SECTIONS
═══════════════════════════════════════ */
body.page-journeys-of-faith .jof-destination-section { padding: 80px 0; }
body.page-journeys-of-faith .jof-israel-section { background: transparent; }
body.page-journeys-of-faith .jof-italy-section { background: rgba(52,199,89,.03); border-top: 1px solid rgba(52,199,89,.1); border-bottom: 1px solid rgba(52,199,89,.1); }
body.page-journeys-of-faith .jof-churches-section { background: rgba(88,86,214,.03); border-top: 1px solid rgba(88,86,214,.1); border-bottom: 1px solid rgba(88,86,214,.1); }
body.page-journeys-of-faith .jof-dest-header { text-align: center; margin-bottom: 48px; }
body.page-journeys-of-faith .jof-dest-header h2 { font-size: clamp(26px,3.5vw,44px); font-weight: 800; letter-spacing: -.03em; margin: 12px 0 14px; }
body.page-journeys-of-faith .jof-dest-header p { font-size: 17px; color: var(--text-secondary); max-width: 620px; margin: 0 auto; line-height: 1.7; }

/* Bento grid (reuse global) */
body.page-journeys-of-faith .mission-bento-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
body.page-journeys-of-faith .bento-card { border-radius: 24px; padding: 32px 28px; box-shadow: 0 8px 32px rgba(0,0,0,.07); transition: transform .3s ease, box-shadow .3s ease; }
body.page-journeys-of-faith .bento-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.12); }
body.page-journeys-of-faith .bento-wide { grid-column: 1 / -1; }
body.page-journeys-of-faith .bento-dark-gradient { background: linear-gradient(135deg,#001525,#002a4a); color: #fff; }
body.page-journeys-of-faith .bento-bg-gradient { background: rgba(255,255,255,.92); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.7); color: var(--text-primary); }
body.page-journeys-of-faith .bento-icon-wrapper { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; background: rgba(255,255,255,.12); color: #fff; }
body.page-journeys-of-faith .bento-bg-gradient .bento-icon-wrapper { background: rgba(0,113,227,.1); color: var(--accent-blue); }
body.page-journeys-of-faith .bento-content h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
body.page-journeys-of-faith .bento-dark-gradient .bento-content h3 { color: #fff; }
body.page-journeys-of-faith .bento-bg-gradient .bento-content h3 { color: var(--text-primary); }
body.page-journeys-of-faith .bento-content p { font-size: 14px; line-height: 1.65; }
body.page-journeys-of-faith .bento-dark-gradient .bento-content p { color: rgba(255,255,255,.78); }
body.page-journeys-of-faith .bento-bg-gradient .bento-content p { color: var(--text-secondary); }

/* Route timeline */
body.page-journeys-of-faith .jof-route { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; margin: 0 0 8px; }
body.page-journeys-of-faith .jof-route-city { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
body.page-journeys-of-faith .jof-route-dot { width: 14px; height: 14px; border-radius: 50%; background: #34c759; border: 3px solid #fff; box-shadow: 0 0 0 3px rgba(52,199,89,.3); }
body.page-journeys-of-faith .jof-route-line { flex: 1; min-width: 24px; height: 2px; background: linear-gradient(to right, #34c759, rgba(52,199,89,.3)); margin-top: -30px; }
body.page-journeys-of-faith .jof-route-info h4 { font-size: 13px; font-weight: 800; color: var(--text-primary); margin-top: 8px; }
body.page-journeys-of-faith .jof-route-info p { font-size: 11px; color: var(--text-secondary); line-height: 1.4; }

/* Tiers */
body.page-journeys-of-faith .jof-tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 16px; }
body.page-journeys-of-faith .jof-tier { display: flex; flex-direction: column; gap: 8px; }
body.page-journeys-of-faith .jof-tier-badge { display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 700; width: fit-content; }
body.page-journeys-of-faith .jof-tier p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* Payment grid */
body.page-journeys-of-faith .jof-payment-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 16px; }
body.page-journeys-of-faith .jof-payment-item { display: flex; flex-direction: column; gap: 4px; background: rgba(255,255,255,.08); padding: 16px; border-radius: 12px; }
body.page-journeys-of-faith .jof-payment-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.5); }
body.page-journeys-of-faith .jof-payment-amount { font-size: 24px; font-weight: 800; color: #fff; }
body.page-journeys-of-faith .jof-payment-note { font-size: 12px; color: rgba(255,255,255,.6); }

/* Digital course card */
body.page-journeys-of-faith .jof-digital-course {
    display: flex; align-items: center; gap: 24px; margin-top: 28px;
    background: rgba(255,255,255,.92); backdrop-filter: blur(20px); border: 1px solid rgba(52,199,89,.2);
    border-radius: 20px; padding: 28px 32px; box-shadow: 0 8px 30px rgba(0,0,0,.06);
}
body.page-journeys-of-faith .jof-digital-icon { font-size: 48px; color: var(--accent-green); flex-shrink: 0; }
body.page-journeys-of-faith .jof-digital-text { flex: 1; }
body.page-journeys-of-faith .jof-digital-text h3 { font-size: 18px; font-weight: 800; color: var(--text-primary); margin-bottom: 8px; }
body.page-journeys-of-faith .jof-digital-text p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }
body.page-journeys-of-faith .jof-interest-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--accent-green); color: #fff; border-radius: 100px; font-size: 14px; font-weight: 700; white-space: nowrap; transition: all .3s ease; }
body.page-journeys-of-faith .jof-interest-btn:hover { filter: brightness(1.1); transform: translateY(-2px); }

/* Photo mosaic */
body.page-journeys-of-faith .jof-photo-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-top: 40px; height: 360px; }
body.page-journeys-of-faith .jof-mosaic-main { background-size: cover; background-position: center; border-radius: 16px; }
body.page-journeys-of-faith .jof-mosaic-side { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
body.page-journeys-of-faith .jof-mosaic-side div { background-size: cover; background-position: center; border-radius: 12px; }

/* Full gallery grid */
body.page-journeys-of-faith .jof-full-gallery { padding: 80px 0; }
body.page-journeys-of-faith .jof-grid-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 12px;
    margin-top: 40px;
}
body.page-journeys-of-faith .jof-gg-item { background-size: cover; background-position: center; border-radius: 12px; transition: transform .3s ease, box-shadow .3s ease; overflow: hidden; }
body.page-journeys-of-faith .jof-gg-item:hover { transform: scale(1.02); box-shadow: 0 12px 40px rgba(0,0,0,.2); z-index: 1; }
body.page-journeys-of-faith .jof-gg-tall { grid-row: span 2; }
body.page-journeys-of-faith .jof-gg-wide { grid-column: span 2; }

/* Contact section */
body.page-journeys-of-faith .jof-contact-section { padding: 80px 0 100px; }
body.page-journeys-of-faith .jof-contact-card {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
    background: linear-gradient(135deg, #001525, #002a4a); border-radius: 32px;
    padding: 60px 56px; box-shadow: 0 24px 80px rgba(0,0,0,.2); color: #fff;
}
body.page-journeys-of-faith .jof-contact-left h2 { font-size: clamp(24px,3vw,36px); font-weight: 800; line-height: 1.2; margin: 12px 0 16px; }
body.page-journeys-of-faith .jof-contact-left p { font-size: 15px; color: rgba(255,255,255,.75); line-height: 1.7; }
body.page-journeys-of-faith .jof-contact-stats { display: flex; gap: 32px; margin-top: 32px; }
body.page-journeys-of-faith .jof-contact-stats div { display: flex; flex-direction: column; gap: 4px; }
body.page-journeys-of-faith .jof-contact-stats strong { font-size: 28px; font-weight: 800; color: #64D2FF; }
body.page-journeys-of-faith .jof-contact-stats span { font-size: 12px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
body.page-journeys-of-faith .jof-form { display: flex; flex-direction: column; gap: 14px; }
body.page-journeys-of-faith .jof-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
body.page-journeys-of-faith .jof-input {
    width: 100%; padding: 14px 18px; font-size: 14px; font-family: var(--font-body);
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px; color: #fff; outline: none; transition: border-color .2s ease;
}
body.page-journeys-of-faith .jof-input::placeholder { color: rgba(255,255,255,.4); }
body.page-journeys-of-faith .jof-input:focus { border-color: rgba(100,210,255,.5); background: rgba(255,255,255,.12); }
body.page-journeys-of-faith .jof-select option { background: #002a4a; color: #fff; }
body.page-journeys-of-faith .jof-textarea { height: 100px; resize: none; }
body.page-journeys-of-faith .jof-submit-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 32px; background: var(--accent-blue); color: #fff;
    border: none; border-radius: 100px; font-size: 15px; font-weight: 700;
    cursor: pointer; transition: all .3s ease; font-family: var(--font-body);
    box-shadow: 0 8px 32px rgba(0,113,227,.35);
}
body.page-journeys-of-faith .jof-submit-btn:hover { background: #005bb5; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,113,227,.5); }

/* Reveal */
body.page-journeys-of-faith .reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
body.page-journeys-of-faith .reveal.active { opacity: 1; transform: translateY(0); }
body.page-journeys-of-faith .stagger-1 { transition-delay: .1s; }
body.page-journeys-of-faith .stagger-2 { transition-delay: .2s; }
body.page-journeys-of-faith .stagger-3 { transition-delay: .3s; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    body.page-journeys-of-faith .jof-program-cards { grid-template-columns: 1fr 1fr; }
    body.page-journeys-of-faith .jof-prog-churches { grid-column: 1 / -1; }
    body.page-journeys-of-faith .jof-prog-churches .jof-prog-card-img { height: 160px; }
    body.page-journeys-of-faith .jof-tiers { grid-template-columns: 1fr; }
    body.page-journeys-of-faith .jof-payment-grid { grid-template-columns: 1fr 1fr; }
    body.page-journeys-of-faith .jof-contact-card { grid-template-columns: 1fr; gap: 40px; padding: 40px 32px; }
}
@media (max-width: 768px) {
    body.page-journeys-of-faith .jof-hero { height: 75vh; }
    body.page-journeys-of-faith .jof-hero h1 { font-size: 38px; }
    body.page-journeys-of-faith .jof-program-cards { grid-template-columns: 1fr; }
    body.page-journeys-of-faith .jof-prog-churches { grid-column: auto; }
    body.page-journeys-of-faith .mission-bento-grid { grid-template-columns: 1fr; }
    body.page-journeys-of-faith .jof-route { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 12px; }
    body.page-journeys-of-faith .jof-route-line { display: none; }
    body.page-journeys-of-faith .jof-route-city { flex-direction: row; align-items: center; gap: 12px; text-align: left; }
    body.page-journeys-of-faith .jof-photo-mosaic { grid-template-columns: 1fr; height: auto; }
    body.page-journeys-of-faith .jof-mosaic-main { height: 220px; }
    body.page-journeys-of-faith .jof-mosaic-side { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; height: 130px; }
    body.page-journeys-of-faith .jof-grid-gallery { grid-template-columns: 1fr 1fr; }
    body.page-journeys-of-faith .jof-gg-wide { grid-column: span 1; }
    body.page-journeys-of-faith .jof-payment-grid { grid-template-columns: 1fr 1fr; }
    body.page-journeys-of-faith .jof-digital-course { flex-direction: column; text-align: center; }
    body.page-journeys-of-faith .jof-form-row { grid-template-columns: 1fr; }
    body.page-journeys-of-faith .jof-contact-card { padding: 32px 20px; }
}
