/* Custom Styles */
:root {
    --success: #10b981;
    --success-hover: #059669;
    --light-bg: #f9fafb;
}

body {
    background-color: var(--light-bg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1050;
    display: none;
}

.mobile-menu-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu-header {
    background: white;
}

.mobile-menu-body {
    flex: 1;
}

.mobile-menu-item {
    padding: 0.75rem 0;
    font-weight: 500;
    color: #374151;
    background: none;
    border: none;
    text-align: left;
}

.mobile-menu-item:hover {
    color: var(--success);
}

/* Navigation */
.nav-link {
    color: #374151;
    background: none;
    border: none;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: var(--success);
}

/* Cards */
.property-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.property-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.property-featured {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--success);
    color: white;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.property-price {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 9999px;
}

.property-acres {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.875rem;
}

/* Filter Buttons */
.land-type-btn.active {
    background-color: var(--success) !important;
    color: white !important;
    border-color: var(--success) !important;
}

.land-type-btn-mobile.active {
    background-color: var(--success) !important;
    color: white !important;
    border-color: var(--success) !important;
}

/* Hover Effects */
.hover-success {
    transition: color 0.2s ease;
}

.hover-success:hover {
    color: var(--success) !important;
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Rating Stars */
.rating-star {
    color: #fbbf24;
    font-size: 0.875rem;
}

/* Modal Custom Styles */
.modal-content {
    border-radius: 1rem;
    border: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .property-card-img {
        height: 200px;
    }
    
    .land-type-btn, .land-type-btn-mobile {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
    }
}

/* Custom Range Input */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--success);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--success);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Property Details */
.property-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Truncate Text */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Badge Styles */
.badge-success {
    background-color: var(--success);
}