/* AAA header/menu spacing correction — loaded after the existing combined theme CSS.
   Keep the header in document flow so the home-page quote and complimentary
   services never sit underneath the desktop or mobile navigation. */
.header_area {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  z-index: 35;
}
/* Previous theme applied fixed 166px/149px margins because header was absolute.
   Those offsets are not appropriate when the header participates in layout. */
.header_area + .container,
.header_area + div,
.header_area + section,
.header_area + main,
.header_area + .row {
  margin-top: 0;
}
/* Preserve the theme's navigation overlapping its OWN logo area, not the content. */
.header_area .main_menu { position: relative; z-index: 36; }
.header_area .main_menu .navbar { z-index: 1; }
/* Allow dropdown items to appear above page content. */
.header_area .main_menu .dropdown-menu { z-index: 1000; }
/* Keep sticky navigation styling from the original theme. */
.header_area.navbar_fixed .main_menu { position: fixed; z-index: 40; }
/* Prevent a sticky header transition from collapsing the reserved menu area. */
.header_area.navbar_fixed { padding-bottom: 60px; }
@media (max-width: 991px) {
  .header_area.navbar_fixed { padding-bottom: 80px; }
  .header_area .main_menu .navbar-brand img { max-width: 180px; height: auto; }
}

/* The theme deliberately pulls the desktop menu 30px upward over the logo
   area. Pull the following page section up by the same amount so its full-
   width background (orange on interior pages) fills behind the menu edges. */
@media (min-width: 992px) {
  .header_area:not(.navbar_fixed) {
    margin-bottom: -30px;
  }
}

/* A softer neutral sage background complements the AAA green menu without
   introducing a competing blue/lavender band in the masthead. */
.header_area .logo_part {
  background: linear-gradient(180deg, #f7faf5 0%, #e8efe5 100%);
  border-bottom-color: #d0ddc9;
}
.header_area .logo_part::before {
  border-bottom-color: #d0ddc9;
}

/* Avoid pulling content under the mobile navigation, which uses a different
   header layout and may expand when the hamburger menu is opened. */
@media (max-width: 991px) {
  .header_area { margin-bottom: 0; }
}
