/* Cities Section Styles */
.cities-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.cities-grid {
    width: 100%;
}

.cities-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.city-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.city-item-small {
    flex: 1;
    min-height: 280px;
}

.city-item-large {
    flex: 3;
    min-height: 280px;
}

.city-card {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
    overflow: hidden;
}

.city-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.city-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.city-item:hover .city-image-wrapper img {
    transform: scale(1.1);
}

.city-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.7) 100%
    );
    transition: all 0.3s ease;
}

.city-item:hover .city-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.5) 60%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.city-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    z-index: 2;
    color: #ffffff;
}

.city-name {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #ffffff;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.city-property-count {
    font-size: 15px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    letter-spacing: 0.3px;
}

.city-item:hover .city-name {
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .city-item-small,
    .city-item-large {
        min-height: 240px;
    }

    .city-name {
        font-size: 24px;
    }

    .city-property-count {
        font-size: 14px;
    }

    .city-info {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .cities-row {
        flex-direction: column;
        gap: 15px;
    }

    .city-item-small,
    .city-item-large {
        flex: 1;
        min-height: 220px;
    }

    .city-name {
        font-size: 22px;
    }

    .city-property-count {
        font-size: 13px;
    }

    .city-info {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .cities-section {
        padding: 50px 0;
    }

    .city-item-small,
    .city-item-large {
        min-height: 200px;
    }

    .city-name {
        font-size: 20px;
    }

    .city-property-count {
        font-size: 12px;
    }

    .city-info {
        padding: 15px;
    }
}
