#nav-menu {
  cursor: pointer;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 800;
  background: rgba(99, 99, 99, 0.6);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  font-family: "Roboto", Helvetica, Arial, sans-serif;
}

.menu-layout {
    position: relative;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding-left: clamp(3rem, 6.5vw, 8rem);
    padding-right: clamp(3rem, 6.5vw, 8rem);
    font-family: "Roboto", Helvetica, Arial, sans-serif;
}

.menu-transform {
    transform: translateY(calc(-50px - (0.5rem * 2)));
}



/* @media screen and (min-width: 64rem) {
    .menu-width {
        width: 60rem;
    }
}

@media screen and (min-width: 75rem) {
    .menu-width {
        width: 70rem;
    }
} */

* MENU */
.menu-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem;
  background-color: #fff;
}

.menu-links {
  display: flex;
  gap: 1rem;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
}

nav .menu-item {
  text-decoration: none;
  color: #f4f4f4;
  padding: 0.5rem 0.5rem;
  border-radius: 0.9375rem;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-family: "Roboto", Helvetica, Arial, sans-serif;
}

nav .menu-item:not(.button-orange):hover {
  color: #E85426;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

nav .menu-item .dropdown-content {
  display: none;
  position: absolute;
  backdrop-filter: blur(200px);
  z-index: 1;
  min-width: 150%;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.945)!important;
  border-radius: 0.9375rem;
  box-shadow: 0 0.25rem 1.875rem rgba(0, 0, 0, 0.1)!important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-family: "Roboto", Helvetica, Arial, sans-serif;
}

.dropdown-content a {
  color: #000;
  padding: 0.75rem 1rem;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  color: #757575;
}

.dropdown:hover .dropdown-content {
  display: block; 
}

.ui-component-button-nav {
  background-color: #E85426;
  color: #ffffff!important;
  display: flex; 
  align-items: center; 
  justify-content: center;
  border-radius: 5px!important;
}

.ui-component-button-nav:hover {
    background-color: #f1b09cad;
    color: #ffffff!important;
  }


/* Styles pour le menu hamburger */
.menu-hamburger {
  display: none;
  cursor: pointer;
}

.menu-hamburger img {
  width: 1.875rem;
  height: 1.875rem;
}

.ui-section-testimonial__layout {
  margin-top: 4rem;
}

/* Responsive styles */
@media screen and (max-width: 800px) {
  .menu-links {
    display: none;
    flex-direction: column;
    width: 60%;
    background: rgba(99, 99, 0.6);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    position: absolute;
    top: 3.75rem;
    right: 0;
    z-index: 1000;
    border-radius: 0.9375rem;
  }

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

  .menu-hamburger {
    display: block;
  }

  .menu-links a {
    float: none;
    display: block;
    text-align: left;

  }

  .menu-links a.icon {
    float: right;
    display: block;
  }

  .menu-item a {
    text-align: left
  }

  .dropdown .menu-item {
    padding-left: 0%;
  }

  .ui-component-button-nav {
    margin: 1rem!important;
    border-radius: 0.625rem!important;
  }

  nav .menu-item .dropdown-content {
    background: rgba(255, 255, 255, 0.993)!important;
  }
  

}
