/* ============================================
   WARREN LOGISTICS — MODERN DESIGN SYSTEM
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,700&display=swap');

/* ---- TOKENS ---- */
:root {
  --primary:      #0A7472;
  --primary-dark: #042B2A;
  --primary-mid:  #0B5E5C;
  --accent:       #FDBD2D;
  --accent-dark:  #E6A916;
  --text:         #0D1B1A;
  --muted:        #4E6866;
  --surface:      #F3F8F7;
  --border:       #D5E8E7;
  --white:        #FFFFFF;
  --r-sm:         10px;
  --r-md:         18px;
  --r-lg:         28px;
  --r-xl:         40px;
  --shadow-sm:    0 2px 14px rgba(4,43,42,.07);
  --shadow-md:    0 8px 36px rgba(4,43,42,.10);
  --shadow-lg:    0 20px 64px rgba(4,43,42,.14);
  --nav-h:        72px;
}

/* ---- BASE ---- */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ---- TYPOGRAPHY ---- */
.display-title {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.eyebrow-light { color: var(--accent); }
.eyebrow-light::before { background: var(--accent); }

/* ---- NAVBAR ---- */
.brand-logo { width: 150px; max-height: 60px; object-fit: contain; }

#mainNav {
  height: var(--nav-h);
  padding: 0;
  background: var(--white) !important;
  box-shadow: 0 2px 20px rgba(4,43,42,.08) !important;
}

#mainNav .navbar-brand { padding: 0; }

#mainNav .nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text) !important;
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-sm);
  transition: color 0.2s ease, background 0.2s ease;
  letter-spacing: 0.01em;
}
#mainNav .nav-link:hover {
  color: var(--primary) !important;
  background: var(--surface);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--primary-dark) !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.4rem !important;
  border-radius: 50px !important;
  font-size: 0.88rem !important;
  transition: background 0.2s, transform 0.15s !important;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--accent-dark) !important;
  color: var(--primary-dark) !important;
  transform: translateY(-1px) !important;
}

.navbar-toggler { border: none; padding: 0.4rem; }
.navbar-toggler:focus { box-shadow: none; outline: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230D1B1A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Mobile menu */
@media (max-width: 991.98px) {
  #navMenu {
    background: var(--white);
    border-radius: var(--r-md);
    padding: 1rem;
    margin-top: 0.75rem;
    box-shadow: var(--shadow-lg);
  }
  #mainNav .nav-link:hover { color: var(--primary) !important; background: var(--surface); }
  .nav-cta { display: inline-block; margin-top: 0.5rem; }
}

/* ---- HERO (HOME) ---- */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/gallery-road-truck.webp') center right / cover no-repeat;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    var(--primary-dark) 0%,
    rgba(4,43,42,.97) 38%,
    rgba(4,43,42,.75) 58%,
    rgba(4,43,42,.3) 80%,
    transparent 100%
  );
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
}
.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.hero-title {
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero-title .accent-word {
  color: var(--accent);
  font-style: italic;
}
.hero-desc {
  font-size: 1.02rem;
  color: rgba(255,255,255,.75);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.btn-solid-accent {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.88rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-solid-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--primary-dark);
  transform: translateY(-2px);
}
.btn-ghost-white {
  background: transparent;
  color: rgba(255,255,255,.9);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.88rem 2rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost-white:hover { border-color: rgba(255,255,255,.8); color: #fff; }

.hero-float-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-lg);
  padding: 2rem 2rem 1.75rem;
  color: #fff;
  max-width: 300px;
}
.hero-float-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}
.hero-float-card h4 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: #fff;
}
.hero-float-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,.72);
  margin: 0;
}

/* ---- PROCESS STRIP ---- */
.process-strip {
  padding: 5.5rem 0;
  background: var(--surface);
}
.process-step {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  height: 100%;
}
.process-step:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}
.process-step img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.process-step-body { padding: 1.5rem; }
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 0.28rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.process-step h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.process-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.4rem;
  opacity: 0.6;
}
@media (min-width: 768px) { .process-arrow { display: flex; } }

/* ---- SECTION PADDING ---- */
.section-pad { padding: 6.5rem 0; }
.section-pad-sm { padding: 4rem 0; }

/* ---- SERVICE CARDS (overlay style) ---- */
.svc-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.svc-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}
.svc-card:hover img { transform: scale(1.07); }
.svc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4,43,42,.97) 0%,
    rgba(4,43,42,.65) 40%,
    rgba(4,43,42,.1) 70%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
}
.svc-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
  align-self: flex-start;
}
.svc-overlay h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 0.4rem;
}
.svc-overlay p {
  font-size: 0.8rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 0.85rem;
  line-height: 1.55;
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: gap 0.2s;
}
.svc-card:hover .svc-link { gap: 0.65rem; }

/* Service cards flat (services page) */
.svc-flat {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.svc-flat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.svc-flat img { width: 100%; height: 180px; object-fit: cover; display: block; }
.svc-flat-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.svc-flat h3 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.svc-flat p {
  font-size: 0.88rem;
  color: var(--muted);
  flex: 1;
  margin-bottom: 0;
  line-height: 1.6;
}
.svc-flat-cta {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  transition: background 0.2s, color 0.2s;
  align-self: flex-start;
  letter-spacing: 0.04em;
}
.svc-flat-cta:hover { background: var(--primary); color: #fff; }

/* ---- PRODUCTS SECTION ---- */
.products-img-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.products-img-wrap img { width: 100%; height: 520px; object-fit: cover; display: block; }

/* ---- ABOUT TEASER (DARK) ---- */
.dark-panel {
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
  color: #fff;
}
.dark-panel-glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(253,189,45,.08) 0%, transparent 65%);
  pointer-events: none;
}
.dark-panel-glow-2 {
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(10,116,114,.25) 0%, transparent 65%);
  pointer-events: none;
}

/* ---- ABOUT PAGE ---- */
.info-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  height: 100%;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.info-card h2 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.info-card p { color: var(--muted); font-size: 0.97rem; margin: 0; }

.value-pill {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 1rem 1.25rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  cursor: default;
}
.value-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.value-pill:hover i { color: #fff !important; }

/* ---- GALLERY ---- */
.gallery-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ---- PAGE HEROES (inner pages) ---- */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 52vh;
  background-size: cover;
  background-position: center;
}
.about-hero  { background-image: url('../img/gallery-logistics-network.webp'); }
.services-hero { background-image: url('../img/service-trucks.webp'); }
.contact-hero { background-image: url('../img/gallery-sunset-truck.webp'); }

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4,43,42,.95) 0%,
    rgba(4,43,42,.72) 50%,
    rgba(4,43,42,.45) 100%
  );
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  color: #fff;
}
.page-hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.5rem 0 0;
}

/* ---- TRADE LOGOS ---- */
.trade-logo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, box-shadow 0.2s;
  height: 100%;
}
.trade-logo-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.trade-logo { width: 100%; max-width: 200px; height: 80px; object-fit: contain; }

/* ---- CONTACT PAGE ---- */
.contact-info-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 2rem;
  border: 1px solid var(--border);
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.05rem;
}
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.contact-form-wrap .form-label {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}
.contact-form-wrap .form-control {
  border-radius: var(--r-sm);
  border-color: var(--border);
  padding: 0.8rem 1rem;
  font-size: 0.93rem;
  background: var(--surface);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form-wrap .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,116,114,.12);
  background: var(--white);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.72);
  padding: 5.5rem 0 0;
}
.footer-logo-img { width: 140px; max-height: 56px; object-fit: contain; background: #fff; border-radius: 10px; padding: 0.3rem 0.55rem; }
.footer-desc { font-size: 0.92rem; line-height: 1.75; margin-top: 1rem; }
.footer-heading {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a {
  color: rgba(255,255,255,.68);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,.68);
}
.footer-contact-item i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,.68); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--accent); }

.footer-form .form-control {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  border-radius: var(--r-sm);
  padding: 0.7rem 0.95rem;
  font-size: 0.88rem;
  margin-bottom: 0.65rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.footer-form .form-control::placeholder { color: rgba(255,255,255,.42); }
.footer-form .form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,.1);
  box-shadow: none;
  color: #fff;
}
.footer-form textarea.form-control { resize: vertical; }

.footer-divider {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 4rem;
  padding: 1.75rem 0;
}
.footer-bottom-text { font-size: 0.85rem; color: rgba(255,255,255,.45); }
.footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,.45);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--accent); }

/* ---- GLOBAL BOOTSTRAP OVERRIDES ---- */
.text-primary { color: var(--primary) !important; }
.bg-primary   { background-color: var(--primary) !important; }
.bg-surface   { background-color: var(--surface) !important; }
.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary-mid);
  --bs-btn-hover-border-color: var(--primary-mid);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-family: inherit;
}
.btn-outline-primary {
  --bs-btn-color: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary);
  --bs-btn-hover-border-color: var(--primary);
  font-weight: 700;
  font-family: inherit;
}
.btn-outline-light:hover { color: var(--primary-dark) !important; }
.btn-warning {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--primary-dark) !important;
  font-weight: 700;
  font-family: inherit;
}
.rounded-pill { border-radius: 50px !important; }

/* ---- ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up[data-delay="1"] { transition-delay: 0.1s; }
.fade-up[data-delay="2"] { transition-delay: 0.2s; }
.fade-up[data-delay="3"] { transition-delay: 0.3s; }
.fade-up[data-delay="4"] { transition-delay: 0.4s; }
.fade-up[data-delay="5"] { transition-delay: 0.5s; }
.fade-up[data-delay="6"] { transition-delay: 0.6s; }
.fade-up[data-delay="7"] { transition-delay: 0.7s; }
.fade-up[data-delay="8"] { transition-delay: 0.8s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 991.98px) {
  .section-pad { padding: 4.5rem 0; }
  .hero-section { min-height: auto; }
  .hero-bg { background-size: cover; background-position: center; }
  .hero-gradient {
    background: linear-gradient(180deg, rgba(4,43,42,.97) 0%, rgba(4,43,42,.82) 100%);
  }
  .products-img-wrap img { height: 380px; }
}

@media (max-width: 575.98px) {
  .section-pad { padding: 3.5rem 0; }
  .svc-card img { height: 220px; }
  .products-img-wrap img { height: 280px; }
  .page-hero { min-height: 40vh; }
  .gallery-item { aspect-ratio: 16/10; }
}
