
/* RedHawk Defense V6.8.14 - Basic Theme Contrast Fix
   Basic is now clean/professional, not plain-white washed out.
   This only applies when body/html has rhd-theme-basic.
*/

html.rhd-theme-basic,
body.rhd-theme-basic{
  color-scheme: light;
}

html.rhd-theme-basic body,
body.rhd-theme-basic{
  background:
    radial-gradient(circle at 12% 0%, rgba(139,17,29,.11), transparent 34%),
    radial-gradient(circle at 90% 0%, rgba(29,78,216,.11), transparent 34%),
    linear-gradient(180deg, #e9eef6 0%, #f3f6fa 44%, #e7edf5 100%) !important;
  color:#111827 !important;
}

/* Kill Matrix visuals in Basic mode. */
html.rhd-theme-basic body:before,
body.rhd-theme-basic:before,
html.rhd-theme-basic #rhd-matrix-back,
body.rhd-theme-basic #rhd-matrix-back,
html.rhd-theme-basic .rhd-matrix-back,
body.rhd-theme-basic .rhd-matrix-back,
html.rhd-theme-basic canvas[id*="matrix" i],
body.rhd-theme-basic canvas[id*="matrix" i]{
  display:none !important;
  opacity:0 !important;
}

/* Header: light but not ghost-white. */
html.rhd-theme-basic #rhd-global-header,
body.rhd-theme-basic #rhd-global-header{
  background:
    linear-gradient(90deg, #ffffff 0%, #f8fafc 48%, #edf4ff 100%) !important;
  border-bottom:1px solid #b7c3d6 !important;
  box-shadow:0 12px 38px rgba(15,23,42,.18) !important;
}

html.rhd-theme-basic .rhd-brand-mark,
body.rhd-theme-basic .rhd-brand-mark{
  background:#05070c !important;
  border-color:#9aa7bb !important;
  box-shadow:0 10px 28px rgba(15,23,42,.22), 0 0 0 3px rgba(139,17,29,.08) !important;
}

html.rhd-theme-basic .rhd-brand-text b,
body.rhd-theme-basic .rhd-brand-text b{
  color:#111827 !important;
  text-shadow:none !important;
}
html.rhd-theme-basic .rhd-brand-text .rhd-defense-word,
body.rhd-theme-basic .rhd-brand-text .rhd-defense-word{
  color:#8b111d !important;
}
html.rhd-theme-basic .rhd-brand-text span,
body.rhd-theme-basic .rhd-brand-text span{
  color:#7a0f19 !important;
}

/* Primary nav, language, theme, density. */
html.rhd-theme-basic .rhd-primary-nav a,
body.rhd-theme-basic .rhd-primary-nav a,
html.rhd-theme-basic .rhd-lang a,
body.rhd-theme-basic .rhd-lang a,
html.rhd-theme-basic .rhd-more-btn,
body.rhd-theme-basic .rhd-more-btn,
html.rhd-theme-basic .rhd-theme-btn,
body.rhd-theme-basic .rhd-theme-btn,
html.rhd-theme-basic .rhd-density-btn,
body.rhd-theme-basic .rhd-density-btn,
html.rhd-theme-basic .rhd-menu-btn,
body.rhd-theme-basic .rhd-menu-btn{
  background:#ffffff !important;
  border-color:#aeb9ca !important;
  color:#111827 !important;
  box-shadow:0 2px 8px rgba(15,23,42,.08) !important;
}
html.rhd-theme-basic .rhd-primary-nav a:hover,
body.rhd-theme-basic .rhd-primary-nav a:hover,
html.rhd-theme-basic .rhd-lang a:hover,
body.rhd-theme-basic .rhd-lang a:hover,
html.rhd-theme-basic .rhd-more-btn:hover,
body.rhd-theme-basic .rhd-more-btn:hover,
html.rhd-theme-basic .rhd-theme-btn:hover,
body.rhd-theme-basic .rhd-theme-btn:hover,
html.rhd-theme-basic .rhd-density-btn:hover,
body.rhd-theme-basic .rhd-density-btn:hover{
  background:#f1f5fb !important;
  border-color:#8b111d !important;
  box-shadow:0 0 0 3px rgba(139,17,29,.10), 0 8px 18px rgba(15,23,42,.12) !important;
}
html.rhd-theme-basic .rhd-primary-nav a.rhd-active,
body.rhd-theme-basic .rhd-primary-nav a.rhd-active,
html.rhd-theme-basic .rhd-more-btn.rhd-active,
body.rhd-theme-basic .rhd-more-btn.rhd-active,
html.rhd-theme-basic .rhd-lang a.rhd-active,
body.rhd-theme-basic .rhd-lang a.rhd-active{
  background:linear-gradient(135deg,#8b111d,#5f0710) !important;
  color:#ffffff !important;
  border-color:#8b111d !important;
  box-shadow:0 8px 18px rgba(139,17,29,.20) !important;
}

/* More / mobile menus. */
html.rhd-theme-basic .rhd-more-panel,
body.rhd-theme-basic .rhd-more-panel,
html.rhd-theme-basic .rhd-mobile-panel,
body.rhd-theme-basic .rhd-mobile-panel{
  background:#ffffff !important;
  border-color:#aeb9ca !important;
  box-shadow:0 24px 70px rgba(15,23,42,.22) !important;
}
html.rhd-theme-basic .rhd-more-group,
body.rhd-theme-basic .rhd-more-group,
html.rhd-theme-basic .rhd-mobile-section,
body.rhd-theme-basic .rhd-mobile-section{
  background:#f1f5f9 !important;
  border-color:#c6d0df !important;
}
html.rhd-theme-basic .rhd-more-group b,
body.rhd-theme-basic .rhd-more-group b,
html.rhd-theme-basic .rhd-mobile-section b,
body.rhd-theme-basic .rhd-mobile-section b{
  color:#7a0f19 !important;
}
html.rhd-theme-basic .rhd-more-group a,
body.rhd-theme-basic .rhd-more-group a,
html.rhd-theme-basic .rhd-mobile-panel a,
body.rhd-theme-basic .rhd-mobile-panel a,
html.rhd-theme-basic .rhd-contextbar a,
body.rhd-theme-basic .rhd-contextbar a{
  color:#172033 !important;
  background:transparent !important;
}
html.rhd-theme-basic .rhd-more-group a:hover,
body.rhd-theme-basic .rhd-more-group a:hover,
html.rhd-theme-basic .rhd-mobile-panel a:hover,
body.rhd-theme-basic .rhd-mobile-panel a:hover,
html.rhd-theme-basic .rhd-contextbar a:hover,
body.rhd-theme-basic .rhd-contextbar a:hover{
  background:#ffffff !important;
  color:#8b111d !important;
}

/* Context row. */
html.rhd-theme-basic .rhd-contextbar,
body.rhd-theme-basic .rhd-contextbar{
  border-top-color:#c6d0df !important;
}
html.rhd-theme-basic .rhd-contextbar span,
body.rhd-theme-basic .rhd-contextbar span{
  color:#7a0f19 !important;
}
html.rhd-theme-basic .rhd-contextbar a,
body.rhd-theme-basic .rhd-contextbar a{
  border-color:#b7c3d6 !important;
  background:#ffffff !important;
}

/* Main panels: light slate instead of pure white. */
html.rhd-theme-basic .rhd-v66-hero,
body.rhd-theme-basic .rhd-v66-hero,
html.rhd-theme-basic .rhd-v66-section,
body.rhd-theme-basic .rhd-v66-section,
html.rhd-theme-basic .rhd-v66-panel,
body.rhd-theme-basic .rhd-v66-panel,
html.rhd-theme-basic .rhd-seo-engine,
body.rhd-theme-basic .rhd-seo-engine,
html.rhd-theme-basic .rhd-visual-section,
body.rhd-theme-basic .rhd-visual-section,
html.rhd-theme-basic .rhd-cameras-merge,
body.rhd-theme-basic .rhd-cameras-merge,
html.rhd-theme-basic .panel,
body.rhd-theme-basic .panel,
html.rhd-theme-basic .cta,
body.rhd-theme-basic .cta{
  background:
    linear-gradient(145deg, #ffffff 0%, #f8fafc 52%, #eef4fb 100%) !important;
  border-color:#b7c3d6 !important;
  color:#111827 !important;
  box-shadow:0 16px 44px rgba(15,23,42,.13) !important;
}

/* Cards get separation and readable contrast. */
html.rhd-theme-basic .rhd-v66-card,
body.rhd-theme-basic .rhd-v66-card,
html.rhd-theme-basic .rhd-visual-card,
body.rhd-theme-basic .rhd-visual-card,
html.rhd-theme-basic .rhd-cameras-merge-card,
body.rhd-theme-basic .rhd-cameras-merge-card,
html.rhd-theme-basic .rhd-seo-flow .step,
body.rhd-theme-basic .rhd-seo-flow .step,
html.rhd-theme-basic .card,
body.rhd-theme-basic .card,
html.rhd-theme-basic .serviceCard,
body.rhd-theme-basic .serviceCard,
html.rhd-theme-basic .galleryCard,
body.rhd-theme-basic .galleryCard,
html.rhd-theme-basic .kpi,
body.rhd-theme-basic .kpi,
html.rhd-theme-basic .stat,
body.rhd-theme-basic .stat,
html.rhd-theme-basic .step,
body.rhd-theme-basic .step,
html.rhd-theme-basic .quoteCard,
body.rhd-theme-basic .quoteCard,
html.rhd-theme-basic .mapCard,
body.rhd-theme-basic .mapCard{
  background:#ffffff !important;
  border:1px solid #b7c3d6 !important;
  color:#111827 !important;
  box-shadow:0 8px 22px rgba(15,23,42,.10) !important;
}

/* Typography: force readable dark text in Basic. */
html.rhd-theme-basic h1,
body.rhd-theme-basic h1,
html.rhd-theme-basic h2,
body.rhd-theme-basic h2,
html.rhd-theme-basic h3,
body.rhd-theme-basic h3,
html.rhd-theme-basic h4,
body.rhd-theme-basic h4,
html.rhd-theme-basic h5,
body.rhd-theme-basic h5,
html.rhd-theme-basic b,
body.rhd-theme-basic b,
html.rhd-theme-basic strong,
body.rhd-theme-basic strong{
  color:#101827 !important;
  text-shadow:none !important;
}
html.rhd-theme-basic p,
body.rhd-theme-basic p,
html.rhd-theme-basic span,
body.rhd-theme-basic span,
html.rhd-theme-basic li,
body.rhd-theme-basic li,
html.rhd-theme-basic td,
body.rhd-theme-basic td,
html.rhd-theme-basic .rhd-v66-copy,
body.rhd-theme-basic .rhd-v66-copy,
html.rhd-theme-basic .rhd-v66-lead,
body.rhd-theme-basic .rhd-v66-lead,
html.rhd-theme-basic .rhd-visual-copy,
body.rhd-theme-basic .rhd-visual-copy,
html.rhd-theme-basic .small,
body.rhd-theme-basic .small{
  color:#334155 !important;
}
html.rhd-theme-basic .rhd-v66-eyebrow,
body.rhd-theme-basic .rhd-v66-eyebrow,
html.rhd-theme-basic .rhd-visual-eyebrow,
body.rhd-theme-basic .rhd-visual-eyebrow,
html.rhd-theme-basic .eyebrow,
body.rhd-theme-basic .eyebrow,
html.rhd-theme-basic label.caption,
body.rhd-theme-basic label.caption,
html.rhd-theme-basic .mapTitle,
body.rhd-theme-basic .mapTitle{
  color:#8b111d !important;
}

/* Badges and pills: readable but still RedHawk. */
html.rhd-theme-basic .rhd-v66-badges span,
body.rhd-theme-basic .rhd-v66-badges span,
html.rhd-theme-basic .badges span,
body.rhd-theme-basic .badges span,
html.rhd-theme-basic .pill,
body.rhd-theme-basic .pill{
  background:#eef3f9 !important;
  color:#172033 !important;
  border-color:#b7c3d6 !important;
}
html.rhd-theme-basic .rhd-v66-badges span.hot,
body.rhd-theme-basic .rhd-v66-badges span.hot,
html.rhd-theme-basic .badges span.hot,
body.rhd-theme-basic .badges span.hot,
html.rhd-theme-basic .pill.red,
body.rhd-theme-basic .pill.red{
  background:#fff1f2 !important;
  border-color:#b91c1c !important;
  color:#7f1d1d !important;
}
html.rhd-theme-basic .pill.gold,
body.rhd-theme-basic .pill.gold{
  background:#fffbeb !important;
  border-color:#b45309 !important;
  color:#78350f !important;
}
html.rhd-theme-basic .pill.blue,
body.rhd-theme-basic .pill.blue{
  background:#eff6ff !important;
  border-color:#1d4ed8 !important;
  color:#1e3a8a !important;
}
html.rhd-theme-basic .pill.green,
body.rhd-theme-basic .pill.green{
  background:#ecfdf5 !important;
  border-color:#047857 !important;
  color:#064e3b !important;
}

/* Buttons and CTAs. */
html.rhd-theme-basic .rhd-v66-cta a,
body.rhd-theme-basic .rhd-v66-cta a,
html.rhd-theme-basic .rhd-visual-cta a,
body.rhd-theme-basic .rhd-visual-cta a,
html.rhd-theme-basic button,
body.rhd-theme-basic button,
html.rhd-theme-basic .btn,
body.rhd-theme-basic .btn,
html.rhd-theme-basic label.btn,
body.rhd-theme-basic label.btn{
  background:#ffffff !important;
  border-color:#9aa7bb !important;
  color:#111827 !important;
  box-shadow:0 4px 12px rgba(15,23,42,.10) !important;
}
html.rhd-theme-basic .rhd-v66-cta a.primary,
body.rhd-theme-basic .rhd-v66-cta a.primary,
html.rhd-theme-basic .rhd-visual-cta a.primary,
body.rhd-theme-basic .rhd-visual-cta a.primary,
html.rhd-theme-basic .primary,
body.rhd-theme-basic .primary{
  background:linear-gradient(135deg,#8b111d,#5f0710) !important;
  border-color:#8b111d !important;
  color:#ffffff !important;
}
html.rhd-theme-basic .rhd-v66-cta a.blue,
body.rhd-theme-basic .rhd-v66-cta a.blue,
html.rhd-theme-basic .rhd-visual-cta a.blue,
body.rhd-theme-basic .rhd-visual-cta a.blue,
html.rhd-theme-basic .blue,
body.rhd-theme-basic .blue{
  background:linear-gradient(135deg,#1d4ed8,#1e3a8a) !important;
  border-color:#1d4ed8 !important;
  color:#ffffff !important;
}
html.rhd-theme-basic .green,
body.rhd-theme-basic .green{
  background:linear-gradient(135deg,#047857,#065f46) !important;
  border-color:#047857 !important;
  color:#ffffff !important;
}

/* Forms / tables / map panels. */
html.rhd-theme-basic input,
body.rhd-theme-basic input,
html.rhd-theme-basic select,
body.rhd-theme-basic select,
html.rhd-theme-basic textarea,
body.rhd-theme-basic textarea{
  background:#ffffff !important;
  color:#111827 !important;
  border-color:#9aa7bb !important;
}
html.rhd-theme-basic input::placeholder,
body.rhd-theme-basic input::placeholder,
html.rhd-theme-basic textarea::placeholder,
body.rhd-theme-basic textarea::placeholder{
  color:#64748b !important;
}
html.rhd-theme-basic th,
body.rhd-theme-basic th{
  background:#1f2937 !important;
  color:#ffffff !important;
}
html.rhd-theme-basic table,
body.rhd-theme-basic table,
html.rhd-theme-basic .tablewrap,
body.rhd-theme-basic .tablewrap{
  background:#ffffff !important;
  border-color:#b7c3d6 !important;
}
html.rhd-theme-basic iframe,
body.rhd-theme-basic iframe,
html.rhd-theme-basic .mapFrame,
body.rhd-theme-basic .mapFrame,
html.rhd-theme-basic .aerialImage,
body.rhd-theme-basic .aerialImage,
html.rhd-theme-basic .plannerBoard,
body.rhd-theme-basic .plannerBoard{
  background:#e2e8f0 !important;
  border-color:#9aa7bb !important;
}

/* Notice popup in Basic mode. */
html.rhd-theme-basic .rhd-site-notice-modal,
body.rhd-theme-basic .rhd-site-notice-modal{
  background:#ffffff !important;
  border-color:#b7c3d6 !important;
  color:#111827 !important;
}
html.rhd-theme-basic .rhd-site-notice-top,
body.rhd-theme-basic .rhd-site-notice-top{
  background:linear-gradient(90deg,#fff5f5,#edf4ff) !important;
  border-bottom-color:#cbd5e1 !important;
}
html.rhd-theme-basic .rhd-site-notice-body p,
body.rhd-theme-basic .rhd-site-notice-body p,
html.rhd-theme-basic .rhd-site-notice-foot,
body.rhd-theme-basic .rhd-site-notice-foot{
  color:#334155 !important;
}
html.rhd-theme-basic .rhd-site-notice-status div,
body.rhd-theme-basic .rhd-site-notice-status div{
  background:#f1f5f9 !important;
  border-color:#c6d0df !important;
}

/* Quick contact buttons must stay readable. */
html.rhd-theme-basic .rhd-quick-contact a,
body.rhd-theme-basic .rhd-quick-contact a{
  color:#ffffff !important;
  background:linear-gradient(135deg,#8b111d,#5f0710) !important;
  border-color:#8b111d !important;
}
html.rhd-theme-basic .rhd-quick-contact a.secondary,
body.rhd-theme-basic .rhd-quick-contact a.secondary{
  background:linear-gradient(135deg,#1d4ed8,#1e3a8a) !important;
  border-color:#1d4ed8 !important;
}
