@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');

body {
  background: #ffffff;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

/* Bouton pour aller en haut */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: #333;
    color: white;
    padding: 10px 12px;
    border-radius: 50%;
    font-size: 18px;
    display: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.back-to-top:hover {
    background: #555;
}

/*---------------------------------------
     TYPOGRAPHY              
  -----------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  line-height: inherit;
}

h1 {
  color: #252525;
  font-size: 3em;
  line-height: 50px;
}

h2 {
  color: #353535;
  font-size: 2em;
  padding-bottom: 10px;
}

h3 {
  font-size: 1.5em;
  margin-bottom: 0;
}

h3,
h3 a {
  color: #454545;
}

p {
  color: #757575;
  font-size: 14px;
  font-weight: normal;
  line-height: 24px;
}



/*---------------------------------------
     GENERAL               
  -----------------------------------------*/

html {
  -webkit-font-smoothing: antialiased;
}

a {
  color: #252525;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none !important;
}

a:hover,
a:active,
a:focus {
  color: #363333;
  outline: none;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  cursor: pointer;
  background: #000000;
}

.section-title {
  padding-bottom: 40px;
}

.section-title h2 {
  margin: 0;
}

.section-title h4 {
  color: #bfbdbd;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 0;
}

.overlay {
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

section {
  position: relative;
  padding: 100px 0;
}

#team,
#menu,
#testimonial {
  text-align: center;
}

.about-image img,
.team-thumb img {
  width: 100%;
}

#google-map iframe {
  border: 0;
  width: 100%;
  height: 390px;
}



/*---------------------------------------
     BUTTONS               
  -----------------------------------------*/

.section-btn {
  background: #141111;
  border-radius: 0;
  border: 0;
  color: #f9f9f9;
  font-size: inherit;
  font-weight: normal;
  padding: 10px 25px;
  transition: 0.5s 0.2s;
}



/*---------------------------------------
       PRE LOADER              
  -----------------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: none repeat scroll 0 0 #ffffff;
}

.spinner {
  border: 1px solid transparent;
  border-radius: 3px;
  position: relative;
}

.spinner:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45px;
  height: 45px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  border: 1px solid #575757;
  border-top-color: #ffffff;
  animation: spinner .9s linear infinite;
}

@-webkit-@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}



/*---------------------------------------
      MENU              
  -----------------------------------------*/
.custom-navbar {
  border: none;
  margin-bottom: 0;
  padding: 25px 0;
}

.custom-navbar .navbar-brand img {
  
  height: 50px;
  width: 100px;
  margin-top: -10px;
}

.custom-navbar .navbar-brand span {
  color: #141111;
}

.top-nav-collapse {
  background: #ffffff;
}

.custom-navbar .navbar-nav.navbar-nav-first {
  margin-left: 8em;
}

.custom-navbar .navbar-nav.navbar-right li a {
  padding-right: 12px;
  padding-left: 12px;
}

.custom-navbar .navbar-nav.navbar-right .section-btn {
  display: inline-block;
  margin: 0.2em 0 0 1em;
}

.custom-navbar .navbar-nav.navbar-right .section-btn:hover {
  background: #292929;
  color: #ffffff;
}

.custom-navbar .navbar-nav.navbar-right .section-btn:focus {
  color: #ffffff;
}

.custom-navbar .navbar-nav.navbar-right .section-btn a {
  padding: 10px 25px;
}

.custom-navbar .nav .section-btn a:hover {
  color: #ffffff;
}

.custom-navbar .nav li a {
  font-size: 12px;
  font-weight: bold;
  color: #ffffff;
  padding-right: 22px;
  padding-left: 22px;
  text-transform: uppercase;
}

.custom-navbar .nav li a:hover {
  background: transparent;
  color: #141111;
}

.custom-navbar .navbar-nav>li>a:hover,
.custom-navbar .navbar-nav>li>a:focus {
  background-color: transparent;
}

.custom-navbar .nav li.active>a {
  background-color: transparent;
  color: #141111;
}

.custom-navbar .navbar-toggle {
  border: none;
  padding-top: 10px;
}

.custom-navbar .navbar-toggle {
  background-color: transparent;
}

.custom-navbar .navbar-toggle .icon-bar {
  background: #252525;
  border-color: transparent;
}

@media(min-width:768px) {
  .custom-navbar {
    border-bottom: 0;
    background: 0 0;
  }

  .custom-navbar.top-nav-collapse {
    background: #ffffff;
    -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
  }

  .top-nav-collapse .navbar-brand {
    color: #454545;
  }

  .top-nav-collapse .nav li a {
    color: #575757;
  }

  .top-nav-collapse .nav .section-btn a {
    color: #ffffff;
  }
}



/*---------------------------------------
      HOME              
  -----------------------------------------*/

#home {
  padding: 0;
}

#home h1 {
  color: #ffffff;
  padding-bottom: 30px;
}

#home h3 {
  color: #f9f9f9;
  font-size: 14px;
  line-height: inherit;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

@media (min-width: 768px) {
  .slider .col-md-8 {
    padding-left: 0;
  }
}

.slider .owl-dots {
  position: absolute;
  top: 50%;
  right: 2em;
  justify-content: center;
}

.owl-theme .owl-dots .owl-dot {
  display: block;
}

.owl-theme .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  margin: 7px 10px;
  border: 2px solid #d9d9d9;
  background: transparent;
  display: block;
  -webkit-backface-visibility: visible;
  transition: opacity 200ms ease;
  border-radius: 30px;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background-color: #ffffff;
  border-color: transparent;
}

.slider .caption {
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: left;
  background-color: rgba(20, 20, 20, 0.2);
  height: 100%;
  color: #fff;
  cursor: e-resize;
  padding: 4em 0 0 2em;
}

.slider .item {
  background-position: inherit;
  background-repeat: no-repeat;
  background-attachment: local;
  background-size: cover;
  height: 650px;
}

.slider .item-first {
  background-image: url(../slider-image1.jpg);
}

.slider .item-second {
  background-image: url(../slider-image2.jpg);
}

.slider .item-third {
  background-image: url(../slider-image3.jpg);
}

.slider .item-second .section-btn {
  background: #292929;
}

.slider .item-second .section-btn:hover {
  background: #ffffff;
}

.slider .item-third .section-btn {
  background: transparent;
  border: 1px solid #ffffff;
}

.slider .item-third .section-btn:hover,
.slider .item-third .section-btn:focus {
  background: #141111;
  border-color: transparent;
  color: #ffffff;
}



/*---------------------------------------
      ABOUT              
  -----------------------------------------*/

#about {
  padding-bottom: 0;
}

.about-info {
  padding: 0 6em 5em 0;
}

.about-info .section-title {
  padding-bottom: 20px;
}

.about-image {
  position: absolute;
}



/*---------------------------------------
      SERVICE             
  -----------------------------------------*/
#services {
  background: #f9f9f9;
  padding: 80px 0;
}

.service-thumb {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-thumb:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 40px;
  color: #141111;
  margin-bottom: 20px;
}

.service-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color:white;
}

.service-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  color:white;
}

.btn-default {
  background-color: #141111;
  color: white;
  border: none;
  padding: 10px 25px;
  text-transform: uppercase;
  font-size: 12px;
  border-radius: 25px;
  transition: background 0.3s ease;
}

.btn-default:hover {
  background-color: #5d4037;
  color: #fff;
}


/*---------------------------------------
     REALISATION   
----------------------------------------*/
     
#realisations {
  padding: 80px 0;
  background: #f4f4f4;
}

.menu-thumb {
  background: transparent; 
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

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

.img-wrapper {
  height: 220px;
  overflow: hidden;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-thumb:hover img {
  transform: scale(1.1);
}

.menu-info {
  padding: 15px;
  flex-grow: 1;
  background: transparent; 
}

.menu-item h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.menu-item p {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
}

/*---------------------------------------
      PARTENAIRES             
  -----------------------------------------*/

#partenaires {
  background: #f9f9f9;
  padding: 60px 0;
  overflow: hidden;
  position: relative;
}

#partenaires .section-title h2 {
  font-size: 28px;
  color: #333;
}

#partenaires .section-title h4 {
  font-weight: 400;
  color: #666;
  margin-top: 10px;
}

/* Slider container */
.slider2 {
  height: 120px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* Track that moves */
.slide2-track {
  display: flex;
  width: calc(250px * 10);
  /* 10 logos */
  animation: scroll 20s linear infinite;
}

/* Each logo */
.slide2 {
  width: 250px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 15px;
}

.slide2 img {
  max-height: 80px;
  max-width: 100%;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.slide2 img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

/* Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}





/*---------------------------------------
      CONTACT             
  -----------------------------------------*/

#contact {
  background: #f9f9f9;
  padding: 60px 0;
}

#contact .section-title h2 {
  font-size: 28px;
  color: #333;
  text-align: center;
}

#contact .section-title h4 {
  font-weight: 400;
  text-align: center;
  color: #666;
  margin-top: 10px;
}

#google-map iframe {
  width: 100%;
  height: 500px;
  border: 0;
}

/* Messages de succès/erreur */
#contact .text-success,
#contact .text-danger {
  display: none;
  font-size: 14px;
  margin-bottom: 15px;
}

/* Champs du formulaire */
#contact .form-control {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}

#contact .form-control:focus {
  border-bottom-color: #141111;
}

/* Bouton envoyer */
#contact button#cf-submit {
  background: #141111;
  border-radius: 0;
  border: none;
  color: #fff;
  font-weight: bold;
  height: 50px;
  transition: background 0.3s ease;
}

#contact button#cf-submit:hover {
  background: #292929;
}

/* Responsive */
@media (max-width: 767px) {
  #google-map iframe {
    height: 300px;
  }
}




/*---------------------------------------
     FOOTER              
  -----------------------------------------*/

#footer {
  background: #1b1b1b;
  color: #bbb;
  padding: 60px 0 30px;
  font-size: 14px;
  line-height: 1.8;
}

#footer h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
}

.footer-about p {
  margin-bottom: 15px;
}

.footer-social a {
  color: #cecece;
  font-size: 18px;
  margin-right: 10px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #FFF;
}

.footer-contact ul,
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-contact li,
.footer-links li {
  margin-bottom: 10px;
}

.footer-contact i {
  margin-right: 8px;
  color: #FFF;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 15px;
  margin-top: 30px;
  font-size: 13px;
  color: #777;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
  position: relative;
}

.footer-bottom a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: #fff;
  transition: width 0.3s ease;
}

.footer-bottom a:hover::after {
  width: 100%;
}



/* Responsive */
@media (max-width: 768px) {
  #footer .col-md-4 {
    margin-bottom: 30px;
  }

  .footer-container {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/*---------------------------------------
     SOCIAL ICON              
  -----------------------------------------*/

.social-icon {
  position: relative;
  padding: 0;
  margin: 0;
}

.social-icon li {
  display: inline-block;
  list-style: none;
  margin-bottom: 5px;
}

.social-icon li a {
  border-radius: 100px;
  color: #ce3232;
  font-size: 15px;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-decoration: none;
  text-align: center;
  transition: all 0.4s ease-in-out;
  position: relative;
}

.social-icon li a:hover {
  background: #ce3232;
  color: #ffffff;
}



/*---------------------------------------
     RESPONSIVE STYLES              
  -----------------------------------------*/

@media screen and (max-width: 1170px) {
  .custom-navbar .navbar-nav.navbar-nav-first {
    margin-left: inherit;
  }
}


@media only screen and (max-width: 1200px) {
  .about-info {
    padding-right: 0;
  }

  .about-image {
    position: relative;
  }
}


@media only screen and (max-width: 992px) {
  section {
    padding: 60px 0;
  }

  .custom-navbar .section-btn {
    margin-left: 1em;
  }

  .slider .item {
    background-position: center;
  }

  .about-info {
    padding: 0;
  }

  .team-info {
    margin-bottom: 50px;
  }

  #menu .menu-thumb {
    width: 103%;
  }

  #testimonial {
    background-position: 50% 0 !important;
  }

  #google-map,
  .footer-info {
    margin-bottom: 50px;
  }
}


@media only screen and (min-width: 768px) and (max-width: 991px) {
  .custom-navbar .nav li a {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media only screen and (max-width: 767px) {
  h1 {
    font-size: 2.5em;
  }

  h1,
  h2,
  h3 {
    line-height: normal;
  }

  .custom-navbar {
    background: #ffffff;
    -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    text-align: center;
  }

  .custom-navbar .nav li a {
    line-height: normal;
    padding: 10px;
  }

  .custom-navbar .navbar-brand,
  .top-nav-collapse .navbar-brand {
    color: #252525;
    font-weight: 600;
  }

  .custom-navbar .nav li a,
  .top-nav-collapse .nav li a {
    color: #575757;
  }

  .custom-navbar .navbar-nav.navbar-right li {
    display: inline-block;
  }

  .custom-navbar .navbar-nav.navbar-right .section-btn {
    display: block !important;
    width: 50%;
    margin: 10px auto 10px auto;
    padding: 10px;
  }

  .custom-navbar .section-btn a {
    color: #ffffff !important;
  }

  .slider .caption {
    padding: 0;
  }

  .menu-thumb .menu-info {
    top: 80%;
  }

  footer {
    padding: 60px 0;
    padding-bottom: 60px;
  }

  .footer-open-hour {
    right: 0;
    bottom: 0;
    margin-top: 30px;
  }
}


@media only screen and (max-width: 580px) {
  h1 {
    font-size: 2.1em;
  }

  h2 {
    font-size: 1.8em;
  }

  .menu-thumb .menu-info {
    top: 60%;
  }
}

/* Style général pour les liens */
.navbar-nav li a {
    position: relative;
    text-decoration: none;
    padding-bottom: 5px;
    color: #333;
    transition: all 0.3s ease;
}

/* Trait au survol */
.navbar-nav li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background-color: #1a1918; /* couleur du trait */
    transition: width 0.3s ease;
}

.navbar-nav li a:hover::after {
    width: 100%;
}

/* Lien actif avec soulignement permanent */
.navbar-nav li a.active::after {
    width: 100%;
}
