/* Reset CSS pour réinitialiser les styles par défaut */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Styles de base pour le corps du document */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* En-tête du site */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #000;
    color: #fff;
}

/* Logo de la société */
.logo img {
    max-width: 300px; /* Largeur maximale du logo */
    height: auto; /* Hauteur automatique pour conserver les proportions */
}

/* Informations de contact */
.contact-info {
    font-size: 1.2em;
}

/* Section principale du contenu */
main {
    flex: 1;
    max-width: 1200px;
    padding: 35px;
    margin:auto;
}

main a {
    color: #FF0000;
    font-weight:bold;
    text-decoration: none;
    cursor:pointer;
}

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

/* Styles pour les listes dans le main */
main ul {
    list-style: disc;
    padding-left: 40px; /* Ajuster le padding gauche pour les listes dans main */
    margin-bottom: 20px; /* Ajouter un peu d'espace en bas des listes */
}

main li {
    margin-bottom: 10px; /* Espacement entre les éléments de la liste */
}


/* Section de description */
.description {
    text-align: center;
    margin-bottom: 40px;
}

section {
    margin-bottom:20px;
}

/* Titres */
h1, h2 {
    color: #FF0000; /* Rouge vif pour les titres */
    text-align: center;
    margin-bottom: 20px;
}

h3 {
    color: black; /* Rouge vif pour les titres */
    text-align: center;
    margin-bottom: 20px;
}

/* Galerie d'images */
.gallery {
    text-align: center;
    margin-bottom: 40px;
}

.photos-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.photos-row img {
    width: 220px; /* Largeur fixe */
    height: 220px; /* Hauteur fixe */
    object-fit: cover; /* Recadre l'image */
    border: 2px solid #000;
    margin-bottom: 10px;
    border-radius: 10px; /* Arrondi des coins des images */
}

/* Lien "Voir plus de photos" */
.see-more {
    flex-basis: 100%;
    text-align: right;
    margin-top: 10px;
}

.see-more a {
    padding: 10px 20px;
    background-color: #FF0000; /* Rouge vif pour le fond du lien */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.see-more a:hover {
    background-color: #c0392b;
}

/* Lien "Voir plus de photos" */
.btn {
    flex-basis: 100%;
    margin-top: 10px;
}

.btn a {
    padding: 10px 20px;
    background-color: #FF0000; /* Rouge vif pour le fond du lien */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn a:hover {
    background-color: #c0392b;
}

.alert {
    padding: 20px;
    background-color: #f44336;
    color: white;
    position:absolute;
    right:0;
    top: 40px;
  }
  
  .closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .closebtn:hover {
    color: black;
  }

/* Formulaire de contact */
.contact-form {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    margin: 0 auto; /* Centrage du formulaire */
    max-width: 600px; /* Largeur maximale sur les grands écrans */
    box-sizing: border-box; /* Inclut le padding et les bordures dans la largeur totale */
    border-radius: 10px; /* Arrondi des coins du formulaire */
    background: linear-gradient(135deg, #ffffff, #f0f0f0); /* Dégradé léger du blanc au gris */
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #FF0000; /* Rouge vif pour le bouton */
    border: none;
    color: #fff;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 5px;
}

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

.popup_image {
	position: fixed;
	background-color: white;
	z-index: 3;
	padding: 5px;
	top: 50%;
	left: 50%;
}

.popup_bg {
	position:fixed;
	top: 0%;
	left: 0%;
	height: 100%;
	width: 100%;
	background-color: rgba(128,128,128,0.5);
	z-index: 2;
}

/* Footer du site */
footer {
    display: flex;
    justify-content: center; /* Centrer les colonnes */
    align-items: flex-start; /* Aligner les colonnes en haut */
    padding: 20px;
    background-color: #000;
    color: #fff;
    font-size:14px;
}

.footer-column {
    flex: 1;
    padding: 0 20px;
    max-width: 300px; /* Optionnel : pour limiter la largeur des colonnes */
}

.footer-column h3 {
    margin-bottom: 10px;
    color: #FF0000; /* Rouge vif pour les titres */
}

.footer-column p {
    margin-bottom: 10px;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
}

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

/* Styles pour rendre le footer responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    header .logo {
        max-width: 100%;
        height: auto;
        margin-bottom: 10px;
        margin:auto;
    }

    header .contact-info {
        font-size: 16px;
        text-align: left;
        margin:auto;
    }

    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        padding: 10px 0;
    }

    .footer-column p {
        margin: 5px 0;
    }
}

.menu {
    background-color: #FF0000;
}

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.menu li {
    margin: 0;
    padding: 0;
}

.menu a {
    display: block;
    padding: 14px 20px;
    text-align: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.menu a:hover {
    background-color: #575757;
}

.login-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

.login-container h2 {
    margin-bottom: 20px;
    color: #333;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.login-container button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
}

.login-container button:hover {
    background-color: #0056b3;
}