/* Custom styles for Courtyard Apartments */

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1d3d1d;
}
::-webkit-scrollbar-thumb {
    background: #3d7a3d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5ba35b;
}

/* Selection */
::selection {
    background: #3d7a3d;
    color: #fdfcf8;
}

/* Focus */
:focus-visible {
    outline: 2px solid #3d7a3d;
    outline-offset: 2px;
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print */
@media print {
    nav, #contact, .reveal {
        display: block !important;
        opacity: 1 !important;
    }
    .hero-gradient {
        background: #162e16 !important;
    }
}
