/* Kolibri Navigation — floating rounded bar (light only) */
:root {
  --logo-size: 28px;
  --peach: #FEF1D5;
  --lilac: #EECDF6;
  --bg: #FEFCFA;         /* unified with footer */
  --text: #1f1f1f;
  --line: #eaeaea;
}

/* Sticky container (transparent wrapper) */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: .5rem clamp(.75rem, 2.5vw, 1.25rem);
  background: transparent;
  backdrop-filter: none;
}

/* Floating rounded inner bar */
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: .6rem .9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  /* softer neutral gradient instead of peach */
  background: linear-gradient(180deg, #FEFCFA 0%, #FFFFFF 80%);
  border: 1px solid var(--line);
  border-radius: 9999px;
  box-shadow: 0 8px 28px rgba(0,0,0,.05);
  backdrop-filter: saturate(140%) blur(6px);
}

/* Branding (left) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: .2px;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: var(--logo-size);
  height: var(--logo-size);
  display: block;
}

/* Links (right) */
.nav-links {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--lilac);
  background: #fff;
  color: var(--text);
  font-weight: 500;
  box-shadow: 0 0 8px rgba(238,205,246,.6);
  transition: box-shadow .2s, transform .2s, background .2s, color .2s;
}

.nav-links a:hover,
.nav-links a:focus {
  box-shadow: 0 0 14px rgba(238,205,246,1);
  transform: translateY(-1px);
}

/* Active/current link */
.nav-links a[aria-current="page"],
.nav-links a.active {
  background: var(--lilac);
  color: var(--text);
  box-shadow: none;
  border-color: var(--lilac);
  font-weight: 600;
}

/* Burger button (mobile) */
.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .4rem .55rem;
  cursor: pointer;
}
.nav-toggle:focus {
  outline: 2px solid var(--lilac);
  outline-offset: 2px;
}
.nav-toggle svg {
  display: block;
  width: 22px;
  height: 22px;
}

/* ===== Mobile dropdown ===== */
@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .nav-inner { position: relative; }

  .nav-links {
    position: absolute;
    left: .5rem; right: .5rem;
    top: calc(100% + .5rem);
    z-index: 100;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0,0,0,.10);
    display: none;
    flex-direction: column;
    gap: 0;
    padding: .25rem;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem 1rem;
    border-radius: 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    font-weight: 600;
  }

  .nav-links a:hover,
  .nav-links a:focus {
    background: rgba(0,0,0,.04);
  }

  .nav-links a[aria-current="page"],
  .nav-links a.active {
    background: var(--lilac);
    color: var(--text);
    font-weight: 700;
  }
}
