* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#icon-hamburger,
#icon-close {
  width: 26px;
  height: 26px;
  cursor: pointer;
  position: relative;
  z-index: 100;
}

#icon-close {
  position: fixed;
  top: 1rem; /* or adjust as needed */
  right: 1rem;
  z-index: 1001; /* ensure it's above overlays */
  display: none;
  cursor: pointer;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 15px 30px;
  position: relative;
}

.logo img {
  height: 40px;
}

.nav-collection {
  display: flex;
  align-items:center;
  gap: 40px;
}

.nav-link h4 {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
}

.nav-link a {
  text-decoration: none;
  color: inherit;
}

.download {
  padding: 8px 16px;
  font-size: 16px;
  background-color: #5d00ff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 20px;
}

.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
}

/* Overlay behind menu */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5); /* translucent black */
  z-index: 9;
  display: none;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  background-color: rgb(255, 255, 255);
  min-width: 300px;
  height: 100vh;
  padding: 80px 20px 20px; /* 👈 Added top padding */
  z-index: 10;
  display: none;
  flex-direction: column;
  gap: 20px;
}


.mobile-menu.show {
  display: flex;
}


.mobile-menu a {
  margin-bottom: 24px;
  font-size: 20px;
  text-decoration: none;
  color: #333;
  text-align: center;
}

.mobile-menu.show {
  display: flex;
}

@media (max-width: 768px) {
  .nav-collection {
    display: none;
  }

  .hamburger {
    display: block;
    margin-left: 20px;
  }

  .mobile-menu .download {
    order: 2;
    font-size: 16px;
    width: 300px;
    margin: 0 auto;
  }

  .hamburger {
    order: 3;
  }
}
