/* RESET : Éliminer les marges et les bordures par défaut */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}




/* Corps de la page */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* En-tête */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 20px 50px;
}

header .logo-container {
    flex: 0 1 auto; /* Laisse le logo prendre juste ce qu'il lui faut */
}

header .logo {
    height: 50px;  /* Ajustez la taille du logo selon vos besoins */
    width: auto;
}

header .header-text {
    text-align: left;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Sélecteur de langue */
.language-selector {
    display: flex;
    gap: 10px;
}

.language-selector img {
    width: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.language-selector img:hover {
    transform: scale(1.2);
}

/* Section principale */
section {
    padding: 60px 20px;
}

section .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

/* Styles spécifiques à chaque page */

/* Page À propos */
#about {
    background-color: #fff;
    padding: 50px 20px;
}

#about p {
    font-size: 1.2rem;
    margin-top: 20px;
}

/* Page Services */
#services ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

#services li {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#services li h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

#services li p {
    font-size: 1rem;
    color: #666;
}

/* Page Galerie */
#gallery .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

#gallery img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Page Contact */
#contact form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

#contact button {
    background-color: #ff6600;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

#contact button:hover {
    background-color: #e55a00;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer a {
    color: #ff6600;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .language-selector {
        margin-top: 15px;
    }

    h2 {
        font-size: 1.8rem;
    }

    #services ul {
        grid-template-columns: 1fr;
    }

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

    #contact form {
        width: 90%;
    }
}
