/* ==================================================
   SADDAM & MASHELLE TRANSPORT COMPANY LIMITED
   Brand theme override — Gold & Black on the light base
   Loaded AFTER cargo-theme.css so these win.
   ================================================== */

:root {
  /* Re-map the template accent (blue) to brand GOLD */
  --cargo-blue: #C2992B;        /* primary gold */
  --cargo-blue-dark: #8F7016;   /* deep gold */
  --cargo-blue-light: #E0C56B;  /* light gold */
  --cargo-gold: #C2992B;

  /* Brand black (kept near-black for headings / dark sections) */
  --cargo-ink: #111111;
  --cargo-brown: #1a1a1a;
  --cargo-brown-dark: #0b0b0b;

  /* Gold-tinted shadows */
  --cargo-shadow: rgba(120, 92, 0, 0.10);
  --cargo-shadow-lg: rgba(120, 92, 0, 0.16);
}

/* ---------- Smooth single-page scrolling ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px; /* offset for fixed topbar + header */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Gold / Black buttons ---------- */
.btn-header,
.btn-primary,
.btn-hero.btn-primary,
.btn-search-icon,
.btn-header span,
.btn-primary span {
  color: #ffffff !important; /* white text on gold */
}
.btn-header,
.btn-primary,
.btn-hero.btn-primary,
.btn-search-icon {
  box-shadow: 0 6px 16px rgba(120, 92, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
/* Hover face: deep gold with white text */
.btn-header::before,
.btn-primary::before {
  background: var(--cargo-blue-dark);
  color: #ffffff;
}

/* ---------- Text logo (gold & black) ---------- */
.brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}
.brand-logo .brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: inherit;        /* white over hero, black when sticky (see below) */
  white-space: nowrap;
}
.brand-logo .brand-name .amp,
.brand-logo .brand-name .mashelle {
  color: var(--cargo-gold);
}
.brand-logo .brand-tagline {
  font-family: var(--font-primary);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cargo-gold);
  opacity: 0.9;
}
/* Sticky (white) header → black brand text */
.cargo-header.header-sticky .brand-logo .brand-name {
  color: var(--cargo-ink);
}
@media (max-width: 480px) {
  .brand-logo .brand-name { font-size: 1.1rem; }
  .brand-logo .brand-tagline { font-size: 0.5rem; letter-spacing: 0.2em; }
}

/* Keep the gold underline accents tidy on the light theme */
.section-label { color: var(--cargo-gold); }

/* ---------- Preloader (gold & black) ---------- */
.loader-progress-bar { background: var(--cargo-gold) !important; }
.loader-logo span { color: var(--cargo-gold); }
.preloader-brand {
  display: block;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  text-transform: uppercase;
}
.preloader-brand .amp,
.preloader-brand .mashelle { color: var(--cargo-gold); }
.preloader-sub {
  display: block;
  margin-top: 10px;
  font-family: var(--font-primary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cargo-gold) !important;
  opacity: 0.85;
}

/* ---------- Quote type toggle ---------- */
.quote-type-toggle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}
.quote-type-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border: 1.5px solid var(--cargo-border);
  background: #fff;
  color: var(--cargo-ink);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.quote-type-btn i {
  color: var(--cargo-gold);
  transition: color 0.25s ease;
}
.quote-type-btn:hover {
  border-color: var(--cargo-gold);
}
.quote-type-btn.active {
  background: var(--cargo-gold);
  border-color: var(--cargo-gold);
  color: #fff;
}
.quote-type-btn.active i {
  color: #fff;
}

/* ---------- Honeypot anti-spam field (hidden from users) ---------- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Form inputs: gold focus to match theme ---------- */
.faq-section .form-control,
#contact .form-control {
  border: 1px solid var(--cargo-border);
  border-radius: 4px;
  padding: 12px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-section .form-control:focus,
#contact .form-control:focus {
  border-color: var(--cargo-gold);
  box-shadow: 0 0 0 3px rgba(194, 153, 43, 0.18);
  outline: none;
}

/* ---------- Autocomplete typeahead dropdown ---------- */
.ac-wrap {
  position: relative;
}
.ac-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 50;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--cargo-border);
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.12);
  overflow: hidden;
}
.ac-menu.up {
  top: auto;
  bottom: calc(100% + 6px);
}
.ac-item {
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--cargo-ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ac-item.active {
  background: var(--cargo-gold);
  color: #fff;
}

/* ---------- Testimonials: equal-height cards ---------- */
.testimonials-slider .swiper-slide {
  height: auto;
  display: flex;
}
.testimonials-slider .testimonial-card {
  height: 100%;
}

/* ---------- Footer bottom: copyright left, credit right ---------- */
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom-inner p {
  margin: 0;
}
@media (max-width: 575px) {
  .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }
}

/* ---------- Footer bottom credit link ---------- */
.footer-bottom a {
  color: var(--cargo-gold);
  text-decoration: none;
}
.footer-bottom a:hover {
  text-decoration: underline;
}

/* ---------- Footer brand (gold accent) ---------- */
.footer-brand {
  text-transform: uppercase;
}
.footer-brand .amp,
.footer-brand .mashelle {
  color: var(--cargo-gold);
}

/* ---------- "Ship Anywhere" box → dark background ---------- */
.track-box {
  background: #111111 !important;
}
.track-box .track-icon {
  color: var(--cargo-gold);
}

/* ---------- Contact info list (Contact Us section) ---------- */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 6px;
}
.contact-info-list .contact-info-item {
  align-items: center;
  gap: 18px;
  margin: 0;
}
.contact-info-list .ci-icon {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(194, 153, 43, 0.12);
  color: var(--cargo-gold);
  font-size: 1.05rem;
}
.contact-info-list .contact-info-item > div {
  display: flex;
  flex-direction: column;
  line-height: 1.45;
}
.contact-info-list .contact-info-item strong {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--cargo-ink);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

/* Hero accent line — template ships a hardcoded blue gradient, make it gold */
.title-line-accent {
  background: linear-gradient(90deg, #E0C56B 0%, #C2992B 55%, #8F7016 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-stroke: 0.6px rgba(226, 200, 107, 0.45) !important;
}
