/* ============================================================
   BJC TRUCKING — Main Stylesheet
   Brand Color: Deep Cobalt Blue #1a3b8c / Accent Gold #e8a020
   ============================================================ */

:root {
  --blue:        #1a3b8c;
  --blue-dark:   #132d6e;
  --blue-light:  #2650b8;
  --accent:      #e8a020;
  --accent-dark: #c88010;
  --white:       #ffffff;
  --gray-50:     #f7f8fc;
  --gray-100:    #eef0f7;
  --gray-200:    #d8dce8;
  --gray-400:    #9aa0b8;
  --gray-600:    #5c6280;
  --gray-800:    #2a2d3e;
  --black:       #111218;
  --font-head:   'Barlow Condensed', sans-serif;
  --font-body:   'Barlow', sans-serif;
  --radius:      8px;
  --radius-lg:   14px;
  --shadow-sm:   0 2px 8px rgba(26,59,140,.10);
  --shadow-md:   0 6px 24px rgba(26,59,140,.15);
  --shadow-lg:   0 12px 48px rgba(26,59,140,.20);
  --transition:  0.28s ease;
  --container:   1200px;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--gray-800); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ─────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ── Utility ───────────────────────────────────── */
.text-center { text-align: center; }
.section { padding: 80px 0; }
.section--gray { background: var(--gray-50); }

/* ── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,160,32,.40); }
.btn--white { background: var(--white); color: var(--blue); }
.btn--white:hover { background: var(--gray-50); transform: translateY(-2px); }
.btn--outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.65); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn--full { width: 100%; justify-content: center; }

/* ── Section Title ─────────────────────────────── */
.section__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--blue-dark);
  line-height: 1.15;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section__title span { color: var(--accent); }
.section__title-white {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section__desc { font-size: 1.05rem; color: var(--gray-600); max-width: 600px; margin: 0 auto; }
.section__header { margin-bottom: 48px; }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--blue-dark);
  color: rgba(255,255,255,.80);
  font-size: .84rem;
  padding: 8px 0;
}
.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar__left, .top-bar__right { display: flex; align-items: center; gap: 20px; }
.top-bar i { color: var(--accent); margin-right: 4px; }
.top-bar a { color: rgba(255,255,255,.80); transition: color var(--transition); }
.top-bar a:hover { color: var(--accent); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(26,59,140,.10);
  transition: box-shadow var(--transition);
}
.navbar--scrolled { box-shadow: var(--shadow-md); }
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.navbar__logo img { height: 68px; width: auto; object-fit: contain; }
.navbar__nav ul { display: flex; align-items: center; gap: 4px; }
.navbar__nav a {
  font-family: var(--font-head);
  font-size: .98rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--gray-800);
  padding: 8px 14px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.navbar__nav a:hover, .navbar__nav a.active { color: var(--blue); background: var(--gray-100); }
.navbar__cta { font-size: .9rem; padding: 10px 22px; }
.navbar__hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.navbar__hamburger span { width: 26px; height: 3px; background: var(--blue); border-radius: 3px; transition: all var(--transition); }
.navbar__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO (Home)
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(19,45,110,.82) 0%, rgba(26,59,140,.70) 50%, rgba(38,80,184,.65) 100%),
    url('../images/hero-truck.jpg') center/cover no-repeat;
  overflow: hidden;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 60%, rgba(232,160,32,.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 0;
  color: var(--white);
}
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.hero__logo-wrap {
  margin-bottom: 28px;
}
.hero__logo {
  height: 110px;
  width: auto;
  /* white version for dark background */
  filter: brightness(0) invert(1);
  drop-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.hero__sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 520px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   INTRO SECTION
   ============================================================ */
.intro-section { background: var(--white); }
.intro-section__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}
.intro-section__logo { flex-shrink: 0; }
.intro-section__logo img { height: 80px; width: auto; }
.intro-section__text { flex: 1; }
.intro-section__text p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ============================================================
   TWO-COL SECTION
   ============================================================ */
.two-col-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col-section--reverse { }
.two-col-section__content h2 { margin-bottom: 16px; }
.two-col-section__content p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.two-col-section__content .btn { margin-top: 8px; }
.two-col-section__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Services list card */
.services-list-card {
  background: var(--blue);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  height: 100%;
}
.services-icon-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.services-icon-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.services-icon-list i { color: var(--accent); font-size: 1rem; width: 18px; flex-shrink: 0; }
.services-icon-list--dark li { color: var(--gray-800); }
.services-icon-list--dark i { color: var(--blue); }

/* ============================================================
   FLEET SECTION (parallax-style CTA)
   ============================================================ */
.fleet-section {
  position: relative;
  background:
    linear-gradient(135deg, rgba(19,45,110,.80) 0%, rgba(26,59,140,.75) 100%),
    url('../images/fleet-truck.jpg') center/cover no-repeat fixed;
  padding: 100px 0;
  overflow: hidden;
}
.fleet-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.15);
  pointer-events: none;
}
.fleet-section__content { position: relative; z-index: 2; }
.fleet-section__text { max-width: 680px; }
.fleet-section__text p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.fleet-section__text .btn { margin-top: 16px; }

/* ============================================================
   IMAGE CARDS GRID
   ============================================================ */
.image-cards { padding: 0; }
.image-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.image-card { display: block; overflow: hidden; }
.image-card__img-wrap {
  position: relative;
  overflow: hidden;
  height: 320px;
}
.image-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.image-card:hover .image-card__img-wrap img { transform: scale(1.06); }
.image-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19,45,110,.80) 0%, rgba(19,45,110,.20) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 28px;
  transition: background var(--transition);
}
.image-card:hover .image-card__overlay { background: linear-gradient(to top, rgba(19,45,110,.90) 0%, rgba(19,45,110,.40) 60%, transparent 100%); }
.image-card__overlay h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  letter-spacing: 1px;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-light) 100%);
  padding: 72px 0;
  overflow: hidden;
}
.cta-band__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(232,160,32,.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.cta-band__content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cta-band__content p { color: rgba(255,255,255,.75); font-size: 1rem; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--blue-dark); color: rgba(255,255,255,.75); }

.footer__top { padding: 48px 0; border-bottom: 1px solid rgba(255,255,255,.10); }
.footer__top-inner {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}
.footer__brand { flex-shrink: 0; }
.footer__logo {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
  margin-bottom: 0;
}
.footer__contact-col { flex: 1; min-width: 200px; }
.footer__contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer__contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .9rem;
  color: rgba(255,255,255,.70);
}
.footer__contact-list i { color: var(--accent); margin-top: 3px; flex-shrink: 0; width: 14px; }
.footer__contact-list a { color: rgba(255,255,255,.75); transition: color var(--transition); }
.footer__contact-list a:hover { color: var(--accent); }
.footer__contact-list strong { color: rgba(255,255,255,.90); }

.footer__nav-bar { background: rgba(0,0,0,.20); padding: 14px 0; }
.footer__nav-bar-inner nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.footer__nav-bar-inner nav a {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: rgba(255,255,255,.65);
  padding: 6px 14px;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.footer__nav-bar-inner nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }

.footer__bottom { background: rgba(0,0,0,.30); padding: 14px 0; }
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .83rem;
  color: rgba(255,255,255,.45);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .two-col-section { grid-template-columns: 1fr; gap: 40px; }
  .two-col-section--reverse .two-col-section__image { order: -1; }
  .image-cards__grid { grid-template-columns: 1fr; }
  .image-card__img-wrap { height: 260px; }
  .footer__top-inner { flex-direction: column; gap: 28px; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .navbar__nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    padding: 80px 24px;
  }
  .navbar__nav.open { display: flex; }
  .navbar__nav ul { flex-direction: column; gap: 6px; width: 100%; }
  .navbar__nav a { display: block; text-align: center; font-size: 1.3rem; padding: 14px 20px; }
  .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; z-index: 1001; position: relative; }
  .hero { min-height: 75vh; }
  .hero__title { font-size: clamp(2.8rem, 10vw, 4.5rem); }
  .hero__logo { height: 80px; }
  .navbar__logo img { height: 54px; }
  .intro-section__inner { flex-direction: column; gap: 20px; }
  .section { padding: 60px 0; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .cta-band__actions { justify-content: center; }
  .footer__nav-bar-inner nav ul { justify-content: center; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}
