/* 
 * Wat is de Europese Norm - Pagina Specifieke Styles
 * Gebruikt kb-base.css en kb-components.css
 */

/* Components grid */
.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.component-item {
    background-color: var(--light);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 0 12px 12px 0;
    transition: all 0.3s ease;
}

.component-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(210, 105, 30, 0.1);
}

.component-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.component-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.component-title {
    font-weight: 600;
    color: var(--secondary);
    margin: 0;
    font-size: 1.1rem;
}

.component-desc {
    color: var(--grey);
    font-size: 0.95rem;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.component-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.component-features li {
    color: var(--grey);
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 30px auto 0;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-content {
    background: var(--light);
    border-left: 4px solid var(--primary);
    border-radius: 0 12px 12px 0;
    padding: 0px 0px 0px 20px;
    width: calc(50% - 40px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

font-size: 0.95rem;
}

/* Specs table */
.specs-table {
    background: var(--light);
    border-radius: 12px;
    overflow: hidden;
    border-left: 4px solid var(--primary);
    margin-top: 25px;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th {
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.specs-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
}

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

.specs-table tr:hover {
    background: rgba(210, 105, 30, 0.05);
}

.syntax-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(210, 105, 30, 0.1);
    color: var(--primary);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .components-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .timeline-date {
        left: 20px;
        margin-left: -10px;
    }
}
