/* Orange theme overrides — loaded last to ensure precedence */
:root {
  --override-primary: var(--primary, #fd7e14);
  --override-primary-dark: #c65a0f;
}

/* Links */
a,
.navbar .nav-link,
.nav-link {
  color: var(--override-primary) !important;
}
a:hover, .nav-link:hover {
  color: var(--override-primary-dark) !important;
  text-decoration: underline !important;
}

/* Primary buttons and backgrounds */
.btn-primary,
.bg-primary {
  background-color: var(--override-primary) !important;
  border-color: var(--override-primary) !important;
  color: #fff !important;
}
.btn-primary:hover,
a.bg-primary:hover,
button.bg-primary:hover {
  background-color: var(--override-primary-dark) !important;
  border-color: var(--override-primary-dark) !important;
}

/* Outline primary */
.btn-outline-primary {
  color: var(--override-primary) !important;
  border-color: var(--override-primary) !important;
}
.btn-outline-primary:hover {
  color: #fff !important;
  background-color: var(--override-primary) !important;
  border-color: var(--override-primary) !important;
}

/* Focus shadows */
.btn:focus, .btn.focus, .form-control:focus, .custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 .2rem rgba(253,126,20,0.25) !important;
  border-color: rgba(253,126,20,0.4) !important;
}

/* Custom controls (checkboxes/radios) */
.custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--override-primary) !important;
  border-color: var(--override-primary) !important;
  color: #fff !important;
}

/* Borders */
.border-primary {
  border-color: var(--override-primary) !important;
}

/* Dropdowns, active items */
.dropdown-item.active, .dropdown-item:active {
  background-color: var(--override-primary) !important;
  color: #fff !important;
}

/* Helper: ensure text links in nav-brand */
.navbar-brand, .navbar-brand span {
  color: var(--override-primary) !important;
}

/* Global black + orange theme */
body {
  background-color: #000 !important;
  color: #fff !important;
}

/* Ensure sections and containers default to dark backgrounds where appropriate */
.ftco-section, .hero-wrap, .section, .container,
.site-section, header, footer, .navbar {
  background-color: transparent !important;
}

/* Replace green (success) usages with orange accent */
.text-success, .badge-success, .alert-success,
.bg-success, .border-success, .btn-success {
  color: #fff !important;
  background-color: var(--override-primary) !important;
  border-color: var(--override-primary) !important;
}

/* Make dark utility actually black */
.bg-dark, .navbar-dark .navbar-collapse, .navbar-dark .navbar-nav .nav-link {
  background-color: #000 !important;
  color: #fff !important;
}

/* Buttons: ensure white text on dark backgrounds */
.btn, .btn-primary, .btn-outline-primary {
  color: #fff !important;
}

/* Borders default to slightly lighter on black */
.border, .card {
  border-color: rgba(255,255,255,0.08) !important;
}

/* Forms */
.form-control, .form-control:focus {
  background-color: transparent !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.12) !important;
}

/* Images/icons that rely on color may need manual tweaks elsewhere */
