/* Custom styles for Border Transport */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Scroll reveal base — content always visible by default */
.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Only animate when JS is enabled and user prefers motion */
@media (prefers-reduced-motion: no-preference) {
  .js-enabled .scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .js-enabled .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .js-enabled .scroll-reveal.revealed:nth-child(2) { transition-delay: 0.1s; }
  .js-enabled .scroll-reveal.revealed:nth-child(3) { transition-delay: 0.2s; }
  .js-enabled .scroll-reveal.revealed:nth-child(4) { transition-delay: 0.3s; }
}

/* Navbar glass effect on scroll */
nav.scrolled {
  background: rgba(26, 26, 46, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Subtle gradient overlay on hero image */
.hero-img-overlay {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.3) 0%, transparent 60%);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1a1a2e;
}
::-webkit-scrollbar-thumb {
  background: #3d3d5c;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #4a4a6a;
}

/* Select dropdown arrow */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
