/* =============================
   ** LANDING PAGE NAVBAR STYLES **
   ============================= */

.navbar {
  position: fixed;
  top: var(--nav-top);
  right: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--glass-bg);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  box-sizing: border-box;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  z-index: 9991;
  margin: 0;
  padding: 0;
  gap: 12px;
  align-items: center;
}

.nav-menu li {
  display: flex;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--navbar-text-color);
  padding: 10px 15px;
  font-weight: 500;
  z-index: 9995;
  position: relative;
}

/* =============================
   ** NAVBAR CONTACT BUTTON **
   Matches link sizing but reads as a button.
   ============================= */
.nav-contact-btn {
  background: var(--accent-color);
  color: #1a1a1a;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.nav-contact-btn:hover {
  background: var(--accent-strong);
}

.slider {
  position: absolute;
  height: 4.33dvh;
  background: var(--accent-color);
  border-radius: 7px;
  z-index: 9990;
  transition: all 0.3s ease;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.nav-overlay.nav-overlay-visible {
  opacity: 1;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 9992;
  position: relative;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--navbar-text-color);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .slider {
    display: none;
  }
  .nav-menu {
    position: fixed;
    right: -100%;
    top: 0;
    flex-direction: column;
    background-color: rgba(26, 26, 26, 0.95);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding-right: 20px;
    padding-left: 20px;
    box-sizing: border-box;
    gap: 10px;
  }
  .nav-menu li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-menu a {
    padding: 10px 0;
    display: block;
    font-size: 18px;
    font-weight: 500;
  }

  .nav-contact-btn {
    width: 100%;
    padding: 12px 0;
    font-size: 18px;
    font-weight: 700;
  }
  .nav-menu.nav-menu-open {
    right: 0;
  }
}