/* --- 1. COLOR ENGINE --- */
:root {
    --primary-red: #FF0000;
    --gold: #FFD700;
    --black: #000000;
    --dark-bg: #111111;
}

/* --- 2. THE HOME BILLBOARD (HOMEPAGE ONLY) --- */
.home-hero-banner {
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 1080; 
    background: #000 url('images/main-banner.jpg') no-repeat top center !important; 
    background-size: contain; 
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    border-bottom: 2px solid #FFD700;
}

/* --- 3. THE DYNAMIC RED PILL (FOR OTHER PAGES) --- */
.page-callout {
    background-color: #FF0000;
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    border: 3px solid #ffffff; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 10;
    display: inline-block;
    position: relative;
    margin-top: -25px; 
}

/* Hides the pill code on the home page so the image one shows instead */
.home-hero-banner + .main-nav .page-callout {
    display: none !important;
}

/* --- 4. GLOBAL NAVIGATION (GOLD THEME) --- */
.main-nav {
    background: #000;
    padding: 20px 0;
    border-bottom: 1px solid #333;
    text-align: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 0;
    margin: 0;
}

.main-nav a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
}

.main-nav a:hover, .main-nav a.active {
    color: #FF0000 !important;
}

/* --- 5. ABOUT PAGE HERO & BIO SCRIPT --- */
.about-hero-fixed {
    background-color: var(--dark-bg);
    padding: 80px 20px;
    text-align: center;
    width: 100%;
}

.red-pill-box {
    background-color: var(--primary-red) !important;
    display: block !important; 
    width: fit-content !important; 
    margin: 0 auto 40px auto !important; 
    padding: 20px 70px !important;
    border-radius: 100px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4) !important;
    text-align: center !important;
}

.pill-text-white, .pill-text {
    color: #ffffff !important;
    font-size: 2.6rem;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.bio-script-text, .bio-text {
    color: #ffffff !important;
    font-size: 1.4rem;
    line-height: 1.9;
    font-weight: 500;
    text-align: center;
    max-width: 950px;
    margin: 0 auto;
}

/* --- 6. WHY THE ARK PROJECT (WHITE SECTIONS) --- */
.why-ark-master { 
    background-color: #ffffff; 
    padding: 80px 20px; 
    color: #000; 
}

.main-title { font-size: 3rem; font-weight: 800; color: #000; text-align: center; margin-bottom: 25px; }
.red-sub { color: var(--primary-red); font-size: 2rem; font-weight: 800; text-align: center; }

.pillar-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.pillar-card {
    flex: 1;
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    border-bottom: 5px solid #8a1c1c;
    text-align: center;
}

/* --- 7. FAITH SECTION & COVERS --- */
.faith-section { background: var(--dark-bg); padding: 80px 20px; color: white; text-align: center; }
.covers-grid { display: flex; justify-content: center; gap: 30px; margin-bottom: 20px; flex-wrap: wrap; }
.cover-white-box { background: white; padding: 20px; border-radius: 12px; height: 350px; display: flex; align-items: center; justify-content: center; }

/* --- 8. GAMMA SLIDER SECTIONS --- */
.gamma-master-section {
    background-color: #ffffff;
    padding: 100px 20px;
    text-align: center;
}

.gamma-main-title { color: #0f172a; font-size: 3.5rem; font-weight: 900; text-transform: uppercase; }
.gamma-sub-title { color: var(--primary-red); font-size: 2.2rem; font-weight: 700; margin-top: 15px; text-transform: uppercase; }

.gamma-slider-container {
    max-width: 1150px;
    margin: 0 auto 50px auto;
    background: #f1f5f9;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    overflow: hidden;
}

/* --- 9. OPT-IN CARDS & FORMS --- */
.optin-master { background-color: var(--dark-bg); padding: 60px 20px; }
.optin-container { display: flex; justify-content: center; gap: 20px; max-width: 1250px; margin: 0 auto; flex-wrap: wrap; }
.optin-card { background: #ffffff; padding: 35px 25px; border-radius: 15px; width: 380px; text-align: center; color: #333; }
.optin-btn { background-color: var(--primary-red); color: white; width: 100%; padding: 15px; border: none; border-radius: 8px; font-weight: 800; cursor: pointer; }

/* --- 10. BUTTONS & UTILITIES --- */
.btn.yellow { background: var(--gold); color: var(--dark-bg); padding: 12px 25px; border-radius: 8px; font-weight: bold; text-decoration: none; display: inline-block; }

/* --- 11. FOOTER & WHATSAPP --- */
.site-footer { background-color: var(--black); color: #ffffff; padding: 60px 20px; text-align: center; border-top: 1px solid #333; }
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background-color: #25d366; color: white; border-radius: 50px; padding: 12px 25px; text-decoration: none; font-weight: bold; z-index: 99999; display: flex; align-items: center; }

/* --- 12. RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .home-hero-banner, .hero-banner { 
        height: auto !important;
        aspect-ratio: 16 / 9 !important; 
        background-size: contain !important;
    }
    .page-callout { 
        font-size: 14px; 
        padding: 10px 20px; 
        width: 90%; 
        margin-top: -20px;
    }
    .optin-container, .pillar-grid { flex-wrap: wrap; }
}

/* Final Cleanup */
.about-hero h1:not(.pill-text) { display: none !important; }
.blueprint-hero h2 {
    margin-top: 50px !important; 
    color: #1e3a8a;
    font-weight: 800;
    text-align: center;
}
/* --- 13. SUBPAGE HEADER RECOVERY (For About, Contact, etc.) --- */
.header {
    background: #000;
    padding: 30px 0;
    border-bottom: 3px solid var(--primary-red);
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.site-logo img { height: 168px; width: auto; border-radius: 12px; }
.bus-img img { height: 90px; width: auto; border-radius: 8px; }

.header-titles { text-align: center; }
.header-titles h1 { font-size: 2.8rem; font-weight: 900; color: #ffffff; letter-spacing: 2px; margin: 0; }
.header-titles h2 { color: var(--primary-red); font-size: 1.5rem; font-weight: 700; text-transform: uppercase; margin-top: 10px; }

/* Restores the Gold Links on subpages */
.nav-outer { text-align: center; margin-top: 35px; padding-bottom: 20px; }
.nav-outer a { color: #FFD700; text-decoration: none; margin: 0 15px; font-size: 1.1rem; font-weight: bold; text-transform: uppercase; }
.nav-outer a:hover, .nav-outer a.active { color: var(--primary-red); border-bottom: 2px solid var(--primary-red); }

/* Fixes the subpages for mobile phones */
@media (max-width: 768px) {
    .header-row { flex-direction: column; text-align: center; gap: 15px; }
    .site-logo img { height: 100px; }
    .bus-img img { height: 60px; }
    .header-titles h1 { font-size: 1.6rem; }
    .header-titles h2 { font-size: 0.9rem; }
    .nav-outer a { display: inline-block; margin: 5px 8px; font-size: 0.85rem; }
}
