/* ============================================
   PROPERTY CARDS - WAREsIA
   ============================================ */

.properties {
    padding: 60px 5% 80px;
    background: #f0f0f0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: #111111;
}

.section-header h2 span {
    color: #d4af37;
}

.section-header p {
    color: #888888;
    font-size: 18px;
    margin-top: 10px;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* PROPERTY CARD */
.property-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.property-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
}

.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.property-card:hover .property-card-image img {
    transform: scale(1.08);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.badge-sale {
    background: #d4af37;
    color: #111111;
}

.badge-rent {
    background: #2ecc71;
    color: #ffffff;
}

.badge-featured {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(231, 76, 60, 0.9);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.property-card-body {
    padding: 20px 22px;
}

.property-card-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 6px;
}

.property-card-body .location {
    color: #888888;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.property-card-body .location i {
    font-size: 13px;
}

.property-details {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.property-details span {
    font-size: 13px;
    color: #888888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-details span i {
    color: #d4af37;
    font-size: 14px;
}

.property-card-body .price {
    font-size: 26px;
    font-weight: 800;
    color: #d4af37;
    display: block;
    margin-bottom: 15px;
}

.property-card-body .price small {
    font-size: 14px;
    font-weight: 400;
    color: #888888;
}

.property-card-footer {
    padding: 15px 22px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-card-footer .btn-details {
    background: #111111;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.35s ease;
    border: none;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.property-card-footer .btn-details:hover {
    background: #d4af37;
    color: #111111;
}

.property-card-footer .share-btn {
    color: #888888;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.35s ease;
    padding: 8px;
}

.property-card-footer .share-btn:hover {
    color: #d4af37;
}

/* LOADER */
.loader-container {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid #f0f0f0;
    border-top-color: #d4af37;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-container p {
    color: #888888;
    font-size: 16px;
}

/* VIEW ALL */
.view-all-container {
    text-align: center;
    margin-top: 50px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    border: 2px solid #d4af37;
    color: #111111;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.35s ease;
    text-decoration: none;
}

.view-all-btn:hover {
    background: #d4af37;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.25);
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
    .properties {
        padding: 40px 4% 60px;
    }

    .property-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
        margin: 0 auto;
    }

    .property-card-image {
        height: 180px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 15px;
    }

    .property-card-body h3 {
        font-size: 18px;
    }

    .property-card-body .price {
        font-size: 22px;
    }
}

@media screen and (max-width: 480px) {
    .property-card-image {
        height: 150px;
    }

    .property-card-body {
        padding: 15px 18px;
    }

    .property-card-footer {
        padding: 12px 18px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .property-card-footer .btn-details {
        flex: 1;
        text-align: center;
        padding: 8px 18px;
        font-size: 13px;
    }

    .view-all-btn {
        padding: 14px 30px;
        font-size: 14px;
    }
}