/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-bottom: 1px solid #ddd;
  position: relative;
  background: #ffffff;
  z-index: 100;
  box-shadow: 0px 0px 5px 0px;
}

.logo {
  font-weight: bold;
  font-size: 1.4rem;
  color: #007bff;
  text-decoration: none;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex: 1;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.nav-menu a:hover {
  background: #f0f0f0;
}

/* Auth Buttons */
.auth-btns a,
.mobile-auth a {
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

/* Login Button */
.login-btn {
  border: 2px solid #007bff;
  color: #007bff;
  background: #fff;
}

.login-btn:hover {
  background-color: #e7f1ff;
}

/* Signup Button */
.signup-btn {
  background-color: #007bff;
  color: white;
  border: 2px solid #007bff;
}

.signup-btn:hover {
  background-color: #005ec4;
  border-color: #005ec4;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 60px;
    left: 25px;
    right: 25px;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 10px 10px;
    box-shadow: 0px 5px 5px 0px;
  }

  .nav-menu.show {
    display: flex;
  }

  .auth-btns {
    display: none;
  }

  .mobile-auth {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    gap: 12px;
    width: 80%;
  }

  .mobile-auth a {
    width: 100%;
  }

  .hamburger {
    display: block;
  }
}

/* Desktop */
@media (min-width: 769px) {
  .mobile-auth {
    display: none;
  }
}
