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

   .nav-shell {
    position: fixed;
    top: 0; left: 0; right: 0;
    display: flex;
    justify-content: center;
    z-index: 100;
    pointer-events: none; /* allows header to float above */
  }
  
  header {
    width: min(1120px, 100% - 2.5rem);
    margin-top: 1.2rem;
    padding: 1rem 1.6rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(14px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: auto;
    transition: 0.3s ease;
  }
  
  
  /* =========================================================
     BRAND LOGO
     ========================================================= */
  
  .logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    color: var(--primary);
    text-transform: uppercase;
  }
  
  
  /* =========================================================
     MENU BUTTON (Hamburger)
     ========================================================= */
  
  .menu-btn {
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink);
    opacity: 0.8;
    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: #ffffff;
    border-left: 1px solid var(--border);
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    padding: 2rem;
    transition: right var(--transition);
    z-index: 200;
  }
  
  .menu-panel.open {
    right: 0;
  }
  
  /* Close button inside panel */
  .close-menu {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink);
    margin-bottom: 2rem;
  }
  
  
  /* =========================================================
     SIDE NAVIGATION LINKS (Inside Slide-Out Menu)
     ========================================================= */
  
  .side-nav {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
  }
  
  .side-nav a {
    font-size: 1.1rem;
    color: var(--primary);
    text-decoration: none;
    opacity: 0.85;
    transition: 0.2s ease;
  }
  
  .side-nav a:hover {
    opacity: 1;
    transform: translateX(4px);
  }
  
  
  /* =========================================================
     RIGHT-SIDE NAV CLUSTER (Lang Switch, Dark Mode, Menu)
     ========================================================= */
  
  .nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
  }
  
  
  /* =========================================================
     LANGUAGE SWITCHER
     ========================================================= */
  
  .lang-switch {
    display: flex;
    gap: 1rem;
  }
  
  /* Individual language option */
  .lang-switch span {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: #336699;
    opacity: 0.75;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    padding: 0;
    transition: opacity 0.25s ease, color 0.25s ease;
    position: relative;
  }
  
  /* Underline animation */
  .lang-switch span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px;
    background: #336699;
    transition: width 0.25s ease;
  }
  
  .lang-switch span:hover::after {
    width: 100%;
  }
  
  .lang-switch span:hover {
    color: #28507a;
    opacity: 1;
  }
  
  /* If using <button> instead of <span> */
  .lang-switch button {
    color: var(--primary);
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    opacity: 0.75;
    padding: 0;
    transition: opacity 0.25s ease, color 0.25s ease;
  }
  