/**
 * Partera Modulaire Template Styling
 * File: assets/css/partera-sections.css
 */

/* ===== VARIABELEN ===== */
:root {
    --partera-primary: #864A6F;
    --partera-primary-light: #f2e9ef;
    --partera-secondary: #D8E0D9;
    --partera-text-dark: #374151;
    --partera-text-light: #6B7280;
    --partera-success: #10b981;
    --partera-warning: #f59e0b;
    --partera-info: #3b82f6;
}

/* ===== ALGEMENE STYLING ===== */
.partera-info-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--partera-text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== SECTIES ===== */
.section {
    padding: 60px 0;
}

.section-gray {
    background-color: var(--partera-secondary);
}

.section-light {
    background-color: var(--partera-primary-light);
}

.section-primary {
    background-color: var(--partera-primary);
    color: white;
}

/* ===== HERO SECTIES ===== */
.hero {
    padding: 80px 0;
    text-align: center;
}

.hero-standard {
    background-color: var(--partera-primary);
    color: white;
}

.hero-image {
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-minimal {
    background-color: white;
    color: var(--partera-text-dark);
    padding: 60px 0;
    border-bottom: 1px solid #e5e7eb;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.hero-minimal .breadcrumb a {
    color: var(--partera-primary);
}

/* ===== CONTENT CARDS ===== */
.content-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 1000px;
    margin: 0 auto;
}

.content-flex {
    display: flex;
    gap: 40px;
    align-items: center;
}

.content-flex.reverse {
    flex-direction: row-reverse;
}

.content-text {
    flex: 1;
}

.content-image {
    flex: 1;
}

.content-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.text-only {
    max-width: 800px;
    margin: 0 auto;
}

.image-only {
    text-align: center;
}

/* ===== TITELS ===== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--partera-primary);
    text-align: center;
    margin-bottom: 40px;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--partera-text-dark);
    margin-bottom: 20px;
}

.section-description {
    text-align: center;
    margin-bottom: 30px;
    color: var(--partera-text-light);
    font-size: 1.1rem;
}

/* ===== TEKST CONTENT ===== */
.text-content {
    color: var(--partera-text-dark);
    line-height: 1.7;
}

.text-content p {
    margin-bottom: 15px;
}

.text-content ul {
    margin: 20px 0 20px 20px;
}

.text-content li {
    margin-bottom: 8px;
}

.text-content h3 {
    color: var(--partera-primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

/* ===== TWEE KOLOMMEN ===== */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ===== CHECKLIST ===== */
.checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.check-icon {
    font-size: 1.2rem;
    margin-top: 2px;
    min-width: 20px;
}

/* ===== INFO BOXEN ===== */
.info-box {
    background: #f0f9ff;
    border-left: 4px solid var(--partera-info);
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.info-box.waarschuwing {
    background: #fffbeb;
    border-left-color: var(--partera-warning);
}

.info-box.succes {
    background: #f0fdf4;
    border-left-color: var(--partera-success);
}

.info-box h4 {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--partera-text-dark);
}

.info-box p {
    margin: 0;
    color: var(--partera-text-dark);
}

/* ===== TABELLEN ===== */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.info-table th {
    background: var(--partera-primary);
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 600;
}

.info-table td {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* ===== FAQ ===== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
}

.faq-question {
    background: var(--partera-primary);
    color: white;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background: #6b3a58;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 25px;
    display: none;
    color: var(--partera-text-dark);
    line-height: 1.6;
}

.faq-answer.active {
    display: block;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--partera-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #6b3a58;
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

.btn-white {
    background-color: white;
    color: var(--partera-primary);
}

.btn-white:hover {
    background-color: #f8f9fa;
    color: var(--partera-primary);
}

.btn-outline {
    background: transparent;
    border: 2px solid currentColor;
}

.btn-outline:hover {
    background: currentColor;
    color: white;
}

/* ===== GERELATEERDE LINKS ===== */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.related-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    display: block;
}

.related-card:hover {
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}

.related-icon {
    width: 100%;
    height: 120px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.related-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--partera-primary);
    margin-bottom: 8px;
}

.related-text {
    font-size: 0.9rem;
    color: var(--partera-text-light);
    line-height: 1.5;
}

/* ===== FULL WIDTH IMAGE ===== */
.full-image {
    text-align: center;
    margin: 50px 0;
}

.full-image img {
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.image-caption {
    margin-top: 15px;
    font-style: italic;
    color: var(--partera-text-light);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .content-flex {
        flex-direction: column;
        gap: 30px;
    }
    
    .content-flex.reverse {
        flex-direction: column;
    }
    
    .two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .content-card {
        padding: 25px;
    }
    
    .checklist {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .info-table {
        font-size: 0.9rem;
    }
    
    .info-table th,
    .info-table td {
        padding: 15px 10px;
    }
}