/* =========================================
   RESET GLOBAL
   ========================================= */
* {
    margin: 0;
    box-sizing: border-box;
}

/* =========================================
   STYLES DE BASE DU BODY
   ========================================= */
body {
    font-family: 'Manrope', sans-serif;
    font-size: 1em;
    background-color: #000000;
    color: white;
}

/* =========================================
   LIENS GÉNÉRAUX
   ========================================= */
a {
    color: #90EE90; /* Vert clair visible sur fond noir */
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* =========================================
   TEXTE EN ITALIQUE
   ========================================= */
em {
    color: #a5b4fc;
    font-style: normal;
}

/* =========================================
   TITRES
   ========================================= */
h1 {
    font-size: 3.5em;
    color: #90EE90;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    margin-bottom: 20px;
}
h2 {
    color: #90EE90;
    text-align: center;
    margin-bottom: 40px;
}

/* =========================================
   PARAGRAPHES ET LISTES
   ========================================= */
p, li {
    font-size: 1.1em;
    color: #ffffff;
    line-height: 1.6;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 20px auto;
}

/* =========================================
   BOUTONS CTA
   ========================================= */
.cta {
    display: inline-block;
    background-color: #2E8B57;
    border-radius: 50px;
    padding: 20px 30px;
    color: white;
    font-weight: 600;
    transition: background 0.3s ease;
}
.cta:hover {
    background: linear-gradient(#2E8B57, #90EE90);
    text-decoration: none;
}

/* =========================================
   LIENS AVEC ICONES
   ========================================= */
.lien-icone {
    margin-left: 30px;
}
.lien-icone:hover {
    opacity: 0.5;
}

/* =========================================
   SECTIONS
   ========================================= */
section {
    padding: 80px 20px;
    background-color: rgba(0, 0, 0, 0.8);
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================
   NAVIGATION & FOOTER
   ========================================= */
nav, footer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}
nav a {
    margin-left: 30px;
    color: #000000;
    font-weight: 600;
}
header, footer {
    background: linear-gradient(#2E8B57, #90EE90);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
header nav img {
    margin-bottom: 20px;
}

/* =========================================
   IMAGES
   ========================================= */
.image-logo {
    width: 100px;
    height: auto;
}
.image-brit {
    width: 350px;
    height: auto;
    max-width: 100%;
}
.facebook, .instagram, .googleMaps {
    width: 40px;
    height: 40px;
}

/* =========================================
   SECTION ACCUEIL PHOTOS
   ========================================= */
.accueil-photos img {
    width: 600px;
}
.accueil-photos div {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 15px;
}

/* =========================================
   INTRODUCTION ACCUEIL
   ========================================= */
.accueil-introduction {
    color: white;
    padding: 30px 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
    font-family: 'Manrope', sans-serif;
}
.accueil-introduction h2 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #90EE90;
}
.accueil-introduction p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 700px;
}

/* =========================================
   GRILLES ÉVÉNEMENTS & PORTRAITS
   ========================================= */
.grid-évenements, .grid-portraits {
    display: grid;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto 40px auto;
}
.grid-évenements {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 400px;
}
.grid-portraits {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 300px;
}
.grid-évenements img, .grid-portraits img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.grid-évenements .programme {
    object-fit: contain;
    height: auto;
    max-height: none;
    grid-row: auto;
    display: block;
    margin: 0 auto;
}

/* =========================================
   HOVER SUR PHOTOS
   ========================================= */
.lien-conteneur-photo {
    position: relative;
}
.photo-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
}
.lien-conteneur-photo:hover .photo-hover {
    display: flex;
}

/* =========================================
   SECTION UNDERBRIT
   ========================================= */
.underbrit-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}
.underbrit-photo img {
    object-fit: contain;
    width: 700px;
    max-width: 700px;
    height: auto;
    padding-top: 60px;
    border-radius: 10px;
}

/* =========================================
   BLOC CARRE
   ========================================= */
.carre-contenu {
    border-right: 1px solid #90EE90;
    border-bottom: 1px solid #90EE90;
    padding: 50px;
    width: 50%;
    margin: 40px auto 80px auto;
    box-sizing: border-box;
}
.carre-contenu h2 {
    margin-top: 30px;
}
.carre-contenu ul {
    margin-top: 30px;
}

/* =========================================
   TABLEAUX
   ========================================= */
table {
    color: white;
    text-align: center;
    width: 100%;
    border-collapse: collapse;
}
td, th {
    padding: 15px;
    border: 1px solid #90EE90;
}
td {
    padding: 60px;
}

/* =========================================
   CARTE GOOGLE MAPS
   ========================================= */
.carte {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

/* Tablettes et petits écrans */
@media screen and (max-width: 996px) {
    header nav {
        flex-direction: row;
        flex-wrap: wrap;
        font-size: 30px !important;
    }
    nav a {
        margin: 10px;
    }
}
@media (max-width: 600px) {
    footer {
        font-size: 20px;
    }
    h1 {
        font-size: 2em;
    }
    section {
        padding: 50px 20px;
    }
    nav a {
        margin: 10px;
    }
    .accueil-introduction {
        padding: 20px 10px;
        max-width: 100%;
    }
    .accueil-introduction h2 {
        font-size: 2rem;
    }
    .accueil-introduction p {
        font-size: 1rem;
        max-width: 90%;
    }
    .accueil-photos {
        padding: 20px 10px;
    }
    .carre-contenu {
        width: 90%;
        padding: 20px;
        margin: 30px auto;
        border: none;
    }
    .underbrit-photo img {
        width: 90%;
        padding-top: 20px;
    }
}
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column; /* si vous voulez que les onglets soient en colonne */
    justify-content: center;
    align-items: center;
  }

  .nav-menu li {
    margin: 5px 0;
  }
}
/* Contact section responsive */
.contact-section {
    color: #f8f8f8;
    padding: 60px 20px;
    text-align: center;
}
.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
@media (max-width: 600px) {
    .contact-section {
        font-size: 1.4em !important;
        padding: 40px 20px !important;
    }
    .contact-section h2 {
        font-size: 2em !important;
        margin-bottom: 20px !important;
    }
    .contact-info {
        font-size: 1.3em !important;
    }
    .contact-info h3 {
        font-size: 1.6em !important;
    }
    .contact-info p, .contact-info a {
        font-size: 1.4em !important;
    }
    .social-links a {
        font-size: 2em !important;
        margin: 0 15px !important;
    }
}

/* =========================================
   LIGHTBOX / DIAPORAMA
   ========================================= */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: fadeIn 0.3s ease;
}
.lightbox img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(144, 238, 144, 0.3);
    transition: opacity 0.3s ease;
}
.lightbox .close, .lightbox .prev, .lightbox .next {
    position: absolute;
    color: #90EE90;
    font-size: 2.5em;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}
.lightbox .close {
    top: 25px;
    right: 35px;
}
.lightbox .prev {
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
}
.lightbox .next {
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
}
.lightbox .close:hover, .lightbox .prev:hover, .lightbox .next:hover {
    color: #90EE90;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =========================================
   GALLERY / FORMULES / MENU
   ========================================= */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.gallery img {
    width: 600px;
    height: 900px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery img:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
@media (max-width: 800px) {
    .gallery img { width: calc((100% - 20px) / 2); }
}
@media (max-width: 500px) {
    .gallery img { width: 100%; }
}

/* Menu images */
.menu-img {
    width: 90%;
    max-width: 800px;
    display: block;
    margin: 60px auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    cursor: pointer;
}
.menu-img:hover {
    transform: scale(1.05);
}
.formules {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.formule-img {
    width: 45%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    cursor: pointer;
    margin-bottom: 50px;
}
.formule-img:hover {
    transform: scale(1.05);
}

/* Google Maps intégré */
.google-maps {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 20px 0;
}
.google-maps iframe {
    border: 0;
    width: 80%;
    max-width: 800px;
    height: 450px;
    border-radius: 10px;
}

/* =========================================
   AUTRES AJUSTEMENTS
   ========================================= */
.titre {
    padding-bottom: 10px !important;
    margin-bottom: 0 !important;
}
.evenements-section-photos {
    padding-top: 10px !important;
    margin-top: 0 !important;
}

/* =========================================
   RESPONSIVE SUPPLÉMENTAIRE
   ========================================= */
@media (max-width: 768px) {
    .evenements-section-photos {
        flex-direction: column;
        align-items: center;
        max-width: 90%;
        margin-bottom: 20px;
    }
    .accueil-photos {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }
    .accueil-photos div {
        width: 100%;
    }
    .accueil-photos img {
        display: block;
        margin: 0 auto;
        max-width: 80%;
        height: auto;
    }
    body {
        font-size: 1.5em;
    }
    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    p, li { font-size: 1.3em; }
    nav a, footer, table, .carre-contenu, .accueil-introduction { font-size: 1.2em; }
    body { font-size: clamp(16px, 2vw, 20px); }
}
