/* ==========================================================================
   NZALO LOGISTICS — COMPLETE STYLESHEET
   ========================================================================== */

/* --- COLOR PALETTE & VARIABLES --- */
:root {
  --color-gold: #c5a059;
  --color-gold-hover: #b08b45;
  --color-night: #0a0f1d;
  --color-night-card: #131a2e;
  --color-forest: #12231c;
  --color-ivory: #f9f8f3;
  --color-text-dark: #1f2421;
  --color-text-light: #f4f4f6;
  --color-text-muted: #9aa0a6;
  --color-border-dark: rgba(255, 255, 255, 0.12);
  --color-border-light: rgba(0, 0, 0, 0.08);
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'DM Mono', monospace;

  --nav-height: 100px;
}

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-night);
  color: var(--color-text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- ACCESSIBILITY --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--color-gold);
  color: var(--color-night);
  padding: 10px 20px;
  z-index: 9999;
  font-weight: 700;
  border-radius: 4px;
}
.skip-link:focus {
  top: 20px;
}

/* --- ROUTE LINE MOTIF --- */
.route-line {
  position: fixed;
  left: 24px;
  top: 0;
  bottom: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.2;
}
.route-line line {
  stroke: var(--color-gold);
  stroke-dasharray: 4 4;
}

/* --- NAVIGATION & PROMINENT LOGO --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--nav-height);
  padding: 12px 0;
  background-color: rgba(10, 15, 29, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border-dark);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-inner {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

/* ENLARGED LOGO (Header) */
.nav-logo-img {
  width: 200px;         /* Generous width for maximum visibility */
  min-width: 160px;
  height: auto;
  max-height: 80px;     /* Prevents vertical distortion */
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
}

.nav-links a:hover {
  color: var(--color-gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--color-text-light);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-night);
}
.btn-gold:hover {
  background-color: var(--color-gold-hover);
}

.btn-ghost {
  border-color: var(--color-border-dark);
  color: var(--color-text-light);
}
.btn-ghost:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn-sm { padding: 8px 16px; font-size: 0.75rem; }
.btn-lg { padding: 16px 36px; font-size: 0.95rem; }
.btn-full { width: 100%; }

/* --- SECTIONS & LAYOUT CLEARANCE --- */
main {
  padding-top: var(--nav-height); /* Clear header overlap */
}

.section {
  padding: 100px 0;
  position: relative;
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

/* Background Variations */
.section-night { background-color: var(--color-night); color: var(--color-text-light); }
.section-ivory { background-color: var(--color-ivory); color: var(--color-text-dark); }
.section-forest { background-color: var(--color-forest); color: var(--color-text-light); }

.section-head {
  margin-bottom: 3.5rem;
}

.eyebrow {
  font-family: var(--font-mono);
  color: var(--color-gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  line-height: 1.15;
  font-weight: 600;
}

.section-head h2.on-dark { color: var(--color-text-light); }

.section-lede {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  max-width: 750px;
  color: inherit;
  opacity: 0.9;
}

/* --- REVEAL / ANIMATION FIX (Prevents Blank Content) --- */
.reveal {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* --- HERO SECTION --- */
.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  position: relative;
  padding: 80px 0;
  background-color: var(--color-night);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,15,29,0.95) 0%, rgba(10,15,29,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1.05;
  margin: 1rem 0 1.5rem;
}

.hero-sub {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-gold);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  right: 5%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- CARDS & GRIDS --- */
.card-grid {
  display: grid;
  gap: 1.75rem;
}

.card-grid.three { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card-grid.four { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card-grid.five { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* Info / Fleet / Service Cards */
.info-card, .service-card, .fleet-card {
  padding: 2.5rem 2rem;
  border-radius: 4px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Light Background Cards */
.section-ivory .info-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border-light);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

/* Dark Background Cards */
.section-night .service-card,
.section-forest .fleet-card {
  background-color: var(--color-night-card);
  border: 1px solid var(--color-border-dark);
}

.info-card:hover, .service-card:hover, .fleet-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
}

/* SVG Icon Styling */
.info-card-icon, .fleet-card svg {
  margin-bottom: 1.25rem;
  color: var(--color-gold);
  display: block;
}

.info-card-icon svg, .fleet-card svg {
  width: 44px;
  height: 44px;
  stroke: var(--color-gold);
  fill: none;
}

.service-card-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.75rem;
}

.service-card h3, .fleet-card h3, .info-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.card-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-gold);
  text-transform: uppercase;
}

/* --- WHY NZALO SECTION --- */
.why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.why-list li {
  font-size: 1.05rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.why-check {
  color: var(--color-gold);
  font-weight: bold;
}

/* --- OPPORTUNITIES --- */
.opportunity-feature {
  background: var(--color-night-card);
  border: 1px solid var(--color-gold);
  padding: 3rem;
  margin-bottom: 2rem;
  border-radius: 4px;
}

.tag-gold {
  background: var(--color-gold);
  color: var(--color-night);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 1rem;
}

.opportunity-chip {
  background: var(--color-night-card);
  border: 1px solid var(--color-border-dark);
  padding: 1rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  border-radius: 4px;
}

/* --- PROCESS TIMELINE --- */
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.timeline-step {
  border-top: 2px solid var(--color-gold);
  padding-top: 1.5rem;
}

.timeline-index {
  font-family: var(--font-mono);
  color: var(--color-gold);
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* --- STATS SECTION --- */
.stats-section .stat {
  text-align: center;
}

.stat-num, .stat-num-static {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--color-gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* --- CTA BANNER --- */
.cta-banner {
  background: linear-gradient(180deg, var(--color-forest) 0%, var(--color-night) 100%);
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--color-border-dark);
}

.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  margin-bottom: 2rem;
}

/* --- CONTACT SECTION --- */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-list {
  list-style: none;
  margin-top: 2rem;
}

.contact-list li {
  margin-bottom: 1.5rem;
}

.contact-list strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-gold);
  text-transform: uppercase;
}

.contact-form {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 4px;
  border: 1px solid var(--color-border-light);
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--color-text-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

/* --- FOOTER --- */
.footer {
  background-color: #050811;
  padding: 80px 0 30px;
  border-top: 1px solid var(--color-border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

/* ENLARGED LOGO (Footer) */
.footer-logo-img {
  width: 220px;
  height: auto;
  max-height: 90px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  display: block;
}

.footer-col h4 {
  font-family: var(--font-mono);
  color: var(--color-gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.footer-col a:hover {
  color: var(--color-text-light);
}

.footer-bottom {
  border-top: 1px solid var(--color-border-dark);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-social {
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
}

/* --- BACK TO TOP --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background-color: var(--color-gold);
  color: var(--color-night);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 900;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* --- RESPONSIVE MOBILE ADJUSTMENTS --- */
@media (max-width: 992px) {
  .hero-title { font-size: 3rem; }
  .why-split, .contact-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-logo-img { width: 160px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-title { font-size: 2.5rem; }
  .why-list { grid-template-columns: 1fr; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}