/* Mobile Toggle Menu */
.mobile-menu-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: none;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle img {
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover img {
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(0, 217, 255, 0.8));
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  max-width: 85%;
  height: 100%;
  background: linear-gradient(135deg, #0a192f 0%, #0f1e35 100%);
  z-index: 9999;
  transition: right 0.3s ease;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.mobile-menu-panel.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 2px solid rgba(0, 217, 255, 0.3);
  background: rgba(0, 30, 50, 0.5);
}

.mobile-menu-title {
  color: #00D9FF;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: rgba(0, 217, 255, 0.2);
  color: #00D9FF;
  transform: rotate(90deg);
}

.mobile-menu-nav {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-menu-nav a {
  display: block;
  padding: 14px 18px;
  margin-bottom: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  background: rgba(20, 40, 60, 0.5);
  border-radius: 8px;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
  color: #00D9FF;
  background: rgba(0, 217, 255, 0.15);
  border-left-color: #00D9FF;
  transform: translateX(5px);
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .header-menu {
    display: none !important;
  }
}
