/* Custom styles for Beloved Personal Care Homes */

/* Smooth focus outlines for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #9a1c3e;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9f3;
}
::-webkit-scrollbar-thumb {
    background: #f5c5cb;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d43f65;
}

/* Selection color */
::selection {
    background: #f9d0d9;
    color: #6b1a33;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contact-form, button {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

/* Reduced motion */
@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 !important;
        transform: none !important;
    }
    .card-hover:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid currentColor;
    }
    .btn-outline {
        border-width: 3px;
    }
}

/* Large screen adjustments */
@media (min-width: 1400px) {
    .hero-split {
        padding: 0 4rem;
    }
}
