.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 95px;
  background-image: linear-gradient(rgb(40, 40, 40), rgb(30, 30, 30));
  z-index: 1100;
  border-bottom: 5px solid #ff931e;
}

.sale-banner {
  position: fixed;
  top: 88px;
  background-color: #ff931e;
  color: white;
  font-weight: bold;
  font-size: 12px;
  width: 100%;
  height: 30px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 6px;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.6);
  transition: top 0.3s ease; 
}


.sale-banner.hide {
  top: -40px;
}

.scrolling-text {
  display: flex;
  width: max-content;
  animation: scroll-left 7s linear infinite;
}

.scrolling-text span {
  white-space: nowrap;
  padding-right: 40px;
  letter-spacing: 1px;
  font-family: 'akira', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

.nav-logo {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-logo:hover {
  filter: drop-shadow(0px 5px 5px #000000bb);}

.logo {
  height: 55px;
  padding-top: 5px;
}

.nav-search {
  position: absolute;
  left: 93%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.search {
  height: 20px;
  padding-top: 15px;
}

.search:hover {
  filter: drop-shadow(0px 5px 5px #000000bb);
}

.nav-cart {
  position: absolute;
  left: 96%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.cart {
  height: 30px;
  padding-top: 15px;
}

.cart:hover {
  filter: drop-shadow(0px 5px 5px #000000bb);
}


.nav-flag {
  position: absolute;
  left: 85%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.flag {
  height: 20px;
  padding-top: 16px;
}

.nav-currency {
  position: absolute;
  left: 88.5%;
  top: 57%;
  transform: translate(-50%, -50%);
}

.currency {
  height: 15px;
  padding-top: 15px;
}

.nav-currency p {
  font-size: 15px;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  padding-top: 30px;
  padding-left: 0;
  gap: 20px;
}

.nav-links li {
  position: relative;
  padding: 0;
  margin: 0;
}

.nav-link {
  position: relative;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline; 
  padding: 0;
  margin: 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2.5px;
  background-color: #ff931e;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #ff931e;
  text-decoration: none;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: #ff931e;
  text-decoration: none;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: #ff931e;
}


@media (max-width: 1024px) {
  .navbar {
    height: auto;
    padding: 10px 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 30px;
  }

  .nav-logo {
    position: static;
    transform: none;
    margin: 0;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding-top: 0;
    flex: 1;
    justify-content: center;
  }

  .nav-link {
    font-size: 16px;
  }

  .nav-icons,
  .nav-flag,
  .nav-currency,
  .hamburger {
    display: none;
  }

  .logo {
    height: 50px;
  }
}


@media (max-width: 768px) {
  .navbar {
    height: 95px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-left,
  .nav-center,
  .nav-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
  }

  .hamburger div {
    width: 25px;
    height: 3px;
    background: white;
  }

  .nav-logo {
    transform: translateY(2px);
  }

  .logo {
    height: 45px;
  }

  .nav-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
  }

  .nav-search,
  .nav-cart {
    position: static;
    transform: none;
  }

  .search,
  .cart {
    height: 22px;
  }

  .nav-flag,
  .nav-currency {
    display: none;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    display: none;
    margin-top: 10px;
  }

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

  .nav-link {
    font-size: 16px;
  }
}






