html {
    scroll-behavior: smooth;
    scroll-padding-top: 78px;
} 
body{
    font-size: .8rem;
} 
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  text-transform: uppercase;
  color: #484848;
  font-family: 'futura_ltbold', sans-serif;
} 
b, strong {
  font-weight: bold;
}
.feature .btn {
  align-self: center;
  margin-top: 15px;
}

.green {
    color: #ABC428;
}
.bgblue {
    background-color: #004494 !important; 
    color: ghostwhite;
}
.dark_blue {
    color: #042940 !important;
}
.bg-dark {
    background-color: rgba(70, 70, 70, .9); !important;
    color: white !important;
}
.blue{
    color: #004494;
}
.bblue{
   background-color: #004494 !important; 
   color: ghostwhite;
}
.bblue:hover{
    background-color: #E2001A !important;
    color: ghostwhite !important;
}
.red {
    color: #E2001A !important;
}
.red-muted{
    color: rgba(255, 0, 26, .7) !important;
}
.bred {
    background-color: #AC5465 !important;
}
.white{
    color: rgba(255, 255, 255, .8) !important;
}
.bg-white {
    --bs-bg-opacity: 1;
    background-color: rgb(48, 56, 65) !important;
}

.text_contrast {
    /* Effet de contour pour meilleure lisibilité */
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        -2px -2px 4px rgba(0, 0, 0, 0.7),
        0 0 8px rgba(0, 0, 0, 0.01); /* Ajout d'un glow central */

    /* Version avec fond semi-transparent */
    &--box {
        display: inline-block;
        padding: 0.2em 0.4em;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 3px;
    }
    
    /* Pour textes clairs sur fonds sombres */
    &--light {
        color: white;
        text-shadow: 
            1px 1px 2px rgba(255, 255, 255, 0.3),
            -1px -1px 2px rgba(255, 255, 255, 0.2);
    }
}
.hard_shadow{
    text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff;
}
.soft_shadow{
    text-shadow:
    1px 1px 2px rgba(255,255,255,0.8),
    2px 2px 3px rgba(255,255,255,0.6);
}

#footer a:hover {
    color: white !important;
}

/* Contact*/
.form-control {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);  
    transition: box-shadow 0.3s ease;  
}
.form-control:focus {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);  /* Ombre plus marquée lors du focus */
    border-color: #007bff;  /* Couleur de bordure sur focus */
}
        
.topbar {
    transition: top 0.4s ease-in-out;
    padding-top: .4rem !important;
    padding-bottom: .3rem !important;
}

.navbar-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/*CAROUSEL*/
.hero {
    position: relative;
    overflow: hidden;
    color: white;
    height: 100vh;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;    
    filter: brightness(0.5);
    z-index: -1;
}
.carousel, .carousel-inner, .carousel-item {
    height: 100%;
}

.carousel-item img {
    object-fit: cover;
    width: 90%;
    height: 90%;
}

.card {
    border-radius: 10px;
}
.section-container {
    height: auto; /* Évite que la section prenne toute la hauteur de l'écran en mobile */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
    flex-wrap: wrap;
}

/* Texte avec padding ajusté */
.text-left {
    padding: 40px 40px 40px 100px;
}
.text-right {
    padding: 40px 100px 40px 40px;
}
.text-right, .text-left {
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre verticalement */
    align-items: center; /* Centre horizontalement */
    text-align: center;
}


.bi-telephone {
    color: black !important;  /* Pour la couleur de l'icône */
    stroke: none !important;  /* Pour supprimer le contour */
}
.form-control-sm {
    height: calc(1.5em + .5rem + 2px);
    padding: .25rem .4rem;
    font-size: .7rem;
    line-height: 1.5;
    border-radius: .2rem;
    margin-top: .2rem;
}
.btn-sm {
    line-height: 1.3;
    border-radius: .2rem;
    margin-top: .2rem;
}

/*social-links*/
.social-links {
    margin-top: 10px;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    font-size: 40px; /* Taille des icônes */
    color: #333; /* Couleur par défaut */
    transition: color 0.3s ease;
}

.social-links a i:hover {
    color: #007bff !important; 
}

/*SECTION CONTENT*/
.section-content{
    padding: 10px 50px 0 !important;
}
.card-body {
    padding: 1.25rem 1.25rem 4rem 1.25rem !important;
}



/*ABOUT*/
.text-white {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.about-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    z-index: 1;
}
#about {
    transition: height 0.3s ease;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.1);
}
#about img[alt="Technicien"] {
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.2));
}

/*Bootstrap surchargé*/
.py-5 {
    padding-top: 1rem !important;
    padding-bottom: 2rem !important;
}
.py-6 {
    padding-top: 2.5rem !important;
    padding-bottom: 2rem !important;
}
.fs-1 {
      font-size: .8rem !important;
      font-weight: bold;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: #6c757d;
      margin: 10px 0 5px;
      padding: 0;
      min-height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
}
.lead {
    font-size: 1rem;
    font-weight: 300;
}


@media (min-width: 1200px) {
  .display-3 {
    font-size: 3rem;
  }
    .display-5 {
    font-size: 1.5rem;
  }
  .container {
    width: 1170px;
  }
}

@media (max-width: 992px) {
    .about-background img[alt="Personne"] {
        height: 50% !important;
    }
}

@media (min-width: 992px) {
  .py-lg-5 {
    padding-top: 1rem !important;
    padding-bottom: 2rem !important;
  }
}
@media (max-width: 768px) {
    .section-container {
        flex-direction: column;
        text-align: center;
    }

    .image-left, .image-right {
        width: 100%; /* L'image prend toute la largeur */
        height: auto;
    }

    .text-right, .text-left {
        width: 100%;
        padding: 15px;
    }

    .image-left img, .image-right img {
        height: auto;
        max-width: 100%;
    }
}