/* Capitol City Towing theme. Loaded after the main bundle.
   Black page backgrounds, logo red and black. */

:root {
  --cx-maroon: #a61615;
  --cx-slate-mid: #343a40;
  --cx-slate-deep: #1f2327;
  --cx-warm-charcoal: #3b3633;
  --cx-navy: #111111;
  --cx-navy-deep: #000000;
  --cx-navy-mid: #1a1a1a;
  --cx-red: #a61615;
  --cx-gold: #e2504b;
  --cx-gold-dark: #7d1010;
  --bs-dark-rgb: 0, 0, 0;
  --bs-brand: #a61615;
  --bs-brand-rgb: 166, 22, 21;
}

.bg-dark { background-color: #0a0a0a !important; }
.bg-black-dark { background-color: var(--cx-slate-deep) !important; }
.text-brand { color: var(--cx-gold) !important; }
.bg-black-gray { background-color: #000 !important; }
.services-gallery:after { background-color: rgba(0, 0, 0, .8) !important; }

/* hover color on the buttons: gold instead of yellow */
.btn-brand-primary, .btn-brand-outline {
  --bs-btn-hover-bg: var(--cx-gold);
  --bs-btn-hover-border-color: var(--cx-gold);
  --bs-btn-hover-color: #111;
  --bs-btn-active-bg: var(--cx-gold-dark);
  --bs-btn-active-border-color: var(--cx-gold-dark);
  --bs-btn-active-color: #111;
}
.btn-brand-primary:hover, .btn-brand-outline:hover { color: #111 !important; }

/* ---------- white header to match the logo background ---------- */
.site-header { background: #fff; border-bottom: 4px solid var(--cx-red); box-shadow: 0 2px 10px rgba(0, 0, 0, .12); position: relative; z-index: 20; }
.site-header .navbar-logo img, .site-header img.navbar-logo { background: none; padding: 0; border-radius: 0; width: auto; max-height: 100px; height: auto; }
.site-header .nav.menu .nav-item a { color: var(--cx-navy); font-weight: 700; }
.site-header .nav.menu .nav-item a:hover,
.site-header .nav.menu .nav-item a.active,
.site-header .nav.menu .nav-item a.btn.show { color: var(--cx-red); border-bottom: 2px solid var(--cx-gold); }
.site-header .nav.menu .nav-item .dropdown-menu { background-color: #fff !important; border-top: 3px solid var(--cx-red); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); padding: 8px 0; }
.site-header .nav.menu .nav-item .dropdown-menu li { margin-bottom: 0; }
.site-header .nav.menu .nav-item .dropdown-menu li a { color: var(--cx-navy); border-bottom: 0; padding: 10px 18px; }
.site-header .nav.menu .nav-item .dropdown-menu li a:hover,
.site-header .nav.menu .nav-item .dropdown-menu li a.active { background-color: #f3f5fa; color: var(--cx-red); border-bottom: 0; box-shadow: inset 4px 0 0 var(--cx-gold); }
.site-header .btn-menu-mobile { color: var(--cx-navy); border-color: var(--cx-navy); }
.site-header .btn-menu-mobile:hover, .site-header .btn-menu-mobile:focus { background: var(--cx-gold) !important; border-color: var(--cx-gold); color: #111 !important; }
.site-header .btn-menu-mobile:active { background: var(--cx-gold-dark) !important; color: #111 !important; }

/* ---------- service placards: every image the same size ---------- */
.services-gallery .card-img-top {
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}


/* ---------- business partners: black, uniform white tiles ---------- */
.partner-gallery { background-color: #000 !important; padding: 5rem 0; }
.partner-intro { color: #c9c9c9 !important; max-width: 40rem; margin: 0 auto 2rem; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.partner-tile { background: #fff; border-radius: 10px; height: 110px; padding: 14px 18px; display: flex; align-items: center; justify-content: center; }
.partner-tile img { max-width: 100%; max-height: 80px; width: auto; height: auto; object-fit: contain; }

/* ---------- reviews: black ---------- */


/* slow down and move over banner */
.move-over-section { background-color: #fff !important; padding: 2.5rem 0; }
.move-over-section img { max-width: 900px; }

/* ---------- footer: black with a diamond plate style pattern ---------- */
footer.footer {
  background-color: #050505 !important;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 14px) !important;
  border-top: 4px solid var(--cx-red);
  border-color: var(--cx-red) !important;
}
.footer-nav { background-color: rgba(255, 255, 255, .1) !important; }
footer.footer a:hover, .footer-nav li a:hover { color: var(--cx-gold) !important; }

/* FAQ boxed cards in the brand colors */
.faq details { border: 2px solid var(--cx-gold); border-radius: 0; background: rgba(0, 0, 0, .25); margin-bottom: .75rem; }
.faq summary { cursor: pointer; padding: .8rem 1rem; font-weight: 700; font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--cx-gold); font-weight: 800; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { padding: 0 1rem 1rem; margin: 0; }

/* town link blocks */
.town-links a { color: #fff; }
.town-links a:hover { color: var(--cx-gold); }

/* directions map on town pages */
.directions-map { border: 3px solid var(--cx-red); width: 100%; height: 360px; max-width: 100%; }

/* review section: statement on the left, three review cards on the right */
.review-badge-section { background: var(--cx-warm-charcoal); border-top: 4px solid var(--cx-red); }
.rv-g { font-size: 2.4rem; color: #fff; }
.rv-stars { font-size: 1.4rem; font-weight: 800; color: #fff; line-height: 1.1; }
.rv-stars span { color: var(--cx-gold); letter-spacing: .1em; }
.rv-stars .rv-star-fill { background: linear-gradient(90deg, var(--cx-gold) var(--rv, 100%), rgba(255, 255, 255, .28) var(--rv, 100%)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.rv-card { background: #000; border: 2px solid var(--cx-gold); padding: 1.1rem 1.2rem; color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.rv-card p { font-size: .95rem; margin-bottom: .8rem; }
.rv-card footer { font-weight: 700; color: #fff; text-transform: uppercase; font-size: .8rem; }
/* request form card */
.request-form-card { border: 3px solid #000; }
.request-section { background-color: var(--cx-slate-mid) !important; }

/* maroon overrides for colors the bundle sets directly */
.pulse-feature-list li .pulse-icon { background-color: var(--cx-maroon); }
.link-brand { color: var(--cx-gold) !important; }

.bg-maroon { background-color: var(--cx-maroon) !important; }

/* reCAPTCHA v3 badge hidden, the forms carry the required notice text */
.grecaptcha-badge { visibility: hidden; }

/* in-text links: brand light red instead of the default blue; white on the maroon section */
article.content a:not(.btn), .request-form-card a:not(.btn) { color: var(--cx-gold); }
article.content a:not(.btn):hover, .request-form-card a:not(.btn):hover { color: #fff; }
article.content.bg-maroon a:not(.btn) { color: #fff; }

/* reCAPTCHA notice under forms: readable on the dark form backgrounds */
.recaptcha-note { color: #d6d6d6 !important; }
.recaptcha-note a, article.content .recaptcha-note a { color: #ff8a84 !important; text-decoration: underline; }
