/* Custom styles and overrides */

html {
  scroll-behavior: smooth;
}

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

/* Ensure all text has proper contrast */
.text-slate-500 { color: rgb(100, 116, 139); }
.text-slate-400 { color: rgb(148, 163, 184); }
.text-teal-300 { color: rgb(94, 234, 212); }
.text-teal-200 { color: rgb(153, 246, 228); }
.text-teal-400 { color: rgb(45, 212, 191); }
.text-teal-600 { color: rgb(13, 148, 136); }
.text-teal-700 { color: rgb(15, 118, 110); }
.text-teal-800 { color: rgb(17, 94, 89); }

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Selection color */
::selection {
  background: #99f6e4;
  color: #042f2e;
}

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

/* Smooth transitions for all interactive elements */
a, button {
  transition: all 0.2s ease;
}

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

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

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Print styles */
@media print {
  nav, #mobileMenuBtn, #contactForm, #formSuccess {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
}
