/* ========================================= */
/* FAQ SECTION - MODERN CARD STYLE           */
/* ========================================= */

.faq-section {
    max-width: var(--content-width);
    margin: 20px auto 80px; /* Reduced margin-top from 80px to 20px */
    padding: 0 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h2 {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.faq-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Ruimte tussen de 'kaarten' */
}

.faq-item {
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px; /* Lichte afronding */
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Hover effect: iets omhoog en schaduw */
.faq-item:hover {
    border-color: #bbb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Actieve status: donkere rand en wit vlak */
.faq-item.active {
    border-color: var(--text-primary);
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-stack);
    outline: none;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #f5f5f5; /* Lichtgrijs rondje */
    border-radius: 50%;
    color: var(--text-primary);
    transition: all 0.3s ease;
    flex-shrink: 0; /* Voorkom krimpen */
}

/* Draai icoon en maak zwart bij open */
.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background-color: var(--text-primary);
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, padding 0.3s ease;
    opacity: 0;
    padding: 0 25px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Ruim genoeg voor tekst */
    opacity: 1;
    padding-bottom: 25px;
    padding-top: 5px;
}

/* SVG Styling */
.faq-icon svg {
    width: 12px;
    height: 12px;
    stroke-width: 3px;
}

/* MOBIEL */
@media (max-width: 768px) {
    .faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .faq-answer {
        font-size: 0.95rem;
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding-bottom: 20px;
    }
}
