/* Providence Place Senior Housing — Custom Styles */

/* Base reset adjustments */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background-color: rgba(79, 196, 146, 0.25);
    color: #ffffff;
}

/* Smooth focus for keyboard navigation */
a, button {
    transition: all 0.25s ease;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0A1628 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff;
}

/* Subtle text rendering for serif headings */
font-family: 'Cormorant Garamond', Georgia, serif {
    text-rendering: optimizeLegibility;
}

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

/* Ensure form elements inherit colors */
button, input, select, textarea {
    font-family: inherit;
}

/* Print styles */
@media print {
    nav, .reveal, .line-accent, #contactForm, #formSuccess {
        display: none !important;
    }
    
    body {
        background: #ffffff !important;
        color: #1a1a1a !important;
    }
    
    .font-serif, h1, h2, h3, h4 {
        color: #0A1628 !important;
    }
}
