/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 1.5rem;
  height: 62px;
  display: flex;
  align-items: center;
  background: rgba(13, 13, 13, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 224, 255, 0.08);
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(13, 13, 13, 0.96);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.nav-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  font-family: 'Fira Code', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: #39ff14;
  text-decoration: none;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: color 0.2s;
}
.nav-logo:hover { color: #00e0ff; }
.logo-bracket { color: #00e0ff; }

/* Nav links */
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-family: 'Fira Code', monospace;
  font-size: 0.88rem;
  color: #b0c4c4;
  text-decoration: none;
  padding: 0.4em 0.85em;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1.5px;
  background: #39ff14;
  transition: width 0.25s;
  border-radius: 2px;
}
.nav-link:hover { color: #39ff14; background: rgba(57, 255, 20, 0.06); }
.nav-link:hover::after { width: 60%; }
.nav-link.active { color: #39ff14; }
.nav-link.active::after { width: 60%; }

/* Right icons */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-icon-link {
  color: #b0c4c4;
  display: flex;
  align-items: center;
  transition: color 0.2s, transform 0.2s;
  padding: 4px;
  border-radius: 6px;
}
.nav-icon-link:hover { color: #00e0ff; transform: translateY(-1px); }

.nav-resume-btn {
  font-family: 'Fira Code', monospace;
  font-size: 0.82rem;
  color: #39ff14;
  border: 1px solid #39ff14;
  border-radius: 6px;
  padding: 0.35em 0.9em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.2);
}
.nav-resume-btn:hover {
  background: #39ff14;
  color: #0d0d0d;
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.5);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #b0c4c4;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.2s;
}
.nav-hamburger:hover span { background: #39ff14; }
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Offset for fixed navbar */
#hero { padding-top: 62px; }

/* Mobile */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-resume-btn { display: none; }
  .nav-icons .nav-icon-link { display: none; }

  .nav-links {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.97);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0, 224, 255, 0.1);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    align-items: flex-start;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-link { font-size: 1rem; padding: 0.6em 0; }
  .nav-icons { margin-left: auto; }
  .nav-icons .nav-icon-link { display: flex; }
}

/* Footer */
.site-footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(0, 224, 255, 0.08);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.footer-inner { max-width: 600px; margin: 0 auto; }
.footer-name {
  font-family: 'Fira Code', monospace;
  color: #39ff14;
  font-size: 1rem;
  margin: 0 0 0.25rem;
}
.footer-tagline {
  color: #b0c4c4;
  font-size: 0.88rem;
  margin: 0 0 1rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.footer-links a {
  color: #00e0ff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #39ff14; }
.footer-dot { color: #444; }
.footer-copy { color: #555; font-size: 0.78rem; margin: 0; }
