/* Original site-wide styles from the WordPress site ("Additional CSS").
   Selectors mentioning Kadence/WPForms no longer match anything and are harmless. */

/* ============================================================
   BOBUSMATHEW.COM — GLOBAL DARK THEME
   Applied site-wide. All pages get the dark treatment.
   ============================================================ */

/* =============================
   Global Variables
============================= */
:root {
  --bm-black: #0a0a0a;
  --bm-white: #f8f7f4;
  --bm-warm-gray: #b8b2a8;
  --bm-mid-gray: #6b6560;
  --bm-accent: #c8553a;
  --bm-accent-light: #d4724e;
  --bm-deep: #1a1816;
  --bm-card-bg: #13110f;
  --bm-card-border: rgba(200, 85, 58, 0.15);
  --bm-font-display: 'Playfair Display', Georgia, serif;
  --bm-font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =============================
   Dark Background — Every Layer
============================= */
html,
body,
body.page,
body.page .site,
body.page .site-container,
body.page #wrapper,
body.page #inner-wrap,
body.page .content-wrap,
body.page .site-main,
body.page main,
body.page .content-area,
body.page .entry-content-wrap,
body.page .entry-content,
body.page article,
body.page .site-content,
body.page .wp-block-post-content,
body.page .hentry,
body.page .type-page,
body.single,
body.archive,
body.blog {
  background: var(--bm-black) !important;
  background-color: var(--bm-black) !important;
}

/* =============================
   Base Typography
============================= */
body {
  font-family: var(--bm-font-body) !important;
  color: var(--bm-warm-gray) !important;
  line-height: 1.7 !important;
  -webkit-font-smoothing: antialiased !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--bm-font-display) !important;
  color: var(--bm-white) !important;
  margin-bottom: 1rem !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
}

h1 { font-size: clamp(2.2rem, 4vw, 3rem) !important; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem) !important; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem) !important; }

p {
  font-size: 1.05rem !important;
  color: var(--bm-warm-gray) !important;
  margin-bottom: 1.25rem !important;
  line-height: 1.8 !important;
}

a {
  color: var(--bm-accent) !important;
  transition: color 0.25s ease !important;
}
a:hover {
  color: var(--bm-accent-light) !important;
}

strong, b {
  color: var(--bm-white) !important;
}

ul, ol {
  color: var(--bm-warm-gray) !important;
  margin-left: 1.25rem !important;
  margin-bottom: 1.25rem !important;
}

li {
  margin-bottom: 0.5rem !important;
  color: var(--bm-warm-gray) !important;
}

em {
  color: var(--bm-accent) !important;
}

/* =============================
   Kadence Header — Dark + Styled
============================= */
.site-header-wrap,
#masthead,
header.site-header,
.site-header-row,
.site-header-inner-wrap {
  background: rgba(10, 10, 10, 0.92) !important;
  background-color: rgba(10, 10, 10, 0.92) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(200, 85, 58, 0.08) !important;
}

.site-header-wrap a,
#masthead a,
.main-navigation a,
.header-navigation a,
.site-header .site-branding a,
.site-branding .site-title,
.site-branding .site-title a,
.header-menu-side-inner a,
.mobile-toggle-open {
  color: var(--bm-warm-gray) !important;
  transition: color 0.25s ease !important;
}
.site-header-wrap a:hover,
#masthead a:hover,
.main-navigation a:hover,
.header-navigation a:hover {
  color: var(--bm-white) !important;
}

.site-branding .site-title,
.site-branding .site-title a {
  color: var(--bm-white) !important;
}

.header-button a,
.site-header .button,
.header-navigation .menu-item.highlight-menu-item > a,
.header-navigation .menu-item.menu-item-highlight > a {
  background: var(--bm-accent) !important;
  color: var(--bm-white) !important;
  border: none !important;
  border-radius: 6px !important;
}
.header-button a:hover,
.header-navigation .menu-item.highlight-menu-item > a:hover {
  background: var(--bm-accent-light) !important;
}

.mobile-navigation,
.mobile-navigation-wrap,
.menu-toggle-close,
.mobile-header-navigation {
  background: var(--bm-black) !important;
}
.mobile-navigation a,
.mobile-header-navigation a {
  color: var(--bm-warm-gray) !important;
  border-color: rgba(200, 85, 58, 0.1) !important;
}
.mobile-navigation a:hover,
.mobile-header-navigation a:hover {
  color: var(--bm-white) !important;
}

/* =============================
   Kadence Footer — Dark
============================= */
.site-footer-wrap,
.site-footer,
#colophon,
.footer-wrap,
.site-below-footer-wrap,
.site-above-footer-wrap,
.site-middle-footer-wrap,
.footer-widget-area,
.site-footer-inner-wrap,
.site-footer-row {
  background: var(--bm-black) !important;
  background-color: var(--bm-black) !important;
  border-top: 1px solid rgba(200, 85, 58, 0.08) !important;
}
.site-footer-wrap a,
.site-footer a,
#colophon a,
.footer-wrap a {
  color: var(--bm-mid-gray) !important;
}
.site-footer-wrap a:hover,
.site-footer a:hover {
  color: var(--bm-accent) !important;
}
.site-footer-wrap p,
.site-footer p,
#colophon p,
.footer-wrap p {
  color: var(--bm-mid-gray) !important;
}

/* =============================
   Full-Width Content Containers
============================= */
.site-container,
.site-main,
.content-wrap,
.entry-content-wrap,
.entry-content,
.entry-content.single-content,
.single-content,
.content-area,
article,
.post-content,
.inside-article,
.wp-block-post-content,
main.content-wrap,
.content-container.site-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.content-wrap,
.entry-content-wrap {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* =============================
   Hide Page Titles
============================= */
.entry-title,
.entry-hero-container-inner,
.entry-header,
.page-title,
.wp-block-kadence-pageheader,
.page .entry-header,
.page .page-header,
.page .content-header {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* =============================
   WPForms — Dark Theme
============================= */
.wpforms-container-full .wpforms-form {
  max-width: 680px !important;
  margin: 0 auto !important;
  padding: 2.5rem !important;
  background: var(--bm-card-bg) !important;
  border-radius: 16px !important;
  border: 1px solid var(--bm-card-border) !important;
}

.wpforms-field label,
.wpforms-field .wpforms-field-label {
  display: block !important;
  font-family: var(--bm-font-body) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: var(--bm-white) !important;
  margin-bottom: 0.5rem !important;
  text-align: left !important;
}

.wpforms-field .wpforms-field-sublabel,
.wpforms-field .wpforms-field-description {
  color: var(--bm-mid-gray) !important;
  font-family: var(--bm-font-body) !important;
}

.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="number"],
.wpforms-field input[type="tel"],
.wpforms-field input[type="url"],
.wpforms-field input[type="date"],
.wpforms-field select,
.wpforms-field textarea {
  width: 100% !important;
  padding: 0.85rem 1rem !important;
  font-family: var(--bm-font-body) !important;
  font-size: 0.95rem !important;
  color: var(--bm-white) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(184, 178, 168, 0.15) !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  transition: all 0.25s ease !important;
}

.wpforms-field input:focus,
.wpforms-field select:focus,
.wpforms-field textarea:focus {
  border-color: var(--bm-accent) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(200, 85, 58, 0.15) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.wpforms-field select {
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23b8b2a8' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  padding-right: 2.5rem !important;
}

.wpforms-field input[type="radio"],
.wpforms-field input[type="checkbox"] {
  accent-color: var(--bm-accent) !important;
}

.wpforms-field-radio label,
.wpforms-field-checkbox label,
.wpforms-field ul li label,
.wpforms-image-choices label {
  color: var(--bm-warm-gray) !important;
  font-family: var(--bm-font-body) !important;
}

.wpforms-field.wpforms-field-select,
.wpforms-field.wpforms-field-radio,
.wpforms-field.wpforms-field-checkbox {
  text-align: left !important;
  width: 100% !important;
}

.wpforms-field {
  margin-bottom: 1.5rem !important;
}

.wpforms-submit-container {
  text-align: center !important;
  padding-top: 0.5rem !important;
}

.wpforms-submit,
button.wpforms-submit,
.wpforms-container-full .wpforms-form .wpforms-submit {
  background: var(--bm-accent) !important;
  color: var(--bm-white) !important;
  border: none !important;
  padding: 1rem 2.5rem !important;
  font-family: var(--bm-font-body) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  border-radius: 8px !important;
  letter-spacing: 0.02em !important;
  transition: all 0.3s ease !important;
}
.wpforms-submit:hover,
button.wpforms-submit:hover {
  background: var(--bm-accent-light) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(200, 85, 58, 0.25) !important;
}

.wpforms-field-name {
  display: block !important;
  width: 100% !important;
}
.wpforms-field-name .wpforms-field-row {
  display: flex !important;
  gap: 1rem !important;
  justify-content: flex-start !important;
}
.wpforms-field-name .wpforms-field-row .wpforms-field-row-block {
  flex: 1 !important;
}

.wpforms-required-label {
  color: var(--bm-accent) !important;
}

.wpforms-field-divider h3,
.wpforms-field-pagebreak h3,
.wpforms-page-indicator-page-title {
  color: var(--bm-white) !important;
  font-family: var(--bm-font-display) !important;
  border-bottom: 1px solid var(--bm-card-border) !important;
  padding-bottom: 0.75rem !important;
}

.wpforms-field input::placeholder,
.wpforms-field textarea::placeholder {
  color: var(--bm-mid-gray) !important;
  opacity: 1 !important;
}

/* =============================
   Kadence Blocks Dark Overrides
============================= */
.kb-row-layout-wrap,
.kadence-column,
.kt-row-column-wrap,
.wp-block-kadence-column {
  background: transparent !important;
}

.kb-button,
.wp-block-kadence-advancedbtn .kb-button {
  background: var(--bm-accent) !important;
  color: var(--bm-white) !important;
  border: none !important;
  border-radius: 8px !important;
  font-family: var(--bm-font-body) !important;
}
.kb-button:hover {
  background: var(--bm-accent-light) !important;
}

.kb-icon-list li,
.kt-svg-icon-list-item-wrap {
  color: var(--bm-warm-gray) !important;
}

/* =============================
   Calendly Embed Override
============================= */
.calendly-inline-widget,
.calendly-inline-widget iframe {
  border-radius: 12px !important;
}

/* =============================
   Responsive
============================= */
@media (max-width: 600px) {
  .wpforms-field-name .wpforms-field-row {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  .wpforms-container-full .wpforms-form {
    max-width: 100% !important;
    padding: 1.5rem !important;
  }
}

/* =============================
   Scrollbar Styling
============================= */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bm-black);
}
::-webkit-scrollbar-thumb {
  background: var(--bm-mid-gray);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--bm-warm-gray);
}

/* =============================
   Selection Highlight
============================= */
::selection {
  background: rgba(200, 85, 58, 0.3);
  color: var(--bm-white);
}

/* =============================
   FIX: Button text color override
   Prevents copper text on copper buttons
============================= */
a.btn-primary,
a.bm-btn-primary,
a.re-btn-primary,
a.em-btn-primary,
#bm-home .btn-primary,
#bm-home .bm-btn-primary,
#bm-realestate .re-btn-primary,
#bm-emcee .em-btn-primary,
.nav-cta,
.bm-nav-cta,
#bm-home a.btn-primary,
#bm-home a.bm-btn-primary,
#bm-realestate a.re-btn-primary,
#bm-emcee a.em-btn-primary {
  color: #f8f7f4 !important;
}

a.btn-secondary,
a.bm-btn-secondary,
a.re-btn-secondary,
a.em-btn-secondary,
#bm-home .btn-secondary,
#bm-home .bm-btn-secondary,
#bm-realestate .re-btn-secondary,
#bm-emcee .em-btn-secondary,
#bm-home a.btn-secondary,
#bm-home a.bm-btn-secondary,
#bm-realestate a.re-btn-secondary,
#bm-emcee a.em-btn-secondary {
  color: #b8b2a8 !important;
}
a.btn-secondary:hover,
a.bm-btn-secondary:hover,
a.re-btn-secondary:hover,
a.em-btn-secondary:hover,
#bm-home a.btn-secondary:hover,
#bm-home a.bm-btn-secondary:hover,
#bm-realestate a.re-btn-secondary:hover,
#bm-emcee a.em-btn-secondary:hover {
  color: #f8f7f4 !important;
}

#bm-home .pathway-card,
#bm-home .bm-pathway-card,
#bm-home a.pathway-card,
#bm-home a.bm-pathway-card {
  color: #f8f7f4 !important;
}

#bm-home .contact-method,
#bm-home .bm-contact-method,
#bm-realestate .re-contact-link,
#bm-emcee .em-contact-link {
  color: #b8b2a8 !important;
}

#bm-home .footer-socials a,
#bm-home .bm-footer-socials a {
  color: #6b6560 !important;
}
#bm-home .footer-socials a:hover,
#bm-home .bm-footer-socials a:hover {
  color: #c8553a !important;
}

/* Guide page button fix */
#bm-guide .gu-btn-primary,
#bm-guide a.gu-btn-primary {
  color: #f8f7f4 !important;
}
#bm-guide .gu-btn-secondary,
#bm-guide a.gu-btn-secondary {
  color: #b8b2a8 !important;
}
#bm-guide a.gu-btn-secondary:hover {
  color: #f8f7f4 !important;
}
#bm-guide .gu-contact-link {
  color: #b8b2a8 !important;
}


/* =============================
   Guide page button fix
============================= */
#bm-guide .gu-btn-primary,
#bm-guide a.gu-btn-primary { color: #f8f7f4 !important; }
#bm-guide .gu-btn-secondary,
#bm-guide a.gu-btn-secondary { color: #b8b2a8 !important; }
#bm-guide a.gu-btn-secondary:hover { color: #f8f7f4 !important; }
#bm-guide .gu-contact-link { color: #b8b2a8 !important; }

/* =============================
   Schedule page link fixes
============================= */
#bm-schedule .sc-audience-card,
#bm-schedule a.sc-skip-method,
#bm-schedule a.sc-scroll-indicator { color: #b8b2a8 !important; }
#bm-schedule a.sc-skip-method:hover { color: #f8f7f4 !important; }
#bm-schedule .sc-closing-quote { color: #f8f7f4 !important; }

/* =============================
   Schedule Page — Layout Fix
   (centers content full-width, restores side-by-side card grids)
============================= */
body #bm-schedule {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  overflow-x: hidden !important;
  padding-top: 72px !important;
}
body #bm-schedule .sc-section {
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}
body #bm-schedule .sc-section-inner,
body #bm-schedule .sc-hero-inner {
  max-width: 1100px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body #bm-schedule .sc-comparison {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.5rem !important;
}
body #bm-schedule .sc-audience-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.25rem !important;
}
body #bm-schedule .sc-process {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
}
@media (max-width: 1024px) {
  body #bm-schedule .sc-comparison,
  body #bm-schedule .sc-audience-grid,
  body #bm-schedule .sc-process {
    grid-template-columns: 1fr !important;
  }
  body #bm-schedule .sc-section {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}