/* Custom styles for Truck Movers */

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

/* Prevent flash of hidden content — all default states visible */

/* Service card hover lift */
.service-card {
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

/* Testimonial card hover */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
}

/* Navbar scroll state */
#site-nav.scrolled {
  box-shadow: 0 4px 20px rgba(139, 26, 75, 0.08);
}

/* Scroll-reveal animations — progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
  .service-card,
  .testimonial-card,
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Selection color */
::selection {
  background: #f9c4d6;
  color: #5a1236;
}
