/* navbar.css */

/* Reset and base styles if needed */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1000;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  height: 70px;
}

.logo span {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0a3d62;
}

nav {
  flex: 2;
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #0a6efd;
}

.actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-connect {
  background-color: #ff0099;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.btn-connect:hover {
  background-color: #da0283;
}

.login-link {
  background-color: #0a6efd;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.login-link:hover {
  background-color: #084dbf;
}

.city-select {
  display: flex;
  align-items: center;
  border: 1px solid #ff0099;
  padding: 6px 10px;
  border-radius: 5px;
  background: white;
  font-size: 0.9rem;
  color: #ff0099;
  cursor: pointer;
}

.city-select select {
  border: none;
  background: transparent;
  color: #ff0099;
  font-weight: 600;
  outline: none;
  font-size: 0.9rem;
  margin-left: 6px;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  nav, .login-link, .btn-connect, .city-select {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 12px;
    z-index: 1001;
  }

  .nav-links.open {
    display: flex;
  }
}
