/*────────────────────────────────────────────────────────────────────────────
  NAVIGATION STYLES
────────────────────────────────────────────────────────────────────────────*/

/* Theme‐toggle (sun/moon icons) at top of nav */
.theme-toggle {
    color: var(--dark-text);
    cursor: pointer;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    width: 100%;
    transition: color 0.3s ease;
}

.theme-toggle:hover {
    color: var(--text);
}

/* Main “vertical” sidebar on desktop */
.main-nav {
    padding: 24px 0;
    position: sticky;
    top: 0;
    left: 0;
    height: 100vh;
    width: 120px;
    background: var(--background);
    border-right: 1px solid rgba(90,120,124,0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

/* NAV TOP container (if you need any extra wrapper) */
.nav-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 10px 0 10px;
    height: 60px;
}

/* “Hamburger” button (hidden on desktop) */
.hamburger {
    display: none;              /* → becomes visible under 768px in responsive.css */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    margin: 0 12px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--text);
    margin: 3px 0;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center; 
  }
  

/* Animate hamburger when active */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
    align-items: center;
    transition: all 0.3s;
    width: 100%;
}

.nav-links li {
    width: 100%;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-size: 16px;
    transition: color 0.3s;
    display: block;
    padding: 8px 0;
    text-align: center;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.language-toggle {
    margin-top: 32px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--dark-text);
    font-family: 'Inclusive Sans', sans-serif;
    font-size: 14px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--text);
}

.lang-separator {
    color: var(--dark-text);
    margin: 0 5px;
}
