/* Bay Area Bilingual — Custom Styles */

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

/* Selection color */
::selection {
    background: rgba(69, 192, 125, 0.3);
    color: #0b1628;
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #45c07d;
    outline-offset: 2px;
}

/* Image lazy loading fade */
img {
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* Print styles */
@media print {
    nav, .cta-section, #contact { display: none; }
    body { color: #000; background: #fff; }
    .hero-bg { background: #fff !important; }
    .hero-bg h1, .hero-bg h2, .hero-bg h3 { color: #0b1628 !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; transform: none; }
}

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

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
        box-shadow: none;
    }
    .nav-link::after { display: none; }
}
