/* Custom styles for Top Shelf Auto Repair */

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

/* Mobile menu transitions */
#mobile-menu {
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Service cards hover effect */
.service-card {
  border: 1px solid transparent;
}

.service-card:hover {
  border-color: #99f6e4;
  box-shadow: 0 8px 30px rgba(13, 148, 136, 0.08);
  transform: translateY(-2px);
}

/* Navbar shadow on scroll */
#navbar.scrolled {
  box-shadow: 0 1px 20px rgba(13, 148, 136, 0.08);
}

/* Select dropdown custom styling */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

/* Subtle gradient text utility */
.text-gradient-teal {
  background: linear-gradient(135deg, #0d9488, #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .service-card {
    transition: none;
  }
  .service-card:hover {
    transform: none;
  }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .font-serif {
    font-size: 1.75rem;
  }
}
