/* Corps de page */
body {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #343a40;
    margin: 0;
    padding: 0;
}

/* Titre principal */
h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #007bff;
    text-shadow: 1px 1px 2px #dee2e6;
}

/* Titres secondaires */
h2 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* Séparateur visuel */
h2.text-dark.text-center {
    font-size: 1.2rem;
    font-weight: normal;
    color: #6c757d;
    letter-spacing: 0.2em;
}

/* Images */
img {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Liens */
a {
    color: #007bff;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Conteneurs */
.container {
    margin-bottom: 2rem;
}

/* Cartes */
.col-12 {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    margin: 10px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.col-12:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Titres dans les colonnes */
.col-12 h2 {
    font-size: 1.3rem;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Liens centrés */
.accueil {
    margin: 0.6rem 0;
    font-size: 1.05rem;
}

.li {
    margin: 0.6rem 0;
    font-size: 1.05rem;
    list-style: none;
}

/* Styles pour le projet */
.project-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 123, 255, 0.1);
}

.project-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
    font-style: italic;
}

/* Cartes de catégorie */
.category-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #dee2e6;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    min-height: 300px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.personal-card {
    border-top: 4px solid #28a745;
}

.correction-card {
    border-top: 4px solid #dc3545;
}

/* Titres des catégories */
.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e9ecef;
    color: #495057;
}

.personal-card .category-title {
    color: #28a745;
}

.correction-card .category-title {
    color: #dc3545;
}

/* Liste des exercices */
.exercise-list {
    text-align: left;
}

.exercise-item {
    margin: 1rem 0;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    transition: all 0.2s ease;
}

.exercise-item:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.exercise-item a {
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    display: block;
    transition: color 0.2s ease;
}

.exercise-item a:hover {
    color: #007bff;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .project-title {
        font-size: 2rem;
    }
    
    .category-card {
        margin-bottom: 1.5rem;
        min-height: auto;
    }
}
