/* ===========================================================================
   DC Content Block — dc-content-block (.dc-why)
   =========================================================================== */

/* ==========================================
   CSS VARIABLES — header-palet
========================================== */
.dc-why {
    --header-primary: #a0c040;
    --header-primary-dark: #a0c040;
    --header-primary-light: #a0c040;
    --header-secondary: #2b2926;
    --header-white: #ffffff;
    --header-gray: #7a726a;
    --header-light-bg: #faf7f4;
    --header-surface-soft: #fdfbf9;
    --header-border: rgba(43, 41, 38, 0.08);
    --header-border-strong: rgba(43, 41, 38, 0.14);
    --header-primary-rgb: 160, 192, 64;

    /* legacy aliases — voorkomt breken van rest van de CSS */
    --dc-primary: var(--header-primary);
    --dc-primary-rgb: var(--header-primary-rgb);
    --dc-secondary: var(--header-secondary);
    --dc-secondary-rgb: 43, 41, 38;
}

.dc-why * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ==========================================
   MAIN CONTAINER — witte achtergrond, header-palet
========================================== */
.dc-why {
    position: relative;
    padding: 110px 0;
    background: var(--header-white);
    color: var(--header-secondary);
    overflow: hidden;
    font-family: 'DM Sans','Poppins',system-ui,sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtiele architectural lijnen (groen accent, light variant) */
.dc-why::before,
.dc-why::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--header-primary), transparent);
    opacity: 0.4;
    z-index: 3;
    pointer-events: none;
}
.dc-why::before { top: 0; }
.dc-why::after  { bottom: 0; }

.dc-why__wrapper {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* ==========================================
   DECORATIVE ELEMENTS
========================================== */
.dc-why__decoration {
    position: absolute;
    pointer-events: none;
}

.dc-why__decoration--1 {
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(160, 192, 64, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.dc-why__decoration--2 {
    bottom: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(43, 41, 38, 0.03) 0%, transparent 70%);
    border-radius: 50%;
}

/* ==========================================
   LEFT CONTENT
========================================== */
@keyframes dc-why-fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.dc-why--anim .dc-why__content {
    animation: dc-why-fade-in-up 0.8s ease-out forwards;
    opacity: 0;
}

/* Eyebrow — identiek aan .dc-hero__eyebrow (icon + uppercase title + reveal) */
.dc-why__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    position: relative;
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity .6s cubic-bezier(.22,1,.36,1),
        transform .6s cubic-bezier(.22,1,.36,1);
}
.dc-why__eyebrow.in {
    opacity: 1;
    transform: translateY(0);
}
.dc-why__eyebrow-icon {
    position: relative;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--header-primary);
    background: none;
    border: none;
    box-shadow: none;
}
.dc-why__eyebrow-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
}
.dc-why__eyebrow-icon svg .fp-plank {
    opacity: 0;
    transform: translateY(4px);
    transform-box: fill-box;
    transform-origin: center;
    transition:
        opacity .45s ease,
        transform .5s cubic-bezier(.22,1,.36,1);
}
.dc-why__eyebrow-icon svg .fp-plank:nth-of-type(1){transition-delay:.28s;}
.dc-why__eyebrow-icon svg .fp-plank:nth-of-type(2){transition-delay:.34s;}
.dc-why__eyebrow-icon svg .fp-plank:nth-of-type(3){transition-delay:.40s;}
.dc-why__eyebrow-icon svg .fp-plank:nth-of-type(4){transition-delay:.46s;}
.dc-why__eyebrow.in .dc-why__eyebrow-icon svg .fp-plank {
    opacity: 1;
    transform: translateY(0);
}
.dc-why__eyebrow-title {
    font-family: 'DM Sans','Poppins',system-ui,sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    line-height: 1;
    color: var(--header-secondary);
    white-space: nowrap;
    display: inline-block;
    font-style: normal;
}

/* Title — donker warm op witte achtergrond */
.dc-why__title {
    font-family: 'DM Sans', 'Poppins', system-ui, sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--header-secondary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.dc-why__title-highlight {
    color: var(--dc-primary);
    position: relative;
    display: inline-block;
}

.dc-why__title-highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: linear-gradient(90deg, rgba(160, 192, 64, 0.2), rgba(160, 192, 64, 0.1));
    border-radius: 6px;
    z-index: -1;
    transform: skewX(-5deg);
}

/* Description — warm muted */
.dc-why__description {
    font-family: 'DM Sans', 'Poppins', system-ui, sans-serif;
    font-size: 16px;
    color: var(--header-gray);
    line-height: 1.8;
    margin-bottom: 36px;
}

/* Features Title — section label */
.dc-why__features-title {
    font-family: 'DM Sans', 'Poppins', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--header-gray);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dc-why__features-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--dc-primary), transparent);
    border-radius: 1px;
}

/* Features Grid */
.dc-why__features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.dc-why__feature {
    display: flex;
    gap: 18px;
    padding: 22px;
    background: var(--header-surface-soft);
    border-radius: 14px;
    box-shadow: 0 12px 32px -20px rgba(43,41,38,0.18);
    border: 1px solid var(--header-border);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.dc-why--anim .dc-why__feature {
    opacity: 0;
    animation: dc-why-fade-in-up 0.6s ease-out forwards;
}

.dc-why--anim .dc-why__feature:nth-child(1) { animation-delay: 0.1s; }
.dc-why--anim .dc-why__feature:nth-child(2) { animation-delay: 0.2s; }
.dc-why--anim .dc-why__feature:nth-child(3) { animation-delay: 0.3s; }
.dc-why--anim .dc-why__feature:nth-child(4) { animation-delay: 0.4s; }

.dc-why__feature:hover {
    transform: translateX(8px);
    background: var(--header-white);
    border-color: rgba(160, 192, 64, 0.3);
    box-shadow: 0 18px 40px -20px rgba(160, 192, 64, 0.25);
}

.dc-why__feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(160, 192, 64, 0.12);
    border-radius: 16px;
    color: var(--header-primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.dc-why__feature:hover .dc-why__feature-icon {
    background: var(--dc-primary);
    color: #ffffff;
    transform: scale(1.1) rotate(-5deg);
}

.dc-why__feature-icon svg {
    width: 26px;
    height: 26px;
}

.dc-why__feature-content {
    flex: 1;
}

.dc-why__feature-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--header-secondary);
    margin-bottom: 6px;
}

.dc-why__feature-desc {
    font-size: 14px;
    color: var(--header-gray);
    line-height: 1.65;
}

/* CTA Button */
.dc-why__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 14px;
    background: var(--dc-primary);
    color: #ffffff;
    box-shadow: 0 10px 40px rgba(160, 192, 64, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.dc-why__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.dc-why__cta:hover::before {
    left: 100%;
}

.dc-why__cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(160, 192, 64, 0.4);
}

.dc-why__cta svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.dc-why__cta:hover svg {
    transform: translateX(5px);
}

/* ==========================================
   RIGHT VISUAL
========================================== */
@keyframes dc-why-fade-in-right {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

.dc-why__visual {
    position: relative;
}

.dc-why--anim .dc-why__visual {
    animation: dc-why-fade-in-right 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.dc-why__image-wrapper {
    position: relative;
}

.dc-why__main-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(43, 41, 38, 0.15);
}

.dc-why__main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.dc-why__main-image:hover img {
    transform: scale(1.05);
}

/* Accent Image */
@keyframes dc-why-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.dc-why__accent-image {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 180px;
    height: 180px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 5px solid #ffffff;
}

.dc-why--anim .dc-why__accent-image {
    animation: dc-why-float 6s ease-in-out infinite;
}

.dc-why__accent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Experience Badge */
@keyframes dc-why-pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.dc-why__experience {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 130px;
    height: 130px;
    background: var(--dc-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 15px 40px rgba(160, 192, 64, 0.4);
    border: 5px solid var(--header-white);
}

.dc-why--anim .dc-why__experience {
    animation: dc-why-pulse-badge 3s ease-in-out infinite;
}

.dc-why__experience-number {
    font-family: 'DM Sans', 'Poppins', system-ui, sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.dc-why__experience-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    margin-top: 4px;
}

/* Decorative Pattern */
.dc-why__pattern {
    position: absolute;
    top: 50%;
    right: -60px;
    transform: translateY(-50%);
    width: 120px;
    height: 200px;
    opacity: 0.1;
    z-index: -1;
}

.dc-why__pattern-line {
    width: 100%;
    height: 3px;
    background: var(--dc-secondary);
    margin-bottom: 12px;
    border-radius: 2px;
}

.dc-why__pattern-line:nth-child(odd) {
    width: 70%;
    margin-left: auto;
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 1200px) {
    .dc-why__wrapper {
        gap: 50px;
    }

    .dc-why__experience {
        width: 110px;
        height: 110px;
        right: -10px;
        top: -10px;
    }

    .dc-why__experience-number {
        font-size: 30px;
    }
}

@media (max-width: 1024px) {
    .dc-why__wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .dc-why__visual {
        order: -1;
        max-width: 550px;
        margin: 0 auto;
    }

    .dc-why__content {
        text-align: center;
    }

    .dc-why__features-title::after {
        display: none;
    }

    .dc-why__feature {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .dc-why {
        padding: 70px 0;
    }

    .dc-why__wrapper {
        padding: 0 20px;
    }

    .dc-why__feature {
        padding: 20px;
    }

    .dc-why__feature-icon {
        width: 48px;
        height: 48px;
    }

    .dc-why__feature-icon svg {
        width: 22px;
        height: 22px;
    }

    .dc-why__accent-image {
        width: 140px;
        height: 140px;
        bottom: -20px;
        left: -10px;
    }

    .dc-why__experience {
        width: 100px;
        height: 100px;
    }

    .dc-why__experience-number {
        font-size: 26px;
    }

    .dc-why__experience-label {
        font-size: 10px;
    }

    .dc-why__pattern {
        display: none;
    }
}
