/* NAVIGATION — tokitauhid.me */

.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  z-index: var(--z-nav);
  padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  pointer-events: none;
  opacity: 0;
  width: auto;
  max-width: 680px;
  min-width: min(560px, 90vw);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-round);
  box-shadow: var(--glass-shadow);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}
.nav.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.nav.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(-80px);
  pointer-events: none;
}

.nav-logo {
  font-family: var(--font-heading); font-weight: var(--weight-bold);
  font-size: 1.3rem; color: var(--text-primary); cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  transition: transform var(--duration-fast) ease; pointer-events: all;
  text-decoration: none;
}
.nav-logo:hover { transform: scale(0.95); }
.nav-logo:active { transform: scale(0.88) rotate(2deg); }
.nav-logo .logo-dot {
  width: 8px; height: 8px; background: var(--accent);
  border-radius: 50%; display: inline-block;
}

.nav-buttons {
  display: flex; align-items: center; gap: 12px; pointer-events: all;
}

/* CTA Button */
.nav-cta {
  background: var(--accent); color: var(--text-primary);
  padding: 10px 24px; border-radius: var(--radius-round);
  font-family: var(--font-body); font-size: var(--small);
  font-weight: var(--weight-medium); transition: all var(--duration-fast) ease;
  cursor: pointer; border: none; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-cta:hover {
  background: #7D75FF; transform: scale(0.96);
  box-shadow: 0 0 30px var(--accent-soft);
}
.nav-cta:active { transform: scale(0.9) rotate(2deg); }

/* CV Button */
.nav-cv {
  padding: 10px 20px; border-radius: var(--radius-round);
  background: transparent; border: 1px solid var(--border);
  color: var(--text-secondary); font-family: var(--font-body);
  font-size: var(--small); font-weight: var(--weight-medium);
  transition: all var(--duration-fast) ease;
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-cv:hover {
  border-color: var(--accent); color: var(--accent);
  transform: scale(0.96);
}
.nav-cv svg { width: 14px; height: 14px; }

/* Menu button */
.menu-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border-radius: var(--radius-md);
  background: var(--bg-elevated); border: 1px solid var(--border);
  transition: all var(--duration-fast) ease; position: relative;
}
.menu-btn:hover {
  background: var(--bg-surface); border-color: var(--border-hover);
  transform: scale(0.94);
}
.menu-btn:active { transform: scale(0.86) rotate(3deg); }
.menu-dots {
  display: grid; grid-template-columns: 5px 5px; gap: 3px;
}
.menu-dots .m-dot {
  width: 5px; height: 5px; background: var(--text-secondary);
  border-radius: 50%; transition: background var(--duration-fast) ease;
}
.menu-btn:hover .m-dot { background: var(--text-primary); }
.menu-btn.active .m-dot { background: var(--accent); }

/* FULLSCREEN MENU */
.fullscreen-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--bg-overlay); backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease-out-expo), visibility 0.4s;
}
.fullscreen-menu.open { opacity: 1; visibility: visible; }
.menu-content {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; max-width: 1000px; width: 90%;
}
.menu-links {
  display: flex; flex-direction: column; gap: 8px;
}
.menu-link {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: var(--weight-bold);
  color: var(--text-muted); cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  transform: translateX(-20px); opacity: 0;
  text-decoration: none; display: block;
}
.fullscreen-menu.open .menu-link {
  transform: translateX(0); opacity: 1;
  transition: color 0.2s ease, transform 0.5s var(--ease-out-expo), opacity 0.5s ease;
}
.menu-link:nth-child(1){transition-delay:.05s}
.menu-link:nth-child(2){transition-delay:.1s}
.menu-link:nth-child(3){transition-delay:.15s}
.menu-link:nth-child(4){transition-delay:.2s}
.menu-link:nth-child(5){transition-delay:.25s}
.menu-link:hover { color: var(--text-primary); transform: translateX(10px); }
.menu-link.active { color: var(--accent); }

.menu-right {
  display: flex; flex-direction: column; gap: 40px; padding-top: 20px;
  transform: translateX(20px); opacity: 0;
  transition: transform 0.6s var(--ease-out-expo) 0.2s, opacity 0.6s ease 0.2s;
}
.fullscreen-menu.open .menu-right {
  transform: translateX(0); opacity: 1;
}
.menu-section-title {
  font-size: var(--label); color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 12px;
}
.menu-info-list {
  display: flex; flex-direction: column; gap: 8px;
}
.menu-info-list a {
  color: var(--text-secondary); font-size: var(--small);
  transition: color 0.2s ease; text-decoration: none;
}
.menu-info-list a:hover { color: var(--accent); }
.menu-social {
  display: flex; gap: 16px;
}
.menu-social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); background: var(--bg-elevated);
  border: 1px solid var(--border); color: var(--text-secondary);
  transition: all 0.2s ease; font-size: 1rem; text-decoration: none;
}
.menu-social a:hover {
  background: var(--accent-soft); border-color: var(--border-accent);
  color: var(--accent); transform: translateY(-2px);
}
.menu-social a svg { width: 18px; height: 18px; }
