/* Lawanson Realty - Custom Design System & Utilities */

:root {
    --color-primary: #0f766e;
    --color-primary-dark: #115e59;
    --color-primary-light: #ccfbf1;
    --color-secondary: #0f172a;
    --color-accent: #d97706;
    --color-bg-light: #f8fafc;
    --color-border: #e2e8f0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--color-bg-light);
    color: var(--color-secondary);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Header */
.glass-nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Listing & Card Hover Animations */
.listing-card {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12);
    border-color: var(--color-primary);
}

.listing-card-img-container {
    overflow: hidden;
    position: relative;
}

.listing-card-img-container img {
    transition: transform 0.5s ease;
}

.listing-card:hover .listing-card-img-container img {
    transform: scale(1.04);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Favorite Heart Icon Animation */
.favorite-btn {
    transition: transform 0.2s ease, color 0.2s ease;
}
.favorite-btn:active {
    transform: scale(1.25);
}

/* Floating Compare Bar Transition */
#compare-float-bar {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Active Nav Links */
.nav-link.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* Tabs Toggle (Buy / Rent) */
.tab-btn.active {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

/* Range Sliders & Select Inputs */
select, input[type="text"], input[type="number"], input[type="email"], textarea {
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
select:focus, input:focus, textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

/* Badge Tags */
.badge-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
}
