/* Side Area Menu Styles - WordPress Hendon Theme Match */

#qodef-side-area {
  position: fixed;
  top: 0;
  right: -499px;
  bottom: 0;
  width: 499px;
  max-width: 100vw;
  background-color: #000000;
  z-index: 9999;
  visibility: hidden;
  opacity: 1;
  transition: right 0.6s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  overflow-y: auto;
  overflow-x: hidden;
}

body.qodef-side-area--opened #qodef-side-area {
  right: 0;
  visibility: visible;
}

/* Close Button */
#qodef-side-area-close {
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 10000;
  display: inline-block;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

#qodef-side-area-close:hover {
  opacity: 0.7;
}

#qodef-side-area-close svg {
  display: block;
  width: 27px;
  height: 27px;
}

#qodef-side-area-close svg line {
  stroke: #FFFFFF;
  transition: stroke 0.3s ease;
}

#qodef-side-area-close:hover svg line {
  stroke: #c28562;
}

/* Side Area Inner */
#qodef-side-area-inner {
  position: relative;
  display: inline-block;
  width: 100%;
  vertical-align: top;
  padding: 100px 60px 60px;
  min-height: 100%;
  background: #000000 !important;
  background-color: #000000 !important;
}

/* Widget Styles */
/* Override blog CSS - side menu widgets should have black background and border */
#qodef-side-area .widget {
  margin: 0 0 35px;
  color: #fff;
  background: #000000 !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Ensure all list items and links have consistent black background */
#qodef-side-area .widget ul,
#qodef-side-area .widget ul li,
#qodef-side-area .widget ul li a,
#qodef-side-area .widget_text ul,
#qodef-side-area .widget_text ul li,
#qodef-side-area .widget_text ul li a {
  background: #000000 !important;
  background-color: #000000 !important;
}

#qodef-side-area .widget ul li a:hover,
#qodef-side-area .widget_text ul li a:hover {
  background: #000000 !important;
  background-color: #000000 !important;
}

#qodef-side-area .widget:last-child {
  margin-bottom: 0 !important;
}

#qodef-side-area .widget .qodef-widget-title {
  margin: 0 0 14px;
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

#qodef-side-area .widget .qodef-widget-title a {
  color: inherit;
}

#qodef-side-area .widget .qodef-widget-title a:hover {
  color: #c28562;
}

#qodef-side-area .widget a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

#qodef-side-area .widget a:hover {
  color: #c28562;
}

/* Navigation Menu Widget */
#qodef-side-area .widget_nav_menu ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#qodef-side-area .widget_nav_menu ul li {
  margin: 0 0 4px;
  padding: 0;
  background: #000000 !important;
  background-color: #000000 !important;
}

#qodef-side-area .widget_nav_menu ul li:last-child {
  margin-bottom: 0;
}

#qodef-side-area .widget_nav_menu > ul > li > a {
  display: block;
  padding: 8px 0;
  font-family: "Raleway", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
  background: #000000 !important;
  background-color: #000000 !important;
}

#qodef-side-area .widget_nav_menu > ul > li > a:hover {
  color: #c28562;
  background: #000000 !important;
  background-color: #000000 !important;
}

#qodef-side-area .widget_nav_menu ul li.menu-item-has-children > a {
  position: relative;
}

#qodef-side-area .widget_nav_menu ul li.menu-item-has-children > a::after {
  content: '→';
  position: absolute;
  right: 0;
  font-size: 14px;
  transition: transform 0.3s ease;
}

#qodef-side-area .widget_nav_menu ul li.menu-item-has-children.qodef--opened > a::after {
  transform: rotate(90deg);
}

#qodef-side-area .widget_nav_menu ul li ul.sub-menu {
  display: none;
  margin-top: 8px;
  margin-left: 20px;
  padding-left: 0;
}

#qodef-side-area .widget_nav_menu ul li.qodef--opened > ul.sub-menu {
  display: block;
}

#qodef-side-area .widget_nav_menu ul li ul.sub-menu li {
  margin-bottom: 8px;
  background: #000000 !important;
  background-color: #000000 !important;
}

#qodef-side-area .widget_nav_menu ul li ul.sub-menu li a {
  font-size: 11px;
  font-weight: 400;
  color: #b2b2b2;
  background: #000000 !important;
  background-color: #000000 !important;
}

#qodef-side-area .widget_nav_menu ul li ul.sub-menu li a:hover {
  color: #c28562;
  background: #000000 !important;
  background-color: #000000 !important;
}

/* Text Widget */
#qodef-side-area .widget_text {
  background: #000000 !important;
  background-color: #000000 !important;
}

#qodef-side-area .widget_text h4 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  background: #000000 !important;
  background-color: #000000 !important;
}

#qodef-side-area .widget_text h6 {
  margin: 0 0 20px;
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #c28562;
}

#qodef-side-area .widget_text p {
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  line-height: 1.8;
  color: #b2b2b2;
}

/* Media Image Widget */
#qodef-side-area .widget_media_image {
  margin-bottom: 30px;
}

#qodef-side-area .widget_media_image img {
  display: block;
  margin: 0 auto;
  max-height: 68px !important;
  height: 68px !important;
  width: auto !important;
}

/* Body Lock when Side Area is Open */
body.qodef-side-area--opened {
  overflow: hidden;
}

/* Overlay (optional - can be added if needed) */
.qodef-side-area-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

body.qodef-side-area--opened .qodef-side-area-overlay {
  opacity: 1;
  visibility: visible;
}

/* Responsive */
@media only screen and (max-width: 1024px) {
  /* Hide side menu on mobile - use mobile header instead */
  #qodef-side-area {
    display: none !important;
  }
  
  body.qodef-side-area--opened #qodef-side-area {
    display: none !important;
  }
}

@media only screen and (max-width: 768px) {
  #qodef-side-area {
    width: 100%;
    right: -100%;
  }
  
  #qodef-side-area-inner {
    padding: 80px 40px 40px;
  }
  
  #qodef-side-area-close {
    top: 30px;
    right: 30px;
  }
}

