/* Style général 350x200 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Neue', 'Comic Sans MS', cursive; /* Application de la police Comic Neue */
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

header {
    background: #4CAF50;
    color: #333;
    padding: 20px 0;
    text-align: center;
    font-family: 'Comic Neue', 'Comic Sans MS', cursive; /* Application spécifique à l'en-tête */
}

nav a {
    font-family: 'Comic Neue', 'Comic Sans MS', cursive; /* Application au menu de navigation */
	 color: #333;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1.2em;
    display: inline-block; /* Rend chaque lien en ligne tout en respectant le bloc */
}

nav a:hover {
    text-decoration: underline;
}

section {
    padding: 20px;
}

h2 {
    color: #4CAF50;
    margin-bottom: 10px;
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.footer-space {
    height: 60px; /* Correspond à la hauteur du footer */
}

/* Style pour la galerie de photos */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

.gallery img {
    width: 30%;
    margin-bottom: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Style pour les sections */
.intro, .about, .contact {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

.contact form {
    display: flex;
    flex-direction: column;
}

.contact form input, 
.contact form textarea {
    margin-bottom: 10px;
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.contact form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
}

.contact form input[type="submit"]:hover {
    background-color: #45a049;
}

/* Adaptabilité mobile */
@media (max-width: 768px) {
    .gallery img {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .gallery img {
        width: 100%;
    }

    nav a {
        display: block;
        margin: 10px 0;
    }
}



/* ======= Nouvelle section : Image haute avec texte sur le côté gauche ======= */
.image-text-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    height: 70vh;
    margin: 20px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* Texte sur le côté gauche */
.image-text-container .text-container {
    width: 35%; /* 35% de la largeur pour le texte */
    padding: 20px;
    background-color: #f4f4f4;
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.image-text-container .text-container h1 {
    margin-bottom: 15px;
    font-size: 2em;
    color: #4CAF50;
}

.image-text-container .text-container p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
}

/* Image occupant la majeure partie de la page */
.image-text-container .image-container {
    width: 65%; /* 65% de la largeur pour l'image */
}

.image-text-container .image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Adaptabilité pour mobile de la section image + texte */
@media (max-width: 768px) {
    .image-text-container {
        flex-direction: column;
        height: auto;
    }

    .image-text-container .text-container {
        width: 100%;
        text-align: center;
    }

    .image-text-container .image-container {
        width: 100%;
    }
}