/* ========================================
   NH Dakwerken - Diensten Page
   ======================================== */

/* ========== DIENSTEN HERO ========== */
.diensten-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
    background: url('../images/Achtergrondtest.png') center center / cover no-repeat;
}

.diensten-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

.diensten-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.diensten-hero-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin: 0 auto 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--nh-white);
    font-size: 0.9rem;
    font-weight: 500;
}

.diensten-hero-badge svg {
    color: var(--nh-green);
}

.diensten-hero-title {
    display: inline;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--nh-white);
    background: var(--nh-black);
    padding: 8px 20px;
    border-radius: 12px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.diensten-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 2em auto;
    max-width: 600px;
}

/* ========== DIENSTEN DETAIL GRID ========== */
.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.service-detail-body {
    padding: 20px;
    flex-grow: 1;
}

.service-detail-body .service-description {
    padding: 0;
    margin-bottom: 16px;
}

.service-sublist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-sublist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--nh-gray);
    line-height: 1.4;
}

.service-sublist li::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    background-color: rgba(136, 184, 40, 0.15);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2388B828' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

/* ========== DOELGROEPEN SLIDER ========== */
.audience-section {
    padding: 80px 60px;
    background: var(--nh-dark);
    overflow: hidden;
}

.audience-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.audience-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--nh-white);
    margin: 16px 0 12px;
}

.audience-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Slider Controls (dots left, arrows right) */
.audience-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 40px auto 0;
}

/* Slider Navigation Arrows */
.audience-nav {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.audience-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--nh-green);
    background: transparent;
    color: var(--nh-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.audience-arrow:hover:not(:disabled) {
    background: var(--nh-green);
    border-color: var(--nh-green);
    color: var(--nh-white);
}

.audience-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.audience-arrow svg {
    width: 20px;
    height: 20px;
}

/* Slider Track */
.audience-slider {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.audience-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Audience Cards */
.audience-card {
    min-width: calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
    background: var(--nh-black);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease;
    flex-shrink: 0;
}

.audience-card.revealed {
    opacity: 1;
}

.audience-card:hover {
    border-color: rgba(136, 184, 40, 0.3);
}

.audience-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(136, 184, 40, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--nh-green);
}

.audience-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--nh-white);
    margin-bottom: 12px;
}

.audience-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 16px;
}

.audience-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.audience-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.audience-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    min-width: 6px;
    border-radius: 50%;
    background: var(--nh-green);
}

/* Meer informatie link */
.audience-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--nh-green);
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: auto;
}

.audience-link:hover {
    color: var(--nh-green-light);
}

.audience-link span {
    transition: transform 0.2s ease;
}

.audience-link:hover span {
    transform: translateX(4px);
}

/* Pagination Dots */
.audience-dots {
    display: flex;
    gap: 8px;
}

.audience-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.audience-dot.active {
    background: var(--nh-green);
    width: 24px;
    border-radius: 4px;
}

.audience-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.4);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .diensten-hero {
        min-height: 45vh;
        padding: 60px 24px;
    }

    .diensten-hero-title {
        font-size: 2rem;
    }

    .diensten-hero-subtitle {
        font-size: 1rem;
    }

    .audience-section {
        padding: 60px 24px;
    }

    .audience-heading {
        font-size: 1.75rem;
    }

    .audience-card {
        min-width: calc((100% - 24px) / 2);
        max-width: calc((100% - 24px) / 2);
        padding: 24px;
    }
}

@media (max-width: 600px) {
    .services-detail-grid {
        grid-template-columns: 1fr;
    }

    .diensten-hero-title {
        font-size: 1.6rem;
    }

    .audience-card {
        min-width: 100%;
        max-width: 100%;
    }
}
