/* 🧼 Réinitialisation simple du style par défaut du navigateur */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* 🧱 En-tête du site avec image de fond et fallback couleur */
header {
    background: url('images/banniere.png') no-repeat center center, #5e615c;
    background-size: cover;
    color: white;
    height: 150px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 10px 20px 10px 20px;
}

/* 🏷️ Titre principal */
header h1 {
    margin: 0;
    font-size: 28px;
}

/* 📚 Menu de navigation */
header nav ul {
    list-style: none;
    padding: 10px 16px;
    margin: 10px 0 0 0;
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

/* 📎 Liens dans le menu */
nav ul li a {
    text-decoration: none;
    color: white;
    padding: 10px 16px;
    transition: background-color 0.3s;
}


header nav ul li h1 a {
    color: white;
}

header nav ul li h1 a.active {
    color: #ffcc00;
}

header nav ul li h1 a:hover {
    background: rgba(255, 255, 255, 0.2);
}



/* 🖼️ Conteneur du diaporama */
.slideshow-container {
    width: 100%;
    max-width: none;
    height: 500px;
    margin: auto;
    overflow: hidden;
    position: relative;
}

/* 📽️ Ligne contenant toutes les images */
.slides-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1s ease-in-out;
}

/* 🖼️ Image individuelle du diaporama */
.mySlide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 🔘 Conteneur des points de navigation sous le diaporama */
.dots {
    text-align: center;
    margin-top: 10px;
}

/* 🔵 Style d’un point */
.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

/* 🔘 Point actif */
.dot.active {
    background-color: #717171;
}

/* 📦 Bande grise sous le diaporama */
.info-banner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    background-color: #eee;
    padding: 20px;
    max-width: 1200px;
    margin: 30px auto 0 auto;
    border-radius: 10px;
}

/* 📦 Bloc individuel dans la bannière */
.info-block {
    flex: 1;
    text-align: center;
}

/* 🖼️ Image dans chaque bloc */
.info-block img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* 📝 Texte sous les images */
.info-block p {
    margin: 0;
    font-weight: bold;
    color: #333;
}

/* 🏢 Section À propos + carte */
.about-section {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    max-width: 1000px;
    margin: 40px auto;
    gap: 30px;
    padding: 0 20px;
}

/* 🖱️ Lien autour de la carte */
.map-image-link {
    flex: 1;
    max-width: 400px;
}

/* 🗺️ Image de la carte */
.map-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.map-image:hover {
    transform: scale(1.03);
}

/* 📝 Texte à côté de la carte */
.about-text {
    flex: 2;
    color: #333;
}

.about-text h3 {
    margin-top: 0;
    font-size: 22px;
    color: #222;
}

.about-text p {
    font-size: 16px;
    line-height: 1.6;
}

/* 🧩 Grille des partenaires */
.partenaire-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 20px;
    justify-items: center;
    align-items: center;
}

.partenaire-grid img {
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partenaire-grid img:hover {
    transform: scale(1.1);
}

/* 🎯 Image cliquable bannière */
.banner-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 10px;
}

.banner-image-container img {
    max-height: 100px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.banner-image-container img:hover {
    transform: scale(1.05);
}

/* 🖼️ Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}

.lightbox .close:hover {
    color: #ccc;
}

@keyframes zoomIn {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.full-width-image {
    width: 100%;
    overflow: hidden;
}

.full-width-image img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Arial', sans-serif;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.social-icons img {
    width: 35px;
    height: 35px;
    transition: transform 0.2s ease;
}

.social-icons img:hover {
    transform: scale(1.1);
}

.contact-info {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.contact-info a {
    color: #0066cc;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


