/* =====================
   SOMASTAR TRANSPORTATION
   style.css
   ===================== */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;700;900&family=Inter:wght@400;500&display=swap');

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #111;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ---------- COLORS ---------- */
:root {
  --blue: #29aae1;
  --blue-dark: #1a8abf;
  --black: #0f0f0f;
  --gray: #141414;
  --border: #222;
  --muted: #555;
}

/* ---------- NAV ---------- */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  background: var(--black);
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  color: #888;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: #fff; }

.nav-cta {
  background: var(--blue);
  color: #fff;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.88; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 64px 48px;
  overflow: hidden;
  background: var(--black);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 15, 15, 0.95) 40%,
    rgba(15, 15, 15, 0.55)
  );
  z-index: 1;
}

.hero-wordmark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: clamp(60px, 14vw, 180px);
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: center;
  pointer-events: none;
  user-select: none;
  padding-top: 16px;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-block;
  background: rgba(41, 170, 225, 0.12);
  color: var(--blue);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  border: 0.5px solid rgba(41, 170, 225, 0.3);
}

.hero h1 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 5.5vw, 68px);
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 680px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.btn-blue:hover { opacity: 0.88; }

.btn-ghost {
  background: transparent;
  color: #fff;
  font-size: 13px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 0.5px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.2s;
}

.btn-ghost:hover { background: rgba(255,255,255,0.06); }

/* ---------- STATS BAR ---------- */
.stats-bar {
  display: flex;
  background: var(--gray);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.stat-item {
  padding: 28px 48px;
  border-right: 0.5px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- SECTIONS ---------- */
.section { padding: 80px 48px; background: #f5f5f5; }
.section-white { padding: 80px 48px; background: #fff; }
.section-dark { padding: 80px 48px; background: var(--black); }

.pill {
  display: inline-block;
  background: #e8f6fd;
  color: var(--blue-dark);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.pill-blue {
  display: inline-block;
  background: rgba(41, 170, 225, 0.1);
  color: var(--blue);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
  border: 0.5px solid rgba(41, 170, 225, 0.25);
}

.section-heading {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 4vw, 40px);
  color: #111;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-heading-white {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 4vw, 40px);
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 14px;
  color: #777;
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 48px;
}

.section-sub-dark {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 48px;
}

/* ---------- ABOUT BLURB ---------- */
.about-blurb {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 2.2vw, 21px);
  color: #111;
  line-height: 1.55;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  letter-spacing: -0.02em;
}

/* ---------- SERVICES GRID ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e5e5e5;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
}

.svc-card {
  background: #fff;
  padding: 36px 32px;
  transition: background 0.2s;
}

.svc-card:hover { background: #f8fdff; }

.svc-num {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: 12px;
  color: var(--blue);
  margin-bottom: 18px;
}

.svc-title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #111;
  margin-bottom: 12px;
  line-height: 1.3;
}

.svc-desc {
  font-size: 13px;
  color: #777;
  line-height: 1.7;
}

/* ---------- VALUES GRID ---------- */
.vals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e5e5e5;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
}

.val-card {
  background: #f8f8f8;
  padding: 36px 32px;
}

.val-title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #111;
  margin-bottom: 10px;
}

.val-desc {
  font-size: 13px;
  color: #777;
  line-height: 1.7;
}

/* ---------- PAGE HERO ---------- */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 64px 48px;
  overflow: hidden;
  background: var(--black);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.82);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 4.5vw, 50px);
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 620px;
  margin-top: 14px;
}

/* ---------- CTA STRIP ---------- */
.cta-strip {
  background: var(--blue);
  padding: 64px 48px;
  text-align: center;
}

.cta-strip h2 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 4vw, 40px);
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 28px;
}

.btn-white {
  background: #fff;
  color: var(--blue);
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.btn-white:hover { opacity: 0.9; }

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-info-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 3px;
}

.contact-info-val {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ---------- FORMS ---------- */
.form-box {
  background: #fff;
  border-radius: 20px;
  border: none;
  padding: 36px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 0.5px solid #ddd;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: #111;
  background: #fafafa;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}

.form-group textarea {
  height: 110px;
  resize: vertical;
}

.form-group select option { background: #fff; }

.form-submit {
  width: 100%;
  background: var(--blue);
  color: #fff;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 12px;
  padding: 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
  margin-top: 4px;
}

.form-submit:hover { opacity: 0.88; }

/* ---------- DRIVER FORM DIVIDER ---------- */
.form-divider {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 10px;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 28px 0 16px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid #e5e5e5;
}

/* ---------- FOOTER ---------- */
footer {
  background: #080808;
  border-top: 0.5px solid #1a1a1a;
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo { height: 40px; width: auto; object-fit: contain; }
.footer-copy { font-size: 12px; color: #333; }
.footer-blue { font-size: 12px; color: var(--blue); }

/* ---------- HAMBURGER ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #0f0f0f;
  border-top: 0.5px solid #222;
  padding: 16px 20px;
  gap: 4px;
}

.mobile-menu a {
  font-size: 14px;
  color: #aaa;
  padding: 12px 0;
  border-bottom: 0.5px solid #1a1a1a;
  letter-spacing: 0.03em;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.active { color: #fff; font-weight: 500; }
.mobile-menu.open { display: flex; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }

  .hero, .page-hero { padding: 40px 20px; }
  .section, .section-white, .section-dark, .cta-strip { padding: 56px 20px; }

  .stats-bar { flex-wrap: wrap; }
  .stat-item { padding: 20px 24px; border-right: none; border-bottom: 0.5px solid var(--border); }

  .svc-grid, .vals-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; margin-bottom: 0; }

  footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
}
