/* Algemene styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.quiz-card {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.quiz-card .card-title,
.quiz-card .card-text {
    color: white;
}

/* Species pagina's */
.species-card {
    margin-bottom: 2rem;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.species-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 0.375rem 0.375rem 0 0;
}

/* Groene header voor ganzenpagina's */
.species-header.bg-success {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%) !important;
}

/* Rode header voor zwanenpagina's */
.species-header.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%) !important;
}

/* Paarse header voor futenpagina's */
.species-header.bg-purple {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%) !important;
}

/* Paarse button styling */
.btn-purple {
    background-color: #9b59b6;
    border-color: #9b59b6;
    color: white;
}

.btn-purple:hover {
    background-color: #8e44ad;
    border-color: #8e44ad;
    color: white;
}

.btn-outline-purple {
    border-color: #9b59b6;
    color: #9b59b6;
}

.btn-outline-purple:hover {
    background-color: #9b59b6;
    border-color: #9b59b6;
    color: white;
}

.species-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.species-latin {
    font-style: italic;
    opacity: 0.9;
    margin: 0;
}

.audio-player {
    width: 100%;
    margin-top: 1rem;
}

.species-description {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.375rem;
    margin-top: 1rem;
}

/* Quiz styling */
.quiz-container {
    max-width: 800px;
    margin: 0 auto;
}

.quiz-question {
    background: white;
    padding: 2rem;
    border-radius: 0.375rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.quiz-options {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.quiz-option {
    padding: 1rem;
    border: 2px solid #dee2e6;
    border-radius: 0.375rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.quiz-option:hover {
    border-color: #0d6efd;
    background-color: #f8f9fa;
}

.quiz-option.correct {
    border-color: #198754;
    background-color: #d1e7dd;
}

.quiz-option.incorrect {
    border-color: #dc3545;
    background-color: #f8d7da;
}

.quiz-option.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.quiz-score {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    color: white;
    padding: 2rem;
    border-radius: 0.375rem;
    text-align: center;
    margin-top: 2rem;
}

.quiz-progress {
    margin-bottom: 2rem;
}

.quiz-feedback {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
}

.quiz-feedback.correct {
    background-color: #d1e7dd;
    color: #0f5132;
}

.quiz-feedback.incorrect {
    background-color: #f8d7da;
    color: #842029;
}

/* Responsive */
@media (max-width: 768px) {
    .category-icon {
        font-size: 3rem;
    }
    
    .species-name {
        font-size: 1.25rem;
    }
}

/* Back button */
.back-button {
    margin-bottom: 2rem;
}
