/* ===================================== NAVBAR STYLES ======================================== */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary);
  padding: 0.5rem 2rem;
  color: var(--white);
  border-bottom: 3px solid var(--primary-bg);
}

.nav-inner-div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 94%;
}

.navbar a {
  align-content: center;
}

nav ul li i {
  margin-right: 0.5rem;
}

#ur-nav-links-list i {
  margin-right: 0rem;
  margin-left: 0.5rem;
}

.logo {
  width: 10rem;
  height: 4rem;
  cursor: pointer;
}

#navLinksDesktop {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

#navLinksDesktop li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 2px;
  position: relative;
  transition: color 0.25s;
  font-size: 1.1rem;
}


.nav-links li a:hover {
  color: var(--yellow);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  background: var(--yellow);
  left: 50%;
  bottom: 0;
  transition: all 0.2s ease-in-out;
}

.nav-links li a:hover::after {
  width: 100%;
  left: 0;
}

/* ================================== TOGGLE BUTTONS ================================================== */

/* .desktop-toggles {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.toggle-btn {
  background-color: transparent;
  color: var(--white);
  min-width: 2.3rem;
  border: none;
  cursor: pointer;
  font-size: 1.7rem;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.toggle-btn:hover {
  color: var(--yellow);
  transform: scale(1.1);
} */

/* ========================================== HAMBURGER MENU ================================ */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5.5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger .bar {
  height: 4px;
  width: 2.6em;
  background: var(--white);
  border-radius: 4px;
  transition: all 0.2s ease;
}


.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

/* ================================== MOBILE NAVIGATION DROPDOWN ================================ */

.mobile-nav-dropdown {
  position: absolute;
  z-index: 1002;
  top: 60px;
  right: 20px;
  width: 260px;
  background: #1f1f1f;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  transition: all 0.3s ease;
}

.mobile-nav-dropdown.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.mobile-nav-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  z-index: 1000;
}

.mobile-nav-dropdown ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateX(20px);
}

.mobile-nav-dropdown.active li {
  animation: bounceSlideIn 0.6s ease-out forwards;
}

.mobile-nav-dropdown.active li:nth-child(1) {
  animation-delay: 0.1s;
}

.mobile-nav-dropdown.active li:nth-child(2) {
  animation-delay: 0.2s;
}

.mobile-nav-dropdown.active li:nth-child(3) {
  animation-delay: 0.3s;
}

.mobile-nav-dropdown.active li:nth-child(4) {
  animation-delay: 0.4s;
}

.mobile-nav-dropdown.active li:nth-child(5) {
  animation-delay: 0.5s;
}

.mobile-nav-dropdown a {
  display: block;
  padding: 14px 20px;
  text-decoration: none;
  color: #fff;
  font-size: 17px;
  transition: all 0.3s ease;
}

.mobile-nav-dropdown a:hover {
  color: var(--yellow);
  padding-left: 2.5em;
}

/* =================================== NAV BAR ANIMATIONS [KEYFRAMES] =================================================== */

@keyframes bounceSlideIn {
  0% {
    opacity: 0;
    transform: translateX(30px) scale(0.95);
  }

  60% {
    transform: translateX(-5px) scale(1.02);
    opacity: 1;
  }

  80% {
    transform: translateX(2px) scale(0.99);
  }

  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

/* =================================== NAV BAR RESPONSIVE =============================== */

@media screen and (max-width: 820px) {

    .logo {
    width: 7rem;
    height: 2.5rem;
  }

  .hamburger {
    display: flex;
  }

  .navbar #navLinksDesktop {
    display: none;
  }

  .navbar {
    padding: 0.28rem 1rem;
  }
}


/* =================================== NAV BAR COMPLETED ======================================== */
