
body {
  margin: 0;
  padding: 0;
  font-family: police2, sans-serif;
  color: #a454ee;
  background: #2F0C33;
  overflow-x: hidden;
}


.background {
  position: absolute;
  inset: 0;
  width: 100%;
  height:130%;
  background: #2F0C33;
  background: radial-gradient(100% 100% at 50% 10%, #2F0C33 30%, #9433ee 150%);
  z-index: -10;
}

/* === Bouton de retour === */
.back-button {
  display: inline-block;
  margin: 20px;
  padding: 0.6em 1.4em;
  font-size: 16px;
  font-family: police2, sans-serif;
  color: #ffffff;
  background: #9433ee;
  border: 1px solid #cd97ff;
  border-radius: 0.5em;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 4px 4px 10px #a454ee, -4px -4px 10px #a454ee;
  font-family: police2;
   color: #2F0C33;
}

.back-button:hover {
  background: #a454ee;
  border-color: white;
}

.back-button:active {
  transform: scale(0.97);
  box-shadow: 2px 2px 8px #C30F45, -2px -2px 8px #C30F45;
}

/* === Version mobile === */
@media (max-width: 768px) {
  .back-button {
    display: block;
    text-align: center;
    margin: 15px auto;
    font-size: 14px;
    width: 80%;
  }
}

 @font-face {
    font-family: police1;
    src: url(fonts/DTGetaiGroteskDisplay-Black.ttf);
  }

  @font-face {
    font-family: police2;
    src: url(fonts/Ronzino-Regular.otf);
  }

  @font-face {
    font-family: police3;
    src: url(fonts/Ronzino-Bold.otf);
  }


button {
  color: #090909;
  padding: 0.7em 1.7em;
  font-size: 18px;
  border-radius: 0.5em;
  background: #9433ee;
  cursor: pointer;
  border: 1px solid #cd97ff;
  transition: all 0.3s;
  box-shadow: 6px 6px 12px #a454ee, -6px -6px 12px #a454ee;
}

button:hover {
  border: 1px solid white;
}

button:active {
  box-shadow: 4px 4px 12px #C30F45, -4px -4px 12px #C30F45;
}

.gallery-container {

font-family: police2;
  color: #a454ee;

}



#entete {
  display: flex;
  justify-content: space-between;
  vertical-align: middle;
  font-family: police1;
  font-size: 250%;
    color: #a454ee;


}


h2 {
    width: 60%;
    font-family: police3;
      color: #a454ee;

}


.scroll-gallery {
    display: none;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 10px;
  scrollbar-width: none; 
    cursor: zoom-in;
  transition: transform 0.3s ease;


}

.scroll-gallery img:hover {
  transform: scale(1.03);
}

/* Fenêtre d’affichage plein écran */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
}

/* Image agrandie avec animation */
.lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(255,255,255,0.2);
  opacity: 0;
  transform: scale(0.8);
  animation: zoomIn 0.4s ease forwards;
}

/* Animation fluide */
@keyframes zoomIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Boutons navigation / fermeture */
.lightbox .close,
.lightbox .prev,
.lightbox .next {
  position: absolute;
  color: white;
  font-size: 2em;
  text-decoration: none;
  user-select: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.lightbox .close:hover,
.lightbox .prev:hover,
.lightbox .next:hover {
  opacity: 0.7;
}

.lightbox .close { top: 20px; right: 30px; }
.lightbox .prev { left: 30px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 30px; top: 50%; transform: translateY(-50%); }

.lightbox.show {
  display: flex;
}

#texte {
font-family: police2;
  display: block;
  color: #9433ee;

}

#texte p {
  width: 400px;
 font-family: police2;
   color: #9433ee;
    margin: 15px auto 0 auto;
    text-align: center; /* facultatif, selon ton style */
 max-width: 768px;
}

.scroll-gallery img {
  display: block;
  height: 300px;
  width: auto; 
  object-fit: cover;
}

.scroll-gallery::-webkit-scrollbar {
      height: 8px;
        display: none; 
}

.image-box {
      flex: 0 0 auto;
      scroll-snap-align: start;
      overflow: hidden;    
}

.infos {
     display: flex;
 font-family: police2;
  justify-content: space-between;
  border-bottom: solid #9433ee 4px;

}


a {
  text-decoration: none;
}
a:hover,
a:active,
a:visited {
  text-decoration: none;
}



/* SMARTPHONE MODE PORTRAIT */
@media screen and (orientation: portrait) {


  /* === Bouton de retour === */
.back-button {
  display: inline-block;
  margin: 20px;
  padding: 0.6em 1.4em;
  font-size: 16px;
  font-family: police2, sans-serif;
  color: #ffffff;
  background: #9433ee;
  border: 1px solid #cd97ff;
  border-radius: 0.5em;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 4px 4px 10px #a454ee, -4px -4px 10px #a454ee;
}

.back-button:hover {
  background: #a454ee;
  border-color: white;
}

.back-button:active {
  transform: scale(0.97);
  box-shadow: 2px 2px 8px #C30F45, -2px -2px 8px #C30F45;
}

/* === Version mobile === */
@media (max-width: 768px) {
  .back-button {
    display: block;
    text-align: center;
    margin: 15px auto;
    font-size: 14px;
    width: 80%;
  }
}


/* === Arrière-plan === */
.background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(100% 100% at 50% 10%, #2F0C33 30%, #9433ee 150%);
  z-index: -10;
  overflow: hidden;
}

/* === Typographies === */
@font-face {
  font-family: police1;
  src: url(fonts/DTGetaiGroteskDisplay-Black.ttf);
}
@font-face {
  font-family: police2;
  src: url(fonts/Ronzino-Regular.otf);
}
@font-face {
  font-family: police3;
  src: url(fonts/Ronzino-Bold.otf);
}

/* === Structure générale === */
body {
  margin: 0;
  padding: 0;
  font-family: police2, sans-serif;
  color: #a454ee;
  background: #2F0C33;
  overflow-x: hidden;
}

/* === En-tête === */
#entete {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-family: police1;
  color: #a454ee;
  
}

#entete h1 {
  font-size: 1.8rem;
  margin: 0;
}

#entete a {
  text-decoration: none;
  color: #2F0C33;
}

.contact-btn {
  background: #9433ee;
  border: 1px solid #cd97ff;
  border-radius: 0.5em;
  padding: 0.6em 1.4em;
  font-family: police2;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 4px 4px 10px #a454ee, -4px -4px 10px #a454ee;
}

.contact-btn:hover {
  background: #a454ee;
  border-color: white;
}

/* === Texte principal === */
h2 {
  width: 80%;
  margin: 20px auto;
  font-family: police3;
  font-size: 1.2rem;
  color: #a454ee;
  line-height: 1.5;
}

/* === Galeries === */
.gallery-container {
  margin: 40px auto;
  width: 90%;
  max-width: 1200px;
}

.infos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: police2;
  border-bottom: solid 2px #9433ee;
  padding-bottom: 5px;
  cursor: pointer;
}

.scroll-gallery {
  display: none;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  padding: 15px 0;
  scrollbar-width: none;
        display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-gallery img {
  height: 250px;
  width: auto;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.scroll-gallery img:hover {
  transform: scale(1.05);
}

.scroll-gallery::-webkit-scrollbar {
  display: none;
}

/* === Texte sous galerie === */
#texte {
  color: #9433ee;
  font-family: police2;
  max-width: 600px;
  margin: 10px 0;
}

#texte p {
  font-size: 1rem;
  line-height: 1.6;   

}

/* === Lightbox === */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
}

.lightbox.show {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(255,255,255,0.2);
  animation: zoomIn 0.4s ease forwards;
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox .close,
.lightbox .prev,
.lightbox .next {
  position: absolute;
  color: white;
  font-size: 2em;
  user-select: none;
  cursor: pointer;
}

.lightbox .close { top: 20px; right: 30px; }
.lightbox .prev { left: 30px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 30px; top: 50%; transform: translateY(-50%); }

/* === Mobile === */
@media (max-width: 768px) {
  #entete {
    flex-direction: column;
    text-align: center;
  }

  #entete h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .contact-btn {
    width: 80%;
    font-size: 0.9rem;
  }

  h2 {
    width: 90%;
    font-size: 1rem;
  }

  .infos h3 {
    font-size: 0.9rem;
  }

  .scroll-gallery img {
    height: 180px;
  }

  #texte p {
    width: 100%;
    font-size: 0.9rem;
  }
}



}
