/* ===========================================
   OV17 Transport — base styles
   Brand color: #830000 (was #2B9F39 green on the original site)
   =========================================== */

:root {
  --primary: #830000;
  --primary-dark: #5e0000;
  --secondary: #034b5b;
  --dark: #202020;
  --text: #464646;
  --light-bg: #f7f5f4;
  --white: #ffffff;
  --radius: 6px;
  --container-width: 1200px;
  --font: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--dark);
  margin: 0 0 16px;
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: 44px; }
h2 { font-size: 34px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

p { margin: 0 0 16px; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  margin-bottom: 8px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }
.light { color: var(--white); }

.lead { max-width: 700px; }

.section-heading { text-align: center; margin-bottom: 48px; }
.section-heading .lead { margin-left: auto; margin-right: auto; color: var(--text); }
.stats .section-heading .lead { color: #d8d8d8; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn--solid { background: var(--primary); color: var(--white); }
.btn--solid:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn--outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--primary); }

.btn--outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--secondary); }

.btn--ghost-light { color: var(--white); font-weight: 500; text-transform: none; padding: 6px 4px; }
.btn--ghost-light:hover { color: var(--primary); }

.btn--solid-light { background: var(--primary); color: var(--white); padding: 8px 18px; font-size: 13px; }
.btn--solid-light:hover { background: var(--primary-dark); }

/* Top bar */
.topbar {
  background: var(--dark);
  color: #cfcfcf;
  font-size: 14px;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar__contact a { margin-right: 24px; color: #cfcfcf; }
.topbar__contact a:hover { color: var(--primary); }
.topbar__links a { margin-left: 18px; color: #cfcfcf; }
.topbar__links a:first-child { margin-left: 0; }
.icon { margin-right: 4px; }

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.logo { display: flex; align-items: center; }
.logo__image { display: block; height: 48px; width: auto; }
.logo--light .logo__text { color: var(--white); }

.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--dark);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.active { color: var(--primary); border-color: var(--primary); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 1px;
}

/* Hero */
.hero {
  position: relative;
  height: 620px;
  overflow: hidden;
}
.hero__slides { position: relative; height: 100%; }
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
}
.hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,20,25,0.85) 0%, rgba(3,20,25,0.45) 55%, rgba(3,20,25,0.15) 100%);
}
.hero__slide.active { opacity: 1; }
.hero__content { position: relative; z-index: 2; max-width: 640px; }
.hero__content .eyebrow { color: #ff9d9d; }
.hero__content h1 { color: var(--white); font-size: 38px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }

.hero__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.hero__dots span.active { background: var(--primary); }

/* CTA strip */
.cta-strip { background: var(--light-bg); padding: 64px 0; }
.cta-strip__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.cta-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.cta-card--dark { background: var(--secondary); color: #d9e5e8; }
.cta-card--dark h3, .cta-card--dark .cta-card__lead { color: var(--white); }
.cta-card__lead { font-weight: 700; font-size: 18px; color: var(--dark); }

/* About / Why us */
.about, .why-us { padding: 80px 0; }
.about__grid, .why-us__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.why-us { background: var(--light-bg); }
.why-us__grid { direction: rtl; }
.why-us__grid > * { direction: ltr; }
.about__image img, .why-us__image img { border-radius: var(--radius); }

/* Services */
.services { padding: 80px 0; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  border: 1px solid #ececec;
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.08); transform: translateY(-4px); }
.service-card__icon { font-size: 40px; margin-bottom: 16px; }
.service-card a { color: var(--primary); font-weight: 700; }
.service-card a:hover { text-decoration: underline; }

/* Numbered features */
.features { background: var(--secondary); padding: 80px 0; color: #d9e5e8; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.feature__num {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
}
.feature h4 { color: var(--white); margin-top: 8px; }
.feature p { color: #c3d3d6; font-size: 15px; }

/* Industries */
.industries { padding: 80px 0; }
.industries__list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
}
.industries__list li {
  background: var(--light-bg);
  border: 1px solid #ececec;
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: 600;
  color: var(--dark);
  font-size: 14px;
}

/* Stats */
.stats { background: var(--dark); padding: 80px 0; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat__num, .stat__plus {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
}
.stat h4 { color: var(--white); margin-top: 8px; }
.stat p { color: #b7b7b7; font-size: 14px; }

/* Testimonials */
.testimonials { padding: 80px 0; background: var(--light-bg); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.testimonial img {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto 16px;
  object-fit: cover;
}
.testimonial__author { font-weight: 700; color: var(--primary); font-size: 14px; }

/* Partners */
.partners { padding: 60px 0; }
.partners__label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 32px;
}
.partners__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
}
.partners__grid img { max-height: 44px; width: auto; filter: grayscale(100%); opacity: 0.7; transition: 0.2s ease; }
.partners__grid img:hover { filter: none; opacity: 1; }

/* News */
.news { padding: 80px 0; background: var(--light-bg); }
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.news-card img { height: 180px; width: 100%; object-fit: cover; }
.news-card__body { padding: 24px; }

/* Footer */
.site-footer { background: var(--dark); color: #b7b7b7; padding-top: 64px; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid #333;
}
.footer__col h4 { color: var(--white); margin-bottom: 20px; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col a:hover { color: var(--primary); }
.footer__col p { font-size: 14px; margin-bottom: 8px; }
.footer__bottom { padding: 20px 0; text-align: center; font-size: 14px; }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  z-index: 200;
}
.back-to-top.show { display: flex; }
.back-to-top:hover { background: var(--primary-dark); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services__grid, .features__grid, .stats__grid, .testimonials__grid, .news__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .about__grid, .why-us__grid { grid-template-columns: 1fr; }
  .why-us__grid { direction: ltr; }
  .cta-strip__grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .topbar__contact { display: none; }

  .main-nav.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  }
  .main-nav.open ul { flex-direction: column; gap: 0; }
  .main-nav.open a { display: block; padding: 14px 20px; border-bottom: 1px solid #eee; }
  .header__inner { position: relative; }
}

@media (max-width: 600px) {
  h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  .hero { height: 560px; }
  .services__grid, .features__grid, .stats__grid, .testimonials__grid, .news__grid, .footer__grid {
    grid-template-columns: 1fr;
  }
}
