/* ✅ Bannière */
#hero-harcelement {
    background: url("../img/harcelement-banner.jpg") center/cover no-repeat;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
    position: relative;
    padding: 20px;
}

.hero-content {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 25px;
    border-radius: 10px;
    text-align: center;
}

/* ✅ Liste des types de harcèlement */
#harcelement-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 50px auto;
    max-width: 1000px;
}

/* ✅ Carte pour chaque type */
.harcelement-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 800px;
    transition: transform 0.3s ease-in-out;
}

.harcelement-item:hover {
    transform: scale(1.03);
}

.harcelement-item img {
    width: 200px;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
}

.harcelement-text {
    max-width: 60%;
}

.harcelement-text h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.harcelement-text p {
    font-size: 16px;
    color: #555;
}

/* ✅ Bouton pour lire le texte */
button {
    background: #E81E6F;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background: #C7165A;
}

/* ✅ Responsive */
@media (max-width: 768px) {
    .harcelement-item {
        flex-direction: column;
        text-align: center;
        max-width: 90%;
    }

    .harcelement-item img {
        width: 100%;
        height: auto;
    }

    .harcelement-text {
        max-width: 100%;
    }
}
