/* NAVBAR */
.navbar {
  background: #ff3131;
  color: #fff;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  min-height: 56px; /* ensures comfortable tap target */
}

.nav-inner {
  max-width: 64rem; /* ~1024px */
  margin: 0 auto;
  padding: .5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: #fff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
}

.brand-logo {
  display: block;
  height: 32px;     /* <-- controls the visual size */
  width: auto;      /* keep aspect ratio */
  object-fit: contain;
}

/* keep text nicely aligned with the logo */
.brand span {
  line-height: 1;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: .5rem .75rem;
  border-radius: 10px;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
  font-weight: 600;
}

.nav-links a:hover {
  background: rgba(255,255,255,0.15);
}

.nav-links a.active {
  background: #fff;
  color: #ff3131;
  box-shadow: 0 0 0 2px #fff inset;
}

/* Mobile tweak */
@media (max-width: 420px) {
  .nav-inner { padding: .5rem .75rem; }
  .brand span { display: none; } /* show just the logo on very small screens */
}
