/* ============================================
   LENMARK TRUCKLINES - MAIN STYLESHEET
   ============================================ */

/* CSS Variables */
:root {
  --navy: #0a1628;
  --navy-light: #132238;
  --navy-dark: #050d17;
  --steel: #4a5568;
  --steel-light: #718096;
  --accent: #c8a45d;
  --accent-dark: #a8883d;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --gray-100: #f0f2f5;
  --gray-200: #e2e6eb;
  --gray-300: #cdd3db;
  --border: #dde1e7;
  --success: #2d8a4e;
  --error: #d64545;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

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

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--steel);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }

.text-accent { color: var(--accent); }
.text-navy { color: var(--navy); }
.text-center { text-align: center; }
.text-white { color: var(--white); }

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  background: var(--navy);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 800;
  font-size: 1.3rem;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -1px;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--navy) !important;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
  color: var(--navy) !important;
}

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

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  padding: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 999;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu .nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.65) 100%),
    url('../images/hero.jpg') center/cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  position: relative;
  margin-top: 60px;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, rgba(10,22,40,0.4));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200,164,93,0.15);
  border: 1px solid rgba(200,164,93,0.3);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
  font-weight: 900;
}

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

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 560px;
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,164,93,0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-gray {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--steel-light);
  font-size: 1.05rem;
}

.section-navy .section-header p {
  color: rgba(255,255,255,0.65);
}

.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
}

.service-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.service-card p {
  color: var(--steel-light);
  font-size: 0.93rem;
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  background: linear-gradient(135deg, rgba(10,22,40,0.88), rgba(10,22,40,0.7)),
    url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?w=1600&q=80') center/cover no-repeat;
  padding: 8rem 0 5rem;
  color: var(--white);
}

.about-hero h1 { color: var(--white); margin-bottom: 1rem; }
.about-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.value-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(200,164,93,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.value-item h4 { margin-bottom: 0.3rem; font-size: 1rem; }
.value-item p { margin: 0; font-size: 0.9rem; color: var(--steel-light); }

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.fleet-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--white);
  text-align: center;
  transition: var(--transition);
}

.fleet-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.fleet-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.fleet-card h4 { color: var(--white); margin-bottom: 0.4rem; }
.fleet-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin: 0; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
}

.contact-info h3 { color: var(--white); margin-bottom: 1.5rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: rgba(200,164,93,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-item-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.2rem;
}

.contact-item-value {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.contact-item-value a:hover {
  color: var(--accent);
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--steel);
  background: var(--white);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,164,93,0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

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

.form-success {
  display: none;
  background: rgba(45,138,78,0.1);
  border: 1px solid var(--success);
  border-radius: var(--radius-sm);
  padding: 1rem;
  color: var(--success);
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 600;
}

.form-error-msg {
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
}

/* ============================================
   MAP
   ============================================ */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  margin-top: 2rem;
  border: 1px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   QUOTE PAGE
   ============================================ */
.quote-hero {
  background: linear-gradient(135deg, rgba(10,22,40,0.88), rgba(10,22,40,0.7)),
    url('https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?w=1600&q=80') center/cover no-repeat;
  padding: 8rem 0 4rem;
  color: var(--white);
  text-align: center;
}

.quote-hero h1 { color: var(--white); margin-bottom: 1rem; }
.quote-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

.quote-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.form-section-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  font-size: 0.9rem;
  margin: 1rem 0;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ============================================
   SERVICE AREA MAP SECTION
   ============================================ */
.service-area-map {
  background: var(--off-white);
  padding: 4rem 0;
}

.map-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.map-regions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.map-region {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.map-region h4 {
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.map-region p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
  line-height: 1.5;
}

.map-visual-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-illustration {
  width: 100%;
  max-width: 380px;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.feature-card h4 { margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; color: var(--steel-light); margin: 0; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 540px; margin: 0 auto 2rem; }

.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, rgba(10,22,40,0.88), rgba(10,22,40,0.7)),
    url('https://images.unsplash.com/photo-1586191582066-7f36f52d3c3d?w=1600&q=80') center/cover no-repeat;
  padding: 8rem 0 4rem;
  color: var(--white);
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--accent); }

/* ============================================
   CONTACT CARDS (dispatch info)
   ============================================ */
.dispatch-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.dispatch-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition);
}

.dispatch-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.dispatch-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(200,164,93,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.dispatch-card h4 { margin-bottom: 0.3rem; font-size: 1rem; }
.dispatch-card p { margin: 0; font-size: 0.9rem; color: var(--steel-light); }
.dispatch-card a { color: var(--accent); font-weight: 600; }

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: flex; }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .map-visual {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 1.5rem;
  }

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

@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .map-regions { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .cta-btns { flex-direction: column; align-items: center; }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

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

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

@media (max-width: 768px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
