/* City 3D Section - below Caloogy AI */
.city-section {
    margin: 40px 0;
    padding: 0;
    position: relative;
    width: 100%;
    min-height: 780px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
}

.city-section-title-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 16px 0;
    pointer-events: none;
    transform-origin: center center;
    will-change: transform;
    backface-visibility: hidden;
}

.city-section-title {
    position: relative;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300;
    font-family: 'Georgia', 'Times New Roman', serif;
    letter-spacing: 2px;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    transform: translateZ(0) scale(var(--city-title-scale, 1));
    transform-origin: center center;
    will-change: transform;
    backface-visibility: hidden;
}

.city-canvas-wrap {
    position: relative;
    width: 100%;
    height: 700px;
    border-radius: 8px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    background: linear-gradient(180deg, rgba(10, 10, 20, 0.98) 0%, rgba(5, 5, 15, 0.99) 100%);
    transform: translateZ(0) scale(var(--city-canvas-scale, 1));
    transform-origin: center center;
    will-change: transform;
    backface-visibility: hidden;
}

.city-canvas-wrap:active {
    cursor: grabbing;
}

.city-canvas-wrap canvas {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Optional: subtle container shadow for the whole block */
.city-section {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .city-section {
        min-height: 590px;
        margin: 24px 0;
    }
    .city-section-title-wrap {
        margin: 0 0 12px 0;
    }
    .city-section-title {
        font-size: 24px;
    }
    .city-canvas-wrap {
        height: 520px;
    }
}

