/* Custom styles beyond Tailwind */

:root {
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Service card hover animation */
.service-card {
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

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

/* Testimonial card animation */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

/* Mobile link hover */
.mobile-link {
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.mobile-link:hover {
  border-bottom-color: #ccfbf1;
}

/* Navbar scroll state */
header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* 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 for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #14b8a6;
  outline-offset: 2px;
}

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

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

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

  #mobileMenu {
    animation: none;
  }

  .animate-bounce {
    animation: none;
  }

  .animate-pulse {
    animation: none;
  }
}

/* Print styles */
@media print {
  header, footer, .no-print {
    display: none;
  }

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

  a {
    color: #000;
  }
}
