
.menu-btn {
  background: linear-gradient(135deg, #212121 0%, #424242 100%);
  color: white;
  width: 45px;
  height: 45px;
  padding: 0;
  font-size: 18px;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  position: fixed;
  top: 12px;
  left: 15px;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.menu-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #424242 0%, #61616100 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.menu-btn:hover::before {
  opacity: 1;
}

.menu-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(33, 33, 33, 0.6);
}

.menu-btn:active {
  transform: scale(0.95);
}

/* Animated hamburger lines */
.menu-btn-content {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-line {
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-btn:hover .menu-line:nth-child(1) {
  transform: translateY(-2px);
}

.menu-btn:hover .menu-line:nth-child(3) {
  transform: translateY(2px);
}

/* Pulsing animation to draw attention */
@keyframes pulse {
  0% {
    box-shadow: 0 8px 25px rgba(33, 33, 33, 0.4);
  }
  50% {
    box-shadow: 0 8px 25px rgba(33, 33, 33, 0.8), 0 0 0 10px rgba(33, 33, 33, 0.1);
  }
  100% {
    box-shadow: 0 8px 25px rgba(33, 33, 33, 0.4);
  }
}

.menu-btn {
  animation: pulse 2s infinite;
}

.menu-btn:hover {
  animation: none;
}

/* Enhanced Nav Drawer */
.nav-drawer {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, #212121 0%, #424242 100%);
  overflow-x: hidden;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding-top: 80px;
  box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3);
}

.nav-drawer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.01)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.nav-drawer .closebtn {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 32px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.nav-drawer .closebtn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.nav-drawer .nav-item {
  padding: 20px 30px;
  display: block;
  text-align: center;
  transition: all 0.4s ease;
  margin: 5px 20px;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.nav-drawer .nav-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.nav-drawer .nav-item:hover::before {
  left: 100%;
}

.nav-drawer .nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(10px) scale(1.02);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-drawer .nav-item img {
  width: 80%;
  height: auto;
  filter: brightness(0.9) saturate(1.1);
  transition: all 0.4s ease;
  border-radius: 10px;
}

.nav-drawer .nav-item:hover img {
  filter: brightness(1.1) saturate(1.3);
  transform: scale(1.05);
}

.nav-drawer img {
  width: 80%;
  height: auto;
  margin: 10px 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.nav-drawer a {
  padding: 8px;
  text-decoration: none;
  font-size: 18px;
  color: #f0f0f0;
  display: block;
  transition: all 0.3s ease;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-drawer a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .menu-btn {
    width: 55px;
    height: 55px;
    top: 15px;
    left: 15px;
  }
  
  .nav-drawer {
    padding-top: 70px;
  }
  
  .nav-drawer .nav-item {
    margin: 3px 15px;
    padding: 15px 20px;
  }
}

/* Add some micro-interactions */
.nav-drawer .nav-item {
  opacity: 0;
  animation: slideInLeft 0.5s ease forwards;
}

.nav-drawer .nav-item:nth-child(1) { animation-delay: 0.1s; }
.nav-drawer .nav-item:nth-child(2) { animation-delay: 0.2s; }
.nav-drawer .nav-item:nth-child(3) { animation-delay: 0.3s; }
.nav-drawer .nav-item:nth-child(4) { animation-delay: 0.4s; }
.nav-drawer .nav-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Content push effect */
.content {
  transition: margin-left 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 20px;
}

.no-padding-left {
  margin-left: 280px;
}