/* ==========================================
   Style général
========================================== */

body {
    background-color: #000;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
}

/* ==========================================
   Header
========================================== */

header h1 {
    margin: 0;
    font-size: 6rem;
    font-weight: bold;
    text-align: center;
    background-color: #000;
}

.navbar {
    margin-top: 10px;
}

.nav-link {
    transition: color 0.3s;
}

.nav-link:hover {
    color: #ffc107 !important;
}

/* ==========================================
   Sidebar
========================================== */

aside .card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.list-group-item {
    transition: all .3s;
}

.list-group-item:hover {
    background-color: #000;
    color: white;
}

/* ==========================================
 *   Articles
 * ========================================== */
article {
    background-color: black;
    color: white; /* Force tout le texte de l'article en blanc */
}

/* Ces classes ciblent vos bandeaux de texte et votre image */
.row .fs-4 {
    line-height: 1.5;
    letter-spacing: 0.5px; /* Optionnel : rend le texte du bandeau plus aéré */
}

/* Optionnel : Si vous souhaitez conserver un léger effet d'ombre ou de fondu autour de la voiture */
.row img.rounded {
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05); /* Ombre blanche très subtile sur fond noir */
    transition: transform .3s ease;
}

/* Optionnel : Un léger effet visuel quand on passe la souris sur l'image de la voiture */
.row img.rounded:hover {
    transform: scale(1.01); /* Grossit très légèrement l'image (1%) de manière fluide */
}


/* ==========================================
   Images
========================================== */

.card img {
    border-radius: 8px;
    transition: transform .3s;
    text-align: center;
}

.card img:hover {
    transform: scale(1.02);
}

/* ==========================================
   Miniature vidéo
========================================== */

.video-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    display: block;
}

.video-thumbnail::after {
    content: "▶";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: white;
    background: rgba(0,0,0,.5);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background .3s;
}

.video-thumbnail:hover::after {
    background: rgba(13,110,253,.8);
}

/* ==========================================
   Footer
========================================== */

footer {
    margin-top: 40px;
}

/* ==========================================
   Responsive
========================================== */

@media (max-width: 768px) {

    header {
        text-align: center;
    }

    aside {
        margin-bottom: 25px;
    }

}
