
.portfolio-navbar{
  position: sticky;
  top: 0;
  z-index: 1000;

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

  padding: 20px 48px;

  background: rgba(89, 2, 2, 0.55);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(255,244,196,.18);
}


.nav-brand{
  font-weight: 800;
  letter-spacing: .12em;
  color: #FFF4C4;
  font-size: .95rem;
  text-transform: uppercase;
  text-decoration: none;
}


.nav-right{
  display: flex;
  gap: 14px;
}

.nav-pill{
  height: 44px;
  padding: 0 26px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  font-size: .95rem;
  font-weight: 700;

  transition: all .2s ease;
}


.nav-pill.outline{
  border: 1px solid #FFF4C4;
  color: #FFF4C4;
  background: transparent;
}

.nav-pill.active{
  box-shadow: 0 0 0 2px rgba(255,244,196,.35);
}



.nav-pill.fill{
  background: #FFF4C4;
  color: #111;
}


.nav-pill:hover{
  transform: translateY(-2px);
  opacity: .9;
}


@media (max-width: 768px){
  .portfolio-navbar{
    flex-direction: column;
    gap: 14px;
    padding: 16px 20px;
  }

  .nav-right{
    flex-wrap: wrap;
    justify-content: center;
  }
}

.nav-left{
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  justify-content: space-between;
}

.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,244,196,.08);
  border: 1px solid rgba(255,244,196,.25);
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span{
  display: block;
  height: 2px;
  width: 100%;
  background: #FFF4C4;
  border-radius: 2px;
  margin: 6px 0;
  transition: transform .2s ease, opacity .2s ease;
}


@media (max-width: 768px){
  .portfolio-navbar{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 16px;
  }

  .nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }


  .nav-right{
    display: none;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
  }

  .nav-right.open{
    display: flex;
  }


  .nav-pill{
    width: 100%;
    justify-content: center;
  }
}


.nav-toggle.open span:nth-child(1){
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2){
  opacity: 0;
}
.nav-toggle.open span:nth-child(3){
  transform: translateY(-8px) rotate(-45deg);
}

