/* Custom styles for BusyRealtor */

/* Smooth transitions */
* {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-duration: 200ms;
    transition-timing-function: ease-in-out;
}

/* Property card hover effect */
.property-card {
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-4px);
}

/* Image hover cycling */
.property-images {
    position: relative;
}

.property-images img {
    transition: opacity 0.8s ease-in-out;
}

/* Filter sidebar */
.filter-sidebar {
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .filter-sidebar.closed {
        transform: translateX(-100%);
    }
}

/* Map markers */
.map-marker {
    background: white;
    border-radius: 20px;
    padding: 4px 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    font-weight: 600;
    font-size: 14px;
}

/* Loading spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3B82F6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Image lightbox */
.lightbox {
    z-index: 9999;
}

/* Chatbot */
.chatbot-window {
    bottom: 90px;
    right: 24px;
    width: 380px;
    max-width: calc(100vw - 48px);
    max-height: 600px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* Print styles */
@media print {
    header, footer, .chatbot-button, .filter-sidebar {
        display: none !important;
    }
}

/* Status badges */
.status-active { background-color: #10B981; }
.status-pending { background-color: #F59E0B; }
.status-sold { background-color: #EF4444; }

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

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

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

