/* Custom styles beyond Tailwind */

html {
  scroll-behavior: smooth;
}

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

/* Subtle gradient overlay for hero image */
.hero-image-overlay {
  position: relative;
}

.hero-image-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(15, 23, 42, 0.1), transparent 60%);
  pointer-events: none;
  border-radius: inherit;
}

/* Nav shadow on scroll */
nav.scrolled {
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #0d9488;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0f766e;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  img {
    transition: none !important;
  }
}

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