/* Bannière */
.banner {
    background-image: url('images/rivière_noire_3.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.banner2 {
    background-image: url('images/la_riviere_noire.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.banner3 {
    background-image: url('images/la_riviere_noire.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.banner4 {
    background-image: url('images/la_riviere_noire.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.banner h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.banner p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.8rem 1.8rem;
    background-color: #f0a500;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background-color: #e08d00;
}

/* Section des destinations */
.destinations {
    padding: 1rem 2%;
    text-align: center;
}

.destinations h2 {
    font-size: 2rem;
    margin-bottom: 0rem;
}

.destination-cards {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.destination-cards2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cartes par ligne */
    gap: 0.5rem; /* Réduit l'espacement entre les cartes */
    flex-wrap: wrap;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 310px; /* Réduction de la taille maximale */
    margin: auto;
    transition: transform 0.2s;
}


.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: 160px; /* Réduction de la hauteur de l'image */
    object-fit: cover;
}

.card h3 {
    font-size: 0.9rem;
    margin: 0.8rem;
}

.card p {
    padding: 0 1rem 1rem;
    color: #555;
    font-size: 0.9rem;
}

/* Section À propos */
.about {
    padding: 4rem 5%;
    text-align: justify;
    background-color: #f9f9f9;
}

.about2 {
    padding: 1rem 5%;
    text-align: justify;
    background-color: #f9f9f9;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about p {
    font-size: 1rem;
    color: #555;
    margin: auto;
}

/* Section Contact */
.contact {
    padding: 4rem 5%;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact input, .contact textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact textarea {
    resize: vertical;
}

.contact button {
    background-color: #f0a500;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact button:hover {
    background-color: #e08d00;
}



/* Titre de la section formulaire */
h2 {
    font-size: 1.8rem;
    color: #444;
    margin-bottom: 1rem;
}





