@import url('https://fonts.googleapis.com/css?family=Cardo:400i|Rubik:400,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 12px;  /* Réduit la taille de la police de base */
}


body {
  font-family: 'Bebas Neue', 'Rubik', sans-serif;
  background-color: #f0f0f0;
  color: #333;
  line-height: 1.6;
}

/* Style pour les titres h2 */
h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  text-transform: uppercase;
  color: #ea5e10; /* Couleur dynamique */
  margin: 2rem 0;
  letter-spacing: 2px; /* Espacement entre les lettres pour un effet impactant */
  text-align: center;
  position: relative;
}

h3::before {
  content: '';
  position: absolute;
  bottom: -10px; /* Décalage sous le texte */
  left: 50%;
  transform: translateX(-50%);
  width: 50px; /* Longueur de la ligne */
  height: 2px;
  background-color: #ea5e10; /* Couleur assortie */
}

h3:hover {
  color: #ff6a00; /* Changement de couleur au survol */
}


/* Navbar */
.navbar {
  font-family: 'Rubik', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0); /* Transparent navbar */
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}

.navbar.hide-navbar {
  transform: translateY(-100%); /* Faire remonter la navbar hors de l'écran */
  opacity: 0; /* Rendre la navbar invisible */
}

.navbar .logo img {
  max-width: 100%;
  height: auto;
  width: auto; /* Ajuste la taille sans forcer une largeur */
  max-height: 75px; /* Ajuste cette valeur selon ton design */
}

@media (max-width: 768px) {
  .navbar .logo img {
    max-height: 60px; /* Réduit la taille du logo sur les petits écrans */
  }
}

@media (max-width: 480px) {
  .navbar .logo img {
    max-height: 65px; /* Encore plus petit sur mobile */
    margin-left: -20px;
  }
}


.logo {
  position: static; /* Par défaut, l'élément reste dans le flux normal */
  top: auto; /* Aucun positionnement spécifique */
  left: auto;
  padding: 10px; /* Facultatif : espace autour du logo */
}

.navbar ul {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.navbar ul li {
  list-style: none;
}

.navbar ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
}

.navbar ul li a:after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #ea5e10;
  bottom: -5px;
  left: 0;
  transition: width 0.3s;
}

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

/* Menu Burger */
.burger-menu {
  display: none; /* Hide burger menu by default */
  flex-direction: column;
  gap: 4px;
  z-index: 1001;
  cursor: pointer; /* Make it clickable */
}

.burger-menu span {
  width: 30px;
  height: 3px;
  border-radius: 5px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: block; /* Ensure each span is a block element */
  margin: 0; /* Remove any margin */
  outline: none; /* Remove any outline */
}

/* Default nav links are shown on desktop */
.nav-links {
  display: flex;
  flex-direction: row;
  position: relative;
  gap: 2rem;
}

.nav-links.active {
  display: flex;
}

/* Responsive Styles */
@media (max-width: 768px) {
  /* Navbar links hidden by default on mobile */
  .navbar ul {
    display: none; 
  }

  /* Show burger menu only on mobile */
  .burger-menu {
    display: flex;
  }

  /* Change nav links to be stacked vertically on mobile */
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95); /* Dark background */
    gap: 2rem;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    padding-top: 3rem; /* Padding to avoid overlap with the hamburger */
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: #ea5e10; /* Change color when active */
  }

  .burger-menu.active span:nth-child(2) {
    opacity: 0; /* Hide middle span */
  }

  .burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color: #ea5e10; /* Change color when active */
  }
}

 
/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4); /* Ajuste l'opacité ici */

}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  background: rgba(0, 0, 0, 0.4); /* Ajuste l'opacité ici */

}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem); /* Ajuste la taille du texte en fonction de l'écran */
  text-transform: uppercase;
  color: #fff;
  margin-bottom: -0.rem;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap; /* Empêche le texte de se casser en plusieurs lignes */
  animation: fadeIn 3s forwards;

}

.hero span {
  color: #ea5e10;
  font-size: clamp(2.5rem, 6vw, 4rem); /* Ajuste la taille du texte pour le span */
  font-family: 'Rubik', sans-serif;
  line-height: 1;
  white-space: nowrap; /* Empêche le texte de se casser en plusieurs lignes */

}

.hero p {
  font-size: clamp(1rem, 3vw, 1.25rem); /* Ajuste la taille du texte du paragraphe */
  margin: 1rem 0;
  opacity: 0;
  animation: fadeIn 3s forwards;
  white-space: nowrap; /* Empêche le texte de se casser en plusieurs lignes */
}

.cta-button {
  padding: 0.75rem 2rem;
  background-color: #ea5e10;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: background-color 0.3s;
  opacity: 0;
  animation: fadeIn 4s forwards;
  font-size: clamp(0.8rem, 2vw, 1rem); /* Ajuste la taille du texte du bouton */
}

.cta-button:hover {
  background-color: #ff6a00;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


/*Services*/
.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 3rem 1rem;
    background-color: #f0f0f0;
  }
  
  .service-item {
    position: relative;
    width: calc(33.333% - 2rem); /* Trois colonnes */
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .service-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  /* Overlay sur les images */
  .service-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    color: #fff;
    text-align: center;
    padding: 1rem;
    transition: opacity 0.3s ease;
  }
  
  .service-item:hover .overlay {
    opacity: 1;
  }
  
  /* Titre et contenu dans l'overlay */
  .service-item .overlay h2 {
    font-size: 1.8rem;
    font-family: 'Bebas Neue', sans-serif;
    margin-bottom: 0.5rem;
  }
  
  .service-item .overlay p {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: 'Rubik', sans-serif;

  }
  
  .service-item .cta-button {
    padding: 0.5rem 1.5rem;
    background-color: #ea5e10;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 30px;
    font-family: 'Rubik', sans-serif;

    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .service-item .cta-button:hover {
    background-color: #ff6a00;
    
  }
  
  /* Titre sous les images */
  .service-title {
    position: relative;
    font-size: 1.2rem;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    text-align: center;
    margin-top: 1rem;
    color: rgb(255, 255, 255);
  }
  
  /* Responsive: Deux colonnes sur tablettes */
  @media (max-width: 768px) {
    .service-item {
      width: calc(50% - 2rem); /* Deux colonnes */
    }
  }
  
  /* Responsive: Une seule colonne sur mobiles */
  @media (max-width: 480px) {
    .service-item {
      width: 100%; /* Une colonne */
    }
  }

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

/* Slider */

.slick-slide {
  margin: 0px 20px;
}

.slick-slide img {
  width: 100%;
}

.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.slick-list:focus {
  outline: none;
}
.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: block;
}
.slick-track:before,
.slick-track:after {
  display: table;
  content: '';
}
.slick-track:after {
  clear: both;
}
.slick-loading .slick-track {
  visibility: hidden;
}

.slick-slide {
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
}
[dir='rtl'] .slick-slide {
  float: right;
}
.slick-slide img {
  display: block;
}
.slick-slide.slick-loading img {
  display: none;
}
.slick-slide.dragging img {
  pointer-events: none;
}
.slick-initialized .slick-slide {
  display: block;
}
.slick-loading .slick-slide {
  visibility: hidden;
}
.slick-vertical .slick-slide {
  display: block;
  height: auto;
  border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
  display: none;
}

/* Gallerie */ 

.gallery {
  padding: 2rem;
  background-color: #fff;
}

.gallery h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #333;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* Légère opacité pour une meilleure visibilité */
  opacity: 1;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 0; /* Retirer la superposition sur le survol */
}

.gallery-item .gallery-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff; /* Texte complètement blanc */
  text-align: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.gallery-item:hover .gallery-text {
  opacity: 0; /* Texte disparaît au survol */
}

.gallery-item .gallery-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.gallery-item .gallery-text p {
  font-size: 1rem;
  line-height: 1.4;
}

.gallery-item .gallery-text span {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  border: 2px solid #fff;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.gallery-item:hover .gallery-text span {
  background-color: #fff;
  color: #000;
}

.gallery-item .text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.1);
  color: #fff;
  font-size: 1.2em;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.gallery-item:hover .text-overlay {
  opacity: 0; /* Supprimer la superposition du texte au survol */
}







/* Footer */
#contact {
  background-color: #f0f0f0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#contact h3 {
  font-weight: 700;
  color: #ea5e10;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.contact-form {
  background: #fff;
  padding: 1.8rem; /* Réduire légèrement le padding */
  border-radius: 15px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 900px; /* Réduire la largeur maximale */
}

.contact-form .form-group {
  margin-bottom: 1.2rem; /* Réduire l'espace entre les champs */
  text-align: left;
}

.contact-form label {
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  display: block;
  margin-bottom: 0.8rem; /* Réduire l'espace sous les labels */
  color: #333;
  font-size: 1.1rem; /* Réduire légèrement la taille de la police des labels */
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem; /* Réduire le padding */
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Rubik', sans-serif;
  font-size: 1rem; /* Garder la taille de police du texte */
}

.contact-form button {
  display: block;
  padding: 0.9rem 2.5rem; /* Réduire légèrement le padding du bouton */
  color: rgb(0, 0, 0);
  border: none;
  border-radius: 25px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
  background-color: #d75e00;
  transform: scale(1.05);
}

/* Section "Retrouvez-nous" */
.contact-info {
  text-align: center;
  margin-top: 3rem;
  animation: fadeInUp 2s ease-out;
}

.contact-info p {
  margin: 0.5rem 0;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin: 0.5rem 0;
}

.contact-info a {
  color: #ea5e10;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #d75e00;
  text-decoration: underline;
}

/* Section Contact */
.contact-info {
  text-align: center;
  margin-top: 3rem;
}

.find-us {
  margin-bottom: -0.5rem;
}

.find-us p {
  font-family: 'Rubik', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.contact-logo {
  width: 90px; /* Taille du logo */
  height: auto;
  margin: 0 auto 2rem;
  display: block;
  transition: transform 0.3s ease;
}

.contact-logo:hover {
  transform: scale(1.05); /* Légère transformation au survol */
}

.contact-links {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-links li {
  font-size: 1.2rem;
}

.contact-links a {
  color: #ea5e10;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.contact-links a:hover {
  color: #d75e00;
}


.contact-icon {
  width: 25px; /* Taille des icônes sociales */
  height: 25px;
  margin-right: 10px;
  vertical-align: middle; /* Aligne l'icône verticalement avec le texte */
  transition: transform 0.3s ease;
}

.contact-icon:hover {
  transform: scale(1.1); /* Légère transformation au survol */
}

.contact-info p {
  margin: 1rem 0;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center; /* Centrer l'élément textuel et l'icône */
}

.contact-info p img {
  margin-right: 10px; /* Espacement entre l'icône et le texte */
}

/* Adaptations responsive */
@media (max-width: 768px) {
  .contact-links {
    flex-direction: column;
    align-items: center;
    gap: 0rem; /* Réduire l'écart entre les icônes */
  }

  .contact-logo {
    width: 100px; /* Réduire la taille du logo sur petits écrans */
  }

  .contact-info p {
    font-size: 1rem; /* Réduire la taille du texte */
  }
}
