/* --- Creative Property Detail Page --- */

.property-detail-page {
    background: #f8f9fa;
    color: #333;
    padding: 60px 0;
}

.property-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

/* --- Image Gallery --- */
.property-gallery .main-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.thumbnail-images .thumb img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #e9ecef;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.thumbnail-images .thumb img:hover, .thumbnail-images .thumb.active img {
    border-color: var(--gold);
    transform: scale(1.05);
}

/* --- Property Info Sidebar --- */
.property-info-sidebar {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 120px;
}

.property-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.property-location {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.property-location i {
    color: var(--gold);
    margin-right: 10px;
}

.property-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 30px;
}

.property-key-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.property-key-features li {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.property-key-features li i {
    color: var(--gold);
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.property-key-features li span {
    color: #333;
    font-weight: 600;
}

.primary-cta {
    display: block;
    width: 100%;
    padding: 18px;
    background: var(--gold);
    color: #111;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.primary-cta:hover {
    background: var(--dark-gold);
    color: #fff;
}

/* Responsive: stack layout on smaller screens */
@media (max-width: 992px) {
    .property-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .property-info-sidebar {
        position: static;
        top: auto;
        margin-top: 10px; /* spacing after main content when stacked */
    }
}

@media (max-width: 768px) {
    .property-gallery .main-image img {
        height: 320px;
    }
    .thumbnail-images {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .thumbnail-images .thumb img {
        height: 80px;
    }
    .property-detail-grid {
        gap: 24px;
    }
    .property-key-features {
        grid-template-columns: 1fr;
    }
    .property-price {
        font-size: 2.2rem;
    }
    .primary-cta {
        padding: 16px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .property-gallery .main-image img {
        height: 240px;
    }
    .thumbnail-images {
        grid-template-columns: repeat(2, 1fr);
    }
    .thumbnail-images .thumb img {
        height: 70px;
    }
    .property-title {
        font-size: 2rem;
    }
    .property-price {
        font-size: 2rem;
    }
    .primary-cta {
        padding: 14px;
        font-size: 1rem;
    }
}

/* --- Property Description --- */
.property-description {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid #e9ecef;
}

.property-description h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.property-description p {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #555;
}
