/* 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: 300px;
  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: 18px;
	background: #fff;
	color: #1a1a1a;
	border-radius: 50%;
	cursor: pointer;
	z-index: 11;
	box-shadow: 0 2px 8px rgba(0,0,0,0.3);
	height: 40px;
	width: 40px;
	text-align: center;
	line-height: 40px;
}

/* 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;
	height: 400px;
	overflow-y: scroll;
}
.drawer-nav ul{
	list-style: none;
}
.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,
.drawer-nav .page_item_has_children > a::after {
  content: '+';
  float: right;
  font-weight: bold;
  font-size: 18px;
  padding-right: 10px;
}
.drawer-nav .menu-item-has-children.submenu-open > a::after,
.drawer-nav .page_item_has_children.submenu-open > a::after {
  content: '−';
}
.drawer-nav .sub-menu,
.drawer-nav .children {
  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,
.drawer-nav .page_item_has_children.submenu-open > .children {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}
.drawer-nav .sub-menu a,
.drawer-nav .children 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;
  }
}
