/* Custom styles for Complete Service & Repair */

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

/* Ensure all content is visible by default for accessibility */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Mobile menu transitions */
#mobileMenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

#mobileMenu.open {
  max-height: 500px;
  opacity: 1;
}

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

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

::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Focus visible styles */
*:focus-visible {
  outline: 2px solid #0d9488;
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .scroll-reveal {
    transition: none;
  }
  .group:hover {
    transition: none;
  }
  a, button {
    transition: none;
  }
}

/* Print styles */
@media print {
  header, footer, #contact {
    display: none;
  }
  body {
    color: #000;
    background: #fff;
  }
}
