﻿/* Roadmaster - Static Site Styles */
@import url('https://fonts.googleapis.com/css2?family=Asap:wght@400;600&family=Inter:wght@400;500;600&family=Roboto:wght@400;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-dark: #0b1220;
  --bg-card: #111827;
  --orange: #f97316;
  --orange-hover: #fb923c;
  --orange-light: #ffaa5a;
  --orange-deep: #ff7400;
  --text: #e5e7eb;
  --text-muted: #cecece;
  --text-dim: #7a7a7a;
  --white: #ffffff;
  --dark-text: #252525;
  --container: 1250px;
  --header-h: 80px;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-dark);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }

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

/* Typography */
.label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--orange-light);
  letter-spacing: 0.02em;
}

.label-white { color: var(--white); }

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.section-title { font-size: 57px; font-weight: 500; text-align: center; }
.section-subtitle { font-size: 20px; font-weight: 400; text-align: center; max-width: 58%; margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: var(--orange);
  color: var(--dark-text);
}

.btn-primary:hover {
  background: var(--orange-hover);
  color: var(--white);
}

.btn-lg { padding: 17px 45px; box-shadow: 0 0 10px rgba(0,0,0,0.5); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
}

.btn-outline:hover {
  background: var(--orange);
  color: var(--dark-text);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-dark);
  min-height: var(--header-h);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 10px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1;
  white-space: nowrap;
}

.logo-text span { color: var(--orange); }

.footer-logo {
  display: inline-block;
  font-size: 26px;
  margin-bottom: 4px;
}

body.menu-open { overflow: hidden; }

.nav-desktop { display: flex; align-items: center; gap: 8px; }

.nav-desktop > ul { display: flex; align-items: center; gap: 4px; }

.nav-desktop a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  padding: 10px 16px;
  display: block;
}

.nav-desktop a:hover,
.nav-desktop a.active { color: var(--orange); }

.nav-item { position: relative; }

.nav-item.has-dropdown > a::after {
  content: '\f0d7';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-left: 6px;
  font-size: 12px;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a { padding: 10px 20px; font-size: 15px; color: var(--white); }
.dropdown a:hover { background: var(--orange-light); color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--orange);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--dark-text);
  font-size: 22px;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg-dark);
  padding: 24px;
  overflow-y: auto;
  z-index: 999;
  transform: translateX(100%);
  transition: transform var(--transition);
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav ul li { border-bottom: 1px solid rgba(255,255,255,0.08); }

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.mobile-nav a.active { color: var(--orange); }

.mobile-nav .has-submenu > a::after {
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  float: right;
  transition: transform var(--transition);
}

.mobile-nav .has-submenu.expanded > a::after { transform: rotate(180deg); }

.mobile-nav .sub-menu {
  display: none;
  padding-left: 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  margin-bottom: 8px;
}

.mobile-nav .has-submenu.expanded .sub-menu { display: block; }
.mobile-nav .sub-menu a { font-size: 15px; color: var(--text-muted); padding: 10px 0; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 60px 20px 40px 100px;
  min-height: calc(100vh - var(--header-h));
}

.hero-content { padding-top: 8%; }

.hero h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 52px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.hero p {
  font-family: 'Roboto', sans-serif;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-lottie { display: flex; justify-content: center; align-items: center; }
.hero-lottie > div { width: 100%; max-width: 520px; }

/* About strip */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  margin: 50px 0;
  padding: 0 50px;
}

.about-strip.reverse { direction: rtl; }
.about-strip.reverse > * { direction: ltr; }

.about-strip .lottie-wrap { max-width: 80%; margin: 0 auto; }

.about-strip h2.main { font-size: 40px; margin: 8px 0 16px; }
.about-strip p { font-family: 'Roboto', sans-serif; line-height: 28px; margin-bottom: 24px; }

/* Expertise */
.expertise { text-align: center; margin: 50px 0; padding: 0 20px; }
.expertise .label { margin-bottom: 12px; }
.expertise .section-title { margin-bottom: 16px; }
.expertise .section-subtitle { margin-bottom: 40px; }

/* Truck carousel */
.carousel-section { overflow: hidden; margin: 40px 0; }

.carousel-track-wrap {
  overflow: hidden;
  height: 400px;
}

.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll-left 50s linear infinite;
}

.carousel-track:hover { animation-play-state: paused; }

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.truck-card {
  flex-shrink: 0;
  width: 280px;
  background: var(--orange);
  overflow: hidden;
  position: relative;
  transition: filter var(--transition);
}

.truck-card:hover img { filter: brightness(100%) contrast(140%) saturate(0%) blur(4px); }

.truck-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: filter var(--transition);
}

.truck-card-info { padding: 5px 15px 11px; text-align: left; }

.truck-card-title {
  display: block;
  font-size: 24px;
  line-height: 40px;
  color: #343434;
  font-weight: 600;
}

.truck-card-desc {
  display: block;
  font-size: 14px;
  line-height: 22px;
  color: var(--white);
}

.truck-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 100px auto;
  max-width: var(--container);
  padding: 0 20px;
}

.stat-item { text-align: center; }

.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 60px;
  font-weight: 600;
  line-height: 50px;
  color: var(--orange);
}

.stat-value .prefix,
.stat-value .suffix { color: var(--orange); }

.stat-value .prefix { font-family: 'Asap', sans-serif; }

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  color: var(--white);
  margin-top: 25px;
}

/* Practice section */
.practice {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 50px 80px 50px;
  margin-top: 130px;
  background: url('../assets/images/transport-3210728_1920.webp') center/cover no-repeat;
}

.practice::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.66);
}

.practice > * { position: relative; z-index: 1; max-width: 700px; }

.practice .label { margin-bottom: 12px; }
.practice h2 { font-size: 57px; font-weight: 500; margin-bottom: 20px; }
.practice p { font-size: 17px; line-height: 28px; margin-bottom: 28px; }

/* Potential grid */
.potential-grid {
  display: grid;
  grid-template-columns: 33% 33% 44%;
  gap: 16px;
  max-width: var(--container);
  margin: 100px auto;
  padding: 0 20px;
}

.potential-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 400px;
}

.potential-card.bg-image {
  background-size: cover;
  background-position: center;
}

.potential-card.bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.17);
  border-radius: var(--radius-lg);
}

.potential-card.bg-image .card-label {
  position: absolute;
  bottom: 34px;
  left: 32px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  z-index: 1;
}

.potential-card.orange-panel {
  background: var(--orange-deep);
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.potential-card.orange-panel h3 {
  font-size: 25px;
  line-height: 30px;
  margin-bottom: 20px;
}

.potential-card.orange-panel hr {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.35);
  margin: 25px 0;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #e0e0e0;
}

.check-list i { color: #ffab6b; font-size: 14px; }

.potential-row2 {
  display: grid;
  grid-template-columns: 60% 30%;
  gap: 16px;
  max-width: var(--container);
  margin: 0 auto 100px;
  padding: 0 20px;
}

.potential-row2 .potential-card { min-height: 400px; }

.potential-row2 .flip { transform: scaleX(-1); }
.potential-row2 .flip .card-label { transform: scaleX(-1); }

.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 400px;
}

.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}

/* Contact section */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: var(--container);
  margin: 100px auto;
  padding: 0 20px;
  align-items: center;
}

.contact-image img { border-radius: var(--radius-lg); }

.contact-form-wrap .label { margin-bottom: 8px; }
.contact-form-wrap h2 { font-size: 57px; line-height: 57px; margin-bottom: 24px; max-width: 78%; }

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg-dark);
  border: none;
  border-bottom: 2px solid var(--white);
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  padding: 12px 0;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-dim); }

.contact-form textarea { grid-column: 1 / -1; resize: vertical; min-height: 100px; margin-bottom: 20px; }

.contact-form .btn { width: 100%; padding: 15px 50px; }

/* Page hero (inner pages) */
.page-hero {
  padding: 80px 20px 60px;
  text-align: center;
  background: linear-gradient(180deg, rgba(249,115,22,0.08) 0%, transparent 100%);
}

.page-hero h1 { font-size: 48px; }

.page-content-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 20px 100px;
}

.page-content-section p { margin-bottom: 16px; line-height: 28px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin: 60px 0;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 60px 0;
}

.value-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.value-card h3 { font-size: 22px; margin-bottom: 16px; color: var(--orange-light); }

.icon-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

.icon-box i {
  color: var(--orange-light);
  font-size: 20px;
  margin-top: 4px;
}

.truck-page-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.truck-page-hero img { border-radius: var(--radius-lg); }

.truck-specs {
  background: var(--orange);
  color: var(--dark-text);
  padding: 24px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 18px;
  display: inline-block;
  margin-top: 16px;
}

/* Footer */
.site-footer { margin-top: 150px; }

.footer-main {
  display: grid;
  grid-template-columns: 30% 20% 20% 30%;
  gap: 30px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 40px;
}

.footer-brand p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  line-height: 28px;
  color: var(--white);
  margin-top: 16px;
}

.footer-col h3 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--orange-light);
  margin-bottom: 16px;
}

.footer-col ul li { margin: 4px 0; }

.footer-col a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  padding: 4px 0;
  display: inline-block;
}

.footer-col a:hover { color: var(--orange-hover); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 8px 0;
}

.footer-contact-item i { color: var(--orange-light); font-size: 20px; }

.footer-contact-item a {
  font-size: 16px;
  line-height: 28px;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: var(--white);
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .hero { padding: 50px 30px 40px 50px; }
  .about-strip { padding: 0 30px; margin: 40px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .potential-grid { grid-template-columns: 1fr 1fr; }
  .potential-grid .video-card { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .practice { padding-right: 50px; }
  .practice h2 { font-size: 46px; }
  .contact-form-wrap h2 { font-size: 44px; }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  .nav-desktop, .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: block; }

  .header-inner { padding: 10px 16px; }
  .logo-text { font-size: 24px; }

  .hero {
    grid-template-columns: 1fr;
    padding: 32px 20px 24px;
    min-height: auto;
    gap: 24px;
  }

  .hero-content { padding-top: 0; order: 2; }
  .hero-lottie { order: 1; max-width: 100%; }
  .hero-lottie > div { max-width: 100%; }

  .hero h1 { font-size: 32px; line-height: 1.15; }
  .hero p { font-size: 15px; line-height: 1.5; }

  .about-strip {
    grid-template-columns: 1fr;
    padding: 0 20px;
    margin: 32px 0;
    gap: 24px;
  }

  .about-strip.reverse { direction: ltr; }
  .about-strip h2.main { font-size: 30px; line-height: 1.2; }
  .about-strip .lottie-wrap { max-width: 100%; }

  .expertise { margin: 32px 0; padding: 0 16px; }
  .section-title { font-size: 36px; line-height: 1.15; }
  .section-subtitle { max-width: 100%; font-size: 17px; padding: 0 4px; }

  .carousel-track-wrap { height: 320px; }
  .carousel-track { gap: 10px; animation-duration: 35s; }
  .truck-card { width: 220px; }
  .truck-card img { height: 170px; }
  .truck-card-title { font-size: 20px; line-height: 28px; }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 50px auto;
    padding: 0 16px;
  }

  .stat-value { font-size: 36px; }
  .stat-label { font-size: 16px; margin-top: 16px; }

  .practice {
    padding: 36px 20px;
    margin-top: 50px;
    min-height: auto;
    align-items: stretch;
  }

  .practice > * { max-width: 100%; }
  .practice h2 { font-size: 30px; line-height: 1.2; }
  .practice p { font-size: 16px; }

  .potential-grid,
  .potential-row2,
  .contact-section,
  .two-col,
  .three-col,
  .truck-page-hero {
    grid-template-columns: 1fr;
  }

  .potential-grid,
  .potential-row2 {
    margin: 50px auto;
    padding: 0 16px;
    gap: 12px;
  }

  .potential-card { min-height: 280px; }
  .potential-card.orange-panel { padding: 24px; }
  .potential-card.orange-panel h3 { font-size: 22px; }

  .contact-section { margin: 50px auto; gap: 28px; padding: 0 16px; }
  .contact-form-wrap h2 { font-size: 32px; line-height: 1.15; max-width: 100%; }

  .contact-form .form-row { grid-template-columns: 1fr; }
  .contact-form .btn { padding: 14px 24px; }

  .page-hero { padding: 48px 20px 36px; }
  .page-hero h1 { font-size: 34px; }

  .page-content-section { padding: 28px 16px 60px; }
  .two-col, .three-col { gap: 24px; margin: 32px 0; }
  .value-card { padding: 24px; }

  .truck-page-hero .btn { display: block; width: 100%; text-align: center; margin: 8px 0 !important; }
  .truck-specs { font-size: 15px; padding: 16px 20px; display: block; text-align: center; }

  .site-footer { margin-top: 80px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 0 16px 32px; }
  .footer-brand { order: 99; }
  .footer-col h3 { font-size: 20px; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .section-title { font-size: 30px; }
  .practice h2 { font-size: 26px; }
  .contact-form-wrap h2 { font-size: 28px; }
  .truck-card { width: 200px; }
}
