/* Roman Gardens Condos — Custom Styles */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    line-height: 1.6;
}

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Smooth scrolling for anchor links */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Selection color */
::selection {
    background-color: rgba(156, 34, 64, 0.2);
    color: #3d0a17;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 3px solid rgba(156, 34, 64, 0.4);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    #navbar {
        position: static;
    }
    
    .hero-overlay {
        display: none;
    }
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #faf8f6;
}

::-webkit-scrollbar-thumb {
    background: #f5c4c9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f49aad;
}

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