/* ==========================================================
   Fun & Meaningful Christian Vacations - Main Stylesheet
   Version: 65.0 (VORTEX "Complete System Reconstruction" - FINAL MASTER)
   ========================================================== */

/* === ROOT VARIABLES & RESET === */
:root {
    --primary-color: #8B4513; --primary-color-rgb: 139, 69, 19; --secondary-color: #DAA520; --secondary-color-rgb: 218, 165, 32; --dark-color: #333333; --light-color: #f8f5f0; --white-color: #ffffff; --text-color: #4a5568; --text-light: #718096; --heading-font: 'Playfair Display', serif; --body-font: 'Open Sans', sans-serif; --transition-speed: 0.3s ease; --container-width: 1140px; --box-shadow: 0 4px 12px rgba(0,0,0,0.08); --box-shadow-hover: 0 6px 18px rgba(0,0,0,0.12); --border-radius: 10px; --tan-dark: #EAE0D5; --tan-light: #F7F3ED; --border-color: #DCD0C0;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--body-font); line-height: 1.65; color: var(--text-color); background-color: var(--light-color); overflow-x: hidden; cursor: auto !important; }

/* === TYPOGRAPHY & GLOBAL STYLES === */
h1, h2, h3, h4, h5, h6 { font-family: var(--heading-font); color: var(--primary-color); font-weight: 700; line-height: 1.3; margin-bottom: 0.75em; }
.section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 25px; text-align: center; }
.section-subtitle, .page-header-subtitle { font-size: 1.05rem; color: var(--text-light); max-width: 650px; margin: 0 auto 50px auto; line-height: 1.7; text-align: center; }
p { margin-bottom: 1.25em; }
a { color: var(--primary-color); text-decoration: none; transition: color var(--transition-speed); }
a:hover { color: var(--secondary-color); text-decoration: none; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 45px 0; }
.btn { display: inline-block; padding: 10px 25px; font-size: 0.95rem; font-weight: 600; border-radius: var(--border-radius); transition: all var(--transition-speed); cursor: pointer; text-align: center; position: relative; overflow: hidden; z-index: 1; letter-spacing: 0.3px; border: 2px solid transparent; }
.btn-primary { background-color: var(--primary-color); color: var(--white-color); border-color: var(--primary-color); }
.btn-primary:hover { background-color: #7A3C10; border-color: #7A3C10; transform: translateY(-2px); box-shadow: var(--box-shadow-hover); }
.btn-secondary { background-color: var(--secondary-color); color: var(--dark-color); border-color: var(--secondary-color); }
.btn-secondary:hover { background-color: #C8941C; border-color: #C8941C; transform: translateY(-2px); box-shadow: var(--box-shadow-hover); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 15px 35px; font-size: 1.1rem; }
.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.text-muted { color: #869ab8 !important; }
.bg-light-alt { background-color: var(--tan-light); }

/* === HEADER & NAVIGATION ("ADAPTIVE COMMAND DECK") === */
#main-header { background-color: rgba(44, 44, 46, 0.5); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); box-shadow: none; position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease; }
#main-header.scrolled { background-color: rgba(255, 255, 255, 0.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.navbar .nav-container { display: flex; justify-content: space-between; align-items: center; height: 80px; width: 100%; max-width: 100%; margin: 0 auto; padding: 0 25px; gap: 15px; }
.nav-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; z-index: 1003; }
.nav-logo img { height: 31px; width: auto; transition: transform 0.3s ease; }
.nav-logo-tagline { color: var(--white-color); font-size: 0.65rem; font-weight: 600; text-shadow: 1px 1px 2px rgba(0,0,0,0.7); transition: color var(--transition-speed); line-height: 1.2; margin-top: 4px; }
#main-header.scrolled .nav-logo-tagline { color: var(--dark-color); text-shadow: none; }
.nav-logo:hover img { transform: scale(1.05); }
.nav-menu { display: flex; list-style: none; align-items: center; margin: 0; padding: 0; }
.nav-item { margin: 0; }
.nav-link { text-decoration: none; color: var(--white-color); font-weight: 600; font-size:0.9rem; padding: 8px 10px; position: relative; transition: color 0.3s ease; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); white-space: nowrap; }
#main-header.scrolled .nav-link { color: var(--dark-color); text-shadow: none; }
.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background-color: var(--secondary-color); transition: width var(--transition-speed); }
.nav-link:hover, .nav-link.active { color: var(--secondary-color) !important; text-shadow: none !important; }
#main-header.scrolled .nav-link:hover, #main-header.scrolled .nav-link.active { color: var(--primary-color) !important; }
#main-header.scrolled .nav-link.active::after { background-color: var(--primary-color); }
.dropdown { position: relative; }
.dropdown-menu { display: block; position: absolute; top: 100%; left: 0; background-color: var(--white-color); list-style: none; padding: 8px 0; margin-top: 8px; min-width: 230px; box-shadow: var(--box-shadow); border-radius: var(--border-radius); z-index: 1001; border: 1px solid #eee; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s; }
.dropdown.dropdown-active > .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a { display: block; padding: 8px 18px; text-decoration: none; color: var(--text-color); font-weight: 400; font-size: 0.9rem; text-shadow: none; }
.dropdown-menu li a:hover, .dropdown-menu li a.active { background-color: var(--light-color); color: var(--primary-color); }
.nav-cta-area { display: flex; flex-direction: column; align-items: center; z-index: 1003; }
.nav-book-now-btn { padding: 8px 24px; font-size: 0.9rem; background-color: var(--secondary-color); color: var(--dark-color); border-color: var(--secondary-color); text-shadow: none; }
.nav-book-now-btn:hover { background-color: var(--primary-color); border-color: var(--primary-color); color: var(--white-color); transform: scale(1.05); }
.nav-cta-area .cta-tagline { display: block; color: var(--secondary-color); font-weight: bold; font-style: italic; font-size: 0.7rem; line-height: 1.1; margin-top: 2px; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); transition: all 0.3s ease; }
#main-header.scrolled .nav-cta-area .cta-tagline { color: var(--secondary-color); text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }
.hamburger { display: none; cursor: pointer; background: none; border: none; padding: 10px; z-index: 1002; }
.hamburger .bar { display: block; width: 22px; height: 2px; margin: 5px auto; background-color: var(--white-color); transition: all 0.3s ease-in-out; }
#main-header.scrolled .hamburger .bar { background-color: var(--dark-color); }

/* === HERO & GENERIC PAGE HEADERS === */
main#primary { padding-top: 80px; }
.hero.video-hero, .page-header { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; color: var(--white-color); background-size: cover; background-position: center center; }
.hero.video-hero { height: 100vh; min-height: 600px; margin-top: -80px; }
.page-header { width: 100%; aspect-ratio: 16 / 6; min-height: 300px; max-height: 450px; margin-top: -80px; }
.hero-video-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
#heroVideo { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-overlay, .page-header::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.7) 100%); z-index: 2; }
.hero .hero-content, .page-header-content { position: relative; z-index: 3; max-width: 100%; width: 100%; padding: 20px 2vw; animation: fadeInAndUp 1.2s ease-out forwards; }
@keyframes fadeInAndUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-tour-links { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: start; width: 100%; margin-bottom: 25px; gap: 15px; }
.hero-title-link { font-family: var(--heading-font); font-weight: 800; line-height: 1.2; color: var(--secondary-color); text-shadow: 0px 2px 4px rgba(0,0,0,0.6), 0px 5px 20px rgba(0,0,0,0.5); font-size: clamp(1.1rem, 2.2vw, 1.8rem); text-decoration: none; transition: transform 0.3s ease, text-shadow 0.3s ease; padding: 10px 0; }
.hero-tagline { font-family: var(--body-font); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.5px; text-shadow: 0px 1px 3px rgba(0,0,0,0.8); color: var(--white-color); margin-bottom: 25px; }
.hero-button-group { margin-top: 15px; display: flex; flex-direction: column; align-items: center; }
.hero-button-subtext { display: block; margin-top: 8px; font-family: var(--body-font); font-weight: 600; font-size: 0.9rem; color: var(--white-color); text-shadow: 0px 1px 3px rgba(0,0,0,0.8); letter-spacing: 0.3px; }

/* === HOMEPAGE COMPONENTS === */
.tour-preview-section { padding-top: 25px; }
.tour-cards-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.tour-card { background-color: var(--white-color); border-radius: var(--border-radius); box-shadow: var(--box-shadow); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--box-shadow-hover); }
.tour-card-image img { width: 100%; height: 220px; object-fit: cover; display: block; }
.tour-card-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.tour-card-title { font-family: var(--heading-font); font-size: 1.4rem; color: var(--primary-color); margin-bottom: 10px; font-weight: 700; }
.tour-card-description { font-size: 0.9rem; margin-bottom: 20px; flex-grow: 1; line-height: 1.6; color: var(--text-light); }
.tour-card .btn-secondary { font-size: 0.85rem; padding: 8px 20px; margin-top: auto; }
.tour-preview-footnote { margin-top: 30px; color: var(--text-light); font-size: 0.9rem; font-style: italic; max-width: 500px; margin-left: auto; margin-right: auto; }
.tour-preview-footnote p { margin-bottom: 0; }
.explore-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 40px; align-items: start; }
.feature-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 15px; }
.feature-item i { font-size: 2.5rem; color: var(--secondary-color); margin-bottom: 15px; }
.feature-item h3 { font-size: 1.3rem; margin-bottom: 8px; }
.feature-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; margin: 0; }
.dynamic-narrative-section { background-color: var(--light-color); }
#typewriter-text { width: 90%; max-width: 900px; margin: 0 auto; text-align: left; font-family: var(--heading-font); font-size: 1.5rem; color: #1E88E5; line-height: 1.7; min-height: 100px; opacity: 0; transition: opacity 0.5s ease; position: relative; }
#typewriter-text::after { content: '|'; position: absolute; animation: blink 1s step-end infinite; color: var(--secondary-color); }
#typewriter-text.typing-done::after { display: none; }
@keyframes blink { from, to { opacity: 1; } 50% { opacity: 0; } }
.tour-showcase-apple-section { background-color: var(--white-color); }
.tour-showcase-apple-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 30px; }
.tour-box-apple { background-color: var(--tan-light); border-radius: var(--border-radius); padding: 0; text-align: center; box-shadow: 0 6px 20px rgba(0,0,0,0.06); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border-color); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.tour-box-apple:hover { transform: translateY(-6px); box-shadow: 0 10px 25px rgba(0,0,0,0.09); border-color: var(--secondary-color); }
.tour-box-apple-title { font-family: var(--heading-font); font-size: 1.25rem; color: var(--dark-color); font-weight: 700; margin: 0; line-height: 1.3; padding: 20px; background-color: var(--tan-dark); border-bottom: 1px solid var(--border-color); white-space: nowrap; }
.tour-box-apple-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.tour-box-apple-summary { font-size: 1rem; color: var(--text-color); font-weight: 600; margin-bottom: 20px; min-height: 4.5em; }
.tour-box-apple-footer { padding: 0 25px 25px 25px; border-top: 1px solid var(--border-color); margin-top: auto; }
.btn.btn-apple-style { display: flex; align-items: center; justify-content: center; width: 100%; font-family: var(--body-font); font-weight: 600; padding: 12px 22px; text-transform: none; font-size: 0.9rem; margin-top: 15px; background-color: var(--primary-color); color: var(--white-color); border-color: var(--primary-color); }
.btn.btn-apple-style:hover { background-color: #7A3C10; border-color: #7A3C10; }
.tour-showcase-footer-text { margin-top: 40px; padding-top: 25px; border-top: 1px solid #e0e0e0; }
.tour-showcase-footer-text p { font-size: 0.95rem; color: var(--text-color); max-width: 600px; margin: 0 auto 8px auto; line-height: 1.6; }
.tour-showcase-footer-text p:first-child { font-family: var(--heading-font); font-weight: 600; color: var(--primary-color); font-size: 1.1rem; }
.testimonials-section { background-color: var(--light-color); }
.testimonial-slider { position: relative; overflow: hidden; max-width: 900px; margin: 0 auto; }
.testimonial-slides { display: flex; transition: transform 0.5s ease-in-out; }
.testimonial-slide { min-width: 100%; box-sizing: border-box; padding: 20px 60px; text-align: center; }
.testimonial-quote { font-family: var(--heading-font); font-size: 1.2rem; font-style: italic; color: var(--text-color); margin-bottom: 1rem; min-height: 80px; }
.testimonial-author { font-weight: bold; color: var(--primary-color); }
.slider-controls button { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(var(--primary-color-rgb), 0.5); color: white; border: none; border-radius: 50%; width: 40px; height: 40px; cursor: pointer; transition: background-color 0.3s ease; z-index: 10; }
.slider-controls button:hover { background-color: rgba(var(--primary-color-rgb), 0.8); }
.slider-controls .prev-slide { left: 10px; }
.slider-controls .next-slide { right: 10px; }
.tour-box-details { text-align: left; }
.detail-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.detail-icon i { color: var(--primary-color); font-size: 1rem; margin-top: 4px; }
.detail-label { font-weight: bold; white-space: nowrap; }
.detail-value { color: var(--text-light); }
.country-stack { display: flex; flex-direction: column; align-items: flex-start; }
.country-stack span { line-height: 1.5; }
.inline-flag { display: inline-block; vertical-align: middle; margin-right: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }

/* === TOUR PAGE SPECIFIC STYLES === */
.tour-key-details-strip { background-color: var(--primary-color); color: var(--white-color); padding: 10px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.15); border-top: 3px solid var(--secondary-color); border-bottom: 3px solid var(--secondary-color); position: relative; z-index: 10; min-height: auto; }
.details-strip-content { display: flex; justify-content: space-around; align-items: stretch; flex-wrap: wrap; gap: 20px; }
.key-detail-item { display: flex; align-items: center; gap: 15px; text-align: left; padding: 10px; flex-grow: 1; justify-content: center; }
.key-detail-item i { font-size: 2.2rem; color: var(--secondary-color); opacity: 0.9; }
.key-detail-item div { display: flex; flex-direction: column; }
.key-detail-item strong { font-family: var(--body-font); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); letter-spacing: 0.5px; }
.key-detail-item span { font-family: var(--body-font); font-weight: 600; font-size: 1.1rem; }
.key-detail-item.countries-item > div { display: flex; flex-direction: row; align-items: center; gap: 10px; }

/* === GALLERY PAGE STYLES === */
.location-gallery-section { margin-bottom: 70px; }
.location-section-header { text-align: center; margin-bottom: 40px; }
.location-title { font-size: clamp(1.8rem, 5vw, 2.5rem); padding-bottom: 10px; border-bottom: 2px solid var(--secondary-color); display: inline-block; }
.gallery-grid { display: grid; grid-auto-flow: dense; gap: 15px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); grid-auto-rows: 200px; }
.gallery-item { display: block; position: relative; overflow: hidden; border-radius: var(--border-radius); box-shadow: var(--box-shadow); transition: all 0.4s ease; }
.gallery-item.is-portrait { grid-row: span 2; }
.gallery-item:hover { box-shadow: var(--box-shadow-hover); transform: scale(1.03); z-index: 10; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; text-align: left; color: var(--white-color); background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 70%); opacity: 0; transition: opacity 0.4s ease-in-out; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.overlay-content { transform: translateY(15px); transition: transform 0.4s ease-in-out; }
.gallery-item:hover .overlay-content { transform: translateY(0); }
.overlay-title { font-family: var(--heading-font); font-size: 1.2rem; color: var(--white-color); font-weight: 700; line-height: 1.3; margin: 0 0 5px 0; text-shadow: 1px 1px 3px rgba(0,0,0,0.7); }
.overlay-prompt { font-size: 0.9rem; font-weight: 600; color: rgba(var(--secondary-color-rgb), 0.9); }
.overlay-prompt i { margin-right: 6px; }

/* === PRO FOOTER === */
#main-footer { background-color: #2c2c2e; color: #aeb1b8; padding: 60px 0 20px 0; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo-area { text-align: center; max-width: 500px; margin: 0 auto; }
.footer-building-img { max-width: 250px; width: 100%; height: auto; display: block; margin-left: auto; margin-right: auto; margin-bottom: 20px; border-radius: var(--border-radius); border: 2px solid var(--border-color); }
.footer-logo-img { max-width: 250px; margin-bottom: 25px; }
.footer-contact-info p { margin-bottom: 10px; display: flex; align-items: center; justify-content: center; line-height: 1.5; font-size: 1.1rem; font-weight: 600; }
.footer-contact-info i { color: var(--secondary-color); margin-right: 12px; width: 16px; text-align: center; }
.footer-contact-info a { color: #aeb1b8; transition: color 0.3s ease; }
.footer-contact-info a:hover { color: var(--white-color); }
.footer-socials { margin-top: 25px; }
.footer-socials a { display: inline-flex; justify-content: center; align-items: center; width: 38px; height: 38px; background-color: #48484a; color: var(--white-color); border-radius: 50%; margin-right: 10px; transition: background-color 0.3s ease, transform 0.3s ease; font-size: 1rem; }
.footer-socials a:hover { background-color: var(--secondary-color); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 25px; margin-top: 30px; text-align: center; font-size: 0.85rem; color: #8e8e93; }

/* === ANIMATIONS & UTILITIES === */
.fade-in, .fade-in-up { opacity: 0; transform: translateY(20px); }
.fade-in.visible, .fade-in-up.visible { opacity: 1; transform: translateY(0); }
#scrollTopBtn { display: none; position: fixed; bottom: 20px; right: 20px; z-index: 999; border: none; outline: none; background-color: var(--primary-color); color: white; cursor: pointer; padding: 12px; border-radius: 50%; width: 45px; height: 45px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: background-color 0.3s, transform 0.3s; align-items: center; justify-content: center; }
#scrollTopBtn:hover { background-color: #7A3C10; transform: translateY(-2px); }

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
  .nav-menu { position: fixed; left: -100%; top: 0; width: 100%; height: 100vh; background-color: var(--white-color); transition: left 0.3s ease-in-out; z-index: 1001; display: flex; flex-direction: column; justify-content: center; padding-top: 0; }
  .nav-menu.active { left: 0; }
  .nav-cta-area { display: none; }
  .nav-item { margin: 18px 0; }
  .nav-link { font-size: 1.2rem; color: var(--dark-color); text-shadow: none; }
  .hamburger { display: block; }
  .hamburger.active .bar:nth-child(2) { opacity: 0; } 
  .hamburger.active .bar:nth-child(1) { transform: translateY