/* Custom overrides and enhancements */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

/* Selection color */
::selection {
    background: #4263eb;
    color: #fff;
}

/* Subtle pattern overlay for hero sections */
.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-gradient { animation: none; background-size: 100% 100%; }
    .pulse-dot { animation: none; }
    .service-card { transition: none; }
    .service-card:hover { transform: none; }
    img { transition: none; }
    .reveal { opacity: 1 !important; transform: none !important; }
}

/* Print styles */
@media print {
    nav, #mobile-menu, .reveal, .hero-gradient { display: none; }
    body { color: #000; background: #fff; }
    a { color: #000; text-decoration: underline; }
}
