/* Enhanced Mobile Menu */
.side-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--secondary-dark);
  z-index: 1001;
  transition: transform 0.4s var(--transition-bezier);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.side-menu.active {
  transform: translateX(-280px);
}

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

.side-menu-header .logo {
  display: flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
}

.side-menu-header .logo img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.close-menu {
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
}

.side-menu-content {
  flex: 1;
  padding: 20px 0;
}

.side-menu-nav {
  list-style: none;
}

.side-menu-nav li {
  margin-bottom: 5px;
}

.side-menu-nav a {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: var(--text-gray);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.side-menu-nav a:hover, 
.side-menu-nav a.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

.side-menu-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-gradient);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.side-menu-nav a:hover::before,
.side-menu-nav a.active::before {
  transform: scaleY(1);
}

.side-menu-nav .nav-icon {
  margin-right: 15px;
  font-size: 1.2rem;
  min-width: 20px;
  text-align: center;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.side-menu-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.side-menu-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tertiary-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  background: var(--accent-cyan);
}

.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

/* Updated hamburger button */
.menu-toggle {
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 1002;
  display: none;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--text-white);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.menu-toggle span:nth-child(1) {
  top: 0px;
}

.menu-toggle span:nth-child(2) {
  top: 10px;
}

.menu-toggle span:nth-child(3) {
  top: 20px;
}

.menu-toggle.active span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.menu-toggle.active span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* Responsive styles for mobile menu */
@media(max-width: 768px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
  }
  
  .desktop-menu {
    display: none !important;
  }

  .side-menu {
    width: 250px;
    right: -250px;
  }

  .side-menu.active {
    transform: translateX(-250px);
  }
} 