/**
 * Tpro Services LLC — Custom styles
 * Tailwind handles most styling; this file adds animations and overrides.
 */

/* ---- Fade-in animations (CSS only) ---- */
.animate-fade-in {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeIn 0.6s ease-out forwards;
}

.animation-delay-100 { animation-delay: 0.1s; }
.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-300 { animation-delay: 0.3s; }
.animation-delay-400 { animation-delay: 0.4s; }
.animation-delay-500 { animation-delay: 0.5s; }
.animation-delay-600 { animation-delay: 0.6s; }
.animation-delay-700 { animation-delay: 0.7s; }

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero: ensure overlay and content stack correctly when image is missing */
section .absolute.inset-0.z-0 + .absolute.inset-0.z-10 {
  pointer-events: none;
}

/* Form: red border on validation error */
.input-field.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

/* Screen reader only (backup if Tailwind not loaded) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
