/* =========================
   NAVBAR BASE
========================= */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  height: 72px;
  z-index: 1000;
  background: var(--navbar-bg);
  backdrop-filter: blur(14px);
  border-bottom: var(--border-light);

  transition: height 400ms cubic-bezier(.2,.8,.2,1);

  overflow: hidden;
}

.navbar-toggle {
    display: none;
  }

/* =========================
   CONTAINER
========================= */
.navbar-container {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
}

/* =========================
   LOGO
========================= */
.navbar-logo {
  height: 100%;
  padding: 10px;
}


.navbar-logo img{
  height: 100%;
}

/* =========================
   DESKTOP MENU
========================= */
.navbar-links {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}

.navbar-links button {
  font-size: var(--text-base);
  padding: 10px;
}

/* =========================
   HAMBURGER
========================= */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--color-black);
  z-index: 1100;
}

/* =========================
   OVERLAY
========================= */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

/* =========================
   MOBILE MENU
========================= */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;

  padding: 1rem 1.5rem;

  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;

  transition: all 400ms cubic-bezier(.2,.8,.2,1);

}








/* =========================
MOBILE MODE
========================= */
@media (max-width: 768px) {


  /* =========================
     MOBILE OPEN STATE
  ========================= */
  .navbar.open .mobile-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .navbar.open .mobile-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .navbar-links,
  .navbar-cta {
    display: none;
  }

  .navbar-toggle {
    display: block;
  }
}






@media (min-width: 768px) {
  .navbar{
    height: 72px !important;
  }
}