/* menu.css - Shared hamburger menu styles */

/* Hamburger Menu Styles */
.hamburger-menu {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
}

.hamburger-button {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hamburger-button:hover {
  background: rgba(29, 185, 84, 0.3);
  border-color: rgba(29, 185, 84, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(29, 185, 84, 0.3);
}

.hamburger-button span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-button:hover span {
  background: #1db954;
}

/* Hide hamburger when menu is open */
.side-menu.open ~ .hamburger-menu {
  opacity: 0;
  pointer-events: none;
}

/* Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100vh;
  background: rgba(18, 18, 18, 0.98);
  backdrop-filter: blur(20px);
  border-right: 2px solid rgba(255, 255, 255, 0.1);
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  overflow-y: auto;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.side-menu.open {
  left: 0;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 25px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-header h2 {
  color: #ffffff;
  font-size: 1.5em;
  margin: 0;
  font-weight: 600;
}

.menu-list {
  list-style: none;
  padding: 20px 0;
  margin: 0;
}

.menu-list li {
  margin: 0;
}

.menu-item {
  display: block;
  padding: 18px 25px;
  color: #b3b3b3;
  text-decoration: none;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-left-color: #1db954;
  padding-left: 30px;
}

.menu-item.active {
  color: #1db954;
  background: rgba(29, 185, 84, 0.1);
  border-left-color: #1db954;
  font-weight: 600;
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
  .side-menu {
    width: 280px;
    left: -280px;
  }
  
  .hamburger-menu {
    top: 8px;
    left: 8px;
  }
}