/* ==========================================================================
   VERTICALS PAGE SPECIFIC COLORS & OVERRIDES
   ========================================================================== */

:root {
    /* Flow colors from analysis and user request */
    --v-hero-bg: #E3D6B8;   /* Warm Sand (Requested) */
    --v-mid-light: #B4B9BE; /* Light Slate */
    --v-darker: #7A8189;    /* Soft Slate (Extracted from center of hero image) */
    --v-bright: #FFF8F0;    /* Bright Ivory (Extracted from footer image) */
    --v-charcoal: #25262A;
    --v-golden: #F2C36F;
    --v-light-text: #FDF9EE;
}

/* --------------------------------------
   1. HEADER NAV OVERRIDE
-------------------------------------- */
.header-nav {
    background: linear-gradient(to bottom, rgba(227, 214, 184, 0.9) 0%, transparent 100%) !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
.header-nav .nav-link {
    color: var(--v-charcoal) !important;
}
.header-nav .nav-dropdown {
    background: rgba(227, 214, 184, 0.95) !important;
}
.header-nav .nav-dropdown-item {
    color: var(--v-charcoal) !important;
}
.header-nav .nav-dropdown-item:hover {
    background: rgba(37, 38, 42, 0.1) !important;
}

.verticals-hero {
    flex-direction: row !important; /* Forces row layout to override any inherited column layout */
    align-items: center !important; /* Vertically centers the text block */
    justify-content: flex-end !important; /* Moves the text content to the right side horizontally */
    padding-right: 1rem !important; 
    padding-left: 0 !important;
    background-color: var(--v-hero-bg) !important;
    background: 
        /* Bottom fade blends seamlessly into the hero bg (which is the start of the body) */
        linear-gradient(to bottom, transparent 70%, var(--v-hero-bg) 100%),
        /* Left fade matches the hero text background color on the right, fading into the image on the left */
        linear-gradient(to left, var(--v-hero-bg) 0%, var(--v-hero-bg) 40%, rgba(227, 214, 184, 0) 80%),
        url('../assets/verticals_page_hero.png') left center / cover no-repeat !important;
}

/* Force text visibility and alignment */
.verticals-hero-text-wrapper {
    opacity: 1 !important;
    visibility: visible !important;
    align-items: flex-start !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
}

.verticals-hero .disperse-text {
    opacity: 1 !important;
    filter: blur(0) !important;
    transform: scale(1) !important;
    letter-spacing: normal !important;
    visibility: visible !important;
    text-align: left !important;
}

.verticals-hero-subheading {
    color: #c99665 !important; /* Common gold eyebrow color */
    font-weight: 700 !important;
}

.verticals-hero-heading,
.verticals-hero-desc {
    color: #1a202c !important; /* Premium slate navy, contrasting with beige background */
    text-shadow: 0 4px 15px rgba(26, 32, 44, 0.15); /* Soft drop shadow for readability */
}

/* --------------------------------------
   3. MAIN CONTENT
-------------------------------------- */
main, body {
    background: var(--v-hero-bg) !important; /* Base fallback */
}

/* The wrapper holds all the vertical blocks. It blends smoothly from top to bottom */
.fullwidth-vertical-wrapper {
    background: linear-gradient(180deg, var(--v-hero-bg) 0%, var(--v-mid-light) 50%, #4F5559 100%) !important;
}

/* Text Colors adapt based on user request */
.info-pane h2, .vblock-name {
    color: var(--v-golden) !important;
}

.info-pane p, .info-pane li, .vblock-number, .vblock-services-title {
    color: var(--v-charcoal) !important;
    transition: color 0.4s ease !important;
}

.vblock-icon svg {
    stroke: var(--v-golden) !important;
    fill: none !important;
}

/* Verticals Specific Watermark if exists */
.vstrip-watermark {
    color: rgba(37, 38, 42, 0.08) !important; 
    transition: color 0.4s ease !important;
    z-index: 0 !important;
}
.vstrip-chamfer-wrapper:hover .vstrip-watermark {
    color: rgba(37, 38, 42, 0.15) !important;
}
/* In dark sections, the watermark color should be light! */
.vstrip-chamfer-wrapper:nth-child(n+3) .vstrip-watermark {
    color: rgba(253, 249, 238, 0.08) !important; 
}
.vstrip-chamfer-wrapper:nth-child(n+3):hover .vstrip-watermark {
    color: rgba(253, 249, 238, 0.15) !important;
}


/* --------------------------------------
   4. FOOTER BLEND
-------------------------------------- */
.new-footer {
    background-blend-mode: normal !important;
    background-image: 
        /* Continuous gradient from the section above (#4F5559) fading out to reveal the footer image */
        linear-gradient(
            to bottom, 
            rgba(79, 85, 89, 1) 0%, 
            rgba(79, 85, 89, 0.85) 25%,
            rgba(79, 85, 89, 0.5) 60%, 
            rgba(79, 85, 89, 0) 100%
        ),
        url('../assets/vertical_page_footer.png') !important;
    background-color: transparent !important;
    background-size: 100% 100%, cover !important;
    background-position: top center, center bottom !important;
    background-repeat: no-repeat !important;
    box-shadow: none !important;
}

.footer-overlay {
    display: none !important;
}

/* Footer text */
/* Huge Footer Watermark */
.huge-watermark { 
    color: rgba(253, 249, 238, 0.20) !important; 
    transition: color 0.4s ease !important;
}
/* Global Unified Footer Typography & Social Icons */
.new-footer h2, .new-footer h3, .new-footer h4 { color: #ffffff !important; }
.new-footer p, .new-footer a, .new-footer li { color: #ffffff !important; font-size: 1.05rem !important; }
.new-footer a:hover { color: var(--c-golden, #C8A14A) !important; }
.new-footer p.sub-credit { font-size: 0.95rem !important; opacity: 0.8; }
.new-footer .social-icons a { color: #ffffff !important; border-color: rgba(255, 255, 255, 0.4) !important; background: transparent !important; }
.new-footer .social-icons a.social-instagram:hover { color: #ffffff !important; background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important; border-color: transparent !important; }
.new-footer .social-icons a.social-facebook:hover { color: #ffffff !important; background: #1877F2 !important; border-color: #1877F2 !important; }
.new-footer .social-icons a.social-twitter:hover { color: #ffffff !important; background: #000000 !important; border-color: #000000 !important; }
.new-footer .social-icons a.social-linkedin:hover { color: #ffffff !important; background: #0A66C2 !important; border-color: #0A66C2 !important; }
.new-footer .social-icons a.social-youtube:hover { color: #ffffff !important; background: #FF0000 !important; border-color: #FF0000 !important; }
.new-footer .social-icons a.social-whatsapp:hover { color: #ffffff !important; background: #25D366 !important; border-color: #25D366 !important; }
.new-footer .social-icons a.social-gmail:hover { color: #ffffff !important; background: #D44638 !important; border-color: #D44638 !important; }
