
.menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu-list-footer {
  margin: 0;
  padding: 0;
  list-style: none;
}
.custom-nav {
  position: fixed;      
  top: 1%;
  left: 0;
  width: 100%;
  z-index: 10000;
  animation: navDropDown 0.8s ease forwards; 
}
.custom-nav.scrolled {
    position: absolute;
    top: 100px; 
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;  
  margin: 0 auto;
  padding: 0 20px;

  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 30px;  
  border: 1px solid rgba(255,255,255,0.3);
}


.logo img {
  height: 50px; 
  background-color: white;
  border-radius: 30px;
  padding: 5px;

}

.logo{
  margin-top: 7px;
}

.main-menu {
  display: flex;
  z-index: 9999;
}


.menu-list-footer li {
  display: inline-block;
  margin: 0 15px;
}

.menu-list-footer a {
  text-decoration: none;
  color: #fff;
  font-weight: 300;
    font-size: 14px;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background 0.3s;
}


.menu-list li {
  display: inline-block;
  margin: 0 15px;
}

.menu-list a {
  text-decoration: none;
  color: #fff;
  font-weight: 300;
    font-size: 14px;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background 0.3s;
}
.menu-list a:hover {
  background: rgba(255,255,255,0.3);
}


.nav-button {
  background-color: #fff;
  color: #333;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.nav-button:hover {
  background-color: #eaeaea;
}


.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-left: 5px;
  margin-right: 15px;
  margin-top: 5px;
}
.hamburger span {
  height: 2px;
  width: 24px;
  background: black;
  margin-bottom: 5px;
  border-radius: 2px;
  transition: 0.3s;
}


.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


@keyframes navDropDown {
  0% {
    transform: translateY(-60px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 992px) {
  .nav-inner {
    max-width: 1000px; 
    padding: 0 15px;
  }

  .menu-list li {
    margin: 0 10px;
  }

  .logo img {
    height: 50px; 
  }

  .nav-button {
    font-size: 14px;
    padding: 6px 12px;
  }
}


@media(max-width: 768px) {
  .main-menu {
    position: absolute;  /* Zamiast fixed */
    top: 60px;
    left: 0;
    right: 0;
    background: rgb(255, 255, 255);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border-radius: 0 0 20px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: none; 
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 0 20px;
    z-index: 10001;
  }
  .custom-nav{
    width: 80%;
    left: 10%;
  }
  .main-menu.active {
    display: flex;
  }
  .menu-list a{
    color: black !important;
  }
  .menu-list li {
    display: block;
    margin: 10px 0;
  }
  .menu-list-footer a{
    color: white !important;
  }
  .menu-list-footer li {
    display: block;
    margin: 10px 0;
  }
  .hamburger {
    display: flex; 
  }

  .nav-button {
    display: none; 
  }

  .logo img {
    height: 45px;
  }
}


@media (max-width: 480px) {

  .nav-inner {
    padding: 0 10px;
  }
 
  .menu-list a {
    font-size: 14px;
    padding: 6px 12px;
  }

  .logo img {
    height: 40px;
  }

  .menu-list li {
    margin: 8px 0;
  }
}
