/* Mobile Navigation Styles */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
  background: var(--primary-color);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
  background: var(--primary-color);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    right: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--bg-card);
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 70px);
    text-align: left;
    transition: right 0.3s ease;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    padding: 2rem 0;
    border-left: 3px solid var(--primary-color);
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    padding: 1rem;
    display: block;
    margin: 0;
    color: var(--text-primary) !important;
    font-weight: 600;
    border-bottom: 1px solid var(--bg-tertiary);
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  .nav-link:hover {
    background: rgba(102, 126, 234, 0.1) !important;
    color: #1a202c !important;
    transform: translateX(10px);
  }

  .nav-link.active {
    background: var(--primary-color) !important;
    color: white !important;
    font-weight: 700;
  }

  .nav-link:last-child {
    border-bottom: none;
  }
}
