/* Mobile Menu Button Fix */
.mobile-menu-btn {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
  position: relative;
  outline: none;
  touch-action: manipulation;
}

/* Enhanced hover state */
.mobile-menu-btn:hover .menu-bar {
  background-color: var(--primary-color);
}

/* Make menu bars more visible */
.menu-bar {
  width: 100%;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: left;
  pointer-events: none;
}

/* Increase touch target area */
@media (max-width: 768px) {
  .mobile-menu-btn {
    padding: 10px;
    margin: -10px;
  }

  /* Ensure nav links display properly when active */
  .nav-links.active {
    left: 0;
    display: flex;
    opacity: 1;
    visibility: visible;
  }

  /* Ensure nav container doesn't block menu button */
  .nav-container {
    position: relative;
  }

  /* Make menu animation more obvious */
  .mobile-menu-btn.active .menu-bar:first-child {
    transform: rotate(45deg);
    width: 100%;
    background-color: var(--primary-color);
  }

  .mobile-menu-btn.active .menu-bar:nth-child(2) {
    opacity: 0;
    width: 0;
  }

  .mobile-menu-btn.active .menu-bar:last-child {
    transform: rotate(-45deg);
    width: 100%;
    background-color: var(--primary-color);
  }
}
