/* Properties Section Styling */
.properties-sold-section {
    background: #f8f9fa;
    padding: 5rem 2rem;
}

.properties-sold-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.properties-sold-section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    color: #555;
}

/* Property Grid Layouts */
#initialProperties,
#allProperties {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

#allProperties {
    display: none;
}

/* Property Cards */
.property-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.property-card.top-sale {
    border: 3px solid #00a86b;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.property-image-container {
    position: relative;
}

.property-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.top-sale-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 168, 107, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.property-content {
    padding: 2rem;
}

.property-price {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.property-price.top-sale {
    font-size: 2rem;
    color: #00a86b;
}

.property-price.regular {
    font-size: 1.5rem;
    color: #2c3e50;
}

.property-price.second {
    font-size: 1.8rem;
    color: #2c3e50;
}

.property-address {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.property-address.regular {
    margin-bottom: 0.5rem;
}

.property-type {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.property-description {
    color: #666;
    line-height: 1.6;
}

/* Button Containers */
#seeMoreContainer,
#showLessContainer {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 3rem;
}

#showLessContainer {
    display: none;
}

/* Buttons */
.properties-button {
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.see-more-btn {
    background: linear-gradient(135deg, #2c5282, #2a69ac);
    color: white;
    box-shadow: 0 5px 15px rgba(44, 82, 130, 0.3);
}

.show-less-btn {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .properties-sold-section {
        padding: 3rem 1rem;
    }
    
    .properties-sold-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .properties-sold-section p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    #initialProperties,
    #allProperties {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .property-card {
        margin: 0 auto;
        max-width: 350px;
    }
    
    .property-content {
        padding: 1.5rem;
    }
    
    .property-image {
        height: 200px;
    }
    
    .property-price.top-sale {
        font-size: 1.4rem;
    }
    
    .property-price.second,
    .property-price.regular {
        font-size: 1.4rem;
    }
    
    .property-address {
        font-size: 1rem;
    }
    
    .property-type {
        font-size: 0.85rem;
    }
    
    #seeMoreContainer,
    #showLessContainer {
        margin-top: 2rem;
    }
    
    .properties-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .properties-sold-section {
        padding: 2rem 0.8rem;
    }
    
    .properties-sold-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .properties-sold-section p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .property-card {
        max-width: 300px;
    }
    
    .property-content {
        padding: 1.2rem;
    }
    
    .property-image {
        height: 180px;
    }
    
    .property-price.top-sale {
        font-size: 1.3rem;
    }
    
    .property-price.second,
    .property-price.regular {
        font-size: 1.2rem;
    }
    
    .properties-button {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
} 