/* ═══════════════════════════════════════════════════════════════
   nav.css — Teh Tarik Digital · Navigation
   TTD Standard — shared across all pages.
   ═══════════════════════════════════════════════════════════════ */

/* ── NAV — TTD Standard ────────────────────────────────────── */
nav:not(.nav-lang):not(.footer-col) {
  position:        sticky;
  top:             0;
  z-index:         100;
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  padding:         0 40px;
  height:          64px;
  background-color: rgba(5, 8, 15, 0.96);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom:   none;
}

.nav-logo {
  display:     flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  width:       150px;
  height:      52px;
  object-fit:  contain;
  display:     block;
}

.nav-right {
  display:     flex;
  align-items: center;
  gap:         32px;
}

.nav-links {
  display:    flex;
  align-items:center;
  gap:        28px;
  list-style: none;
}

.nav-links a {
  font-family:     var(--font-mono);
  font-size:       10px;
  letter-spacing:  2.5px;
  text-transform:  uppercase;
  color:           var(--text-nav);
  text-decoration: none;
  transition:      color 0.2s;
  white-space:     nowrap;
}

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

.nav-links a.nav-alliance {
  color:          var(--brand-gold);
  letter-spacing: 2px;
}
.nav-links a.nav-alliance:hover { color: #e8b040; }

.nav-sep {
  display:      block;
  width:        3px;
  height:       3px;
  background:   rgba(255,255,255,0.18);
  border-radius:50%;
  flex-shrink:  0;
}

.nav-lang {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.lang-divider {
  width: 1px;
  height: 10px;
  background: rgba(255, 255, 255, 0.15);
  display: inline-block;
  margin: 0 2px;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  padding: 4px 8px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s ease;
  position: relative;
}

.lang-btn:hover {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.lang-btn.active {
  color: var(--brand-blue);
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
  font-weight: 600;
}

.lang-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  background-color: var(--brand-blue);
  border-radius: 50%;
  box-shadow: 0 0 6px #00d2ff;
}

