.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: relative;
  z-index: 100;
  transition: 0.3s ease;
}

.burger span {
  width: 26px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger:active {
  transform: scale(0.95);
}

.nav-social {
  display: none;
}

/* ===============================
   RESPONSIVE MOBIL
   =============================== */
@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 165px;
    background: white;
    flex-direction: column;
    padding: 5rem 1rem 1rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -8px 0 20px rgba(0, 0, 0, 0.08);
    z-index: 50;
  }

  nav.show {
    transform: translateX(0);
  }

  /* ✅ Kun meny-lenkene (ikke ikonene) */
  nav > a {
    margin: 0;
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: right;
    opacity: 0;
    transform: translateX(20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
  }

  nav.show > a {
    opacity: 1;
    transform: translateX(0);
  }

  .burger {
    display: flex;
  }

  .header-social {
    display: none;
  }

  .nav-social {
    display: flex;
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    width: 100%;
    justify-content: center;
    gap: 0.15rem; /* tettere */
  }

  .nav-social::before {
    content: "";
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
  }

  .nav-social a svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
  }
}

.nav-social a {
  display: inline-flex;
  padding: 0.35rem; /* mindre luft */
  border-radius: 50%;
  color: #0f172a;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-social a:visited,
.nav-social a:active,
.nav-social a:focus {
  color: #0f172a;
  outline: none;
  box-shadow: none;
}

.nav-social a:active {
  transform: scale(0.9);
}
