/* Custom styles that complement Tailwind */

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

/* Ensure all text meets contrast requirements */
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }

/* Selection color */
::selection {
    background: #E8734A;
    color: #ffffff;
}

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

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contactForm { display: none; }
    body { background: #fff; color: #000; }
    .hero-bg { background: #141414 !important; }
}

/* Reduced motion */
@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; }
    .pulse-gold { animation: none !important; }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .menu-card { border-color: #D4A853; }
    .btn-primary { border: 2px solid #E8734A; }
}

/* Wide screen adjustments */
@media (min-width: 1920px) {
    .max-w-7xl { max-width: 80rem; }
}
