/* ================================
   STYLE DES PAGES PROJETS
   ================================ */

.project-detail {
  padding: 40px;
  max-width: 900px;
  margin: 50px auto;
  background: rgba(20, 20, 20, 0.9); /* bloc sombre */
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.6s ease; /* petite anim d'entrée */
}

.project-detail .h1 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: #00ff95; /* accent bleu */
  text-align: center;
  font-weight: 600;
  letter-spacing: 1px;
}

.project-detail p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e0e0e0;
  margin-top: 20px;
  text-align: justify;
}

.project-detail .project-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 30px auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.project-detail .project-image:hover {
  transform: scale(1.02);
}

.project-detail .btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 24px;
  background: linear-gradient(135deg, hsl(167, 100%, 50%), hsl(128, 67%, 63%));
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: 0.3s ease;
}

.project-detail .btn:hover {
  background: linear-gradient(135deg, hsl(145, 100%, 67%), hsl(145, 98%, 33%));
  transform: translateY(-2px);
  box-shadow: 0 6px 15px hsl(167, 100%, 50%);
}

/* Animation d'apparition */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================================
   LIGHTBOX POUR IMAGES PROJETS
   ================================ */

.lightbox {
  display: none; /* caché par défaut */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
  animation: zoomIn 0.4s ease;
}

/* Animation zoom */
@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

html {
    background-color: rgba(18, 18, 18);
}

body {
  font-family: 'Poppins', sans-serif;
  background: #111; /* fond sombre global */
  color: #fff;      /* texte blanc par défaut */
  margin: 0;
  padding: 0;
}

/* Popup de notification */
.popup {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #333;
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1000;
}

.popup.show {
  display: block;
  opacity: 1;
}

#myEmail {
  color: var(--white-2);       /* garde la couleur du texte parent */
  text-decoration: none; /* enlève tout soulignement */
  font-size: inherit;
}

a {
  text-decoration: none;
  color: white;
  background-color: #035c37;
}