/* City Gallery Styling */
.cities-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
}

.city-item, .city-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.city-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.city-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.city-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 15px;
    font-weight: 500;
    text-align: center;
    font-size: 1.1rem;
}

/* Original gallery fallback styles */
.city-placeholder {
    width: 100%;
    height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-style: italic;
}

.city-view-more {
    display: block;
    width: max-content;
    margin: 20px auto 0;
}

/* Where We Work Header */
.where-we-work-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.where-we-work-title {
    margin: 0;
    text-align: center;
}

.where-we-work-button-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cities-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .where-we-work-header {
        align-items: center;
    }
    
    .where-we-work-button-container {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .cities-gallery {
        grid-template-columns: 1fr;
    }
}
