/* ================================
   NAVBAR
   ================================ */

header {
  background-color: rgba(24, 24, 24, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar-top {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 52px;
}

.logo img {
  margin-top: 10px;
  height: 66px;
  display: block;
}

.search-bar {
  flex: 1;
  display: flex;
  max-width: 480px;
}

.search-bar input {
  flex: 1;
  padding: 8px 16px;
  border: none;
  border-radius: 100px 0 0 100px;
  font-size: 14px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  outline: none;
}

.search-bar input::placeholder {
  color: rgba(255,255,255,0.45);
}

.search-bar button {
  padding: 0 14px;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 0 100px 100px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.search-bar button img {
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

/* Nav links */
.navbar-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
}

.navbar-bottom ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  height: 38px;
}

.navbar-bottom li a {
  text-decoration: none;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 400;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
}

.navbar-bottom li a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.navbar-bottom li a img {
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

.navbar-bottom li a:hover img {
  opacity: 1;
}

/* ================================
   NAVBAR — RESPONSIVE
   ================================ */

@media (max-width: 768px) {
  .navbar-top {
    height: 48px;
  }

  .logo img {
    height: 30px;
  }

  .search-bar {
    max-width: 100%;
  }

  .search-bar input {
    font-size: 13px;
    padding: 7px 12px;
  }

  .navbar-bottom ul {
    gap: 2px;
  }

  .navbar-bottom li a {
    font-size: 12px;
    padding: 5px 10px;
  }
}

@media (max-width: 480px) {
  .navbar-container {
    padding: 0 14px;
  }

  .navbar-bottom ul {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .navbar-bottom li {
    flex-shrink: 0;
  }

  .navbar-bottom li a {
    white-space: nowrap;
  }
}