/* Estatik Real Estate Listings Styling */

.es-property-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.es-property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.es-property-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.es-property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.es-card-image {
    position: relative;
    width: 100%;
    height: 210px;
    background: #f0f3f6;
    overflow: hidden;
}

.es-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.es-property-card:hover .es-card-image img {
    transform: scale(1.04);
}

.es-placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #8c9ba5;
    font-size: 16px;
    font-weight: 500;
}

.es-badge-status {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #2563eb;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.es-badge-price {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
}

.es-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.es-card-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
}

.es-card-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

.es-card-title a:hover {
    color: #2563eb;
}

.es-card-location {
    color: #64748b;
    font-size: 14px;
    margin: 0 0 15px 0;
}

.es-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
}

.es-btn-view {
    display: block;
    text-align: center;
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
    transition: background 0.2s;
}

.es-btn-view:hover {
    background: #1d4ed8;
    color: #ffffff;
}

/* Search Form */
.es-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin: 20px auto;
    max-width: 1200px;
    box-sizing: border-box;
}

.es-search-field {
    flex: 1 1 200px;
}

.es-search-field input,
.es-search-field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    background: #f8fafc;
    box-sizing: border-box;
}

.es-search-field input:focus,
.es-search-field select:focus {
    border-color: #2563eb;
    background: #ffffff;
}

.es-search-btn {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.es-search-btn:hover {
    background: #1d4ed8;
}

/* Single Property Overview */
.es-single-property-details {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.es-single-property-details h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    color: #0f172a;
}

.es-single-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.es-spec-item {
    font-size: 15px;
    color: #334155;
}

.es-spec-item.full-width {
    grid-column: 1 / -1;
}

.es-no-properties {
    text-align: center;
    color: #64748b;
    padding: 40px 0;
    font-size: 16px;
}

