/* ================================
   CARGO LINK LLC™ / LOGISTX LLC
   Dispatch Page Stylesheet
   Version: 1.8 | Date: Nov 2025
   ================================ */

/* --- Base --- */
body {
  margin: 0;
  background-color: #0E0E0E;
  color: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* --- Header --- */
header.logistx-header {
  background-color: #0E0E0E;
  border-bottom: 2px solid #00b3b3;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  transition: box-shadow 0.4s ease-in-out, border-color 0.4s ease-in-out, background-color 0.3s ease;
}

/* Header glow on scroll */
header.logistx-header.scrolled {
  background-color: #0E0E0E;
  border-bottom: 2px solid #00e6e6;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.55), 0 4px 12px rgba(0, 0, 0, 0.7);
}

/* Header inner layout */
.logistx-header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.35em 2em;
}

/* --- Logo --- */
.logo-img {
  height: 95px;
  width: auto;
  display: block;
  position: relative;
  top: 4px;
  filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.55));
  transition: all 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(0, 255, 255, 0.9));
}

/* Logo shrink on scroll */
header.logistx-header.scrolled .logo-img {
  height: 80px;
  top: 2px;
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.7));
}

/* --- Navigation --- */
.main-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 1.5em;
}

.main-nav a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.main-nav a:hover {
  color: #00b3b3;
}

/* --- Hero Section --- */
.hero {
  width: 100%;
  background-color: #0E0E0E;
  border-top: 3px solid #00b3b3;
  border-bottom: 3px solid #00b3b3;
  margin: 0;
  padding: 0;
  text-align: center;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border: none;
  object-fit: contain;
}

/* --- Contact Section --- */
section#contact {
  padding: 4em 2em;
  max-width: 600px;
  margin: 0 auto;
}

#contact h3 {
  font-size: 1.6rem;
  border-left: 4px solid #00b3b3;
  padding-left: 0.5em;
  margin-bottom: 0.5em;
}

form input,
form textarea,
form button {
  width: 100%;
  margin: 0.5em 0;
  padding: 1em;
  border: none;
  border-radius: 6px;
  font-size: 1em;
}

form input,
form textarea {
  background: #1c1c1c;
  color: #fff;
}

form button {
  background: linear-gradient(90deg, #00b3b3 0%, #00e6e6 100%);
  color: #000;
  font-weight: bold;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 179, 179, 0.3);
  transition: all 0.3s ease-in-out;
}

form button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 2em;
  font-size: 0.9em;
  color: #777;
  border-top: 1px solid #222;
}

footer a {
  color: #00b3b3;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* --- Mobile Navigation --- */
@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    display: none;
  }

  .main-nav.active ul {
    display: flex;
  }

  .menu-toggle {
    display: block;
    color: #00b3b3;
    cursor: pointer;
    font-size: 1.6em;
  }

  .logo-img {
    height: 80px;
    top: 3px;
  }

  header.logistx-header.scrolled .logo-img {
    height: 70px;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}

/* Longform + FAQ sections – match contact width */
#dispatch-longform,
#dispatch-faq {
  padding: 3em 2em; /* same side padding feel as #contact */
}

#dispatch-longform .inner,
#dispatch-faq .inner {
  max-width: 600px; /* match section#contact max-width */
  margin: 0 auto;
}

/* Match heading style to #contact h3 */
#dispatch-longform h3,
#dispatch-faq h3 {
  font-size: 1.6rem;
  border-left: 4px solid #00b3b3;
  padding-left: 0.5em;
  margin-bottom: 0.75em;
}

/* --- Hero Override --- */
#banner.hero,
.hero {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  background: #0E0E0E !important;
}

/* --- Cookie Banner --- */
#cookie-banner {
  display: none !important;
  position: fixed !important;
  bottom: -100px !important;
  left: 0 !important;
  right: 0 !important;
  background: #1a1a1a !important;
  color: #eee !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  padding: 16px 22px !important;
  text-align: center !important;
  border-top: 1px solid #333 !important;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.7) !important;
}
