/* 
 * Adolbi Care BHC Website
 * Banner Styles
 */

/* Page Banner with Background Image */
.page-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
    color: white;
}

/* Specific Page Banners */
.about-banner {
    background-image: url('../images/banners/about-banner.jpg');
}

.services-banner {
    background-image: url('../images/banners/services-banner.jpg');
}

.team-banner {
    background-image: url('../images/banners/team-banner.jpg');
}

.resources-banner {
    background-image: url('../images/banners/resources-banner.jpg');
}

.faq-banner {
    background-image: url('../images/banners/faq-banner.jpg');
}

.blog-banner {
    background-image: url('../images/banners/blog-banner.jpg');
}

.contact-banner {
    background-image: url('../images/banners/contact-banner.jpg');
}

.service-subpage-banner {
    background-image: url('../images/banners/service-subpage-banner.jpg');
}

/* Content Section Spacing */
.content-section {
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.content-section h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 0.5rem;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Image Display Fixes */
.content-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-banner {
        padding: 3rem 0;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 2rem 0;
    }
}
