/* navbar.css */

.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-logo {
  height: 40px;
  margin-right: 0.5rem;
}

.navbar-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #222222;
}

.navbar-toggle {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  display: none; /* hidden by default, shown on small screens */
  color: #333;
}

.navbar-menu {
  display: flex;
  align-items: center;
}

.navbar-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.navbar-links li {
  margin-left: 1.5rem;
}

.navbar-links a {
  text-decoration: none;
  color: #333333;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.navbar-links a:hover,
.navbar-links a:focus {
  color: #007bff;
}

/* Responsive styles */
@media (max-width: 768px) {
  .navbar-toggle {
    display: block;
  }

  .navbar-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #e5e5e5;
    position: absolute;
    left: 0;
    top: 100%;
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-links {
    flex-direction: column;
    width: 100%;
  }

  .navbar-links li {
    margin: 0;
    text-align: center;
    padding: 0.75rem 0;
  }

  .navbar-links li + li {
    border-top: 1px solid #f1f1f1;
  }
}
