:root {
  --orange: #ff7a1a;
  --orange-dark: #e8690a;
  --bg-dark: #0d0d0d;
  --bg-card: #1a1a1a;
  --bg-card-light: #1f1f1f;
  --text-muted: #9a9a9a;
  --border-color: #2a2a2a;
}

body {
  background: var(--bg-dark);
  color: #f2f2f2;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Force readable light text everywhere on the dark theme, regardless of
   Bootstrap's own element defaults (headings/labels/etc default to a near-black
   color that is invisible against this dark background). Class-based utilities
   below (.text-orange, .text-muted, form controls, buttons) have higher
   specificity and still win over these element-level rules. */
h1, h2, h3, h4, h5, h6,
p, span, li, ul, ol, dt, dd, label, strong, em, small, blockquote, figcaption {
  color: #f2f2f2;
}

a { text-decoration: none; color: #f2f2f2; }
a:hover { color: var(--orange); }
.text-orange { color: var(--orange) !important; }
.text-muted { color: var(--text-muted) !important; }

/* Standard form fields keep their normal light background / dark text for
   readability (contact form, admin forms) — not part of the dark-theme text. */
.form-control, .form-select, input, textarea, select {
  color: #212529;
}
.form-label { color: #f2f2f2; }

.btn-orange {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.btn-orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }

/* Every outline-style button (custom or Bootstrap: outline-orange,
   outline-light, outline-primary, outline-secondary, outline-danger, ...) —
   white border/text by default; on hover it fills solid with the theme
   color (background + border both themed) so it reads as a normal solid
   button, with white text. One consistent look across the whole site. */
[class*="btn-outline"] {
  border: 1px solid #fff !important;
  color: #fff !important;
  background: transparent !important;
}
[class*="btn-outline"]:hover,
[class*="btn-outline"]:focus {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
  color: #fff !important;
}

/* Navbar */
.site-navbar { background: rgba(13,13,13,0.95); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--border-color); }
.navbar-brand { font-weight: 800; letter-spacing: 1px; color: #fff !important; font-size: 1.4rem; display: inline-flex; align-items: center; }
.brand-logo { width: 140px; height: 50px; object-fit: contain; }
.navbar-nav .nav-link { color: #ddd !important; font-weight: 500; margin: 0 10px; }
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover { color: var(--orange) !important; }
.call-btn { width: 42px; height: 42px; display:flex; align-items:center; justify-content:center; }

/* Dropdown menus (Towing / Roadside) */
.dropdown-menu {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px;
  min-width: 240px;
}
.dropdown-item {
  color: #f2f2f2 !important;
  border-radius: 6px;
  padding: 8px 12px;
}
.dropdown-item:hover, .dropdown-item:focus {
  background: var(--orange);
  color: #fff !important;
}
.dropdown-item.text-orange { color: var(--orange) !important; }
.dropdown-item.text-orange:hover { color: #fff !important; }
.dropdown-divider { border-color: var(--border-color); }

/* Hero — the dark panel sits only behind the text content (not the whole
   photo), so the rest of the hero image stays fully visible. */
.hero-section {
  background-size: cover;
  background-position: center;
  padding: 100px 0 60px;
}
.hero-text-panel {
  background: rgba(0, 0, 0, 0.8);
  border-radius: 14px;
  padding: 35px 40px;
  max-width: 620px;
}
.hero-badge { background: rgba(255,122,26,0.15); color: var(--orange); border: 1px solid var(--orange); border-radius: 30px; padding: 6px 16px; font-size: 0.85rem; display: inline-block; }
.hero-title { font-size: 2.8rem; font-weight: 800; line-height: 1.2; }
.hero-stats h3 { color: var(--orange); font-weight: 800; margin-bottom: 0; }
.hero-image-box img { border-radius: 10px; border: 4px solid #222; }

/* Emergency strip */
.emergency-strip { background: linear-gradient(90deg, var(--orange), var(--orange-dark)); color: #fff; padding: 18px 0; }

/* Section generic */
.section { padding: 80px 0; }
.section-title { font-weight: 800; font-size: 2.2rem; }
.section-title-underline { width: 60px; height: 3px; background: var(--orange); margin: 10px auto 0; }
.section-subtitle { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* Cards */
.service-card, .fleet-card, .testimonial-card, .pricing-card, .faq-card, .coverage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.service-card:hover, .fleet-card:hover, .testimonial-card:hover, .pricing-card:hover, .coverage-card:hover {
  border-color: var(--orange);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.icon-circle { transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.service-card:hover .icon-circle { transform: scale(1.1) rotate(-4deg); }
.icon-circle {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 15px;
}

/* Why choose */
.why-item { background: var(--bg-card); border-radius: 8px; padding: 18px 20px; margin-bottom: 15px; display:flex; gap:15px; align-items:flex-start; }
.why-item .icon-circle { width: 45px; height: 45px; font-size: 1.1rem; flex-shrink:0; margin-bottom:0; }

/* how it works */
.step-circle {
  width: 80px; height: 80px; background: var(--orange); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; color: #fff; margin: 0 auto 15px;
}

/* Fleet */
.fleet-card { padding: 0; overflow: hidden; }
.fleet-card img { width: 100%; height: 200px; object-fit: cover; }
.fleet-card .fleet-body { padding: 20px; }
.fleet-badge { position: absolute; top: 15px; left: 15px; background: var(--orange); color:#fff; padding: 4px 12px; border-radius: 4px; font-size: 0.75rem; }
.fleet-img-wrap { position: relative; }

/* Testimonials */
.testimonial-card .stars { color: var(--orange); }
.avatar-sm { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }

/* Pricing */
.pricing-card.featured { border-color: var(--orange); }
.pricing-card .price { font-size: 2.2rem; font-weight: 800; color: var(--orange); }

/* CTA */
.cta-section { background: linear-gradient(90deg, var(--orange), var(--orange-dark)); padding: 60px 0; text-align:center; }

/* Breadcrumb */
.breadcrumb { --bs-breadcrumb-divider-color: #888; }
.breadcrumb-item.active { color: var(--orange) !important; }

/* Rich text service content */
.service-detail-content h2 { font-size: 1.6rem; margin-top: 1.5rem; }
.service-detail-content h3 { font-size: 1.3rem; margin-top: 1.2rem; }
.service-detail-content p { color: var(--text-muted); }
.service-detail-content ul, .service-detail-content ol { color: var(--text-muted); padding-left: 1.2rem; }
.service-detail-content img { max-width: 100%; border-radius: 8px; }

/* Page banner — the dark panel sits only behind the title/subtitle text
   (not the whole photo), so the uploaded image stays fully visible. */
.page-banner {
  background-color: var(--bg-card);
  background-size: cover;
  background-position: center;
  padding: 90px 0;
  text-align: center;
}
.banner-text-panel {
  display: inline-block;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 14px;
  padding: 20px 45px;
  max-width: 90%;
}

/* Footer */
.site-footer { background: #090909; border-top: 1px solid var(--border-color); }
.footer-heading { color: #fff; font-weight: 700; margin-bottom: 15px; }
.footer-links { list-style: none; padding: 0; color: var(--text-muted); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--orange); }
.social-icons a { display:inline-flex; width:36px; height:36px; border-radius:50%; background: var(--bg-card); color:#fff; align-items:center; justify-content:center; margin-right:8px; }
.social-icons a:hover { background: var(--orange); }
.footer-bottom { background:#050505; color: var(--text-muted); font-size: 0.85rem; }

.back-to-top { position: fixed; bottom: 20px; right: 20px; width: 45px; height: 45px; display:none; align-items:center; justify-content:center; z-index: 999; }

/* Accordion (FAQ) */
.accordion-item { background: var(--bg-card); border: 1px solid var(--border-color); margin-bottom: 10px; border-radius: 8px !important; overflow: hidden; }
.accordion-button { background: var(--bg-card); color: #fff; font-weight: 600; }
.accordion-button:not(.collapsed) { background: var(--bg-card-light); color: var(--orange); box-shadow:none; }
.accordion-body { color: var(--text-muted); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 991px) {
  .hero-title { font-size: 2rem; }
  .navbar-collapse { background: var(--bg-dark); padding: 15px; border-radius: 8px; margin-top:10px; }
}
