/* ==========================================================================
   MYGC NOW - CUSTOM DESIGN & CONTRAST OVERRIDES
   ========================================================================== */

/* --- 1. FEATURED VIDEO SECTION PARALLAX REDESIGN --- */
.video-section {
    position: relative;
    background-image: linear-gradient(rgba(26, 42, 26, 0.7), rgba(26, 42, 26, 0.7)), url('../images/video_section_bg.png') !important;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 80px 0 !important;
    color: var(--white) !important;
}

/* Enforce readability of heading over parallax background */
.video-section h2 {
    color: var(--white) !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700;
}

/* --- 2. CONTRAST & READABILITY FIXES OVER BACKGROUND IMAGES --- */

/* Index Page: Hero Text Card Container */
.gc-card {
    background: rgba(20, 20, 20, 0.65) !important; /* Semi-transparent dark overlay for high contrast */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45) !important;
}
.gc-card strong, .gc-card span.green {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* Agent Page: Hero Section Background Overlay (Fixes title readability) */
#hero-book::before {
    background: rgba(15, 23, 42, 0.6) !important; /* Strong dark slate blue overlay replacing 1% opacity */
}

/* Agent Page: Hero Panels Readability */
#hero-book .cs-card-compact {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.85) 0%, rgba(30, 30, 30, 0.75) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* --- 3. ACCESSIBLE BLOG CUSTOM OVERRIDES (FOR RENAME LOGIC) --- */
.page-blog h1 {
    font-weight: 800;
}

/* --- 4. HOMEPAGE LOGO CONTRAST FIXES --- */

/* Darken the background overlay of the home page hero image */
.page-index .hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('https://mygcnow.com/images/fancy_home_blue_hour.jpg') !important;
}

/* Add a drop shadow to the transparent text-only logo image in the hero */
.hero-logo {
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.85)) !important;
    vertical-align: middle;
}

