/* =========================================================
   NAVIGATION — WRAPPER & CONTAINER
   ========================================================= */

.nav-shell {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: center;
  z-index: 100;
  pointer-events: none;
}

.nav-header {
  width: min(1120px, 100% - 2.5rem);
  margin-top: 1.2rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;

  background: rgba(247, 244, 239, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(216, 192, 143, 0.25);

  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
  transition: 0.3s ease;
}

/* =========================================================
   BRAND LOGO
   ========================================================= */

.logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--espresso);
  text-transform: uppercase;
}

/* =========================================================
   MENU BUTTON
   ========================================================= */

.menu-btn {
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--espresso);
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.menu-btn:hover {
  opacity: 1;
}

/* =========================================================
   SLIDE-OUT MENU PANEL
   ========================================================= */

.menu-panel {
  position: fixed;
  top: 0; right: -320px;
  width: 320px;
  height: 100vh;

  background: var(--bg);
  border-left: 1px solid var(--sand);
  box-shadow: -10px 0 40px rgba(0,0,0,0.08);

  padding: 2rem;
  transition: right 0.35s ease;
  z-index: 200;
}

.menu-panel.open {
  right: 0;
}

.close-menu {
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--espresso);
  margin-bottom: 2rem;
}

/* =========================================================
   SIDE NAV LINKS
   ========================================================= */

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.side-nav a {
  font-size: 1.1rem;
  color: var(--espresso);
  text-decoration: none;
  opacity: 0.85;
  transition: 0.2s ease;
}

.side-nav a:hover {
  opacity: 1;
  transform: translateX(4px);
  color: var(--gold-deep);
}

/* =========================================================
   LANGUAGE SWITCHER
   ========================================================= */

.lang-switch {
  display: flex;
  gap: 1rem;
}

.lang-switch button {
  font-size: 0.85rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--espresso);
  opacity: 0.75;
  position: relative;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.lang-switch button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.lang-switch button:hover::after {
  width: 100%;
}

.lang-switch button:hover {
  opacity: 1;
  color: var(--gold-deep);
}

/* =========================================================
   DARK MODE TOGGLE
   ========================================================= */

.dark-toggle-icon {
  margin-left: 0.6rem;
  cursor: pointer;
  color: var(--espresso);
  opacity: 0.75;
  transition: opacity 0.25s ease;
}

.dark-toggle-icon:hover {
  opacity: 1;
}

.moon-icon {
  font-size: 1.2rem;
}
