/* Storks Now! navbar -- flat bar in the logo's arch blue, navy text, dark-blue selected pill.
   Ported from legacy's bootstrap-custom-navbar.css, rewritten for Bootstrap 5's nav-item/nav-link markup
   (legacy used Bootstrap 3's `.navbar-nav > li > a` structure) and .navbar-toggler (was .navbar-toggle).
   No dropdown-menu rules ported -- this nav has none. */

.navbar-custom {
  background-color: var(--sn-blue);
  border: none;
  box-shadow: 0 2px 10px rgba(11, 30, 61, 0.25);
  position: sticky;
  top: 0;
  z-index: 1030;
  /* Bootstrap 5's .navbar adds its own 0.5rem top/bottom padding on top of .navbar-brand's -- legacy's
     Bootstrap 3 navbar has no padding of its own, relying solely on the brand's padding/line-height for the
     bar's 50px height, so this needs zeroing out to match rather than stacking on top of it. */
  padding-top: 0;
  padding-bottom: 0;
}
.navbar-custom .navbar-brand {
  color: var(--sn-navy);
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 0.2px;
  /* 15px padding + 20px line-height = legacy's 50px-tall navbar. Bootstrap 3 hardcoded this same 20px
     line-height on .navbar-brand; Bootstrap 5 doesn't, inheriting the body's 1.5 line-height instead
     (18px * 1.5 = 27px), which is the rest of the height difference beyond the padding stacking above. */
  padding-top: 15px;
  padding-bottom: 15px;
  line-height: 20px;
}
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus {
  color: var(--sn-navy);
  opacity: 0.8;
}
.navbar-custom .nav-link {
  color: var(--sn-navy);
  border-radius: 20px;
  padding: 8px 16px;
  margin: 4px 3px;
  font-size: 14px;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
  color: var(--sn-navy);
  background-color: rgba(11, 30, 61, 0.12);
}
.navbar-custom .nav-link.active {
  color: #ffffff;
  background-color: var(--sn-blue-dark);
  font-weight: bold;
}
.navbar-custom .navbar-toggler {
  border-color: rgba(11, 30, 61, 0.4);
}
.navbar-custom .navbar-toggler:hover,
.navbar-custom .navbar-toggler:focus {
  background-color: rgba(11, 30, 61, 0.12);
}
/* Bootstrap's default toggler icon is a baked-in dark SVG background-image with no currentColor support,
   so recoloring to navy means overriding it with an equivalent inline SVG data URI. */
.navbar-custom .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(11, 30, 61, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
