/* Kremer Realty — Custom Styles */
/* All primary styles are in index.html for a single-file CSS approach */
/* This file contains additional utility and edge-case styles */

/* Ensure smooth scrolling for all browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus visible styles for accessibility */
*:focus-visible {
    outline: 2px solid #C9A96E;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: rgba(201, 169, 110, 0.3);
    color: #F5F0EB;
}

/* Print styles */
@media print {
    body {
        background: #fff !important;
        color: #000 !important;
    }
    .grain::after {
        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;
    }
    html {
        scroll-behavior: auto;
    }
    .float-1, .float-2, .float-3 {
        animation: none;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .luxury-card {
        border: 1px solid ButtonText;
    }
    .btn-gold {
        border: 1px solid ButtonText;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .font-serif {
        font-size: 1rem;
    }
    h1 {
        font-size: 2rem !important;
    }
    h2 {
        font-size: 1.5rem !important;
    }
}

/* Wide screens */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}

/* Touch device adjustments */
@media (hover: none) and (pointer: coarse) {
    .luxury-card:hover {
        transform: none;
        border-color: #2A2A2A;
        box-shadow: none;
    }
    .btn-gold:hover,
    .btn-outline-gold:hover {
        transform: none;
        box-shadow: none;
    }
}
