/* ================= BASE ================= */
body {
    font-family: Arial, sans-serif;
    background: #f5f6fa;
    margin: 0;
    padding: 0;
}

/* ================= TITLES ================= */
.page-title {
    text-align: center;
    margin-bottom: 30px;
    color: #075291;
    font-weight: 700;
}

/* ================= GRID ================= */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* ================= CARD ================= */
.property-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

/* Fix click issue */
.property-card * {
    pointer-events: auto;
}

/* ================= IMAGE ================= */
.property-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* ================= CONTENT ================= */
.card-body {
    padding: 16px;
}

.card-body h3 {
    font-size: 18px;
    color: #075291;
    margin: 10px 0 6px;
}

/* ================= TAG ================= */
.tag {
    display: inline-block;
    background: #ed6e25;
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* ================= PRICE & TYPE ================= */
.price {
    color: #075291;
    font-weight: 700;
    margin-top: 6px;
}

.type {
    color: #777;
    font-size: 14px;
}

/* ================= BUTTON ================= */
.btn {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 18px;
    background: #075291;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: background .3s ease, transform .2s ease;
    cursor: pointer;
}

.btn:hover {
    background: #ed6e25;
    transform: translateY(-2px);
}

/* ================= SINGLE PROPERTY ================= */
.single-property {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1100px;
    margin: auto;
    padding: 30px 15px;
}

.single-img {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.single-content {
    flex: 1;
}

.single-content h1 {
    color: #075291;
}

.single-content .price {
    font-size: 22px;
    margin: 10px 0;
}

.single-content ul li {
    margin-bottom: 6px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .single-property {
        flex-direction: column;
    }

    .property-card img {
        height: 200px;
    }
}
