/* ============================================
   PROPERTIES GRID
   ============================================ */
.properties-grid {
    display: grid;
    gap: 24px;
    margin: 20px 0;
}

.properties-columns-2 { grid-template-columns: repeat(2, 1fr); }
.properties-columns-3 { grid-template-columns: repeat(3, 1fr); }
.properties-columns-4 { grid-template-columns: repeat(4, 1fr); }

.property-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

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

.property-card__image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.property-card__image a {
    display: block;
    height: 100%;
}

.property-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.property-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.property-card__title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.property-card__no-image {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}

.property-card__footer {
    display: block;
    padding: 18px;
    text-decoration: none;
    color: inherit;
}

.property-card__specs {
    display: flex;
    gap: 14px;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.property-card__price {
    font-size: 22px;
    color: #c0392b;
}

.property-card__price strong {
    font-weight: 700;
}

.property-card__price .price-label {
    font-size: 13px;
    color: #888;
    font-weight: 400;
}


/* ============================================
   SINGLE PROPERTY
   ============================================ */
.property-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.property-single__header {
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.property-single__header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.property-single__title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    color: #222;
}

.property-single__price {
    font-size: 32px;
    font-weight: 800;
    color: #c0392b;
}

.property-single__price .price-label {
    font-size: 16px;
    color: #888;
    font-weight: 400;
}


/* Quick Stats */
.property-single__quick-stats {
    background: #f9f9f9;
    padding: 25px 0;
    margin-bottom: 30px;
}

.property-single__quick-stats-inner {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.property-stat {
    text-align: center;
    min-width: 100px;
}

.property-stat__icon {
    display: block;
    font-size: 32px;
    margin-bottom: 8px;
}

.property-stat__number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #222;
}

.property-stat__label {
    display: block;
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
}


/* Hero */
.property-single__hero {
    margin-bottom: 40px;
}

.property-single__hero img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 12px;
}


/* Section Titles */
.property-single__section-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
    color: #222;
}


/* Gallery */
.property-single__gallery-section {
    margin-bottom: 40px;
}

.property-single__gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.property-single__gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
}

.property-single__gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-single__gallery-item:hover img {
    transform: scale(1.05);
}


/* Description */
.property-single__description-section {
    margin-bottom: 40px;
}

.property-single__description-content {
    line-height: 1.8;
    color: #444;
    font-size: 16px;
}


/* Specs */
.property-single__specs-section {
    margin-bottom: 40px;
}

.property-single__specs-grid {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
}

.property-spec-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.property-spec-row:last-child {
    border-bottom: none;
}

.property-spec-row .spec-label {
    font-weight: 600;
    color: #333;
    width: 50%;
}

.property-spec-row .spec-value {
    color: #555;
}


/* Features */
.property-single__features-section {
    margin-bottom: 40px;
}

.property-single__features-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.property-single__features-list li {
    padding: 12px 16px;
    background: #f0f9f0;
    border-radius: 6px;
    border-left: 4px solid #27ae60;
    font-size: 15px;
}

.property-single__features-list li:before {
    content: "✓ ";
    color: #27ae60;
    font-weight: 700;
}


/* Inquiry CTA */
.property-single__inquiry-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
}

.property-single__inquiry-section h3 {
    font-size: 28px;
    margin: 0 0 15px;
}

.property-single__cta-price {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px;
}

.property-single__cta-price .price-label {
    font-size: 16px;
    opacity: 0.8;
}

.property-single__inquiry-btn {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    padding: 15px 40px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    margin-top: 15px;
    transition: background 0.3s;
}

.property-single__inquiry-btn:hover {
    background: #a93226;
    color: #fff;
}


/* Lightbox */
.property-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 999999;
    justify-content: center;
    align-items: center;
}

.property-lightbox.active {
    display: flex;
}

.property-lightbox__image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.property-lightbox__close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 45px;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

.property-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border: none;
    padding: 20px;
    border-radius: 4px;
}

.property-lightbox__prev { left: 20px; }
.property-lightbox__next { right: 20px; }

.property-lightbox__counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
}


/* Responsive */
@media (max-width: 768px) {
    .properties-grid {
        grid-template-columns: 1fr !important;
    }
    
    .property-single__header-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .property-single__title {
        font-size: 26px;
    }
    
    .property-single__quick-stats-inner {
        gap: 20px;
    }
    
    .property-stat {
        min-width: 70px;
    }
    
    .property-single__gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .property-single__features-list {
        grid-template-columns: 1fr;
    }
    
    .property-single__inquiry-section {
        padding: 30px 20px;
    }
}