/* ============================================================
   W&T PARCEL & FREIGHT — STYLES.CSS
   Brand: Red #CC1010 | Navy #0D2C6E | Dark #111827 | Light #F5F6F8
   To edit brand colours: search for the hex values above and replace
============================================================ */

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

:root {
  /* EDIT: Brand colour tokens */
  --red:        #CC1010;
  --red-dark:   #a50d0d;
  --navy:       #0D2C6E;
  --navy-dark:  #091e4d;
  --dark:       #111827;
  --mid:        #374151;
  --muted:      #6B7280;
  --light:      #F5F6F8;
  --white:      #ffffff;
  --border:     #E5E7EB;

  --font-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body:    'Inter', Arial, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);

  --section-pad: 5rem 0;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── CONTAINER ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── TYPOGRAPHY ── */
.section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.section-eyebrow.light { color: rgba(255,255,255,0.7); }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-heading.light { color: var(--white); }

.section-subheading {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-full { width: 100%; display: block; }

/* ── SECTION BASE ── */
.section { padding: var(--section-pad); }


/* ============================================================
   NAVIGATION
============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--dark);
  border-bottom: 3px solid var(--red);
  transition: box-shadow 0.2s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 1px;
}
.logo-wt {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.02em;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links li a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-links li a:hover { color: var(--white); background: rgba(255,255,255,0.08); }

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: var(--radius-sm) !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* Road/freight visual — deep navy gradient that suggests horizon + motion */
  background: linear-gradient(135deg, #060e1f 0%, #0D2C6E 45%, #1a0505 100%);
  padding-top: 68px;
  overflow: hidden;
}

/* Diagonal red accent stripe — the page's signature element */
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent 30%, rgba(204,16,16,0.12) 100%);
  pointer-events: none;
}

/* Subtle grid texture evoking road/logistics */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 60px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  border-left: 3px solid var(--red);
  padding-left: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-accent { color: var(--red); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-divider {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
}
.hero-divider svg { width: 100%; }


/* ============================================================
   TRUST BAR
============================================================ */
.trust-bar {
  background: var(--dark);
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
}
.trust-icon {
  width: 22px;
  height: 22px;
  color: var(--red);
  flex-shrink: 0;
}


/* ============================================================
   ABOUT
============================================================ */
.about-section { background: var(--light); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: var(--mid);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.75;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.about-stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.stat-icon svg { width: 22px; height: 22px; }
.stat-icon.red { background: rgba(204,16,16,0.1); color: var(--red); }
.stat-icon.blue { background: rgba(13,44,110,0.1); color: var(--navy); }

.about-stat-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.about-stat-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}


/* ============================================================
   SERVICES
============================================================ */
.services-section { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--navy);
  transition: background 0.2s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.service-card:hover::before { background: var(--red); }

.service-card--accent { border-color: var(--red); }
.service-card--accent::before { background: var(--red); }

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(13,44,110,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--navy);
  transition: background 0.2s, color 0.2s;
}
.service-icon svg { width: 26px; height: 26px; }

.service-card:hover .service-icon { background: rgba(204,16,16,0.1); color: var(--red); }
.service-card--accent .service-icon { background: rgba(204,16,16,0.1); color: var(--red); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}


/* ============================================================
   WHY CHOOSE US
============================================================ */
.why-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
/* Red diagonal accent */
.why-section::after {
  content: '';
  position: absolute;
  bottom: -2rem; right: -4rem;
  width: 320px;
  height: 320px;
  background: rgba(204,16,16,0.08);
  border-radius: 50%;
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-item {
  border-top: 3px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  transition: border-color 0.2s;
}
.why-item:hover { border-color: var(--red); }

.why-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.why-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.why-item p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}


/* ============================================================
   COVERAGE
============================================================ */
.coverage-section { background: var(--light); }

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.coverage-text p {
  color: var(--mid);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.region-list {
  margin: 1.5rem 0 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.region-list li {
  font-size: 0.9rem;
  color: var(--dark);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.region-list li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

.coverage-note {
  font-size: 0.875rem;
  color: var(--muted);
  border-left: 3px solid var(--navy);
  padding-left: 0.75rem;
  margin-top: 1.5rem !important;
}

.coverage-map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-block {
  background: var(--white);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  width: 100%;
  max-width: 400px;
}
.map-icon {
  width: 64px;
  height: 64px;
  color: var(--navy);
  margin: 0 auto 1.25rem;
  opacity: 0.5;
}
.map-block p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.map-block span {
  font-size: 0.8rem;
  color: var(--muted);
}


/* ============================================================
   CAPABILITY
============================================================ */
.capability-section { background: var(--white); }

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.capability-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.capability-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.cap-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--white);
}
.cap-icon svg { width: 24px; height: 24px; }

.capability-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.capability-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

.capability-cta {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.capability-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  font-weight: 500;
}


/* ============================================================
   CONTACT
============================================================ */
.contact-section {
  background: var(--navy);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.contact-details li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--red);
  margin-top: 2px;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mid);
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13,44,110,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.form-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.form-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}


/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: #0a0f1c;
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 280px;
}
.footer-abn {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  margin-top: 0.5rem;
}
.footer-logo { margin-bottom: 0.25rem; }
.footer-logo .logo-sub { color: rgba(255,255,255,0.35); }

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}

.footer-links ul,
.footer-services ul { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-links li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}
.footer-links li a:hover { color: var(--red); }

.footer-services li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

.footer-contact ul { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}
.footer-contact li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--red);
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}


/* ============================================================
   RESPONSIVE — TABLET (≤ 960px)
============================================================ */
@media (max-width: 960px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .coverage-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}


/* ============================================================
   RESPONSIVE — MOBILE (≤ 640px)
============================================================ */
@media (max-width: 640px) {
  :root { --section-pad: 3.5rem 0; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 0.8rem 1.5rem; border-radius: 0; display: block; }
  .nav-cta { margin: 0.5rem 1rem 0; border-radius: var(--radius-sm) !important; }

  /* Hero */
  .hero-heading { font-size: 2.8rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; }

  /* Trust */
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .trust-item { font-size: 0.8rem; }

  /* About */
  .about-cards { grid-template-columns: 1fr; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }

  /* Capability */
  .capability-grid { grid-template-columns: 1fr; }
  .capability-cta { flex-direction: column; text-align: center; }

  /* Contact */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }

  /* Coverage */
  .region-list { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}


/* ============================================================
   SCROLL ANIMATIONS (subtle fade-in on scroll)
============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
  .service-card:hover,
  .about-stat-card:hover,
  .capability-card:hover { transform: none; }
}
