/* Police et base */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
}

/* Navbar */
.navbar-brand {
  font-weight: 600;
  font-size: 1.8rem;
}

/* Section Accueil */
header {
  background: url('header.jpg') no-repeat center center/cover;
  height: 100vh;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}
header p.lead {
  font-style: italic;
  color: #fff !important; /* Texte bien en blanc */
  font-size: 1.2rem;
  max-width: 80%;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

/* Sections */
.section {
  padding: 60px 15px;
}

/* Galerie d'images */
.gallery img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  transition: transform 0.3s;
}
.gallery img:hover {
  transform: scale(1.05);
}

/* Prestations : mise en valeur */
.prestation-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.prestation-card:hover {
  transform: translateY(-5px);
}
.prestation-img {
  max-height: 200px;
  object-fit: cover;
  border-radius: 5px;
}

/* Titres de sections */
.section-title {
  font-weight: 600;
  color: #333;
  margin-bottom: 30px;
}

/* Coordonnées de contact mises en valeur */
.contact-info {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 30px;
}
.contact-item {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

/* Footer */
footer {
  background: #222;
  color: #fff;
  padding: 20px 0;
}

/* Overlay pour l'image agrandie */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none; /* Masqué par défaut */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: auto; /* Permet de défiler si l'image dépasse */
}

#overlayImg {
  display: block;
  /* L'image s'affichera dans ses dimensions originales mais ne dépassera pas l'écran */
  max-width: 95vw;
  max-height: 95vh;
  width: auto;
  height: auto;
}

/* Pour les téléphones en mode portrait, on s'assure que l'image soit entièrement visible */
@media (max-width: 600px) and (orientation: portrait) {
  #overlayImg {
    max-width: 100vw;
    max-height: 100vh;
  }
}

#closeOverlay {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* --- Ajout pour l'overlay description sur les images de la galerie --- */

/* Conteneur de l'image avec overlay */
.gallery-item {
  position: relative;
  overflow: hidden;
}

/* Description superposée, cachée par défaut */
.overlay-description {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  font-size: 1rem;
}

/* Affichage de la description au survol */
.gallery-item:hover .overlay-description {
  opacity: 1;
}

/* --- Ajout pour la notification centrée --- */
.notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px 30px;
  border-radius: 5px;
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
  display: none;
  z-index: 2000;
}

.notification.success {
  background-color: #28a745;
}

.notification.error {
  background-color: #dc3545;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  display: inline-block;
  color: #fff;
  font-size: 40px; /* Ajustez la taille selon vos préférences */
  transition: transform 0.3s ease, opacity 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

