/* Banner PHONE */
@media screen and (max-width: 991px) {
  .tm-banner-bg {
    height: calc(100vh);
  }
  .tm-banner-header {
    margin-top: 50%;
  }
}

/* À propos Carroussel */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 500px;
  margin: auto;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  height: 100%;
}
.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background-color: rgba(0,0,0,0.4);
  color: white;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  z-index: 10;
}
.carousel-btn.prev {
  left: 10px;
}
.carousel-btn.next {
  right: 10px;
}

/* Historique */
.historique-webgencia {
  background-color: rgb(39, 69, 159);
  color: white;
}
.btn-story-webgencia {
  background-color: white;
  color: rgb(39, 69, 159);
}
.div-historical-webgencia {
  display: flex;
  flex-wrap: wrap;
  overflow-x: auto;
  margin-bottom: 80px;
}
.img-story-webgencia {
  flex: 0 0 auto;
  width: calc(100% / 8);
  object-fit: cover; 
  height: 150px;
}
@media (max-width: 1400px) {
  .img-story-webgencia {
      width: calc(100% / 4);
  }  
}
@media (max-width: 735px) {
  .img-story-webgencia {
    height: 100px;
  }   
}
@media (max-width: 405px) {
  .img-story-webgencia {
    height: 80px;
  }   
}

/* Contact */
.div-contact-webgencia {
  display: flex;
  width: 100%;
  gap: 50px;
}
.contact-info,
.contact-form {
  flex: 1;
}
#contact-form {
  width: 100%;
}
.card-contact-webgencia {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.link-contact-webgencia {
  color:  rgb(39, 69, 159);
  font-size: 15px;
}
.link-contact-webgencia:hover,
.link-contact-webgencia:focus {
  color: rgb(39, 69, 159);
}
.fa-phone, .fa-envelope, .fa-map-marker {
font-size: 25px;
}
/* Contact Phone */
@media screen and (max-width: 991px) {
  .div-contact-webgencia {
    flex-direction: column;
  }  
}

/* Footer */
footer a {
  text-decoration: underline; 
  position: relative;
  display: inline-block;
}
footer a:hover {
  animation: bounce 1s ease-in-out infinite;
  color: white;
  text-decoration: underline; 
}
/* Définir l'animation lien du footer */
@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Maps */
gmp-map {
    height: 590px;
    display: block;
}

/* Les Insolites Online */
.background-les-insolites-online-webgencia {
  background-image: url('../img/restauration.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100%;
}
.title-les-insolites-online-webgencia, .title-les-insolites-online-webgencia > a  {
  font-size: 30px;
  color: white;
}
.link-website-webgencia {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: rgb(39, 69, 159);
  padding: 10px 15px;
  margin: auto;
  border-radius: 5px;
  gap: 10px;
} 
.link-website-webgencia:hover,
.link-website-webgencia:focus {
  color: white;
}

/* Les Insolites Online Phone */
@media screen and (max-width: 991px) {
  .title-les-insolites-online-webgencia, .title-les-insolites-online-webgencia > a  {
    font-size: 26px;
  }
}

/* Legal */
.legal {
  background-color: white;
  padding-top: 30px;
  padding-bottom: 35px;
}
.legal > div > h2 {
  margin-bottom: 40px;
  font-size: 40px;
}
/* Legal Phone */
@media screen and (max-width: 991px) {
  .legal {
    padding-top: 110px;
  } 
  .legal > div > h2 {
    font-size: 35px;
  }  
}

/* Reservation (widget Calendly) */
@media screen and (max-width: 649px) {
  .calendly-div-webgencia {
    margin-top: 60px;
  } 
}

