/* Généralités et typographie */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 40px;
    color: #333;
}

h1.display-4 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

p.lead {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 50px;
    color: #555;
}

a {
    text-decoration: none;
}
/* Hero Image */
.hero-text {
    background-image: url("../../../images/evenements.webp");
    background-size: cover;
    background-position: center;
    padding: 120px 20px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 60px;
}

/* Card des événements */
.evenement-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

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

.card-img-top {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.evenement-card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 20px;
    text-align: center;
}

.card-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

.card-text {
    font-size: 1rem;
    color: #777;
    margin-bottom: 20px;
}

/* Bouton principal */
.btn-primary {
    background-color: #000;
    color: #fff;
    padding: 10px 25px;
    border-radius: 25px;
    text-transform: uppercase;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #444;
    transform: translateY(-3px);
}

/* Photo d'accueil */
.card-img-top.img-fluid.rounded-top {
    border-radius: 15px;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 50px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-text {
        padding: 60px 15px;
    }

    h1.display-4 {
        font-size: 2rem;
    }

    p.lead {
        font-size: 1rem;
    }

    .card-img-top {
        height: 180px;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .btn-primary {
        padding: 8px 18px;
    }
}
