/* ============================================================
   index.css — Home page styles
   Sections: Hero, Stats, Services grid, About split,
   Process steps, Why Us, CTA banner
   ============================================================ */

/* ── HERO ──
   Full-viewport image background with layered gradient overlay.
   IMAGE NEEDED: images/hero-bg.jpg
   Download from Unsplash — search "freight truck highway night"
   or "logistics cargo highway aerial"
── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-color: var(--navy);          /* fallback color */
  background-image: url('https://res.cloudinary.com/dwaxgussx/image/upload/v1773956838/hero-bg_w3ppef.avif');
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;           /* parallax effect */
  overflow: hidden;
}

/* Multi-layer dark gradient — keeps text readable on any image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(12,26,46,0.96) 40%, rgba(12,26,46,0.5) 100%),
    linear-gradient(to bottom, transparent 50%, rgba(12,26,46,0.6));
  z-index: 1;
}

/* Decorative orange stripe at bottom of hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--orange), var(--orange-lt), transparent 70%);
  z-index: 2;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 60px 0;
}

/* ── Hero Left: Text content ── */
.hero__content {
  max-width: 640px;
}

.hero__content .eyebrow {
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}

.hero__content .eyebrow::before {
  background: var(--orange);
}

/* Main headline — very large display font */
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.95;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 28px;
}

/* Orange highlighted word in headline */
.hero__title .highlight { color: var(--orange); }

/* Subtitle text */
.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 44px;
  max-width: 480px;
}

/* CTA button row */
.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ── Hero Right: Quick stats card ── */
.hero__stats-panel {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Each stat row */
.hero-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 4px solid var(--orange);
  border-radius: var(--r-sm);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}

.hero-stat:hover {
  background: rgba(255,255,255,0.09);
}

/* Icon inside stat */
.hero-stat__icon {
  width: 48px;
  height: 48px;
  background: rgba(232,93,4,0.15);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-stat__icon svg {
  width: 24px;
  height: 24px;
  fill: var(--orange);
}

.hero-stat__num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
  letter-spacing: 1px;
}

.hero-stat__label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ── TRUST BAR ──
   Dark strip with logos / key certifications below the hero
── */
.trust-bar {
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-bar__label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-700);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Divider dot */
.trust-bar__divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

/* Trust items */
.trust-bar__items {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-500);
}

.trust-bar__item svg {
  width: 18px;
  height: 18px;
  fill: var(--orange);
}

/* ── SERVICES SECTION ──
   6 cards in a 3×2 grid, each with a background image
── */
.services-section {
  background: var(--off-white);
  padding: 100px 0;
}

.services-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}

.services-section__header-left h2 { color: var(--navy); }

/* Grid of service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Service card with image background */
.svc-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  group: true;
}

/* Image background for each card — set individually below */
.svc-card__img {
  position: absolute;
  inset: 0;
  background-color: var(--navy-mid); /* fallback */
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.svc-card:hover .svc-card__img {
  transform: scale(1.06);
}

/* Gradient overlay on each card */
.svc-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12,26,46,0.95) 0%,
    rgba(12,26,46,0.55) 55%,
    rgba(12,26,46,0.2) 100%
  );
  transition: background 0.3s ease;
}

.svc-card:hover .svc-card__overlay {
  background: linear-gradient(
    to top,
    rgba(12,26,46,0.98) 0%,
    rgba(12,26,46,0.75) 55%,
    rgba(12,26,46,0.4) 100%
  );
}

/* Orange top stripe that appears on hover */
.svc-card__stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 2;
}

.svc-card:hover .svc-card__stripe {
  transform: scaleX(1);
}

/* Card text content at bottom */
.svc-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  z-index: 2;
}

.svc-card__icon {
  width: 40px;
  height: 40px;
  background: rgba(232,93,4,0.2);
  border: 1px solid rgba(232,93,4,0.4);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: background 0.2s;
}

.svc-card:hover .svc-card__icon {
  background: var(--orange);
  border-color: var(--orange);
}

.svc-card__icon svg {
  width: 20px;
  height: 20px;
  fill: var(--orange);
  transition: fill 0.2s;
}

.svc-card:hover .svc-card__icon svg { fill: var(--white); }

.svc-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 8px;
}

.svc-card__desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}

.svc-card:hover .svc-card__desc {
  max-height: 80px;
  opacity: 1;
}

.svc-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.svc-card__link svg {
  width: 14px;
  height: 14px;
  fill: var(--orange);
}

.svc-card:hover .svc-card__link {
  opacity: 1;
  transform: translateY(0);
}

/* ── Image paths for each service card ──
   Add matching image files to your images/ folder
   Road:       images/road.jpg       → search "truck highway cargo"
   Railway:    images/railway.jpg    → search "freight train cargo"
   Air:        images/air.jpg        → search "cargo airplane freight"
   Container:  images/container.jpg  → search "shipping container port"
   Warehouse:  images/warehouse.jpg  → search "warehouse interior forklift"
   Door:       images/delivery.jpg   → search "delivery truck city"
── */
.svc-card--road      .svc-card__img { background-image: url('https://res.cloudinary.com/dwaxgussx/image/upload/v1773956837/road_gcoqfw.avif'); }
.svc-card--railway   .svc-card__img { background-image: url('https://res.cloudinary.com/dwaxgussx/image/upload/v1773956836/railway_myvjze.avif'); }
.svc-card--air       .svc-card__img { background-image: url('https://res.cloudinary.com/dwaxgussx/image/upload/v1773956838/air_ftma9c.avif'); }
.svc-card--container .svc-card__img { background-image: url('https://res.cloudinary.com/dwaxgussx/image/upload/v1773956837/container_t21jjj.avif'); }
.svc-card--warehouse .svc-card__img { background-image: url('https://res.cloudinary.com/dwaxgussx/image/upload/v1773956839/warehouse_xoz5t5.avif'); }
.svc-card--door      .svc-card__img { background-image: url('https://res.cloudinary.com/dwaxgussx/image/upload/v1773956839/delivery_ufhu2t.avif'); }

/* ── ABOUT TEASER ──
   Split section: left is large image, right is text + features
   IMAGE NEEDED: images/about-teaser.jpg
   Search: "logistics team warehouse professional"
── */
.about-teaser {
  background: var(--white);
  padding: 100px 0;
}

.about-teaser__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

/* Left: photo */
.about-teaser__photo {
  position: relative;
  min-height: 560px;
  background-color: var(--navy-mid);
  background-image: url('https://res.cloudinary.com/dwaxgussx/image/upload/v1773956838/about-teaser_lvy4x9.avif');
  background-size: cover;
  background-position: center;
}

/* Experience badge overlaid on photo */
.about-teaser__badge {
  position: absolute;
  bottom: 40px;
  right: -28px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--r-md);
  padding: 24px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.about-teaser__badge-num {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  display: block;
}

.about-teaser__badge-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.9;
  display: block;
  margin-top: 4px;
}

/* Right: text content */
.about-teaser__content {
  background: var(--navy);
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-teaser__content h2 {
  color: var(--white);
  margin-bottom: 8px;
}

.about-teaser__content > p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.8;
}

/* Feature rows inside about teaser */
.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 44px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about-feature__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  margin-top: 8px;
}

.about-feature h5 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ── STATS BAND ──
   Dark strip with 4 large numbers
── */
.stats-band {
  background: var(--black);
  padding: 0;
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-band__item {
  padding: 56px 40px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.stats-band__item:last-child { border-right: none; }

/* Orange top line on hover */
.stats-band__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stats-band__item:hover::before { transform: scaleX(1); }

.stats-band__num {
  font-family: var(--font-display);
  font-size: 3.8rem;
  color: var(--white);
  line-height: 1;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

/* The orange + or % after numbers */
.stats-band__num sup {
  font-size: 1.8rem;
  color: var(--orange);
  vertical-align: top;
  margin-top: 8px;
  display: inline-block;
}

.stats-band__label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gray-700);
}

/* ── PROCESS TEASER ──
   4-step how it works strip on navy background
── */
.process-teaser {
  background: var(--navy-mid);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Subtle grid pattern behind process section */
.process-teaser::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.process-teaser .container { position: relative; z-index: 1; }

.process-teaser__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 72px;
}

.process-teaser__header h2 { color: var(--white); }

/* 4 step cards in a row */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* Connecting line between steps */
.process-steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 1px;
  background: linear-gradient(to right,
    var(--orange),
    rgba(232,93,4,0.3) 50%,
    rgba(232,93,4,0.1)
  );
}

.proc-step {
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Numbered circle */
.proc-step__circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid rgba(232,93,4,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}

.proc-step:hover .proc-step__circle {
  border-color: var(--orange);
  background: rgba(232,93,4,0.08);
}

/* Number inside circle */
.proc-step__circle span {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--orange);
  line-height: 1;
  letter-spacing: 1px;
}

/* Icon in center of circle */
.proc-step__circle svg {
  width: 32px;
  height: 32px;
  fill: var(--orange);
}

.proc-step h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.proc-step p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.process-teaser__cta {
  text-align: center;
  margin-top: 64px;
}

/* ── CTA BANNER ──
   Full-width orange with background image option.
   IMAGE: images/cta-bg.jpg → search "industrial logistics aerial"
── */
.cta-banner {
  position: relative;
  background-color: var(--navy);
  background-image: url('https://res.cloudinary.com/dwaxgussx/image/upload/v1773956837/cta-bg_lx6rem.avif');
  background-size: cover;
  background-position: center;
  padding: 96px 0;
  overflow: hidden;
}

/* Orange-tinted overlay */
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(232,93,4,0.92) 0%,
    rgba(200,70,0,0.88) 100%
  );
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 560px;
}

.cta-banner h2 span {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.6em;
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__stats-panel { display: none; }

  .about-teaser__inner {
    grid-template-columns: 1fr;
  }

  .about-teaser__photo {
    min-height: 360px;
  }

  .about-teaser__badge {
    right: 40px;
    bottom: -28px;
  }

  .about-teaser__content {
    padding: 56px 40px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }

  .process-steps::before { display: none; }

  .stats-band__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-band__item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  .hero { min-height: 85vh; background-attachment: scroll; }

  .services-grid { grid-template-columns: 1fr; }
  .svc-card { height: 260px; }

  .services-section__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-teaser__content { padding: 40px 28px; }

  .process-steps { grid-template-columns: 1fr; gap: 40px; }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .trust-bar__inner { justify-content: center; }
  .trust-bar__divider { display: none; }

  .stats-band__grid { grid-template-columns: repeat(2, 1fr); }
}
