/* Réinitialisation des styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  /* En-tête */
  header {
    background: #007BFF;
    color: #fff;
  }
  
  header h1 {
    text-align: center;
    font-size: 2em;
  }
  
  nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
  }
  
  nav ul li {
    margin: 10px 15px;
  }
  
  nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
  }
  
  /* Section Hero */
  .hero {
    background: #f4f4f4;
    padding: 80px 0;
    text-align: center;
  }
  
  .hero h2 {
    font-size: 2em;
    margin-bottom: 20px;
  }
  
  .hero p {
    font-size: 1.1em;
    margin-bottom: 20px;
  }
  
  .btn {
    background: #007BFF;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
  }
  
  .btn:hover {
    background: #0056b3;
  }
  
  /* Sections */
  section {
    padding: 40px 0;
  }
  
  h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #007BFF;
  }
  
  /* Services */
  .service-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .service-item {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .service-item i {
    font-size: 2em;
    color: #007BFF;
    margin-bottom: 10px;
  }
  
  /* Avis Clients */
  .review-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .review-item {
    background: #f4f4f4;
    padding: 20px;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Contact */
  .contact form {
    display: flex;
    flex-direction: column;
  }
  
  .contact input, .contact textarea {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  .contact button {
    align-self: flex-start;
  }
  
  .contact-info {
    margin-top: 20px;
  }
  
  .contact-info p {
    margin-bottom: 10px;
  }
  
  /* Pied de page */
  footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
  }
  
  .social-links a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.2em;
  }
  
  /* Section Qui Sommes-Nous */
  .about-us {
    padding: 60px 0;
    background: #f9f9f9;
  }
  
  .about-us h2 {
    text-align: center;
    color: #007BFF;
    margin-bottom: 40px;
  }
  
  .about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .about-text {
    flex: 1;
    padding-right: 20px;
  }
  
  .about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
  }
  
  .about-text .btn {
    display: inline-block;
    margin-top: 20px;
  }
  
  .about-image {
    flex: 1;
  }
  
  .about-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Responsive Design */
  @media screen and (max-width: 768px) {
    header h1 {
      font-size: 1.5em;
    }
  
    nav ul li {
      margin: 5px 10px;
    }
  
    .hero {
      padding: 60px 0;
    }
  
    .hero h2 {
      font-size: 1.8em;
    }
  
    .hero p {
      font-size: 1em;
    }
  
    .service-item, .review-item {
      width: 100%;
    }
  
    .about-content {
      flex-direction: column;
      text-align: center;
    }
  
    .about-text {
      padding-right: 0;
      margin-bottom: 20px;
    }
  
    .about-image img {
      width: 100%;
    }
  }
  
  @media screen and (max-width: 480px) {
    header h1 {
      font-size: 1.2em;
    }
  
    nav ul li {
      margin: 5px;
    }
  
    .hero h2 {
      font-size: 1.5em;
    }
  
    .hero p {
      font-size: 0.9em;
    }
  
    .btn {
      padding: 8px 16px;
      font-size: 0.9em;
    }
  
    h2 {
      font-size: 1.5em;
    }
  
    .service-item, .review-item {
      padding: 15px;
    }
  
    .contact input, .contact textarea {
      padding: 8px;
    }
  
    .contact button {
      padding: 8px 16px;
    }
  }



  /* Bouton "Laissez-nous votre avis" */
.avis-btn {
    display: inline-block;
    background-color: #0056b3; /* Jaune or */
    color: #ffffff; /* Texte foncé */
    padding: 12px 24px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    text-align: center;
    margin: 20px auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .avis-btn:hover {
    background-color: #0056b3; /* Jaune or plus foncé au survol */
    transform: translateY(-2px); /* Effet de levée au survol */
  }
  
  .avis-btn:active {
    transform: translateY(0); /* Réinitialise l'effet de levée au clic */
  }
  
  /* Responsive Design */
  @media screen and (max-width: 768px) {
    .avis-btn {
      padding: 10px 20px;
      font-size: 0.9em;
    }
  }
  
  @media screen and (max-width: 480px) {
    .avis-btn {
      padding: 8px 16px;
      font-size: 0.8em;
    }
  }


  #validation-message {
    display: none;
    margin-top: 20px;
    padding: 10px;
    background-color: #e6ffe6;
    border: 1px solid #00cc00;
    color: #006600;
    border-radius: 5px;
    text-align: center;
  }

  .hero {
    background-image: url('reparation-tel.jpeg'); /* Remplacez par le chemin de votre image */
    background-size: cover; /* Ajuste l'image pour couvrir toute la section */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    color: #fff; /* Couleur du texte */
    text-align: center;
    padding: 100px 0; /* Espacement interne */
    position: relative; /* Pour l'overlay */
  }
  
  /* Overlay sombre pour améliorer la lisibilité du texte */
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Noir avec 50% d'opacité */
    z-index: 1;
  }
  
  /* Contenu de la section Hero */
  .hero .container {
    position: relative; /* Place le contenu au-dessus de l'overlay */
    z-index: 2;
  }