/* 🌟 Style général */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #4a90e2, #8e44ad);
  color: white;
  text-align: center;
}

/* 🔹 Header */
header {
  background: rgba(0, 0, 0, 0.6);
  padding: 40px 20px;
}

h1 {
  margin: 0;
  font-size: 2.5em;
}

p {
  font-size: 1.2em;
  margin: 10px 0;
}

/* 🔹 Sections */
section {
  padding: 40px 20px;
  max-width: 800px;
  margin: auto;
}

h2 {
  font-size: 2em;
  margin-bottom: 15px;
  color: #FFD700;
}

/* 📷 Image */
img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* 🚀 Bouton */
.btn {
  display: inline-block;
  background: #FFD700;
  color: #222;
  padding: 15px 30px;
  font-size: 1.2em;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
}

.btn:hover {
  background: #f1c40f;
  transform: scale(1.1);
}

/* 🎮 Fonctionnalités */
.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.feature {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 8px;
  width: 200px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.feature i {
  font-size: 2em;
  color: #FFD700;
}

footer {
  margin-top: 40px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
}

.instructions {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 600px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.instructions h3 {
  color: #FFD700;
  font-size: 1.5em;
}

.instructions ol {
  text-align: left;
  padding-left: 20px;
  font-size: 1.1em;
}

.instructions li {
  margin: 10px 0;
}

.btn {
  display: inline-block;
  background: #FFD700;
  color: #222;
  padding: 15px 30px;
  font-size: 1.2em;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
}

.btn:hover {
  background: #f1c40f;
  transform: scale(1.1);
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 20px;
}

.image-container img {
  width: 150px; /* Taille réduite pour la galerie */
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.image-container img:hover {
  transform: scale(1.1);
}

/* Lightbox avec animation */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.show {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  transform: scale(0.7);
  transition: transform 0.3s ease;
}

.lightbox.show .lightbox-content {
  transform: scale(1);
}

/* Animation fermeture */
.lightbox.hide {
  opacity: 0;
}

.lightbox.hide .lightbox-content {
  transform: scale(0.7);
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

ol {
  list-style-position: inside;
  padding-left: 0;
  text-align: left;
  display: inline-block;
}

li {
  text-align: left;
}
