/* EK Properties Styles */

.ekp-properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.ekp-property-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.ekp-property-image {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 16 / 11;
}

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

.ekp-property-card:hover .ekp-property-image img {
    transform: scale(1.05);
}

.ekp-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 16px;
}

.ekp-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    z-index: 1;
}

.ekp-badge-coming {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.ekp-badge-sold {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.ekp-property-details {
    padding: 20px;
}

.ekp-property-title {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
}

.ekp-property-title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ekp-property-title a:hover {
    color: #3182ce;
}

.ekp-property-location {
    color: #718096;
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ekp-property-price {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin: 15px 0;
}

.ekp-property-features {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 15px;
}

.ekp-feature {
    color: #4a5568;
    font-size: 14px;
}

.ekp-feature strong {
    color: #2d3748;
    font-size: 16px;
    margin-right: 4px;
}

.ekp-status-text {
    color: #e53e3e;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 15px;
    padding: 8px 12px;
    background: #fff5f5;
    border-radius: 6px;
    display: inline-block;
}

.ekp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.ekp-btn-coming-soon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.ekp-btn-sold {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.ekp-btn-default {
    background: #2d3748;
    color: white;
}

.ekp-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ekp-btn-arrow {
    transition: transform 0.3s ease;
}

.ekp-btn:hover .ekp-btn-arrow {
    transform: translateX(3px);
}

.ekp-no-properties {
    text-align: center;
    padding: 50px;
    color: #718096;
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ekp-properties-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }
    
    .ekp-property-price {
        font-size: 24px;
    }
    
    .ekp-property-title {
        font-size: 18px;
    }
}

/* Loading Animation */
.ekp-properties-grid {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}