/* Custom styles for Ronald Phillips Real Estate */

/* Smooth focus outlines for accessibility */
*:focus-visible {
    outline: 2px solid #c43b3b;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fffbf7;
}
::-webkit-scrollbar-thumb {
    background: #f3a8a8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e87070;
}

/* Selection color */
::selection {
    background: #f9d0d0;
    color: #611919;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure mobile menu link hover works */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
}

/* 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;
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav, #contact, .blob, .reveal {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
    .hero-gradient {
        background: #741f1f !important;
        min-height: auto !important;
        padding: 2rem !important;
    }
}
