/* Styles généraux */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

/* Bannière */

.navbar {
    background-color: #0a0a0a !important; /* Bleu foncé */
}

.navbar .nav-link {
    color: white !important; /* Texte blanc */
}

.navbar .nav-link:hover {
    color: #ff6600 !important; /* Texte jaune au survol */
}

.navbar .btn-danger {
    background-color: #ff6600 !important; /* Rouge */
    border-color: #ff6600 !important;
}

.navbar .btn-danger:hover {
    background-color: #054c8a !important; /* Rouge foncé au survol */
}


/* Bannière */
.banner {
    position: relative;
    background: url('images/imag3.jpg') no-repeat center center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.banner h1 {
    font-size: 2.5rem;
    z-index: 1;
    position: relative;
}
.banner p {
    font-size: 1.5rem;
    z-index: 1;
    position: relative;
}

.banner button {
    position: relative;
    width: 50%;
    padding: 12px;
    background: #ff6600;
    border: none;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.banner button:hover {
    background: #054c8a;
}



/* formulaire flotante 

.form-container {
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 15px;
    max-width: 400px;
    width: 100%;
    height: 400px;
    color: #fff;
    position: relative;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
}
.form-container input, 
.form-container select, 
.form-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 8px;
}
.form-container textarea {
    height: 80px;
    resize: none;
}
.form-container button {
    width: 100%;
    padding: 12px;
    background: #ff6600;
    border: none;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}
.form-container button:hover {
    background: #054c8a;
}

@media screen and (max-width: 800px) {
    .form-container {
      display: none;
    }
  }
    */


/* Avantages */

.advantages-section {
    display: flex;
    justify-content: center;
    gap: 10px;
    background-color: rgb(3, 93, 145);
    padding: 40px 0;
    flex-wrap: wrap;
  }
  .advantage-box {
    background-color: rgb(3, 93, 145);
    color: white;
    width: 220px;
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .advantage-box i {
    font-size: 40px;
    margin-bottom: 20px;
  }
  .advantage-box h4 {
    margin: 10px 0 5px;
    font-size: 18px;
  }
  .advantage-box p {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
  }
  .advantage-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }

/* Services */
.service-box {
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s;
}

.service-box:hover {
    transform: scale(1.05);
}

/* Carrousel */
#realisations {
    background-color: black;

}



/* Carrousel */
.carousel img {
    height: 400px;
    width: 100%;
    object-fit:contain;
    border-radius: 10px;
}

/* Témoignages */
.testimonials-slider p {
    font-size: 1.2rem;
    font-style: italic;
    color: #e00c0c;
}

/* Formulaire de soumission */
#soumission form {
    max-width: 600px;
    margin: auto;
}

.maison{
    background-color: #f8f9fa;
}

/* About Us */

.section-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px;
    gap: 40px;
    flex-wrap: wrap;
    background-color: #f9f9f9;
  }
  .text-content {
    flex: 1;
    max-width: 600px;
  }

  .text-content h3 {
    color: #054c8a;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 15px;
  }
  .text-content h1 {
    font-size: 28px;
    margin: 0 0 20px 0;
    color: #111;
  }

  .text-content p {
    color: #333;
    font-size: 15px;
  }

  .underline {
    width: 50px;
    height: 4px;
    background-color: #ff6600;
    margin-bottom: 25px;
    border-radius: 2px;
  }
  .text-content p {
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
  }

  .text-content p strong {
    color: #d00;
  }
  .cta-button {
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  .cta-button:hover {
    background-color: #ff6601;
  }

  .image-container {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
  }

  .image-container img.main-img {
    width: 400px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    object-fit: cover;
  }
  .small-img {
    position: absolute;
    left: 40px;
    bottom: -30px;
    border: 8px solid #fff;
    border-radius: 20px;
    width: 180px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }
  @media screen and (max-width: 1024px) {
    .section-container {
      flex-direction: column;
      align-items: center;
    }
    .image-container {
      align-items: center;
    }
    .image-container img.main-img {
      width: 80%;
      position: static;
    }
    .small-img {
      position: static;
      width: 50%;
      margin-top: 20px;
    }
  }

  /* Formulaire de contact */
  /* Informations de contact */
.contact-info {
    width: 40%;
    color: white;
    text-align: left;
    padding-right: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
}

.contact-info h2 {
    margin-bottom: 10px;
    font-size: 22px;
    color: #ff6600;
}

.contact-info p {
    margin: 10px 0;
    font-size: 16px;
}

.contact-info i {
    color: #ffffff;
    margin-right: 10px;
}

/* Icônes des réseaux sociaux */
.social-icons {
    margin-top: 15px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    font-size: 20px;
    color: white;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #faf6f6;
}

  /* Arrière-plan fixe */
.formulaire-contact {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('images/image4.jpg') no-repeat center center/cover;
    
    top: 0;
    left: 0;
}

@media screen and (max-width: 800px){
    .formulaire-contact {
        width: 100%;
        height: 100vh;
        display: block;
        align-items: center;
        justify-content: center;
        background: url('images/image4.jpg') no-repeat center center/cover;
        
        top: 0;
        left: 0;
    }
    .contact-info {
        display: block;
        align-items: center;
        justify-content: center;
    
        color: rgb(9, 111, 206);
        text-align: center;
        padding-right: 40px;
        border-right: 2px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 253, 253, 0.1);
        backdrop-filter: blur(3px);
        
    }

}



/* Formulaire */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(10px);
    text-align: center;
}

/* Titre */
.contact-form h2 {
    color: #fff;
    margin-bottom: 20px;
}

/* Champs du formulaire */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 10px;
    border: none;
    background: transparent;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

/* Animation sur les labels */
.input-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s;
    pointer-events: none;
}

.input-group input:focus ~ label, 
.input-group input:valid ~ label, 
.input-group textarea:focus ~ label, 
.input-group textarea:valid ~ label {
    top: -10px;
    font-size: 12px;
    color: #ff4747;
}

/* Bouton */
.btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #ff6600;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: #cc0000;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form {
        width: 90%;
        padding: 20px;
    }
}

/* Pied de page */
footer {
    font-size: 14px;
}
