/* Réinitialisation et styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  background-color: #000;
  color: #fff;
  padding-top: 90px; /* Pour compenser le header fixe */
}

/* Header fixe */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.header-left {
  display: flex;
  align-items: center;
}


.logo {
  height: 50px;
  margin-right: 15px;
}

.whatsapp-button {
  background-color: #25D366;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 400;
  transition: background 0.3s;
}

.whatsapp-button:hover {
  background-color: #1ebe5d;
}

.header-right {
  display: flex;
  align-items: center;
}

/* Menu hamburger (affiché sur mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-right: 10px;
}

.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: #ecf0f1;
  margin: 4px 0;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #ecf0f1;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.3s;
}

nav ul li a:hover {
  background-color: rgba(236, 240, 241, 0.2);
  color: gold;  /* Texte en couleur or */
  background-color: transparent;  /* Suppression du fond gris existant */
  transition: color 0.3s ease-in-out;
}

/* Sections générales */
section {
  padding: 80px 20px;
  text-align: center;
  background-color: #000;
  color: #fff;
}

.content {
  max-width: 1100px;
  margin: 0 auto;
}

/* Section Accueil avec slider */
#accueil {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* Slider */
.slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

.slider img {
  position: absolute;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  animation: slideAnimation 15s infinite;
}

.slider img:nth-child(1) {
  animation-delay: 0s;
}
.slider img:nth-child(2) {
  animation-delay: 5s;
}
.slider img:nth-child(3) {
  animation-delay: 10s;
}

@keyframes slideAnimation {
  0% { opacity: 0; }
  10% { opacity: 1; }
  33.33% { opacity: 1; }
  43.33% { opacity: 0; }
  100% { opacity: 0; }
}

/* Texte de bienvenue */
.welcome-text {
  position: relative;
  z-index: 2;
  padding-top: 20vh;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.welcome-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.welcome-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Slogan attractif */
.slogan {
  font-size: 2rem;
  color: gold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  margin-bottom: 20px;
}

.welcome-button {
  background-color: #e74c3c;
  color: #fff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  transition: background 0.3s;
}

.welcome-button:hover {
  background-color: #c0392b;
}

/* Sections sans image de fond */
.section-bg {
  background-color: #000;
}

/* Blocs d'information (Services) */
.service {
  margin: 20px auto;
  padding: 20px;
  background-color: rgba(255,255,255,0.8);
  border-radius: 8px;
  max-width: 800px;
  text-align: left;
  color: #2c3e50;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.service h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #e74c3c;
}

/* Galerie Réalisations */
.realisations-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.project {
  width: 300px;
  background-color: rgba(255,255,255,0.9);
  padding: 15px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.project img {
  width: 100%;
  border-radius: 5px;
}

.project h4 {
  margin: 10px 0 5px;
  color: #e74c3c;
}

/* Section À propos avec trois blocs interactifs */
.about-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.about-box {
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 8px;
  flex: 1 1 300px;
  max-width: 300px;
  transition: background-color 0.3s, transform 0.3s;
  cursor: pointer;
}

.about-box h3 {
  color: gold;
  margin-bottom: 10px;
}

.about-box p {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.4;
}

.about-box:hover {
  background-color: #333;
  transform: scale(1.05);
}

/* Section Contact */
.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.contact-form,
.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info {
  text-align: left;
  background-color: rgba(255,255,255,0.8);
  padding: 20px;
  border-radius: 8px;
  color: #2c3e50;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-info h3 {
  margin-bottom: 15px;
  color: #e74c3c;
}

.contact-whatsapp {
  display: inline-block;
  margin-top: 15px;
  background-color: #25D366;
  color: #fff;
  padding: 10px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.contact-whatsapp:hover {
  background-color: #1ebe5d;
}

/* Formulaire de contact */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

form label {
  margin-top: 10px;
  width: 100%;
  max-width: 500px;
  text-align: left;
  font-weight: 600;
}

form input,
form textarea {
  padding: 12px;
  margin-top: 5px;
  border: none;
  border-radius: 4px;
  width: 100%;
  max-width: 500px;
  font-size: 1rem;
}

form button {
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #e74c3c;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.3s;
}

form button:hover {
  background-color: #c0392b;
}

/* Footer */
footer {
  background-color: #000;
  color: #ecf0f1;
  text-align: center;
  padding: 20px 0;
}

/* Responsive styles */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #000;
    width: 200px;
    display: none;
  }
  nav ul.active {
    display: flex;
  }
  nav ul li {
    margin: 10px;
  }
  .menu-toggle {
    display: flex;
  }
  .realisations-gallery {
    flex-direction: column;
    align-items: center;
  }
  .contact-container {
    flex-direction: column;
  }
}
/* Mise en forme du titre de bienvenue */
.welcome-text h1 {
  font-size: 3.5rem;          /* Taille du texte */
  color: gold;                /* Couleur or */
  font-weight: 700;           /* Texte bien marqué */
  text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.7);  /* Ombre pour un effet de relief */
  margin-bottom: 20px;        /* Espacement inférieur */
}

/* Mise en forme du slogan */
.welcome-text .slogan {
  font-size: 2rem;            /* Taille légèrement plus petite */
  color: white;                /* Même couleur or */
  font-weight: 600;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  margin-bottom: 30px;
}
/* Cache le texte complet au début */
.hidden {
  display: none;
}

/* Style du bouton Plus/Moins */
.toggle-btn {
  background-color: #ff69b4;  /* Fond rose */
  color: white;               /* Texte blanc */
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease-in-out;
}

.toggle-btn:hover {
  background-color: #ff1493;  /* Rose plus foncé au survol */
}

/* Style des blocs À propos */
.about-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.about-box {
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 8px;
  flex: 1 1 300px;
  max-width: 300px;
  transition: background-color 0.3s, transform 0.3s;
  cursor: pointer;
  text-align: center;
}

.about-box h3 {
  color: gold;
  margin-bottom: 10px;
}

.about-box p {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.4;
}

.about-box:hover {
  background-color: #333;
  transform: scale(1.05);
}

/* Cache les détails par défaut */
.hidden {
  display: none;
}

/* Style du bouton Plus/Moins */
.toggle-btn {
  background-color: #ff69b4;  /* Fond rose */
  color: white;               /* Texte blanc */
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease-in-out;
}

.toggle-btn:hover {
  background-color: #ff1493;  /* Rose plus foncé au survol */
}

/* Style des services */
.service {
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 8px;
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
  transition: background-color 0.3s, transform 0.3s;
  cursor: pointer;
}

.service h3 {
  color: gold;
  margin-bottom: 10px;
}

.service p {
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
}

.service:hover {
  background-color: #333;
  transform: scale(1.05);
}
/* Cache les détails des équipements au départ */
.hidden {
  display: none;
}

/* Style du bouton Plus/Moins */
.toggle-btn {
  background-color: #ff69b4;  /* Fond rose */
  color: white;               /* Texte blanc */
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease-in-out;
}

.toggle-btn:hover {
  background-color: #ff1493;  /* Rose plus foncé au survol */
}

/* Liste des équipements */
.equipement-list {
  list-style: none;
  padding: 10px;
  text-align: left;
}

.equipement-list li {
  margin: 5px 0;
  font-size: 1rem;
  color: #fff;
  background: rgba(255, 105, 180, 0.2);
  padding: 8px;
  border-radius: 5px;
}
/* Cache les détails au départ */
.hidden {
  display: none;
}

/* Style du bouton Plus/Moins */
.toggle-btn {
  background-color: #ff69b4;  /* Fond rose */
  color: white;               /* Texte blanc */
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease-in-out;
}

.toggle-btn:hover {
  background-color: #ff1493;  /* Rose plus foncé au survol */
}

/* Galerie des réalisations */
.realisations-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Style des projets */
.project {
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 8px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
  box-shadow: 0px 4px 8px rgba(255, 105, 180, 0.2);
}

.project img {
  width: 100%;
  border-radius: 5px;
}

.project h4 {
  margin: 10px 0;
  color: gold;
}

.project p {
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
}

/* Effet au survol */
.project:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 12px rgba(255, 105, 180, 0.4);
}
/* Effet au survol du projet */
.project {
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 8px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  cursor: pointer;
  box-shadow: 0px 4px 8px rgba(255, 105, 180, 0.2);
}

.project img {
  width: 100%;
  border-radius: 5px;
}

.project h4 {
  margin: 10px 0;
  color: gold;
}

.project p {
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
}

/* Effet au survol */
.project:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 12px rgba(255, 105, 180, 0.4);
}

/* Styles de la modale (popup) */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #222;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  text-align: center;
  color: #fff;
  position: relative;
}

.modal-content img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 15px;
}

/* Bouton de fermeture */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #ff69b4;
  cursor: pointer;
}

.close:hover {
  color: #ff1493;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #000;
    width: 200px;
    display: none;
    z-index: 1000;
  }

  nav ul.active {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  nav ul li {
    margin: 10px 0;
  }

  .menu-toggle {
    display: flex;
  }
}
