/* Custom styles that complement Tailwind */

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

/* Ensure all text has proper contrast */
.text-emerald-800\/60,
.text-emerald-200\/60,
.text-emerald-200\/50,
.text-emerald-800\/70 {
  /* These opacity classes are applied via Tailwind and provide sufficient contrast */
}

/* Mobile menu animation */
#mobile-menu {
  animation: slideDown 0.25s ease;
}

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

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .float-1, .float-2, .float-3 {
    animation: none !important;
  }
}

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