/* ==========================================================================
   VCT EXPRESS — CINEMATIC BRAND FILM LOGISTICS
   Theme: Real Red American Semi-Trucks & 4K Highway Video
   Fully Responsive & Mobile Optimized
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,700;1,900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&family=Space+Grotesk:wght@500;600;700&display=swap&subset=vietnamese');

:root {
  --c-dark-base: #050811;
  --c-dark-surface: #0a0f1d;
  --c-dark-card: #0f1629;
  --c-light-base: #F8FAFC;
  --c-light-surface: #FFFFFF;
  --c-light-subtle: #EDF2F7;
  
  --c-red: #E52E2E;
  --c-red-bright: #FF3333;
  --c-gold: #F4A427;
  --c-blue: #0070F3;
  --c-cyan: #00D2FF;
  
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Grotesk', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--c-dark-base);
  color: #FFFFFF;
  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  background-color: var(--c-dark-base);
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar (Desktop) */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--c-dark-base);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--c-red);
}

/* Hide scrollbar */
.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Film Grain Overlay */
.film-grain {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0.025;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   HERO VIDEO BACKGROUND & CINEMATIC CAMERA STYLING
   ========================================================================== */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1.05);
  object-fit: cover;
  filter: contrast(115%) brightness(55%) saturate(115%);
  transition: opacity 0.8s ease;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(5, 8, 17, 0.35) 0%, rgba(5, 8, 17, 0.85) 75%, #050811 100%),
              linear-gradient(180deg, rgba(5, 8, 17, 0.75) 0%, transparent 45%, rgba(5, 8, 17, 0.98) 100%);
  z-index: 1;
}

/* Typography styles */
.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }
.font-mono { font-family: var(--font-mono); }

/* Huge background backdrop text */
.massive-bg-text {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.035);
  user-select: none;
  pointer-events: none;
}

.massive-bg-text-light {
  color: rgba(0, 0, 0, 0.035);
}

/* Gradients */
.text-grad-red {
  background: linear-gradient(135deg, #FFFFFF 10%, #FF5252 55%, #E52E2E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-grad-gold {
  background: linear-gradient(135deg, #FFFFFF 15%, #F4A427 70%, #E52E2E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-grad-blue {
  background: linear-gradient(135deg, #FFFFFF 10%, #00D2FF 60%, #0070F3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   HERO QUICK QUOTE GLASSMORPHISM CARD
   ========================================================================== */
.hero-quote-card {
  background: rgba(10, 15, 29, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(229, 46, 46, 0.15);
}

/* ==========================================================================
   IMAGE MASKING & CLIPPING
   ========================================================================== */
.clip-diagonal-left {
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
}

.clip-diagonal-right {
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}

@media (max-width: 768px) {
  .clip-diagonal-left,
  .clip-diagonal-right {
    clip-path: none;
    border-radius: 16px;
  }
}

.mask-container-reveal {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.mask-container-reveal img {
  transform: scale(1.05);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}
.mask-container-reveal:hover img {
  transform: scale(1.0);
  filter: contrast(110%);
}

/* Real Truck Gallery Card */
.truck-gallery-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0A0F1D;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.truck-gallery-card:hover {
  border-color: rgba(229, 46, 46, 0.5);
  box-shadow: 0 20px 50px -10px rgba(229, 46, 46, 0.25);
  transform: translateY(-4px);
}
.truck-gallery-card img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.truck-gallery-card:hover img {
  transform: scale(1.08);
}

/* ==========================================================================
   MAGNETIC CTA BUTTON
   ========================================================================== */
.btn-magnetic-vct {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: linear-gradient(135deg, #E52E2E 0%, #B81515 100%);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(229, 46, 46, 0.55);
  transition: box-shadow 0.4s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

@media (max-width: 640px) {
  .btn-magnetic-vct {
    padding: 12px 24px;
    font-size: 13px;
    width: 100%;
  }
}

.btn-magnetic-vct::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #FF3838 0%, #E52E2E 50%, #F4A427 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-magnetic-vct:hover::before {
  opacity: 1;
}

.btn-magnetic-vct:hover {
  box-shadow: 0 15px 40px rgba(229, 46, 46, 0.75);
  transform: translateY(-2px);
}

.btn-magnetic-vct span, 
.btn-magnetic-vct i,
.btn-magnetic-vct svg {
  position: relative;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-magnetic-vct:hover .arrow-icon {
  transform: translateX(6px);
}

/* ==========================================================================
   SIGNATURE ROUTE PROGRESS BAR
   ========================================================================== */
.route-spine-glow {
  background: linear-gradient(90deg, #E52E2E 0%, #F4A427 50%, #0070F3 100%);
  box-shadow: 0 0 20px rgba(229, 46, 46, 0.8), 0 0 40px rgba(244, 164, 39, 0.4);
}

.animated-route-truck {
  filter: drop-shadow(0 0 12px rgba(229, 46, 46, 0.9));
  transition: left 0.1s linear;
}

/* ==========================================================================
   INFINITE MARQUEE TICKER
   ========================================================================== */
.marquee-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
  white-space: nowrap;
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  animation: marqueeScroll 25s linear infinite;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ==========================================================================
   MOBILE BOTTOM FLOATING QUICK-BAR & CONTACT PILL
   ========================================================================== */
.floating-contact-pill {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 990;
  display: flex;
  align-items: center;
  background: rgba(10, 15, 29, 0.92);
  border: 1px solid rgba(229, 46, 46, 0.6);
  border-radius: 9999px;
  padding: 5px;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(229, 46, 46, 0.35);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 640px) {
  .floating-contact-pill {
    bottom: max(16px, env(safe-area-inset-bottom));
    right: 16px;
  }
}

.floating-contact-pill:hover {
  border-color: #E52E2E;
  box-shadow: 0 16px 50px rgba(229, 46, 46, 0.5);
  transform: translateY(-2px);
}

/* Back to Top Floating */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 990;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  cursor: pointer;
}

@media (max-width: 640px) {
  .back-to-top-btn {
    bottom: max(16px, env(safe-area-inset-bottom));
    left: 16px;
    width: 38px;
    height: 38px;
  }
}

.back-to-top-btn.active {
  opacity: 1;
  visibility: visible;
}
.back-to-top-btn:hover {
  background: var(--c-red);
  border-color: var(--c-red);
  transform: translateY(-3px);
}

/* Mobile Quick Bottom Bar (Call & Quote) */
.mobile-bottom-bar {
  display: none;
}
@media (max-width: 640px) {
  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 980;
    background: rgba(5, 8, 17, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 16px max(10px, env(safe-area-inset-bottom)) 16px;
    gap: 12px;
  }
}

/* ==========================================================================
   SECTION CINEMATIC TRANSITIONS
   ========================================================================== */
.editorial-white-section {
  background-color: var(--c-light-base);
  color: #0A0F1D;
}
