/* ── Navbar ── */
.navbar {
  padding: 10px 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  overflow: hidden;
  transition: background-color 0.35s ease, padding 0.35s ease;
}

#navBtn {
  display: none;
}

.navbar--scrolled {
  background-color: var(--color-primary);
  padding: 7px 1rem;
}

.navbar-logo {

}

.navbar-logo img {
  height: 60px;
  transition: height 0.35s ease;
}

.navbar--scrolled .navbar-logo img {
  height: 46px;
}

.navbar-links {
  display: none;
  list-style: none;
  gap: 2rem;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.navbar-links a {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  padding-bottom: 2px;
}
.navbar-links a:hover,
.navbar-links a.active {
  color: var(--color-secondary);
}

.navbar-right { display: flex; align-items: center; gap: 1rem; overflow: hidden; }

/* Language switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.lang-switch__btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  padding: 0;
  transition: color 0.2s;
}

.lang-switch__btn--active {
  color: #fff;
}

.lang-switch__sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  font-family: var(--font-secondary);
}

/* Hamburger */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  overflow: hidden;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile dropdown */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: var(--color-primary);
  border-bottom: 2px solid var(--color-accent);
  position: fixed;
  top: 83px;
  left: 0;
  width: 100%;
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--color-text);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--color-accent);
  transition: color 0.2s, background 0.2s;
}
.mobile-menu a:hover { color: var(--color-secondary); background-color: #1a0010; }
.mobile-menu a:last-child { border-bottom: none; }

/* Desktop: hide hamburger, show links */
@media (min-width: 768px) {
  .navbar-links { display: flex; }
  .hamburger { display: none; }

  .navbar-logo img {
    height: 75px;
  }

  .navbar--scrolled .navbar-logo img {
    height: 56px;
  }

  .navbar--scrolled {
    padding: 13px 2rem;
  }

  .navbar {
    padding: 1rem 2rem;
  }

  .lang-switch {
    padding: 0.4rem 0.85rem;
  }

  .lang-switch__btn,
  .lang-switch__sep {
    font-size: 0.95rem;
  }
}

/* Contact CTA button */
.primary-button {
  display: none;
  background: var(--color-secondary);
  color: var(--color-text-inverse);
  font-family: var(--font-secondary);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.primary-button:hover { opacity: 0.8; }
.primary-button--active { opacity: 0.6; pointer-events: none; }

@media (min-width: 1024px) {
  .primary-button {
    display: inline-flex;
    align-items: center;
  }

  .lang-switch {
    padding: 0.25rem 1rem;
  }

  .lang-switch__btn,
  .lang-switch__sep {
    font-size: 1.05rem;
  }

  #navBtn {
    display: flex;
  }
}
