/* Additional custom styles for Auto Miami */

/* Ensure smooth scrolling for all browsers */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f0f4f8;
}
::-webkit-scrollbar-thumb {
  background: #b8cce0;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8faecf;
}

/* Selection color */
::selection {
  background: #3db878;
  color: #ffffff;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #3db878;
  outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Print styles */
@media print {
  nav,
  .mobile-menu,
  #contactForm,
  .btn-shine::after {
    display: none !important;
  }
  body {
    color: #0a1a2e;
    background: #ffffff;
  }
  a {
    color: #0a1a2e;
  }
}
