@import url('https://fonts.googleapis.com/css2?family=Sansation&display=swap');

.navbar {
    background-color: rgba(0, 0, 0, 0.5) !important; /* Semi-transparent black */
    backdrop-filter: blur(10px); /* Liquid glass blur effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}


.navbar-light .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.4); /* Lighten link color for dark background */
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover {
    color: #ffffff; /* White for active/hover links */
}

.navbar-brand {
    color: #ffffff !important; /* White brand text */
    font-family: 'Sansation', sans-serif;
    font-weight: 400;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1) !important; /* Light toggler border */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important; /* White toggler icon */
}

.icon-xxl {
    font-size: 4rem;
}

.full-height {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;

}

.images img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.heading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  mix-blend-mode: difference; /* clé de l’effet */
  pointer-events: none;
}

h1.title-sourcing span {
  font-family: 'Sansation', sans-serif;
  font-weight: 400;
  color: white;
  text-transform: uppercase;
  line-height: 1;
  font-size: 10rem;
}

.invert-effect {
  display: inline-block;
  mix-blend-mode: difference; /* le texte agit comme un “négatif” sur l’image */
}

.invert-effect {
  display: inline-block;
  mix-blend-mode: difference;
}

.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.705);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 3;
}

.scroll-down svg {
  width: 50px;
  height: 50px;
  stroke: rgb(0, 0, 0);
}

.scroll-down:hover {
  background: rgb(255, 255, 255);
}


.typed-wrapper {
  position: absolute;
  top: 50%;               /* centre verticalement dans la section */
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;             /* devant l'image, derrière le scroll-down si besoin */
  text-align: center;
  pointer-events: none;   /* pas de blocage sur le texte */
    font-family: 'Sansation', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
  font-size: 1.5rem;        /* ajuste selon besoin */
  color: rgba(255, 255, 255, 0.904);
}

@media (max-width: 1670px) {
  h1.title-sourcing span {
    padding-top: 3%;
    font-size: 10rem;
  }
}

@media (max-width: 1400px) {
  h1.title-sourcing span {
    padding-top: 3%;
    font-size: 7rem;
  }

  .typed-wrapper {
    font-size: 1.5rem; 
  }
}


@media (max-width: 991.98px) {
  h1.title-sourcing span {
    font-size: 5rem; 
  }

  .typed-wrapper {
    font-size: 1.1rem; 
  }
  
  #services i {
    font-size: 3rem; 
  }

  #services h5 {
    font-size: 0.9rem; 
  }

  #services p {
    font-size: 0.8rem; 
  }

  #presentation img {
    margin-bottom: 1rem;
     /* Réduit la taille de la police des titres de présentation sur les petits écrans */
  }

  footer h1 {
    font-size: 1.4rem; 
  }

  footer div.text-footer div {
    font-size: 0.7rem; 
  }

  footer div.text-footer p {
    font-size: 0.8rem; 
  }

  #presentation div.text-presentation div {
    font-size: 0.8rem; 
  }

}


@media (max-width: 767.98px) {
  h1.title-sourcing span {
    font-size: 4rem; 
  }

  .typed-wrapper {
    font-size: 0.8rem; 
  }

  #services i {
    font-size: 2.5rem; 
  }

  #services h5 {
    font-size: 0.8rem; 
  }

  #services p {
    font-size: 0.7rem; 
  }

  #contact p {
    font-size: 0.7rem; 
  }
/*centré l'image de présentation*/
  #presentation img {
    margin-bottom: 1rem;
    max-width: 300px;      /* Réduit la taille de la police des titres de présentation sur les petits écrans */
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  footer h1 {
    font-size: 1.4rem; 
  }

  footer div.text-footer div {
    font-size: 0.7rem; 
  }

  footer div.text-footer p {
    font-size: 0.8rem; 
  }

  #presentation div.text-presentation div {
    font-size: 0.8rem; 
  }
}


@media (max-width: 575.98px) {

  .full-height {
  min-height: 90vh;
}


  h1.title-sourcing span {
    font-size: 2rem; 
  }

  .typed-wrapper {
    font-size: 0.6rem; 
  }

  #services {
    padding-top: 40px; 
  }

  #services i {
    font-size: 2rem; 
  }

  #services h5 {
    font-size: 0.9rem; 
  }

  #services p {
    font-size: 0.8rem; 
  }

  #contact h2 {
    font-size: 0.9rem; 
  }

  .services-container .row {
    flex-wrap: nowrap;
  }
  .services-container {
    overflow-x: auto;
  }

  #services.full-height {
    min-height: auto;
    overflow: hidden;

  }


}


