/* menu.css */

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Inter, system-ui, -apple-system, sans-serif; }

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* Increased navbar height slightly to give the larger logo more space */
  height: 72px; 
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  gap: 1rem;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0; 
  z-index: 1000;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.brand img {
  /* Increased the height significantly */
  height: 70px; 
  /* Ensure width scales proportionally */
  width: auto;
  /* Prevent other max-height rules from interfering */
  max-height: none; 
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 8px;
  background: #374151; 
  color: #ffffff;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color .2s;
}

#logoutButton.nav-btn {
  padding: 0.6rem;
}

.nav-btn:hover {
  background-color: #4b5563;
}

/* ---------- Mobile tweaks (≤ 640px) ---------- */
@media (max-width: 640px) {
  .navbar {
    height: 56px;
    padding: 0 0.75rem;
  }
  .brand img {
    height: 40px;
  }
  .nav-links {
    gap: 0.5rem;
  }
  .nav-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    min-height: 40px; /* bigger touch target */
  }
  #logoutButton.nav-btn {
    padding: 0.45rem;
  }
}

@media (max-width: 430px) {
  .menu {
    padding: 0.3rem 0.5rem;
    gap: 0.3rem;
  }
  .menu a,
  .menu button {
    font-size: 12px;
    padding: 0.25rem 0.5rem;
  }
}