/* ==========================================================================
   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;
}

/* --- 5. FAQ CONTENT CUT-OFF FIX --- */
#faq-content-wrapper.open {
    max-height: 2000px !important; /* Prevents text cutoff on mobile screens */
}

/* --- 6. CLIENT PAGE QR CODE SPACING FIX --- */
.page-client .content-section .app-buttons {
    margin-top: 35px !important;
    margin-bottom: 35px !important;
}

/* --- 7. FOOTER EMAIL LINK CONTRAST FIX --- */
footer p a {
    color: var(--white) !important;
    text-decoration: underline;
    transition: color 0.2s ease;
}
footer p a:hover {
    color: var(--primary-green) !important;
    text-decoration: none;
}

/* --- 8. CLIENT PAGE VIMEO EMBED SCALING FIX (9:16 PORTRAIT) --- */
.page-client .video-section {
    padding: clamp(56px, 7vw, 96px) 0 !important;
}

.page-client .video-section .container {
    width: min(calc(100% - 32px), 1100px);
}

.page-client .video-section h2 {
    line-height: 1.2;
    margin-left: auto;
    margin-right: auto;
}

.page-client .video-wrapper {
    aspect-ratio: 9 / 16;
    background: #050505;
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
    height: auto !important;
    margin: 0 auto;
    max-width: 430px;
    overflow: hidden;
    padding: 0 !important;
    position: relative;
    width: min(100%, 430px);
}

.page-client .video-wrapper iframe {
    border: 0;
    height: 100% !important;
    inset: 0;
    position: absolute !important;
    width: 100% !important;
}

@media (max-width: 767px) {
    .page-client .video-section {
        padding: 44px 0 52px !important;
    }

    .page-client .video-section .container {
        width: min(calc(100% - 24px), 430px);
    }

    .page-client .video-section h2 {
        font-size: clamp(1.5rem, 7vw, 1.9rem) !important;
        margin-bottom: 18px !important;
    }

    .page-client .video-wrapper {
        border-radius: 10px;
        max-width: none;
        width: 100%;
    }
}



