/* ============================================
   TNT Traffic Solutions — Shared Stylesheet
   Brand: Black #111111 / Orange #F7941E / White
   ============================================ */

:root {
  --orange: #F7941E;
  --orange-dark: #d97b0a;
  --black: #111111;
  --charcoal: #1c1c1c;
  --grey: #f4f4f4;
  --text: #333333;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1.15;
}

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

a { color: var(--orange-dark); text-decoration: none; }

.container { width: min(1160px, 92%); margin: 0 auto; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--orange);
  color: var(--black);
  font-weight: 600;
  font-size: .92rem;
  padding: .4rem 0;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .3rem;
}
.topbar a { color: var(--black); font-weight: 700; }

/* ---------- Header / Nav ---------- */
header.site-header {
  background: var(--black);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: .65rem 0;
}
.brand { display: flex; align-items: center; gap: .75rem; }
.brand img { height: 62px; width: auto; }

nav.main-nav { display: flex; align-items: center; gap: 1.6rem; }
nav.main-nav a {
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: .35rem 0;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
nav.main-nav a:hover { color: var(--orange); }
nav.main-nav a.active { color: var(--orange); border-bottom-color: var(--orange); }

.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--black) !important;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: .75rem 1.7rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background .2s, transform .15s;
}
.btn:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn.btn-dark { background: var(--black); color: var(--white) !important; }
.btn.btn-dark:hover { background: var(--charcoal); }
.btn.btn-outline {
  background: transparent; color: var(--white) !important;
  border: 2px solid var(--white);
}
.btn.btn-outline:hover { background: var(--white); color: var(--black) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--white); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,10,10,.88) 25%, rgba(10,10,10,.45) 70%, rgba(10,10,10,.25));
}
.hero .container { position: relative; z-index: 1; }
.hero .kicker {
  color: var(--orange);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: .8rem;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  max-width: 720px;
  margin-bottom: 1.1rem;
}
.hero h1 em { color: var(--orange); font-style: normal; }
.hero p { max-width: 600px; font-size: 1.15rem; margin-bottom: 1.8rem; color: #e8e8e8; }
.hero .hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Small page hero */
.page-hero { min-height: 44vh; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* ---------- Feature strip ---------- */
.strip {
  background: var(--black);
  color: var(--white);
  padding: 1.4rem 0;
}
.strip .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  text-align: center;
}
.strip .item {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.02rem;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
}
.strip .item .dot { color: var(--orange); font-size: 1.3rem; }

/* ---------- Sections ---------- */
section.block { padding: 4.5rem 0; }
section.block.grey { background: var(--grey); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section-head .kicker {
  color: var(--orange-dark);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  font-size: .95rem;
}
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin: .4rem 0 .8rem; }
.section-head p { color: #555; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .2s;
}
.card:hover { transform: translateY(-6px); }
.card .card-img { height: 210px; background-size: cover; background-position: center; }
.card .card-body { padding: 1.5rem 1.5rem 1.8rem; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.card p { color: #555; flex: 1; }
.card .card-link {
  margin-top: 1.1rem;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--orange-dark);
}
.card .card-link:hover { color: var(--black); }

/* ---------- Split (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split .split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 380px;
  background-size: cover; background-position: center;
}
.split h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1rem; }
.split p { margin-bottom: 1rem; }
.split ul.checks { list-style: none; margin: 1.2rem 0 1.6rem; }
.split ul.checks li { padding-left: 1.9rem; position: relative; margin-bottom: .65rem; }
.split ul.checks li::before {
  content: "✔"; position: absolute; left: 0; top: 0;
  color: var(--orange-dark); font-weight: 700;
}

/* ---------- Why choose us ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.feature {
  background: var(--white);
  border-left: 5px solid var(--orange);
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.feature h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.feature p { color: #555; font-size: .97rem; }

/* ---------- Stats ---------- */
.stats { background: var(--black); color: var(--white); padding: 3.2rem 0; }
.stats .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem; text-align: center;
}
.stat .num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.6rem; font-weight: 700; color: var(--orange);
}
.stat .label { text-transform: uppercase; letter-spacing: 2px; font-size: .85rem; color: #cfcfcf; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.gallery .g-item {
  height: 230px;
  border-radius: var(--radius);
  background-size: cover; background-position: center;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.gallery .g-item:hover { transform: scale(1.025); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(rgba(10,10,10,.85), rgba(10,10,10,.85)), var(--cta-img, none);
  background-size: cover; background-position: center;
  color: var(--white);
  text-align: center;
  padding: 4.5rem 0;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: .8rem; }
.cta-band p { max-width: 620px; margin: 0 auto 1.8rem; color: #ddd; }

/* ---------- Service detail rows ---------- */
.service-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: center; padding: 3.2rem 0;
  border-bottom: 1px solid #e6e6e6;
}
.service-row:last-of-type { border-bottom: none; }
.service-row .sr-img {
  min-height: 320px; border-radius: var(--radius);
  background-size: cover; background-position: center;
  box-shadow: var(--shadow);
}
.service-row h3 { font-size: 1.6rem; margin-bottom: .8rem; }
.service-row h3 span { color: var(--orange-dark); }
.service-row.reverse .sr-img { order: 2; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem;
  align-items: start;
}
.info-card {
  background: var(--black); color: var(--white);
  border-radius: var(--radius); padding: 2.2rem;
}
.info-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 1.2rem; }
.info-card .info-item { margin-bottom: 1.3rem; }
.info-card .info-item .label {
  color: var(--orange); font-family: 'Oswald', sans-serif;
  text-transform: uppercase; letter-spacing: 1.5px; font-size: .82rem;
}
.info-card .info-item p, .info-card .info-item a { color: #e5e5e5; font-size: 1.05rem; }
.info-card .badge {
  display: inline-block; background: var(--orange); color: var(--black);
  font-weight: 700; padding: .3rem .8rem; border-radius: 4px;
  font-size: .85rem; margin-top: .5rem;
}

/* ---------- Form ---------- */
.quote-form {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 2.4rem;
}
.quote-form h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.quote-form .form-sub { color: #666; margin-bottom: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
.quote-form label {
  display: block; font-weight: 600; margin-bottom: .35rem; font-size: .93rem;
  color: var(--black);
}
.quote-form label .req { color: var(--orange-dark); }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; padding: .78rem .9rem;
  border: 1.5px solid #d9d9d9; border-radius: 6px;
  font-family: inherit; font-size: 1rem; background: #fafafa;
  transition: border-color .2s;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none; border-color: var(--orange);
  background: var(--white);
}
.quote-form textarea { resize: vertical; min-height: 130px; }
.quote-form .btn { margin-top: 1.4rem; width: 100%; font-size: 1.05rem; padding: .95rem; }
.form-note { font-size: .85rem; color: #777; margin-top: .9rem; text-align: center; }

/* ---------- Map / area ---------- */
.area-note {
  text-align: center; font-size: 1.05rem; color: #555;
  max-width: 700px; margin: 0 auto;
}

/* ---------- Footer ---------- */
footer.site-footer { background: var(--black); color: #cccccc; padding: 3.5rem 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem; padding-bottom: 2.5rem;
}
.footer-grid img.f-logo { height: 74px; margin-bottom: 1rem; }
.footer-grid h4 {
  color: var(--white); font-size: 1.05rem; margin-bottom: 1rem;
  letter-spacing: 1.5px;
}
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: .55rem; }
.footer-grid a { color: #cccccc; transition: color .2s; }
.footer-grid a:hover { color: var(--orange); }
.footer-grid p { font-size: .95rem; }
.footer-bottom {
  border-top: 1px solid #2c2c2c;
  padding: 1.1rem 0; text-align: center; font-size: .88rem; color: #888;
}
.footer-bottom span { color: var(--orange); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split, .service-row, .contact-grid { grid-template-columns: 1fr; }
  .service-row.reverse .sr-img { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 66vh; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  nav.main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--black);
    flex-direction: column; gap: 0;
    padding: .5rem 0 1rem;
    border-top: 1px solid #2c2c2c;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: .8rem 5%; width: 100%; border-bottom: none; }
  nav.main-nav .btn { margin: .8rem 5% 0; width: 90%; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { height: 52px; }
}
