/* CSS-only desktop hamburger using Astra's existing mobile menu */
@media (min-width: 922px) {
  /* Force Astra to show mobile hamburger on desktop */
  .ast-header-break-point .main-header-bar .ast-mobile-menu-trigger-minimal,
  .ast-header-break-point .main-header-bar .ast-mobile-menu-trigger-fill {
    display: flex !important;
  }
  
  /* Hide the inline desktop nav */
  .main-header-bar .main-header-menu {
    display: none !important;
  }
  
  /* Trigger Astra's mobile breakpoint behavior on desktop */
  .ast-header-break-point {
    display: block !important;
  }
}                                           /* ================================================
   CONTRAST FIX — Josh Brooks Construction
   Fixes all PageSpeed Insights contrast failures
   ================================================ */

/* Fix 1: Call button — darken gold background for white text */
a[href="tel:7208287997"],
a[href^="tel"] {
  background: #7a6010 !important;
  color: #ffffff !important;
}

/* Fix 2: Body/paragraph text — #64748b is too light, darken it */
p[style*="color:#64748b"],
p[style*="color: #64748b"],
.entry-content p,
p {
  color: #374151 !important;
}

/* Fix 3: Section with off-white background — force dark text */
section[style*="background:#f8f7f4"],
section[style*="background: #f8f7f4"] {
  color: #1a1a1a !important;
}

section[style*="background:#f8f7f4"] p,
section[style*="background: #f8f7f4"] p {
  color: #1a1a1a !important;
}

/* Fix 4: "Learn More" and all links on dark backgrounds */
.ast-container a[href*="/roofing/"],
.ast-container a[href*="/james-hardie-siding/"],
.ast-container a[href*="/kitchen-bath-remodeling/"],
.ast-container a[href*="/decks-additions/"],
.ast-container a[href*="/window-replacement/"],
.ast-container a[href*="/veteran-senior-discounts/"] {
  color: #ffffff !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
}

/* Fix 5: Hero tagline text on dark background */
.ast-hero-section p,
.hero p,
[class*="hero"] p {
  color: #e5e7eb !important;
}

/* Fix 6: General link contrast on light backgrounds */
a {
  color: #1d4ed8 !important;
}

a:hover {
  color: #1e3a8a !important;
}                                          /* ================================================
   TOUCH TARGET + REMAINING CONTRAST FIX
   ================================================ */

/* Fix: Footer links too small to tap - increase touch target size */
.site-footer a,
footer a,
.footer-widget a,
[class*="footer"] a {
  display: inline-block !important;
  min-height: 48px !important;
  min-width: 48px !important;
  line-height: 48px !important;
  padding: 0 8px !important;
}

/* Fix: Local Resources links (#C9922A color is too light) */
a[style*="color:#C9922A"],
a[style*="color: #C9922A"],
a[href*="building-contractor-dacono"],
a[href*="home-addition-contractor-longmont"],
a[href*="general-contractor-near-me-longmont"] {
  color: #7a5c00 !important;
  min-height: 48px !important;
  display: inline-block !important;
  padding: 12px 8px !important;
}