.document-sectie {
    padding: 6rem 2rem;
    background-color: var(--section-1-bg-color);
    overflow: hidden;
}

.document-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.document-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.1s;
}

.document-header p {
    color: var(--text-color);
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.2s;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border: 1px solid var(--primary-color-light);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease, transform 0.2s ease, color 0.2s ease;
    animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.3s;
}

.btn-download:hover {
    background-color: var(--primary-color-light);
    color: var(--bg-color);
    transform: translateY(-2px);
}

.download-icoon {
    font-size: 1.1rem;
    line-height: 1;
}

.document-viewer {
    max-width: 1000px;
    height: 80vh;
    margin: 0 auto;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(31, 77, 58, 0.08);
    animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.4s;
}

.document-viewer object {
    display: block;
}

.viewer-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    height: 100%;
    padding: 2rem;
    text-align: center;
}

.viewer-fallback p {
    color: var(--text-color);
    opacity: 0.8;
}


/* ── Animaties ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ── Media Queries ── */
@media (max-width: 768px) {
    .document-sectie {
        padding: 4rem 1.2rem;
    }

    .document-header h2 {
        font-size: 2rem;
    }

    .document-viewer {
        height: 70vh;
    }
}
