/* Mobile Navigation Toggle */
.mobile-nav-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: transparent;
  border: none;
  color: var(--cyber-green);
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Mobile Sidebar Toggle */
.mobile-sidebar-toggle {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
  background: transparent;
  border: none;
  color: var(--cyber-green);
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-sidebar-toggle:hover {
  color: var(--cyber-blue);
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .mobile-sidebar-toggle {
    display: block;
  }

  /* Adjust main content when sidebar is open */
  main#content {
    margin-left: 0;
    width: 100%;
  }

  /* Show sidebar toggle next to hamburger menu */
  .mobile-nav-toggle {
    right: 70px;
  }
}

.mobile-nav-toggle:hover {
  color: var(--cyber-blue);
  transform: scale(1.1);
}

/* Mobile Menu Styles */
@media (max-width: 992px) {
  .mobile-nav-toggle {
    display: block;
  }

  .top-left,
  .top-right {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    padding: 80px 20px 20px;
    justify-content: flex-start;
    gap: 10px;
    clip-path: none;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  }

  .top-left {
    left: auto;
    right: -300px;
    justify-content: flex-start;
    background: var(--color-bg-secondary);
  }

  .top-right {
    right: -300px;
    top: 0;
    justify-content: flex-start;
    background: var(--color-bg-secondary);
  }

  .top-left.active,
  .top-right.active {
    transform: translateX(-300px);
  }

  .nav__menu {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .nav__menu-left,
  .nav__menu-right {
    flex-direction: column;
    width: 100%;
  }

  .nav__menu li {
    width: 100%;
  }

  .nav__link {
    width: 100%;
    margin: 5px 0 !important;
    text-align: left;
    padding: 12px 20px !important;
  }

  .nav__brand {
    position: fixed;
    left: 20px !important;
    transform: none !important;
    top: 10px;
    z-index: 1001;
  }

  .brand-logo {
    font-size: 1.8rem;
    padding: 10px 30px;
    height: auto;
  }
}