/* ==========================================================================
   Leerdoelen Component
   ========================================================================== */

/* Hoofdcontainer voor de leerdoelen sectie */
.leerdoelen-container {
    background-color: var(--white);
    border: 2px solid var(--primary-purple);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.leerdoelen-container:hover {
    box-shadow: 0 4px 20px rgba(102, 36, 131, 0.15);
    transform: translateY(-2px);
}

/* Header styling */
.leerdoelen-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-purple);
}

.leerdoelen-title {
    color: var(--primary-purple);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    position: relative;
}

.leerdoelen-title::before {
    content: "🎯";
    margin-right: 0.5rem;
}

/* Grid layout voor leerdoelen */
.leerdoelen-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Responsive grid - 2 kolommen op grotere schermen */
@media (min-width: 768px) {
    .leerdoelen-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Individuele leerdoel items */
.leerdoel-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--background-light-gray);
    border-radius: var(--border-radius-standard);
    border-left: 4px solid var(--secondary-purple);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.leerdoel-item:hover {
    background-color: var(--accent-purple-light);
    border-left-color: var(--primary-purple);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(102, 36, 131, 0.1);
}

/* Checkmark styling */
.leerdoel-checkmark {
    font-size: 1.5rem;
    color: var(--success-green);
    font-weight: bold;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 50%;
    border: 2px solid var(--success-green);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.leerdoel-item:hover .leerdoel-checkmark {
    transform: scale(1.1);
    background-color: var(--success-green);
    color: var(--white);
}

/* Content styling */
.leerdoel-content {
    flex: 1;
}

.leerdoel-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-gray);
    font-weight: 500;
}

/* Footer met portfolio tip */
.leerdoelen-footer {
    background-color: var(--accent-purple-light);
    border-radius: var(--border-radius-standard);
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid var(--medium-purple);
}

.leerdoelen-note {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark-blue);
    text-align: center;
}

.leerdoelen-note strong {
    color: var(--primary-purple);
}

/* Responsive aanpassingen */
@media (max-width: 768px) {
    .leerdoelen-container {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .leerdoelen-title {
        font-size: 1.3rem;
    }
    
    .leerdoel-item {
        gap: 0.8rem;
        padding: 0.8rem;
    }
    
    .leerdoel-checkmark {
        width: 1.8rem;
        height: 1.8rem;
        font-size: 1.3rem;
    }
    
    .leerdoel-content p {
        font-size: 0.95rem;
    }
    
    .leerdoelen-note {
        font-size: 0.9rem;
    }
}

/* Alle leerdoelen hebben dezelfde consistente styling voor overzichtelijkheid */

/* Animation voor wanneer component in beeld komt (optioneel) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.leerdoelen-container {
    animation: fadeInUp 0.6s ease-out;
}

/* Stagger animation voor leerdoel items */
.leerdoel-item:nth-child(1) { animation: fadeInUp 0.6s ease-out 0.1s both; }
.leerdoel-item:nth-child(2) { animation: fadeInUp 0.6s ease-out 0.2s both; }
.leerdoel-item:nth-child(3) { animation: fadeInUp 0.6s ease-out 0.3s both; }
.leerdoel-item:nth-child(4) { animation: fadeInUp 0.6s ease-out 0.4s both; }
.leerdoel-item:nth-child(5) { animation: fadeInUp 0.6s ease-out 0.5s both; }
.leerdoel-item:nth-child(6) { animation: fadeInUp 0.6s ease-out 0.6s both; }

/* Focus states voor accessibility */
.leerdoel-item:focus-within {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

/* Print styling */
@media print {
    .leerdoelen-container {
        border: 1px solid #000;
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    .leerdoel-item {
        background-color: transparent !important;
        border-left: 2px solid #000;
    }
    
    .leerdoel-checkmark {
        color: #000 !important;
        border-color: #000 !important;
    }
} 