/* ================================
   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;
}

/* --- Offset main content for fixed header */
main {
  margin-top: 80px;
  text-align: center;
}

/* --- Header --- */
header.logistx-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(14, 14, 14, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  z-index: 9999;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/*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 {
  width: 100px; /* Make logo smaller by adjusting width */
  height: auto;
  max-width: 100%; /* Ensure it scales proportionally */
  max-height: 54px; /* Limit the height if needed */
}

.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 --- */
#banner.hero {
  width: 100%;
  height: 100vh; /* Full viewport height */
  background-color: #0E0E0E;
  border-top: 3px solid #00b3b3;
  border-bottom: 3px solid #00b3b3;
  margin: 0;
  padding: 0;
  text-align: center;
  display: flex;
  justify-content: center; /* Center content horizontally */
  align-items: center; /* Center content vertically */
  overflow: hidden; /* Prevent overflow of image outside of section */
}

.hero-image {
  width: 100%; /* Ensure image width fills 100% of container */
  height: 100%; /* Ensure image height fills 100% of container */
  object-fit: cover; /* Image will cover the entire area, maintaining its aspect ratio */
  object-position: top center; /* Ensure the image starts from the top center to prevent cutting off */
  display: block; /* Ensure image is treated as a block element */
}


/* --- Shared Content Layout: Contact + Longform + FAQ --- */
/* All three sections: same width, centering, padding */
section#contact,
section#dispatch-longform,
section#dispatch-faq {
  padding: 4em 2em;
  max-width: 600px;
  margin: 0 auto;
}

/* Shared primary section headings */
section#contact h3,
section#dispatch-longform h3,
section#dispatch-faq h3 {
  font-size: 1.6rem;
  border-left: 4px solid #00b3b3;
  padding-left: 0.5em;
  margin-bottom: 0.75em;
}

/* --- Form Styles --- */
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 {
  padding: 6em 0 4em 0;
  background-color: #1d242a;
  text-align: center;
}

#footer .icons {
  font-size: 1.25em;
}

#footer .icons a {
  color: rgba(255, 255, 255, 0.5);
}

#footer .icons a:hover {
  color: #fff;
}

#footer .copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8em;
  letter-spacing: 0.225em;
  list-style: none;
  padding: 0;
  text-transform: uppercase;
}

#footer .copyright li {
  border-left: solid 1px rgba(255, 255, 255, 0.5);
  display: inline-block;
  line-height: 1em;
  margin-left: 1em;
  padding-left: 1em;
}

#footer .copyright li:first-child {
  border-left: 0;
  margin-left: 0;
  padding-left: 0;
}

#footer .copyright li a {
  color: inherit;
}

#footer .copyright li a:hover {
  color: #fff;
}

@media screen and (max-width: 980px) {
  #footer {
    padding: 4em 3em 2em 3em;
  }
}

@media screen and (max-width: 736px) {
  #footer {
    padding: 3em 2em 1em 2em;
  }
}


/* --- 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;
  }
}

/* --- 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;
}
#banner.hero {
  height: 420px;        /* adjust to taste */
  overflow: hidden;
}

#banner.hero .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 768px) {
  #banner.hero {
    height: 260px;
  }
}
