/* ==========================================================================
   MODERN RESIDENCE DETAILS & GALLERY - DOLCE VITA
   ========================================================================== */

.residence-highlights-section {
    padding: 0 0 80px;
    background: #fff;
}

.residence-highlights-section h3 {
    font-size: 32px;
    font-weight: 700;
    color: #26155E;
    text-align: center;
    margin-bottom: 40px;
}

/* BENTO GALLERY GRID */
.residence-gallery-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: repeat(2, 250px);
    gap: 15px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-item.main-pic {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.gallery-item.has-video::after {
    content: "\f1d5"; /* Play icon placeholder */
    font-family: "flaticon";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #26155E;
    font-size: 20px;
}

.gallery-item.more-btn .overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    color: #26155E;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* INFO BAR */
.residence-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding-top: 20px;
}

.info-stats-col {
    flex: 1;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.stat-item span {
    font-size: 18px;
    color: #5B41FF;
}

.stat-item p {
    font-size: 16px;
    color: #26155E;
    margin: 0;
    font-weight: 500;
}

.stat-item strong {
    font-weight: 700;
    color: #26155E;
}

/* AMENITIES GRID */
.amenities-grid-col {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.amenity-chip {
    background: #F4FBF4;
    border: 1px solid #E8F5E8;
    padding: 15px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.amenity-chip:hover {
    background: #E8F5E8;
    transform: translateY(-2px);
}

.amenity-chip span {
    color: #1B5E20;
    font-size: 20px;
}

.amenity-chip p {
    margin: 0;
    font-weight: 600;
    color: #2E7D32;
    font-size: 15px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .residence-highlights-section {
        padding: 40px 0 60px;
    }

    .residence-highlights-section h3 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .residence-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .gallery-item.main-pic {
        grid-column: 1 / 3;
        height: 350px;
    }
    .residence-info-bar {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .residence-gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .gallery-item.main-pic {
        grid-column: 1 / 2;
        height: 300px;
    }
    .gallery-item {
        height: 250px;
    }
    .info-stats-col {
        text-align: center;
    }
    .stat-item {
        flex-direction: column;
        gap: 5px;
    }
    .amenities-grid-col {
        grid-template-columns: 1fr;
        width: 100%;
    }
}
