/* Custom styles for Magnificent Tint LLC */

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

/* Navbar scroll effect */
#navbar.scrolled {
  box-shadow: 0 4px 20px rgba(4, 120, 87, 0.08);
}

/* Service card hover lift */
.service-card {
  transform: translateY(0);
}

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

/* Testimonial card hover */
.testimonial-card {
  transform: translateY(0);
}

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

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

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

/* Nav links */
.nav-link {
  position: relative;
}

/* Focus styles */
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .service-card,
  .testimonial-card {
    transition: none;
  }

  .service-card:hover,
  .testimonial-card:hover {
    transform: none;
  }

  #mobileMenu {
    animation: none;
  }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #6ee7b7;
}
