/* Custom styles supplementing Tailwind */

/* Smooth focus styles */
a:focus-visible, button:focus-visible {
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Selection color */
::selection {
  background: #ff6b35;
  color: white;
}

/* Image hover containers */
.rounded-3xl, .rounded-2xl {
  overflow: hidden;
}

/* Subtle pattern for charcoal sections */
.bg-charcoal-900 {
  background-image: radial-gradient(ellipse at 20% 50%, rgba(255, 107, 53, 0.03) 0%, transparent 50%),
                    radial-gradient(ellipse at 80% 20%, rgba(255, 132, 86, 0.03) 0%, transparent 50%);
}

/* Ensure all text on coral has proper contrast */
.bg-coral-500, .bg-coral-600, .bg-coral-700 {
  color: white;
}

/* Mobile menu animation fix */
#mobile-menu a {
  display: block;
  padding: 0.5rem 0;
}

/* Prevent layout shift on images */
img {
  max-width: 100%;
  height: auto;
}

/* Reduced motion support */
@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; transform: none; }
}

/* High contrast mode support */
@media (forced-colors: active) {
  .btn-lift {
    border: 2px solid ButtonText;
  }
}

/* Print styles */
@media print {
  header, footer, .wave-divider { display: none; }
  body { color: #000; background: #fff; }
  a[href]::after { content: " (" attr(href) ")"; }
}
