/* Custom styles for Heffelmire Tax Service */

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

/* Selection color */
::selection {
    background: rgba(194, 37, 68, 0.15);
    color: #7a142d;
}

/* Focus visible for keyboard nav */
*:focus-visible {
    outline: 2px solid #c22544;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    .nav-glass, .blob, #mobile-menu { display: none !important; }
    body { color: #000; background: #fff; }
    .service-card { break-inside: avoid; }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .blob { display: none; }
}

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

/* Reduce motion preference */
@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; }
}
