/* E-SQUARE VENTURES - PROPERTIES PAGE STYLESHEET */

/* ------------------- */
/* Properties Hero     */
/* ------------------- */
.properties-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1558036117-15d82a90b9b1?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center/cover;
    padding: 100px 0;
    text-align: center;
    color: var(--secondary-color);
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.2rem;
    margin-top: 10px;
    opacity: 0.9;
}

/* ------------------- */
/* Properties Gallery  */
/* ------------------- */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.property-card {
    position: relative;
    height: 350px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.property-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.property-card:hover img {
    transform: scale(1.05);
}

.property-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 80%);
    color: var(--secondary-color);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.property-card:hover .property-overlay {
    transform: translateY(0);
    opacity: 1;
}

.property-overlay h3 {
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.property-overlay p {
    font-size: 1rem;
    color: #e0e0e0;
}

.property-overlay i {
    margin-right: 8px;
}

/* -------------------------- */
/* Responsive Adjustments     */
/* -------------------------- */
@media (max-width: 992px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    .properties-grid {
        grid-template-columns: 1fr;
    }
}