@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg-dark: #0a0c10;
  --card-bg: #12161f;
  --card-border: rgba(56, 189, 248, 0.2);
  --accent-blue: #38bdf8;
  --text-white: #ffffff;
  --text-muted: #94a3b8;
}

/* HARD OVERFLOW GUARD ON ALL ELEMENTS */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 100%;
  /* Force Inter on literally everything */
  font-family: 'Inter', sans-serif;
}

/* Force form elements to inherit the font */
button, input, select, textarea {
  font-family: inherit;
}

html {
  overflow-x: clip; 
  width: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* --- STICKY HEADER --- */
.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #0a0c10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.pc-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: 0;
  display: block;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.header-logo-text {
  color: var(--text-white);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.desktop-nav a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: color 0.3s;
}

.desktop-nav a:hover {
  color: var(--accent-blue);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 300px;
  height: 100vh;
  background: #12161f;
  border-left: 1px solid var(--card-border);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  transition: right 0.4s ease-in-out;
}

.mobile-nav-drawer.active { right: 0; }

.close-drawer-btn {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 2rem;
  cursor: pointer;
  margin-bottom: 2rem;
}

.mobile-nav-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-drawer a {
  color: var(--text-white);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  display: block;
  transition: color 0.3s;
}

.mobile-nav-drawer a:hover { color: var(--accent-blue); }

.menu-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.menu-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 3rem 1.2rem;
  width: 100%;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 6s ease;
  transform: scale(1);
}

.slide.active {
  opacity: 1;
  transform: scale(1.05);
}

.slide-1 { background-image: url('images/bannerimg.webp'); }
.slide-2 { background-image: url('images/section2img.webp'); }
.slide-3 { background-image: url('images/slide3.webp'); }

.slideshow-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.65) 0%, rgba(10, 12, 16, 0.95) 85%, #0a0c10 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.location-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-blue);
  border: 1px solid var(--card-border);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.animated-gradient-text {
  font-weight: 800;
  background: linear-gradient(
    110deg,
    #ffffff 0%,
    #bae6fd 20%,
    #38bdf8 40%,
    #0284c7 60%,
    #e0f2fe 80%,
    #ffffff 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: smoothGradient 16s ease infinite;
}

@keyframes smoothGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.headline {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.subheadline {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.btn-primary,
.btn-schedule {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  color: #0a0c10;
  background: linear-gradient(
    110deg,
    #ffffff 0%,
    #bae6fd 20%,
    #38bdf8 40%,
    #0284c7 60%,
    #e0f2fe 80%,
    #ffffff 100%
  );
  background-size: 300% 300%;
  animation: smoothGradient 16s ease infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-schedule:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4);
}

.btn-text {
  color: var(--text-white);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.btn-text:hover { color: var(--accent-blue); }

/* --- MOBILE ONLY LOGO BANNER (DEFAULT DESKTOP HIDE) --- */
.mobile-logo-banner {
  display: none;
}

/* --- SECTION 2: BENTO FEATURES --- */
.features-split-section {
  max-width: 1200px;
  width: 100%;
  margin: 4rem auto;
  padding: 0 1.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.split-left {
  width: 100%;
  min-width: 0;
}

.split-left h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.split-left p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.btn-gradient-outline {
  display: inline-block;
  position: relative;
  padding: 0.8rem 1.8rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border-radius: 30px;
  background: transparent;
  background-image: linear-gradient(
    110deg,
    #ffffff 0%,
    #bae6fd 20%,
    #38bdf8 40%,
    #0284c7 60%,
    #e0f2fe 80%,
    #ffffff 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: smoothGradient 16s ease infinite;
}

.btn-gradient-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 30px;
  padding: 2px;
  background: linear-gradient(
    110deg,
    #ffffff 0%,
    #bae6fd 20%,
    #38bdf8 40%,
    #0284c7 60%,
    #e0f2fe 80%,
    #ffffff 100%
  );
  background-size: 300% 300%;
  animation: smoothGradient 16s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.split-right-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.bento-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
}

.bento-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 0.8rem;
}

.bento-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.4;
  margin-bottom: 0;
}

/* --- BENTO MAP CARD STYLES --- */
.bento-card-map {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.map-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  min-width: 0;
}

.map-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.map-card-header h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.1rem;
}

.map-card-header p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.map-embed-wrapper {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.map-embed-wrapper iframe {
  width: 100% !important;
  height: 100% !important;
  border: none;
  filter: grayscale(100%) invert(90%) contrast(120%);
  pointer-events: none;
  transition: filter 0.3s ease;
}

.map-embed-wrapper:hover iframe {
  filter: grayscale(0%) invert(0%);
}

.map-overlay-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(10, 12, 16, 0.85);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-blue);
  pointer-events: none;
  z-index: 5;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.map-embed-wrapper:hover .map-overlay-hint {
  background: var(--accent-blue);
  color: var(--bg-dark);
}

/* --- BENTO TRUCK IMAGE CARD --- */
.bento-card-img {
  grid-column: span 2;
  height: 160px;
  padding: 0;
  width: 100%;
  min-width: 0;
}

.bento-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  border-radius: 14px;
  transition: filter 0.4s ease;
}

.bento-card-img:hover img { 
  filter: grayscale(0%); 
}

/* --- SECTION 3: SCHEDULE TRANSPORT --- */
.schedule-section-outer {
  position: relative;
  background: url('images/section3img.webp') no-repeat center center/cover;
  padding: 5rem 1.2rem;
  margin-top: 4rem;
  width: 100%;
  overflow: hidden;
}

.schedule-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, #0a0c10 50%, rgba(10, 12, 16, 0.4) 100%);
}

.schedule-container {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
}

.schedule-content-box {
  background: rgba(18, 22, 31, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2.2rem;
  width: 100%;
}

.schedule-content-box h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.step-box-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.8rem 0;
}

.step-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--accent-blue);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
}

.step-card h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 0.2rem;
}

.step-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- FOOTER STYLING --- */
.main-footer {
  background: #08090d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4rem 1.2rem 2rem 1.2rem;
  width: 100%;
}

.footer-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.5;
}

.footer-column h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-column a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--text-white);
}

.footer-bottom {
  max-width: 1200px;
  width: 100%;
  margin: 3rem auto 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* --- FORCE DIRECTED SLOW TRANSITION --- */
.scroll-item {
  opacity: 0;
  transition: opacity 1.8s ease-in-out !important;
  will-change: opacity;
}

.scroll-item.visible {
  opacity: 1 !important;
}

/* Delays */
.delay-1 { transition-delay: 0.2s !important; }
.delay-2 { transition-delay: 0.4s !important; }
.delay-3 { transition-delay: 0.6s !important; }
.delay-4 { transition-delay: 0.8s !important; }

/* --- MOBILE SPECIFIC MEDIA QUERY --- */
@media (max-width: 850px) {
  
  /* Swap desktop backgrounds for lightweight mobile portrait WebPs */
  .slide-1 { background-image: url('images/bannerimg-mobile.webp'); }
  .slide-2 { background-image: url('images/section2img-mobile.webp'); }
  .slide-3 { background-image: url('images/slide3-mobile.webp'); }

  .schedule-section-outer {
    background: url('images/section3img-mobile.webp') no-repeat center center/cover;
  }

  .pc-logo-img {
    display: none;
  }
  
  .desktop-nav { display: none; }
  .mobile-menu-btn { display: block; }

  .hero-section {
    padding: 2.5rem 1rem;
    min-height: 60vh;
  }

  .headline {
    font-size: 2rem;
    line-height: 1.1;
    word-break: break-word;
  }

  .subheadline { font-size: 0.95rem; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-schedule { width: 100%; text-align: center; }
  .btn-text { text-align: center; padding: 0.5rem; }

  /* MOBILE-ONLY LOGO SECTION DISPLAY */
  .mobile-logo-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 2.5rem 1rem 0.5rem 1rem;
    margin-bottom: -1rem;
    
    margin-top: -2px; 
    background-color: var(--bg-dark);
    position: relative;
    z-index: 10;
  }

  .mobile-logo-img {
    max-width: 220px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
    display: block;
  }

  .features-split-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2.5rem auto;
    padding: 0 1rem;
  }

  .split-left h2 { font-size: 1.75rem; }
  .btn-gradient-outline { width: 100%; text-align: center; }
  .split-right-grid { grid-template-columns: 1fr; }
  
  .bento-card-map,
  .bento-card-img {
    grid-column: span 1;
    height: auto;
  }

  .map-embed-wrapper {
    height: 140px;
  }

  .schedule-section-outer {
    padding: 2.5rem 1rem;
    margin-top: 2.5rem;
  }

  .schedule-overlay { background: rgba(10, 12, 16, 0.94); }
  .schedule-container { grid-template-columns: 1fr; }
  .schedule-content-box { padding: 1.25rem 1rem; border-radius: 16px; }
  .schedule-content-box h2 { font-size: 1.6rem; }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
}