/* ================================
   NAVBAR (Sticky + Responsive)
================================ */
.navbar{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  background: rgba(11,12,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);

  transition: transform .3s ease, background .3s ease;
}

.nav-container{
  width: min(1200px, 92%);
  margin: 0 auto;
  height: 68px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo{
  color: #16c0ff;
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
}

/* desktop nav */
.nav-links{
  display: flex;
  gap: 22px;
}

.nav-links a{
  color: rgba(255,255,255,0.78);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  position: relative;
  transition: color .2s ease;
}

.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0%;
  height:2px;
  background:#16c0ff;
  transition: width .25s ease;
}

.nav-links a:hover{
  color:#fff;
}

.nav-links a:hover::after,
.nav-links a.active::after{
  width:100%;
}

.nav-links a.active{
  color:#16c0ff;
}

/* hamburger */
.nav-toggle{
  display:none;
  flex-direction:column;
  gap:6px;
  background:none;
  border:0;
  cursor:pointer;
}

.nav-toggle span{
  width:26px;
  height:2px;
  background:#fff;
}

/* ================================
   MOBILE
================================ */
@media (max-width: 900px){
  .nav-toggle{
    display:flex;
  }

  .nav-links{
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: rgba(11,12,15,0.95);
    backdrop-filter: blur(14px);

    flex-direction: column;
    gap: 18px;
    padding: 22px;

    transform: translateY(-120%);
    transition: transform .25s ease;
  }

  .nav-links.show{
    transform: translateY(0);
  }

  .nav-links a{
    font-size: 16px;
  }
}

/* add spacing so content is not hidden */
body{
  padding-top: 68px;
}
