/* === ТОЧКИ В ГОРОДЕ === */
/* Все цвета/радиусы/тени — через токены из global.css (поддержка 3 тем) */
/* Фон (.ambient-bg / .blob) определяется глобально в global.css */

/* --- КОНТЕЙНЕР --- */
.city-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 15px 100px;
    color: var(--text);
}

/* --- ШАПКА СПИСКА --- */
.city-header {
    text-align: center;
    margin-bottom: 30px;
}
.city-header h1 {
    font-family: 'PT Sans'; font-weight: 900; font-size: 1rem;
    text-transform: uppercase; letter-spacing: 2px; color: var(--text);
    margin-bottom: 8px;
}
.city-header p {
    font-family: 'PT Sans Narrow'; font-size: 0.8rem;
    color: var(--text-muted); letter-spacing: 1px;
}

/* --- СЕТКА ТОЧЕК --- */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.city-tile {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.25s ease;
    display: block;
}
.city-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border);
    background: var(--surface-hover);
}

.city-tile-photo {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--dark);
    overflow: hidden;
}
.city-tile-photo img {
    width: 100%; height: 100%; object-fit: cover;
    transition: 0.3s;
}
.city-tile:hover .city-tile-photo img { transform: scale(1.05); }

.city-tile-noimg {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; opacity: 0.3;
}

.city-tile-badge {
    position: absolute; top: 10px; right: 10px;
    background: var(--accent); color: #fff;
    font-family: 'PT Sans'; font-weight: 900; font-size: 0.7rem;
    min-width: 24px; height: 24px; padding: 0 6px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px; box-shadow: 0 0 10px var(--accent-glow);
}

.city-tile-info {
    padding: 15px;
}
.city-tile-name {
    font-family: 'PT Sans'; font-weight: 700; font-size: 0.95rem;
    color: var(--text); text-transform: uppercase; margin-bottom: 4px;
}
.city-tile-addr {
    font-family: 'PT Sans Narrow'; font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- ПОДВАЛ КОНТАКТОВ --- */
.city-footer-note {
    text-align: center;
    margin-top: 40px;
    padding: 25px;
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--surface-border);
}
.city-footer-note p {
    font-family: 'PT Serif'; font-size: 0.9rem;
    color: var(--text-muted); line-height: 1.5;
    margin-bottom: 15px;
}
.city-contact-btn {
    display: inline-block;
    font-family: 'PT Sans'; font-weight: 900; font-size: 1.1rem;
    color: #fff; text-decoration: none;
    background: var(--accent);
    padding: 12px 30px; border-radius: var(--radius-md);
    box-shadow: 0 5px 15px var(--accent-glow);
    transition: 0.2s;
}
.city-contact-btn:hover { filter: brightness(1.15); transform: scale(1.03); }

.city-social-btn {
    font-family: 'PT Sans Narrow'; font-weight: bold; font-size: 0.75rem;
    text-transform: uppercase; text-decoration: none;
    color: var(--accent); border: 1px solid var(--accent);
    padding: 6px 18px; border-radius: var(--radius-sm);
    transition: 0.2s;
}
.city-social-btn:hover { background: var(--accent); color: #fff; }

.city-social-row {
    display: flex; gap: 10px; justify-content: center; margin-top: 12px;
}

/* --- ХЛЕБНЫЕ КРОШКИ --- */
.city-breadcrumb { margin-bottom: 15px; }
.city-breadcrumb a {
    font-family: 'PT Sans Narrow'; font-size: 0.8rem;
    color: var(--text-muted); text-decoration: none;
    text-transform: uppercase; letter-spacing: 1px;
}
.city-breadcrumb a:hover { color: var(--accent); }

/* --- ШАПКА ТОЧКИ --- */
.city-point-header {
    margin-bottom: 30px;
}
.city-point-cover {
    width: 100%; max-height: 300px; object-fit: cover;
    border-radius: var(--radius-md); margin-bottom: 15px;
}
.city-point-header h1 {
    font-family: 'PT Sans'; font-weight: 900; font-size: 1rem;
    text-transform: uppercase; letter-spacing: 1px; color: var(--text);
    margin-bottom: 8px;
}
.city-point-addr {
    font-family: 'PT Sans Narrow'; font-size: 0.85rem;
    color: var(--text-muted); margin-bottom: 10px;
}
.city-point-desc {
    font-family: 'PT Serif'; font-size: 0.95rem;
    color: var(--text-muted); line-height: 1.5;
}
.city-point-howto {
    margin-top: 6px;
    padding: 12px 14px;
    border-left: 2px solid var(--accent);
    background: var(--surface);
    border-radius: var(--radius-md);
    font-family: 'PT Serif'; font-size: 0.92rem;
    color: var(--text-muted); line-height: 1.5;
    text-align: left;
}
.city-point-howto-title {
    font-family: 'PT Sans'; font-weight: bold;
    color: var(--text); margin-bottom: 6px; font-size: 0.95rem;
}

/* --- ГАЛЕРЕЯ ФОТО ПЛОЩАДКИ --- */
.city-photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}
.city-photo-gal-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--surface-border);
    background: var(--dark);
}
.city-photo-gal-item:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16/9;
    max-height: 360px;
}
.city-photo-gal-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: 0.3s;
}
.city-photo-gal-item:hover img { transform: scale(1.04); }

/* --- ЗАГОЛОВОК СЕКЦИИ ГАЛЕРЕИ --- */
.city-point-section-title {
    font-family: 'PT Sans Narrow'; font-weight: bold; font-size: 0.85rem;
    color: var(--accent); text-transform: uppercase; letter-spacing: 2px;
    margin: 30px 0 15px;
    display: flex; align-items: center; gap: 10px;
}
.city-count {
    background: var(--surface); color: var(--accent);
    font-size: 0.7rem; padding: 2px 10px; border-radius: 10px;
    border: 1px solid var(--accent-glow);
}

/* --- ГАЛЕРЕЯ РАБОТ --- */
.city-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.city-art-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.city-art-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--border);
    background: var(--surface-hover);
}

.city-art-photo {
    position: relative;
    aspect-ratio: 1/1;
    background: var(--dark);
    overflow: hidden;
}
.city-art-photo img {
    width: 100%; height: 100%; object-fit: cover;
}

.city-art-sold {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
    background: var(--accent); color: #fff;
    font-family: 'PT Sans'; font-weight: 900; font-size: 0.75rem;
    padding: 4px 16px; border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px var(--accent-glow);
    text-transform: uppercase; letter-spacing: 1px;
}

.city-art-info {
    padding: 10px 12px;
}
.city-art-title {
    font-family: 'PT Sans'; font-weight: 700; font-size: 0.85rem;
    color: var(--text); margin-bottom: 3px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.city-art-author {
    font-family: 'PT Sans Narrow'; font-size: 0.7rem;
    color: var(--accent); text-transform: uppercase; margin-bottom: 5px;
}
.city-art-price {
    font-family: 'PT Sans'; font-weight: 900; font-size: 0.9rem;
    color: var(--text);
}

/* --- ПУСТОЕ СОСТОЯНИЕ --- */
.city-empty {
    text-align: center; padding: 60px 20px;
    color: var(--text-muted); font-family: 'PT Serif';
}
.city-empty p { font-size: 1.1rem; }

/* --- АДАПТИВ --- */
@media (max-width: 600px) {
    .city-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .city-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
}
