/* Custom styles for Jarrod Knesal Realtor website */

/* Ensure smooth rendering */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Selection color */
::selection {
    background-color: rgba(20, 184, 166, 0.3);
    color: white;
}

/* Prevent layout shift on images */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Mobile menu overlay */
#mobileMenu::before {
    content: '';
    position: fixed;
    inset: 0;
    left: 320px;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
#mobileMenu.open::before {
    opacity: 1;
}

/* Gold gradient border animation */
@keyframes borderGlow {
    0%, 100% { border-color: rgba(20, 184, 166, 0.3); }
    50% { border-color: rgba(20, 184, 166, 0.6); }
}

/* Ensure all text meets WCAG AA contrast */
/* Light text on dark backgrounds: verified ✓ */
/* Dark text on light backgrounds: N/A (all dark theme) */
