*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html, body {
    height: 100%;
  }

body {
background-image: url('medias/fondSite.jpg');
background-size: cover;        /* Remplit l'écran sans déformation */
background-position: center;   /* Centre l'image */
background-repeat: no-repeat;  /* Pas de répétition */
background-attachment: fixed;  /* Effet de parallaxe */
position: relative;
z-index: 0;
}

/* Page événement */
/* SECTION TITRE PLEIN ÉCRAN */
#soiree-hero1{
    background-image: url('medias/Soiree/1/Thumbnail.jpg'); 
}

#soiree-hero2{
    background-image: url('medias/Soiree/2/Thumbnail.jpg'); 
}

#soiree-hero3{
    background-image: url('medias/Soiree/3/Thumbnail.jpg'); 
}

#soiree-hero4{
    background-image: url('medias/Soiree/4/Thumbnail.jpg'); 
}

#soiree-hero5{
    background-image: url('medias/Soiree/5/Thumbnail.jpg'); 
}

#soiree-hero6{
    background-image: url('medias/Soiree/6/Thumbnail.jpg'); 
}

#soiree-hero7{
    background-image: url('medias/Soiree/7/Thumbnail.jpg'); 
}

#soiree-hero8{
    background-image: url('medias/Soiree/8/Thumbnail.jpg'); 
}

#soiree-hero9{
    background-image: url('medias/Soiree/9/Thumbnail.jpg'); 
}

#soiree-hero10{
    background-image: url('medias/Soiree/10/Thumbnail.jpg'); 
}


.soiree-hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
}

.soiree-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* assombrit le fond */
    z-index: 1;
}

.soiree-hero h1 {
    font-size: 80px;
    color: white;
    z-index: 2;
    text-align: center;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
}

/* SECTION GALERIE VERTICALE */
.soiree-gallery {
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    grid-auto-rows: 300px;
    gap: 20px;
    padding: 100px 5%;
    background-color: #000;
}

.soiree-gallery img,
.soiree-gallery video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  transform: translateY(30px);
}

.soiree-gallery img.visible,
.soiree-gallery video.visible {
    opacity: 1;
    transform: translateY(0);
}

.soiree-gallery img:nth-child(10n + 2),
.soiree-gallery img:nth-child(10n + 4),
.soiree-gallery img:nth-child(10n + 8),
.soiree-gallery img:nth-child(10n + 9),
.soiree-gallery video:nth-child(10n + 2),
.soiree-gallery video:nth-child(10n + 4),
.soiree-gallery video:nth-child(10n + 8),
.soiree-gallery video:nth-child(10n + 9) {
  grid-column: span 2;
}

.soiree-gallery img:nth-child(10n + 3),
.soiree-gallery img:nth-child(10n + 6),
.soiree-gallery video:nth-child(10n + 3),
.soiree-gallery video:nth-child(10n + 6) {
  grid-row: span 2;
}

.soiree-gallery img:hover,
.soiree-gallery video:hover {
    transform: scale(1.03);
}

@media (max-width: 600px) {
    .soiree-gallery {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .soiree-gallery img,
    .soiree-gallery video {
        width: 300px;
        height: 300px;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* SECTION GALERIE Partenaires (event10) */
.partenaires-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 300px;
    gap: 20px;
    padding: 100px 5%;
    background-color: #000;
}

.partenaires-gallery img {
  width: 100%;
  height: auto; /* Let image resize naturally */
  object-fit: contain; /* Show full image, even if there’s empty space */
  aspect-ratio: 1 / 1; /* Optional: forces consistent square layout */
  background-color: #000; /* Optional: fill background where image doesn’t cover */
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  transform: translateY(30px);
}

.partenaires-gallery img.visible {
    opacity: 1;
    transform: translateY(0);
}

.partenaires-gallery img:hover {
    transform: scale(1.03);
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Couche noire semi-transparente */
    z-index: -1;
  }

.navBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between; /* Garde le logo à gauche et les liens à droite */
    align-items: center;
    padding: 40px 30px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    z-index: 1000;
}

.nav_links {
    display: flex;
    justify-content: center; /* Centre les liens */
    align-items: center;
    gap: 50px; /* Espacement uniforme */
    flex-grow: 1; /* Permet aux liens de s'étendre */
}

.logo {
    display: none; /* Caché par défaut */
    font-size: 24px;
    font-weight: bold;
    white-space: nowrap; /* Empêche le logo de se casser en plusieurs lignes */
}


.nav_links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    transition: opacity 0.3s;
    padding: 0px 45px;
    position: relative;
    display: flex;
    align-items: center; /* Centre le texte verticalement */
}

.nav_links a:not(:last-child)::after {
    content: "";
    width: 2px; /* Épaisseur de la barre */
    height: 50px; /* Ajuste cette valeur pour rendre la barre plus longue */
    background-color: white; /* Couleur de la barre */
    position: absolute;
    right: -10px; /* Décale la barre pour éviter qu'elle colle au texte */
    top: 50%;
    transform: translateY(-50%); /* Centre verticalement */
}

.nav_links a:hover{
    opacity: 0.7;
}

.hero{
    height: 100vh;
    background-image: url('medias/logo.jpg');
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

#fautBG{
    background: rgba(0, 0, 0, 0.85);
    padding: 20px;
    border-radius: 10px;
}

.hero h1{
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p{
    font-size: 24px;
    margin-bottom: 20px;
    text-indent: 0; /* Ensure hero paragraph text is centered */
}

.resa{
    padding: 10px 20px;
    background:rgb(177, 140, 140);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.resa:hover{
    background: rgb(159, 119, 119);
}

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 200px;
    text-align: center;
    background-color: #1a1a1a; /* Correspond au gris foncé de la capture d'écran 2 */
}

#titre{
    text-decoration: underline;
    color: white;
    font-size: 50px;
    background: none;
    text-align: center;
    padding: 20px 20px;
}

#description {
    color: white;
    font-size: 18px;
    background: none;
    padding: 5px 30px;
    text-align: justify; /* Alignement à gauche pour un affichage naturel */
    flex: 3; /* Donne encore plus de place à #description */
    max-width: 600px; 
    overflow-wrap: break-word; 
    word-break: break-word; 
}

#logo2 {
    color: white; /* Texte en blanc pour contraster avec le fond sombre */
    font-size: 20px;
    background: none; /* Supprime le fond bleu */
    padding: 50px 40px;
    text-align: center;
    flex: 1; /* Garde les éléments égaux en largeur */
    max-width: 300px; /* Limite la largeur maximale */
}

#confirme {
    min-height: 92.5vh; /* Hauteur minimale = 100% de la fenêtre */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre verticalement */
    align-items: center;     /* Centre horizontalement */
    background-color: #2c2c2c;
    padding: 40px 20px;
    color: white;
    text-align: center;
}

#confirme h2 {
    color: #d4b992;
    font-size: 32px;
    margin-bottom: 20px;
}

#confirme p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
}


/* Événements */
.events {
    padding: 110px 20px;
    text-align: center;
    background-color: none; /* Même fond que la section About */
    color: white;
}

.events h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #d4b992; /* Couleur beige pour le titre, comme dans About */
}


.carousel-container {
    position: relative;
    max-width: 1000px; /* Limite la largeur du carrousel */
    margin: 0 auto; /* Centre le carrousel */
    overflow: hidden; /* Cache les éléments qui débordent */
}

.carousel {
    display: flex;
    overflow-x: auto; /* Permet le défilement horizontal */
    scroll-behavior: smooth; /* Défilement fluide */
    gap: 20px; /* Espacement entre les éléments */
    padding: 20px 0;
    scroll-snap-type: x mandatory; /* Active le snap pour que chaque élément s'aligne */
    -webkit-overflow-scrolling: touch; /* Améliore le défilement sur mobile */
}

.carousel a {
    text-decoration: none;
    color: inherit;
    display: block; /* Pour que le lien prenne toute la surface de l’item */
    height: 100%;
}

.carousel-link {
    display: block;
    flex: 0 0 300px;
    height: 200px;
    text-decoration: none;
    color: inherit;
}

.carousel-item {
    width: 100%;
    height: 100%;
}

.carousel-item {
    flex: 0 0 300px; /* Largeur fixe pour chaque élément */
    height: 200px; /* Hauteur fixe */
    background-color: #333; /* Fond gris foncé pour chaque élément */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    border-radius: 10px;
    scroll-snap-align: center; /* Centre chaque élément lors du défilement */
}

@media (max-width: 600px) {
    .carousel-link,
    .carousel-item {
        flex: 0 0 80vw;
        height: 200px;
    }
}

#E1{
    background-image: url(medias/Soiree/1/Thumbnail.jpg);
}

#E2{
    background-image: url(medias/Soiree/2/Thumbnail.jpg);
}

#E3{
    background-image: url(medias/Soiree/3/Thumbnail.jpg);
}

#E4{
    background-image: url(medias/Soiree/4/Thumbnail.jpg);
}

#E5{
    background-image: url(medias/Soiree/5/Thumbnail.jpg);
}

#E6{
    background-image: url(medias/Soiree/6/Thumbnail.jpg);
}

#E7{
    background-image: url(medias/Soiree/7/Thumbnail.jpg);
}

#E8{
    background-image: url(medias/Soiree/8/Thumbnail.jpg);
}
#E9{
    background-image: url(medias/Soiree/9/Thumbnail.jpg);
}
#E10{
    background-image: url(medias/Soiree/10/Thumbnail.jpg);
}

.event-item {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

/* overlay noir semi-transparent */
.event-item::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* le texte doit passer au-dessus de l'overlay */
.event-item > * {
    position: relative;
    z-index: 2;
}


/* Masquer la barre de défilement tout en permettant le défilement */
.carousel::-webkit-scrollbar {
    display: none; /* Masquer la barre de défilement sur Chrome/Safari */
}

.carousel {
    -ms-overflow-style: none; /* Masquer la barre de défilement sur Edge */
    scrollbar-width: none; /* Masquer la barre de défilement sur Firefox */
}

/* Boutons de navigation */
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.bottom-text-box {
  width: 100%;
  color: #d4b992;
  text-align: center;
  padding: 20px;
  font-size: 32px;
  margin-bottom: 45px; /* space from gallery above */
}

i.scMedia{
    color: rgb(187, 187, 187);
    font-size: 45px;
    margin: 0px;
    transition: color 0.3s;
    padding: 0;
    line-height: 1;           /* Prevent spacing artifacts */
}

i.scMedia:hover{
    color: rgb(255, 255, 255);
}

a.lienSC{
    text-decoration: none;
      width: 50px;              /* Ensures all icons take equal space */
  height: 50px;
  display: flex;            /* Center the icon inside the link */
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0;
  margin: 0;
}

#tel{
    text-align: left;
    color: white;
}

.copyright{
    color: white;
}

.footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    padding: 10px;
    text-align: center;
    background-color: #3d3636; /* Correspond au gris foncé de la capture d'écran 2 */
}

.social-icons {
  color: #3d3636; 
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px; /* adjust spacing between icons */
  width: 52px;
  text-align: center;
}

/* Page Contact */
.contact-section {
    padding: 130px 50px;
    background-color: none;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-container {
    max-width: 700px;
    width: 100%;
    background-color: #2c2c2c;
    padding: 40px;
    border-radius: 10px;
}

.contact-container h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    color: #d4b992;
}

.contact-form select,
.contact-form input[type="date"] {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 5px;
  background-color: #3d3d3d;
  color: white;
  font-size: 16px;
}


.suggestions-list {
    list-style: none;
    padding: 0;
    margin-top: 5px;
    background-color: #3d3d3d;
    border: 1px solid #555;
    border-radius: 5px;
    max-height: 150px;
    overflow-y: auto;
    color: white;
  }

.suggestions-list li {
    padding: 8px 12px;
    cursor: pointer;
}

.suggestions-list li:hover {
    background-color: #555;
}

#selected-equipements {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.selected-item {
    background-color: #d4b992;
    color: #1a1a1a;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}


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

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #3d3d3d;
    color: white;
    font-size: 16px;
    resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa;
}

.submit-btn {
    background-color: #d4b992;
    color: #1a1a1a;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #c3a26f;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Hauteur minimum = hauteur de la fenêtre */
}

.content-wrap {
    flex: 1; /* Prend tout l’espace dispo, pousse le footer en bas */
}

/* Commentaires clients */
.testimonials-section {
    background-color: none;
    color: #d4b992;
    padding: 100px 20px;
    text-align: center;
    position: relative;
  }

  .testimonials-title {
    font-size: 36px;
    text-decoration: underline;
    margin-bottom: 40px;
  }

  .testimonial-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 200px;
    background: rgba(1, 0, 0, 0);
    padding: 10px 1px;
    border-radius: 10px;
  }

  .testimonial-slide {
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    z-index: 0;
  }

  .testimonial-slide p {
    text-indent: 0;
  }

  .testimonial-slide.active {
    opacity: 1;
    z-index: 1;
    position: relative;
  }

  .arrow {
    background: none;
    border: none;
    font-size: 40px;
    color: #d4b992;
    cursor: pointer;
    padding: 0 20px;
  }

.arrow {
  position: relative;
  z-index: 2;
}

  .arrow:hover {
    color: white;
  }

  .testimonial-dots {
    margin-top: 20px;
  }

  .dot {
    height: 10px;
    width: 10px;
    background-color: #d4b99250;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    transition: background-color 0.3s;
  }

  .dot.active {
    background-color: #d4b992;
  }  


@media (max-width: 768px) {

    .navBar {
        justify-content: center; /* Centre tous les éléments */
        position: fixed; /* Fixe la navbar en haut */
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.7); /* Assure que la couleur reste correcte */
        z-index: 1000; /* S'assure qu'elle reste au-dessus du contenu */
    }

    .logo {
        display: block; /* Rend le logo visible */
        position: absolute;
        left: 50%;
        transform: translateX(-50%); /* Centre parfaitement */
    }

    .logo a {
        color: white;
        text-decoration: none;
    }

    .nav_links {
        display: none; /* Caché par défaut */
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.7);
        padding: 10px;
        border-radius: 5px;
        width: fit-content;
    }

    .nav_links.active {
        display: flex; /* Affiche le menu mobile lorsqu'il est activé */
    }
}

@media (max-width: 1024px) {

    .hero{
        background-image: none;
        background-color: black;
    }

    .about {
        display: block;
        padding: 40px 20px;
        text-align: center;
    }

    #description {
        display: block;
        width: 100%;
        max-width: none;
        padding: 0;
        margin: 0 auto;
        text-align: center;
        flex: none;
    }

    #logo2 {
        display: none;
    }
}

/* Langue (Drapeaux) aligné avec la navbar */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto; /* pousse à droite */
}

.lang-switcher img {
    width: 24px;
    height: 16px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.lang-switcher img:hover {
    opacity: 0.7;
}
/* Optimized style.css for Testimonials + Full Site Styling */
/* ... The full optimized CSS goes here (too long for snippet) ... */

/* General paragraph styling */
p {
  margin-bottom: 2em;
  text-indent: 1.5em;
}

/* Exception: paragraphs with no-indent class */
p.no-indent {
  text-indent: 0;
  margin-bottom: 1em;
