/* ===================================================
   VideoDoc — Navbar
   =================================================== */

.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px;
  transition: background .3s ease, box-shadow .3s ease;
}
.navbar.scrolled {
  background: rgba(10,26,20,.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,.2);
}

.navbar__inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.navbar__logo img { height: 52px; width: auto; }

.navbar__links {
  display: flex; align-items: center; gap: 8px;
}
.navbar__links a {
  font-family: var(--font-display); font-size: .875rem; font-weight: 500;
  color: rgba(255,255,255,.8); padding: 8px 16px; border-radius: var(--radius-sm);
  transition: var(--transition);
}
.navbar__links a:hover { color: #fff; background: rgba(255,255,255,.08); }

.navbar__cta {
  display: flex; align-items: center; gap: 12px;
}
.navbar__cta .btn-login {
  font-family: var(--font-display); font-size: .875rem; font-weight: 600;
  color: rgba(255,255,255,.85); padding: 8px 16px;
  border-radius: var(--radius-sm); transition: var(--transition);
}
.navbar__cta .btn-login:hover { color: #fff; }

/* Mobile */
.navbar__hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 32px; cursor: pointer; padding: 4px;
}
.navbar__hamburger span {
  display: block; height: 2px; background: #fff; border-radius: 2px;
  transition: var(--transition);
}

.navbar__mobile {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: var(--brand-dark);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 24px;
}
.navbar__mobile.open { display: flex; }
.navbar__mobile a {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  color: #fff; padding: 12px 24px;
}
.navbar__mobile-close {
  position: absolute; top: 24px; right: 24px;
  color: #fff; font-size: 1.8rem; cursor: pointer;
  background: none; border: none; padding: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
}
.navbar__mobile-close svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 900px) {
  .navbar__links { display: none; }
  .navbar__hamburger { display: flex; }
}
@media (max-width: 600px) {
  .navbar__cta .btn { display: none; }
}
