/* ==========================================================================
   CHURCH SACRED HERO BANNER (Cinzel Decorative Inline Edition)
   ========================================================================== */

.title-banner-wrapper {
    overflow: hidden;
    width: 100%;
}

.title-banner {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 380px;
    padding: 130px 24px;
    text-align: center;
    box-sizing: border-box;

    /* Sacred deep wood/charcoal double-layer vignette overlay */
    background-image: 
        linear-gradient(rgba(30, 18, 12, 0.65), rgba(20, 12, 8, 0.8)),
        url("../images/welcome/Cross(1).jpg");
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Holy Ambient Radial Glow */
.title-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(201, 164, 92, 0.18), transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.title-banner .container-fluid {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

/* Master Sacred Heading Style - Placed on a Single Row */
.title-banner h1 {
    color: #ffffff;
    font-family: 'Trajan Pro', serif;
    font-size: clamp(26px, 3.8vw, 40px); /* Adjusted slightly down to comfortably fit inline layout */
    font-weight: 600;
    /* letter-spacing: 0.5em; */
    text-transform: uppercase;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Gap between the text and the side crosses */
    position: relative;
}

/* Force single white color — override any .gold-text gradient spans inside title-banner */
.title-banner h1 .gold-text,
.title-banner h1 span {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
    color: #ffffff !important;
}

/* STARTING CROSS (Left Side) */
.title-banner h1::before {
    content: "";
    display: inline-block;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    
    /* background-color: #c9a45c; 
    -webkit-mask-image: url("../media/christan.png");
    mask-image: url("../media/christan.png");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;

    filter: drop-shadow(0 0 8px rgba(201, 164, 92, 0.6));
    animation: holyGlow 4s ease-in-out infinite alternate; */
}

/* ENDING CROSS (Right Side) */
.title-banner h1::after {
    content: "";
    display: inline-block;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    
    /* background-color: #c9a45c; 
    -webkit-mask-image: url("../media/christan.png");
    mask-image: url("../media/christan.png");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;

    filter: drop-shadow(0 0 8px rgba(201, 164, 92, 0.6));
    animation: holyGlow 4s ease-in-out infinite alternate; */
}

/* Subtle breathing glow animation for your cross assets */
@keyframes holyGlow {
    0% { 
        transform: scale(1); 
        filter: drop-shadow(0 0 4px rgba(201, 164, 92, 0.4)); 
    }
    100% { 
        transform: scale(1.05); 
        filter: drop-shadow(0 0 12px rgba(201, 164, 92, 0.8)); 
    }
}

/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */

@media (max-width: 991px) {
    .title-banner {
        min-height: 320px;
        padding: 100px 20px;
        background-attachment: scroll;
    }
    .title-banner h1 {
        gap: 15px;
    }
    .title-banner h1::before,
    .title-banner h1::after {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 768px) {
    /* Stack them vertically on smaller screens so the text doesn't break into multiple ugly lines */
    .title-banner h1 {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    /* Hide the second cross on small screens to keep mobile neat and clean */
    .title-banner h1::after {
        display: none;
    }
}

/* Inner Banner Action Buttons */
.banner-btn-group {
    margin-top: 24px;
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 5;
}
