/* Overlay background */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.8);
  opacity: 1;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 999;
}

/* Show overlay when drawer is open */
#mobile-drawer.open ~ .drawer-overlay {
  opacity: 1;
  visibility: visible;
}

/* Drawer styles */
#mobile-drawer {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(8px);
  transition: left 0.3s ease;
  z-index: 1000;
  padding: 20px 25px;
  text-align: left;
}
#mobile-drawer.open {
  left: 0;
}

/* Hamburger Icon */
.mobile_menu_icon {
  font-size: 22px;
  background: #1a1a1a;
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  z-index: 1100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Close Button */
#close-drawer {
	font-size: 22px;
	background: none;
	border: none;
	color: #fff;
	float: right;
	cursor: pointer;
	margin-bottom: 25px;
	margin-top: 27px;
}

/* Nav styling */
.drawer-nav {
	list-style: none;
	padding: 0;
	margin: 0;
	margin-top: 60px !important;
}
.drawer-nav li {
  margin-bottom: 12px;
}
.drawer-nav a {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  padding: 3px 0;
  display: block;
  border-radius: 4px;
  transition: background 0.3s ease;
}
.drawer-nav a:hover {

}

/* Dropdowns */
.drawer-nav .menu-item-has-children > a::after {
  content: '+';
  float: right;
  font-weight: bold;
  font-size: 18px;
}
.drawer-nav .menu-item-has-children.submenu-open > a::after {
  content: '−';
}
.drawer-nav .sub-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
  padding-left: 15px;
}
.drawer-nav .menu-item-has-children.submenu-open > .sub-menu {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}
.drawer-nav .sub-menu a {
  font-size: 15px;
  padding: 8px 0;
  color: #ccc;
}
.drawer-nav li li{
	margin-bottom: 0;
}

/* Hide on desktop */
@media (min-width: 991px) {
  .mobile_menu_icon,
  #mobile-drawer,
  .drawer-overlay {
    display: none;
  }
}
