/* Custom overrides and utilities */
:root {
    --coral-400: #FF5A3A;
    --coral-500: #E8432A;
    --charcoal-900: #1E1E24;
    --charcoal-950: #131317;
}

html {
    scroll-padding-top: 80px;
}

/* Smooth scroll for anchor links */
@media (prefers-reduced-motion: no-preference) {
    .category-card {
        will-change: transform;
    }
}

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

/* Selection color */
::selection {
    background: rgba(232, 67, 42, 0.3);
    color: #F6F6F7;
}

/* Ensure map is readable */
iframe {
    border-radius: 0 0 20px 20px;
}

/* Mobile menu animation */
@media (max-width: 767px) {
    .mobile-menu {
        box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    }
}

/* Subtle hover on stat cards */
.stat-card:hover {
    border-color: rgba(232, 67, 42, 0.2);
    transition: border-color 0.3s ease;
}

/* Ensure all images have smooth loading */
img {
    image-rendering: auto;
}

/* Prevent layout shift on lazy images */
img[loading="lazy"] {
    contain: strict;
}
