/* Réinitialisation globale */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Corps général du site */
html, body {
    height: 100%; /* Assure que la page occupe toute la hauteur */
    overflow-y: auto; /* Permet le défilement vertical */
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f7;
    color: #333;
    text-align: center;
    line-height: 1.6;
    padding-top: 80px; /* Espace ajouté pour compenser la hauteur du menu fixe */
}

/* Barre de navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 10%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0071e3;
}

.logo a {
    font-size: 2.5rem;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

/* Section Hero (Accueil) */
.hero {
    padding: 200px 20px 100px;
    background-color: #000;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    background-color: #0071e3;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1rem;
}

.btn:hover {
    background-color: #005bb5;
}

/* Section Infos */
.infos {
    padding: 100px 20px;
}

.infos h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Section Contact */
.contact {
    padding: 150px 20px 60px;
    text-align: center;
}

.contact h1 {
    margin-bottom: 20px;
    font-size: 2.5rem;
}

form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

form label {
    display: block;
    margin-top: 20px;
    font-weight: bold;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

button {
    margin-top: 20px;
    padding: 15px 30px;
    border: none;
    background-color: #0071e3;
    color: white;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #005bb5;
}

/* Image Container (pour les images dans infos et contact) */
.image-container {
    margin: 30px auto;
    text-align: center;
}

.image-container img {
    width: 80%;
    max-width: 800px;  /* Réduction de la taille maximale */
    height: auto;
    object-fit: contain;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .image-container img {
        max-width: 90%;  /* Sur mobile, l'image reste large */
    }
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 0.5rem 0;
}
@media (max-width: 768px) {
    footer {
        padding: 0.2rem 0;  /* Réduction du padding */
        font-size: 0.8rem;  /* Taille de texte réduite */
    }
    
    footer .footer-links a {
        margin: 3px 0;  /* Espacement réduit entre les liens */
        font-size: 0.85rem;
    }
}

/* Responsive Design (Mobile et Tablette) */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        padding: 150px 20px 80px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .infos h1, .contact h1 {
        font-size: 2rem;
    }

    form {
        width: 90%;
    }
}

/* Gestion de l'image en bas */
.bottom-image {
    margin-top: 50px;  /* Espace entre la dernière section et l'image */
    width: 100%;       /* L'image prend toute la largeur */
    text-align: center;
}

.bottom-image img {
    width: 40%;  /* Réduction de la taille sur PC */
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* Ajustement pour mobile (pleine largeur) */
@media (max-width: 768px) {
    .bottom-image img {
        width: 60%;
    }
}

.contact-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.container {
    max-width: 800px;
    margin: auto;
}

.contact-form {
    margin-top: 40px;
    text-align: left;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form button {
    background-color: #0056b3;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #003d80;
}

.contact-info {
    margin-top: 60px;
    font-size: 18px;
}
.map-section {
    text-align: center;
    margin: 50px 0;
}

.map-section h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #333;
}

.map-container {
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}
