

/* NAVBAR */
.nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 18px;
}

.logo-img {
  height: 27px;
  width: auto;
}

/* DESKTOP MENU */
.nav-right {
  display: flex;
  gap: 28px;
  font-size: 14px;
  opacity: 0.9;
  align-items: center;
}

/* ADD LISTING BUTTON */
.nav-right div:last-child {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 7px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-left: 8px;
}

.nav-right div:last-child:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* =========================
   MODERN UNEQUAL HAMBURGER
   ========================= */
.hamburger {
  width: 36px;
  height: 28px;
  display: none; /* ✅ hidden on desktop */
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

/* Lines */
.hamburger span {
  height: 2px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  align-self: flex-end;
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
}

/* Unequal widths */
.hamburger span:nth-child(1) {
  width: 70%;
}

.hamburger span:nth-child(2) {
  width: 70%;
}

.hamburger span:nth-child(3) {
  width: 40%;
}

/* ACTIVE → X */
.hamburger.active span:nth-child(1) {
  width: 100%;
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  width: 100%;
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================
   MOBILE MENU
   ========================= */
.mobile-menu {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(6px);
  display: none;
  flex-direction: column;
  text-align: center;
  z-index: 99;
}


.mobile-menu div {
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 15px;
}

/* Add Listing in mobile */
.mobile-menu .add-listing {
  border: 1px solid rgba(255,255,255,0.6);
  margin: 16px;
  border-radius: 7px;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 991px) {
  .desktop-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    padding: 25px 18px;
  }
}
