/* Bossify Academy — Navbar (premium white bar, reference) */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: var(--white);
  border-bottom: 1px solid rgba(36, 7, 47, 0.07);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 10px 40px rgba(36, 7, 47, 0.09);
}

.navbar .container.flex-between {
  gap: 24px;
}

.navbar__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar__logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.navbar__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--purple);
  letter-spacing: -0.02em;
}

.navbar__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  flex: 1;
}

.navbar__links li { display: inline-block; }

.navbar__links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
  padding: 6px 0;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.navbar__links a:hover {
  color: var(--purple);
}

.navbar__links a:hover::after {
  transform: scaleX(1);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar__burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(36, 7, 47, 0.15);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.navbar__burger span {
  width: 20px;
  height: 2px;
  background: var(--purple);
  display: block;
  transition: var(--transition);
}

.navbar__burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__burger.active span:nth-child(2) { opacity: 0; }
.navbar__burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
@media (max-width: 1100px) {
  .navbar__links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 88vw);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 88px 28px 28px;
    gap: 8px;
    box-shadow: -12px 0 48px rgba(36, 7, 47, 0.15);
    overflow-y: auto;
  }

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

  .navbar__links li { width: 100%; }

  .navbar__links a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(36, 7, 47, 0.06);
  }

  .navbar__links a::after { display: none; }

  .navbar__burger { display: inline-flex; }
}
