/* ==========================================================================
   Mother & Baby - Redesigned Premium Healthcare Hero Section Styles
   ========================================================================== */

.custom-hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 130px); /* accounting for header + top panel height */
    display: flex;
    align-items: center;
    background-image: url('../images/section-bg/maternal-ayurveda-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 80px 0;
}

/* Video Background */
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

/* Gradient overlay to ensure text is readable (WCAG AA Compliant contrast) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 100%;
    background: linear-gradient(to right, rgba(23, 43, 29, 0.6) 0%, rgba(23, 43, 29, 0.3) 60%, transparent 100%);
    z-index: 1;
}

@media (max-width: 1024px) {
    .hero-overlay {
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(180deg, rgba(15, 33, 20, 0.65) 0%, rgba(20, 45, 28, 0.6) 50%, rgba(10, 25, 15, 0.75) 100%) !important;
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 700px;
    color: #ffffff;
    padding: 10px 20px;
    margin-top: 100px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* --- Typography --- */
.hero-tagline {
    display: inline-block;
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent, #CBB26A);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Philosopher', serif !important;
    font-size: 54px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-subtitle {
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    line-height: 1.65;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
}

/* --- CTA Action Buttons --- */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.hero-actions .btn-primary {
    font-family: 'Work Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background-color: var(--color-primary, #3d7a4f) !important;
    color: #ffffff !important;
    padding: 16px 36px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(61, 122, 79, 0.3);
    border: 2px solid transparent !important;
}

.hero-actions .btn-primary:hover {
    background-color: var(--color-primary-dark, #2C5E3B) !important;
    box-shadow: 0 6px 20px rgba(44, 94, 59, 0.4);
    transform: translateY(-2px);
}

.hero-actions .btn-secondary {
    font-family: 'Work Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background-color: transparent !important;
    color: #ffffff !important;
    padding: 16px 36px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
}

.hero-actions .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
}

/* Keyboard accessibility outline for buttons */
.hero-actions a:focus-visible {
    outline: 3px solid var(--color-accent, #CBB26A) !important;
    outline-offset: 2px;
}

/* --- Trust Indicators --- */
.hero-trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 25px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-item i {
    font-size: 16px;
    color: var(--color-accent, #CBB26A);
}

.trust-item span {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
}

/* --- Entrance Animation --- */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .custom-hero {
        padding: 60px 0;
        min-height: 550px;
    }
    
    .hero-video-bg {
        filter: brightness(0.9) contrast(1.05);
    }
    
    .hero-title {
        font-size: 38px;
        color: #ffffff !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    }
    
    .hero-tagline {
        color: #F7E096 !important;
        font-weight: 700 !important;
        letter-spacing: 1.5px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    }

    .hero-subtitle {
        font-size: 15.5px !important;
        color: rgba(255, 255, 255, 0.95) !important;
        font-weight: 400 !important;
        line-height: 1.6;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-bottom: 40px;
    }
    
    .hero-actions .btn-primary {
        width: 100%;
        text-align: center;
        padding: 14px 28px !important;
        background-color: #3d7a4f !important;
        color: #ffffff !important;
        border-color: #3d7a4f !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }

    .hero-actions .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 14px 28px !important;
        background-color: rgba(255, 255, 255, 0.18) !important;
        color: #ffffff !important;
        border: 2px solid rgba(255, 255, 255, 0.85) !important;
        backdrop-filter: blur(4px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
    }
    
    .hero-trust-indicators {
        flex-direction: column;
        gap: 15px;
    }
}
