/* Custom overrides and enhancements */

::selection {
    background: rgba(163, 52, 110, 0.15);
    color: inherit;
}

/* Smooth focus outlines */
a:focus-visible,
button:focus-visible {
    outline: 1px solid rgba(163, 52, 110, 0.5);
    outline-offset: 4px;
}

/* Subtle image loading */
img {
    opacity: 1;
    transition: opacity 0.4s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1 !important; transform: none !important; }
    img { transition: none !important; }
    .hover\\:scale-105:hover { transform: none !important; }
}

/* Mobile menu active state */
body.menu-open {
    overflow: hidden;
}

/* Navbar scroll state */
nav.scrolled {
    box-shadow: 0 1px 0 rgba(163, 52, 110, 0.08);
}
