/* Général */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

header .menu-toggle {
  display: none;
}

.menu-toggle {
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
}
/* Section Introduction */
#intro {
  background: linear-gradient(135deg, #006699, #4c92b6);
  color: white;
  padding: 4rem 1rem;
  text-align: center;
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
}

.intro-heading {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.intro-text {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #f0f0f0;
}

.cta-btn {
  display: inline-block;
  background-color: #ffcc00;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
}

/* Services */
#services {
  padding: 3rem 1rem;
  text-align: center;
}

.services-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.service {
  background-color: #fff;
  padding: 1rem;
  margin: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
  transition: transform 0.3s ease;
}

.service:hover {
  transform: translateY(-5px);
}

.service-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.service-info h3 {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.service-info p {
  margin-top: 0.5rem;
}

/* Réalisations */
#realisations {
  padding: 3rem 1rem;
  background-color: #fff;
}

.realisations-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.realisation {
  text-align: center;
  margin-bottom: 2rem;
  width: 300px;
}

.realisation img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.realisation h3 {
  margin-top: 1rem;
  font-size: 1.3rem;
}

/* Témoignages */
#temoignages {
  background-color: #f9f9f9;
  padding: 3rem 1rem;
  text-align: center;
}

.temoignages-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.temoignage {
  max-width: 300px;
  font-style: italic;
}

.temoignage h4 {
  font-weight: bold;
  margin-top: 1rem;
  font-size: 1.2rem;
}

/* Call to Action */
.call-to-action {
  background-color: #ff6f00;
  color: white;
  padding: 3rem 1rem;
  text-align: center;
}

.call-to-action h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.call-to-action p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.call-to-action .cta-btn {
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  background-color: #ffcc00;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  padding: 1rem;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-list, .realisations-list, .temoignages-list {
    flex-direction: column;
    align-items: center;
  }

  .service, .realisation, .temoignage {
    width: 80%;
    margin: 1rem 0;
  }

  .intro-heading {
    font-size: 2rem;
  }

  .intro-text {
    font-size: 1rem;
  }

  .cta-btn {
    font-size: 1rem;
    padding: 0.8rem 1.8rem;
  }
}

/* Supprimer le soulignement du lien autour du logo */
.logo a {
  text-decoration: none; /* Enlève le soulignement */
  color: inherit; /* Prend la couleur du texte du parent (h1) */
}

.logo a:hover {
  text-decoration: none; /* Enlève également le soulignement au survol */
}

/* Styles pour les écrans de moins de 768px */
@media (max-width: 768px) {
  body {
    font-size: 16px; /* Texte plus lisible sur mobile */
    padding: 10px;
  }

  header {
    flex-direction: column; /* Empile les éléments dans l'en-tête */
    align-items: center;
  }

  nav ul {
    flex-direction: column; /* Affiche le menu en colonne */
    gap: 10px;
  }

  .service, .realisation, .testimonial {
    flex-direction: column; /* Empile les éléments */
    align-items: center;
    text-align: center;
  }

  img {
    width: 100%; /* Images ajustées à l'écran */
    height: auto;
  }
}

.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    font-size: 24px;
    cursor: pointer;
  }

  .main-nav {
    display: none;
    flex-direction: column;
  }

  .main-nav.active {
    display: flex;
  }
}
