/* Fastgjort navbar */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e5e7ea;
  padding: 10px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 60px;      /* fast højde */
  z-index: 1000;
}

/* Skub indhold ned under navbar */
body > .container,
body > header,
body > main,
body > section {
  padding-top: 60px; /* samme værdi som navbar-højde */
}

/* Fortsæt med dine øvrige nav-container-regler */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1d1d1f;
  text-decoration: none;
}

/* Desktop menu */
.nav-menu {
  display: flex;
  gap: 20px;
}

.nav-link {
  color: #515154;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  background: #e5e5e7;
  color: #1d1d1f;
}

/* Hamburger toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  fill: #1d1d1f;
}

/* Mobile dropdown menu */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #ffffff;
    border: 1px solid #e5e5e7;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    width: 200px;
    z-index: 1001;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-link {
    padding: 12px 16px;
    border-bottom: 1px solid #f2f2f7;
  }
  .nav-link:last-child {
    border-bottom: none;
  }
}