/* Custom styles beyond Tailwind */

/* Smooth scroll offset for fixed nav */
section[id] {
  scroll-margin-top: 80px;
}

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

/* Subtle pattern for hero overlay */
.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(20, 184, 166, 0.08) 0%, transparent 50%),
                    radial-gradient(circle at 75% 75%, rgba(13, 148, 136, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

/* Service card image hover */
.card-hover .card-image {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card-hover:hover .card-image {
  transform: scale(1.05);
}

/* Button focus states */
button:focus-visible,
a:focus-visible {
  outline: 2px solid #14b8a6;
  outline-offset: 2px;
}

/* Form input focus */
input:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

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

/* Print styles */
@media print {
  nav, #contact-form, .scroll-reveal {
    display: none;
  }
  body {
    color: #000;
    background: #fff;
  }
}
