/* ===== CUSTOM STYLES ===== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: rgba(245, 158, 11, 0.3);
    color: #1A0F1E;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .stat-card {
        animation-duration: 0s !important;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* When reduced motion is preferred, keep elements visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    .float-slow, .float-medium, .float-fast {
        animation: none;
    }
    .property-card, .stat-card {
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ===== FOCUS STYLES ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #F59E0B;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== PRINT STYLES ===== */
@media print {
    header, footer, #back-to-top, .reveal { display: none; }
    body { color: #000; background: #fff; }
    .cta-section { background: #2D1B34 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
