/* NAVBAR VARIABLES */
:root {
  --nav-h: 78px;
  --brand-accent: #2563eb;
  --brand-accent-hover: #1d4ed8;
  --card-bg: #ffffff;
  --border-color: #e5e7eb;
  --text-main: #1f2937;
  --transition: all 0.25s ease;
}

/* NAVBAR CORE */
.navbar {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  height: var(--nav-h);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 25px; /* NOW sits below copyright */
  left: 0; right: 0;
  z-index: 2000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-accent);
  text-decoration: none;
}

.brand-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  padding: 10px 4px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--brand-accent);
  transform: translateY(-1px);
}

/* RIGHT SIDE */
.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-cta {
  padding: 10px 18px;
  background: var(--brand-accent);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.nav-cta:hover {
  background: var(--brand-accent-hover);
  transform: translateY(-2px);
}

/* MOBILE */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger div {
  width: 26px;
  height: 3px;
  background: var(--text-main);
  border-radius: 4px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 22px;
  position: fixed;
  top: calc(25px + var(--nav-h));
  left: 0; right: 0;
  z-index: 1900;
}

.mobile-menu a {
  padding: 14px 0;
  text-decoration: none;
  color: var(--text-main);
  border-bottom: 1px solid #eee;
}

/* Push content down */
.body-offset {
  margin-top: calc(25px + var(--nav-h));
}

/* Responsive */
@media (max-width: 950px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}