/* --- Algemene stijlen voor de hero blijven hetzelfde --- */
.service-detail-hero-section {
    position: relative;
    padding: 4rem 0 3rem;
    background-size: cover;
    background-position: center 25%;
    text-align: left;
    overflow: hidden;
}

/* --- NIEUW: Overlay toegevoegd --- */
.service-detail-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Gebruik dezelfde kleur als ServicesHero, pas eventueel aan */
    background-color: rgba(236, 229, 219, 0.7); /* Koeleman gold light met transparantie */
    z-index: 1;
}
/* --- EINDE NIEUW --- */

.service-detail-hero-section .hero-content-container {
    position: relative;
    z-index: 2; /* Zorgt dat de tekst boven de overlay komt */
}

.service-detail-hero-section .breadcrumb {
    /* --- AANGEPAST: Kleur aangepast voor contrast met overlay --- */
    color: var(--koeleman-blue); /* Donkerder voor leesbaarheid op lichte overlay */
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-detail-hero-section .breadcrumb a,
.service-detail-hero-section .breadcrumb a:visited {
    color: inherit; /* Neemt de blauwe kleur over */
    text-decoration: none;
}

.service-detail-hero-section .breadcrumb a:hover {
    text-decoration: none;
}

.service-detail-hero-section .hero-title {
    font-size: 2.25rem;
    color: var(--koeleman-blue);
    max-width: 25ch;
}

.service-detail-hero-section .hero-subtitle {
    margin-top: 1rem;
    font-size: 1rem;
    max-width: 60ch;
    /* --- AANGEPAST: Tekstkleur voor contrast --- */
    color: var(--text-primary); /* Donkerdere tekstkleur */
    background-color: transparent; /* Geen achtergrond meer nodig */
}

/* --- VERNIEUWDE STIJLEN VOOR CONTENT SECTIES (met Flexbox) --- */
.service-detail-content-section {
    display: flex;
    flex-direction: column; /* Standaard op mobiel: onder elkaar */
    gap: 2rem;
    align-items: center;
    padding: 2rem 0;
}

.service-detail-content-section .image-container,
.service-detail-content-section .text-container {
    width: 100%; /* Volle breedte op mobiel */
}

.service-detail-content-section .image-container img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
}

.service-detail-content-section .text-container h2 {
    color: var(--koeleman-blue);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    overflow-wrap: break-word;
}

.service-detail-content-section .text-container p {
    line-height: 1.6;
    overflow-wrap: break-word;
}

/* --- MEDIA QUERIES VOOR GROTERE SCHERMEN --- */
@media (min-width: 768px) {
    .service-detail-hero-section {
        padding: 6rem 0 4rem;
    }
    .service-detail-hero-section .hero-title {
        font-size: 3.5rem;
    }
    .service-detail-hero-section .hero-subtitle {
        font-size: 1.125rem;
    }

    .service-detail-content-section {
        flex-direction: row; /* Naast elkaar op desktop */
        gap: 3rem;
        padding: 4rem 0;
    }
    .service-detail-content-section .image-container,
    .service-detail-content-section .text-container {
        flex: 1; /* Geef beide 50% van de ruimte */
    }
    .service-detail-content-section .text-container h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    /* DE FIX: Keer de volgorde om met Flexbox */
    .service-detail-content-section.reverse {
        flex-direction: row-reverse;
    }
}