/* Custom styles that extend Tailwind */

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

/* Smooth focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #1DA878;
  outline-offset: 2px;
}

/* Selection color */
::selection {
  background: rgba(29, 168, 120, 0.3);
  color: #D8F5E9;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #040B18;
}
::-webkit-scrollbar-thumb {
  background: #1B3A5E;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1DA878;
}

/* Image placeholder fallback */
img {
  background: linear-gradient(135deg, #0F2035 0%, #152D4A 100%);
}

/* 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;
  }
}

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