/* ==========================================================================
   Master Hero Section Canvas & Crystal-Clear Background
   Location: css/hero-header.css
   ========================================================================== */

/* 1. Header Stack Overlay (Fixed over hero at Y = 0) */
body.home .mcb-master-header-stack {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 2000 !important;
}

/* 2. Hero Section: Vibrant, Crystal-Clear SVG Rendering */
.tc-home-hero-section {
    /* 🚀 FIX: Crystal-clear overlay letting the artwork pop, with no pitch-black under-fill */
    background-image: linear-gradient(
        to bottom, 
        rgba(15, 23, 42, 0.35) 0%, 
        rgba(15, 23, 42, 0.75) 100%
    ), url('/images/bg-hero.svg') !important;
    
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    
    /* NO hard-coded pitch black background-color */
    background-color: transparent !important;
    
    padding: 240px 20px 160px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 700px !important;
    position: relative !important;
    z-index: 1 !important;
    font-family: 'Poppins', sans-serif !important;
    box-sizing: border-box !important;
    margin-top: 0 !important;
}

/* 3. Hero Content Container */
.tc-hero-content {
    max-width: 950px !important;
    width: 100% !important;
    margin: 0 auto !important;
    animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    position: relative !important;
    z-index: 3 !important;
}

/* 4. Neutralize any rogue empty <p> or <br> */
.tc-hero-content > p:empty,
.tc-hero-content br {
    display: none !important;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 5. Concave Bottom Curve Divider */
.tc-hero-curve-divider {
    position: absolute !important;
    bottom: -1px !important; 
    left: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
    line-height: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.tc-hero-curve-divider svg {
    position: relative !important;
    display: block !important;
    width: calc(100% + 2px) !important;
    height: 90px !important; 
}

.tc-hero-curve-divider .shape-fill {
    fill: #ffffff !important; 
}

@media (max-width: 768px) {
    .tc-home-hero-section { 
        padding: 160px 20px 80px 20px !important; 
        min-height: 450px !important; 
    }
}