/* css/nav.css */
.custom-floating-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 56px);
  max-width: 1120px;
  background: rgba(255, 255, 255, 0.98);
  padding: 10px 24px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 9999;
  display: flex;
  justify-content: center;
  backdrop-filter: blur(10px);
  top: 0% !important;
  border-bottom-left-radius: 20px !important;
  border-bottom-right-radius: 20px !important;
}

.custom-floating-nav .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 54px;
  gap: 24px;
}

.custom-floating-nav .nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.custom-floating-nav .nav-logo img {
  height: 22px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.custom-floating-nav .nav-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #111;
  text-transform: uppercase;
  white-space: nowrap;
}

.custom-floating-nav .nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
}

.custom-floating-nav .nav-links a {
  text-decoration: none;
  color: #000;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}

.custom-floating-nav .nav-links a:hover {
  color: #111;
}

.custom-floating-nav .nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #111;
}

.custom-floating-nav .nav-cta .cta-button {
  background-color: #000;
  color: #fff;
  padding: 0 24px;
  height: 44px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.9px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background-color 0.3s;
  text-transform: uppercase;
  flex: 0 0 auto;
  border: none;
  cursor: pointer;
}

.custom-floating-nav .nav-cta .cta-button:hover {
  background-color: #333;
}

.custom-floating-nav .nav-cta .cta-button .arrow {
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10000;
}

.hamburger-menu span {
  width: 100%;
  height: 2px;
  background-color: #000;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 900px) {
  .custom-floating-nav {
    top: 0px !important;
    padding: 15px 24px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  }

  .custom-floating-nav .nav-logo {
    gap: 10px;
  }

  .custom-floating-nav .nav-logo img {
    height: 24px;
  }

  .custom-floating-nav .nav-brand {
    font-size: 14px;
  }

  .hamburger-menu {
    display: flex;
    z-index: 10001;
  }

  .custom-floating-nav .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 0;
    gap: 30px;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .custom-floating-nav .nav-links.nav-active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  .custom-floating-nav .nav-links a {
    color: #111;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
    transition: transform 0.3s, color 0.3s;
    width: auto;
    text-align: center;
    position: relative;
  }

  .custom-floating-nav .nav-links a:hover {
    color: #2b82ff;
    transform: scale(1.05);
  }

  .custom-floating-nav .nav-links a.active::after {
    display: none;
  }

  .custom-floating-nav .nav-links a.active {
    color: #2b82ff;
  }

  .custom-floating-nav .nav-links a[href$="#contact"] {
    margin-top: 20px;
    background: #000;
    color: #fff;
    padding: 16px 40px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .custom-floating-nav .nav-links a[href$="#contact"]:hover {
    background: #2b82ff;
    color: #fff;
    transform: translateY(-3px);
  }

  .custom-floating-nav .nav-container {
    min-height: 48px;
  }

  .custom-floating-nav .nav-cta .cta-button {
    display: none;
  }

  .hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}