/* =====================================================
   MIDWEST HEADER ENHANCED STYLES — LIGHT THEME
   Color Palette:
     Pure White:    #FFFFFF
     Soft Cream:    #FAF8F3
     Charcoal Navy: #1A2E45   (text)
     Deep Navy:     #0D1B2A   (text emphasis)
     Gold Accent:   #C9A84C
     Light Gold:    #E8C96A
     Hairline:      rgba(13, 27, 42, 0.08)
   ===================================================== */

/* ---- Base header: clean white/cream background ---- */
header {
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF8F3 100%) !important;
  box-shadow: 0 2px 20px rgba(13, 27, 42, 0.08);
  position: relative;
}

header.home-header {
  position: absolute !important;
  z-index: 500;
  width: 100%;
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF8F3 100%) !important;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

/* ---- Logo area: subtle right accent border ---- */
header .main-menu .main-menu__logo {
  border-right: 1px solid rgba(13, 27, 42, 0.1) !important;
  position: relative;
}

header .main-menu .main-menu__logo::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201, 168, 76, 0.6), transparent);
}

/* ---- Top info bar: contact details strip ---- */
header .main-menu .main-menu-right-wrapper .menu-double-line {
  border-left: 1px solid rgba(13, 27, 42, 0.1) !important;
  border-right: 0 !important;
  background: transparent;
}

header .main-menu .main-menu-right-wrapper .menu-double-line .menu-details {
  background: rgba(201, 168, 76, 0.08) !important;
  border-bottom: 1px solid rgba(13, 27, 42, 0.08) !important;
}

/* ---- Info icons & links in top bar ---- */
header .main-menu .main-menu-right-wrapper .menu-double-line .menu-details .icon-block a.white,
header .main-menu .main-menu-right-wrapper .menu-double-line .menu-details .icon-block p.white {
  color: #1A2E45 !important;
  font-size: clamp(13px, 0.8vw, 15px);
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
  text-decoration: none;
}

header .main-menu .main-menu-right-wrapper .menu-double-line .menu-details .icon-block a.white:hover {
  color: #C9A84C !important;
}

/* ---- Nav links ---- */
header .main-menu .main-menu-right-wrapper .menu-double-line .main-menu__nav .main-menu__list > li > a,
header .main-menu .main-menu-right-wrapper .menu-double-line .main-menu__nav .stricky-header .main-menu__list > li > a {
  color: #1A2E45 !important;
  font-weight: 600;
  letter-spacing: 0.8px;
  padding: clamp(22px, 1.458vw, 38px) 0;
  position: relative;
}

/* Nav link underline: gold gradient on hover/active */
header .main-menu .main-menu-right-wrapper .menu-double-line .main-menu__nav .main-menu__list > li > a::before,
header .main-menu .main-menu-right-wrapper .menu-double-line .main-menu__nav .stricky-header .main-menu__list > li > a::before {
  background: linear-gradient(90deg, #C9A84C, #E8C96A) !important;
  height: 3px !important;
  border-radius: 2px;
  top: 0 !important;
}

header .main-menu .main-menu-right-wrapper .menu-double-line .main-menu__nav .main-menu__list > li > a:hover,
header .main-menu .main-menu-right-wrapper .menu-double-line .main-menu__nav .main-menu__list > li > a.active,
header .main-menu .main-menu-right-wrapper .menu-double-line .main-menu__nav .stricky-header .main-menu__list > li > a:hover,
header .main-menu .main-menu-right-wrapper .menu-double-line .main-menu__nav .stricky-header .main-menu__list > li > a.active {
  color: #9C7A26 !important;
}

/* ---- Dropdown menu: clean light panel ---- */
header .main-menu .main-menu-right-wrapper .menu-double-line .main-menu__nav .main-menu__list li ul,
header .main-menu .main-menu-right-wrapper .menu-double-line .main-menu__nav .stricky-header .main-menu__list li ul {
  background: linear-gradient(160deg, #FFFFFF 0%, #FAF8F3 100%) !important;
  border-top: 2px solid #C9A84C !important;
  border-radius: 0 0 6px 6px !important;
  box-shadow: 0 12px 32px rgba(13, 27, 42, 0.18) !important;
}

header .main-menu .main-menu-right-wrapper .menu-double-line .main-menu__nav .main-menu__list li ul li > a,
header .main-menu .main-menu-right-wrapper .menu-double-line .main-menu__nav .stricky-header .main-menu__list li ul li > a {
  color: #1A2E45 !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
}

header .main-menu .main-menu-right-wrapper .menu-double-line .main-menu__nav .main-menu__list li ul li.current > a,
header .main-menu .main-menu-right-wrapper .menu-double-line .main-menu__nav .main-menu__list li ul li:hover > a,
header .main-menu .main-menu-right-wrapper .menu-double-line .main-menu__nav .stricky-header .main-menu__list li ul li.current > a,
header .main-menu .main-menu-right-wrapper .menu-double-line .main-menu__nav .stricky-header .main-menu__list li ul li:hover > a {
  background: linear-gradient(90deg, #C9A84C, #E8C96A) !important;
  color: #FFFFFF !important;
}

/* ---- "Have Questions?" panel ---- */
header .main-menu .main-menu-right-wrapper .main-menu__right .contact-button .question-btn {
  background: rgba(201, 168, 76, 0.12) !important;
  border-right: 1px solid rgba(13, 27, 42, 0.1);
  transition: background 0.3s ease;
}

header .main-menu .main-menu-right-wrapper .main-menu__right .contact-button .question-btn:hover {
  background: rgba(201, 168, 76, 0.2) !important;
}

/* "Have Questions?" label */
header .main-menu .main-menu-right-wrapper .main-menu__right .contact-button .question-btn .medium-gray {
  color: #9C7A26 !important;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Phone number */
header .main-menu .main-menu-right-wrapper .main-menu__right .contact-button .question-btn .lead.white {
  color: #1A2E45 !important;
  font-weight: 700;
}

/* ---- "Contact Us" CTA button ---- */
header .main-menu .main-menu-right-wrapper .main-menu__right .contact-button .request-btn {
  background: linear-gradient(135deg, #C9A84C 0%, #E8C96A 100%) !important;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease !important;
}

header .main-menu .main-menu-right-wrapper .main-menu__right .contact-button .request-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1A2E45 0%, #0D1B2A 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

header .main-menu .main-menu-right-wrapper .main-menu__right .contact-button .request-btn:hover::before {
  opacity: 1;
}

header .main-menu .main-menu-right-wrapper .main-menu__right .contact-button .request-btn h5 {
  color: #0D1B2A !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
  transition: color 0.4s ease !important;
}

header .main-menu .main-menu-right-wrapper .main-menu__right .contact-button .request-btn svg {
  position: relative;
  z-index: 1;
}

header .main-menu .main-menu-right-wrapper .main-menu__right .contact-button .request-btn svg path {
  stroke: #0D1B2A !important;
  transition: stroke 0.4s ease !important;
}

header .main-menu .main-menu-right-wrapper .main-menu__right .contact-button .request-btn:hover h5 {
  color: #E8C96A !important;
}

header .main-menu .main-menu-right-wrapper .main-menu__right .contact-button .request-btn:hover svg {
  rotate: 45deg;
}

header .main-menu .main-menu-right-wrapper .main-menu__right .contact-button .request-btn:hover svg path {
  stroke: #E8C96A !important;
}

/* Override the old hover: don't set background white */
header .main-menu .main-menu-right-wrapper .main-menu__right .contact-button .request-btn:hover {
  background: linear-gradient(135deg, #C9A84C 0%, #E8C96A 100%) !important;
  color: #0D1B2A !important;
}

/* ---- Mobile hamburger ---- */
.mobile-nav__toggler {
  color: #1A2E45 !important;
  filter: none !important;
}

.mobile-nav__toggler img {
  filter: brightness(0) saturate(100%) invert(15%) sepia(25%) saturate(800%) hue-rotate(180deg) brightness(95%) !important;
}

/* ---- Mobile nav panel ---- */
.mobile-nav__wrapper .mobile-nav__content {
  background: linear-gradient(160deg, #FFFFFF 0%, #FAF8F3 100%) !important;
  border-right: 2px solid rgba(201, 168, 76, 0.35);
}

.mobile-nav__wrapper .mobile-nav__content .main-menu__list li a {
  color: #1A2E45 !important;
}

.mobile-nav__wrapper .mobile-nav__content .main-menu__list li a.expanded {
  color: #9C7A26 !important;
}

.mobile-nav__wrapper .mobile-nav__content .main-menu__list li a button {
  background-color: #C9A84C !important;
}

.mobile-nav__wrapper .mobile-nav__content .main-menu__list li:not(:last-child) {
  border-bottom: 1px solid rgba(13, 27, 42, 0.08) !important;
}

.mobile-nav__social a {
  color: #9C7A26 !important;
}

.mobile-nav__contact li a:hover {
  color: #C9A84C !important;
}

.mobile-nav__contact li i {
  background-color: #C9A84C !important;
}

/* ---- Sticky / scrolled header variant ---- */
.stricky-header header,
.stricky-fixed header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 248, 243, 0.98) 100%) !important;
  box-shadow: 0 4px 24px rgba(13, 27, 42, 0.12) !important;
}

/* ---- Icon images in top bar: navy tint so they read on light bg ---- */
header .menu-details .icon-block img {
  filter: brightness(0) saturate(100%) invert(15%) sepia(25%) saturate(800%) hue-rotate(180deg) brightness(95%);
  opacity: 0.9;
}

/* ---- Subtle separator lines: gold tint ---- */
header .main-menu .main-menu-right-wrapper .menu-double-line {
  border-color: rgba(201, 168, 76, 0.35) !important;
}

/* ---- Logo area padding balance ---- */
 

/* =====================================================
   LOGO SIZING
   The MidWest logo artwork uses navy + green text on a
   transparent PNG. On this light header it has natural
   contrast on its own, so no background panel is needed —
   just consistent sizing across viewports.
   ===================================================== */
header .main-menu .main-menu__logo {
  display: flex;
  align-items: center;
}

header .main-menu .main-menu__logo a {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
}

header .main-menu .main-menu__logo img.header-logo {
  display: block !important;
  height: clamp(48px, 5.2vw, 72px) !important;
  max-height: none !important;
  width: auto !important;
}

@media (max-width: 1299px) {
  header .main-menu .main-menu__logo img.header-logo {
    height: clamp(46px, 6vw, 64px) !important;
  }
}

@media (max-width: 820px) {
  header .main-menu .main-menu__logo a {
    padding: 8px 14px;
  }
  header .main-menu .main-menu__logo img.header-logo {
    height: clamp(42px, 8.5vw, 54px) !important;
  }
}

@media (max-width: 490px) {
  header .main-menu .main-menu__logo a {
    padding: 6px 12px;
  }
  header .main-menu .main-menu__logo img.header-logo {
    height: clamp(36px, 10.5vw, 46px) !important;
  }
}

/* Same fix inside the mobile slide-out nav panel logo */
.mobile-nav__wrapper .logo-box a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
}

.mobile-nav__wrapper .logo-box img {
  display: block !important;
  height: clamp(40px, 9vw, 56px) !important;
  width: auto !important;
}
