/* Additional custom styles for Treasure Coast Auto Shop */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #0f2240;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #15305c;
}

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

/* Print styles */
@media print {
  nav,
  .mobile-menu,
  button {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero-asymmetric {
    min-height: auto;
  }

  a {
    text-decoration: underline;
  }
}

/* Reduced motion preferences */
@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;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* High contrast mode support */
@media (forced-colors: active) {
  .service-card {
    border: 2px solid ButtonText;
  }

  .cta-button,
  .mint-button {
    border: 2px solid ButtonText;
  }
}

/* Ensure images don't overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Prevent text from becoming unreadable on zoom */
@media (min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Tablet and mobile adjustments */
@media (max-width: 767px) {
  .stat-number {
    font-size: 2.5rem;
  }

  .hero-text-content {
    padding: 3rem 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }
}

/* Landscape mode adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-asymmetric {
    min-height: auto;
  }

  .hero-text-content {
    padding: 2rem;
  }
}
