/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Subtle architectural dot grid */
.bg-dot-grid {
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
}

.bg-dot-grid-light {
  background-image: radial-gradient(rgba(11, 32, 70, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation active indicator */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: #e36c0a;
  border-radius: 9999px;
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #e36c0a;
}

.hero-bg-layer {
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes planeFlight {
  0% { transform: translate(-120%, 36px) rotate(-4deg); }
  45% { transform: translate(170px, -18px) rotate(-1deg); }
  85% { transform: translate(420px, -44px) rotate(-3deg); }
  100% { transform: translate(620px, -68px) rotate(-5deg); }
}

.animate-plane {
  animation: planeFlight 11s linear infinite;
}

@keyframes truckDrive {
  0% { transform: translateX(-220px); }
  100% { transform: translateX(460px); }
}

.animate-truck {
  animation: truckDrive 10s linear infinite;
}

@keyframes wheelSpin {
  100% { transform: rotate(360deg); }
}

.wheel-spin {
  transform-box: fill-box;
  transform-origin: center;
  animation: wheelSpin 0.65s linear infinite;
}

@keyframes roadMove {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -72; }
}

.road-lines {
  stroke-dasharray: 20, 16;
  animation: roadMove 1s linear infinite;
}

@keyframes waveMove {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.wave-float {
  animation: waveMove 3.2s ease-in-out infinite;
}

@keyframes shipFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(1deg); }
}

.ship-float {
  animation: shipFloat 4.2s ease-in-out infinite;
}

@keyframes flightPath {
  to { stroke-dashoffset: -100; }
}

.flight-path-line {
  stroke-dasharray: 8, 6;
  animation: flightPath 2.6s linear infinite;
}
