/* Réinitialisation */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

/* En-tête */
header {
    background-color: #173f5f;
    color: white;
    padding: 18px 0;
}

.navbar {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    text-decoration: none;
    font-size: 1.7rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: #f6c85f;
}

/* Bannière principale */
.hero {
    min-height: 500px;
    background: linear-gradient(
            rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.45)
        ),
        url("https://images.unsplash.com/photo-1566073771259-6a8506099945")
        center/cover;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* Boutons */
.btn {
    display: inline-block;
    background-color: #f6c85f;
    color: #173f5f;
    text-decoration: none;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

/* Sections */
section {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
}

.section-title {
    text-align: center;
    color: #173f5f;
    margin-bottom: 30px;
    font-size: 2rem;
}

/* Cartes */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card h3 {
    color: #173f5f;
    margin-bottom: 10px;
}

/* Bannière interne */
.page-banner {
    background-color: #285f75;
    color: white;
    padding: 70px 20px;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.5rem;
}

/* Galerie */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* Formulaire */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info,
.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-info h2,
.contact-form h2 {
    color: #173f5f;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

form input,
form textarea,
form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
}

form textarea {
    min-height: 140px;
    resize: vertical;
}

form .btn {
    margin-top: 20px;
}

/* Avis */
.reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.review {
    background-color: white;
    padding: 25px;
    border-left: 5px solid #f6c85f;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.review h3 {
    color: #173f5f;
    margin-bottom: 10px;
}

.stars {
    color: #f6c85f;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Pied de page */
footer {
    background-color: #173f5f;
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 60px;
}

footer p {
    margin: 5px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .cards,
    .reviews,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .page-banner h1 {
        font-size: 2rem;
    }
}

/* Formulaire d'avis */
.review-form {
    max-width: 700px;
    margin: 0 auto 40px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.review-form h2 {
    color: #173f5f;
    margin-bottom: 20px;
}

.review-form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

.review-form input,
.review-form select,
.review-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
}

.review-form textarea {
    min-height: 120px;
    resize: vertical;
}

.review-form .btn {
    margin-top: 20px;
}

.message-avis {
    color: #28724f;
    font-weight: bold;
    margin-top: 15px;
}
