/* Custom styles — overrides and enhancements beyond Tailwind */

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

/* Ensure all text meets WCAG AA contrast */
.text-slate-600 { color: #475569; }
.text-slate-500 { color: #64748b; }
.text-slate-400 { color: #94a3b8; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }

/* Hero text contrast check */
.hero-overlay {
    background: linear-gradient(
        160deg,
        rgba(2,6,23,0.82) 0%,
        rgba(15,23,42,0.70) 50%,
        rgba(6,13,31,0.80) 100%
    );
}

/* Subtle animation for floating accent card */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    .nav-glass, .mobile-menu, #menu-toggle { display: none !important; }
    body { color: #000; background: #fff; }
    .hero-overlay { background: #0f172a !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; }
}
