/* * SA Coating - CITY PAGE STYLES
 * Focus: Local Services Grid, Map, Neighborhoods
 */

/* --- 1. HERO --- */
.city-hero {
    background: url('/assets/images/city-bg-pattern.png'), linear-gradient(135deg, #0f1115 0%, #1a1d24 100%);
    background-blend-mode: overlay;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.city-badge {
    background: var(--accent); color: var(--dark);
    padding: 5px 15px; border-radius: 4px;
    font-weight: 800; text-transform: uppercase;
    font-size: 0.8rem; display: inline-block; margin-bottom: 20px;
}

/* --- 2. LOCAL CHALLENGE GRID --- */
.challenge-card {
    background: white; border: 1px solid #eee;
    padding: 30px; border-radius: 8px;
    transition: 0.3s; height: 100%;
}
.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--secondary);
}
.challenge-icon {
    width: 60px; height: 60px;
    background: rgba(237, 28, 36, 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 20px;
}

/* --- 3. SERVICES GRID (Filtered) --- */
.city-service-card {
    background: white; border: 1px solid #eee;
    border-radius: 8px; overflow: hidden;
    transition: 0.3s; position: relative;
    height: 100%; display: flex; flex-direction: column;
}
.city-service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.csc-header {
    background: #f8f9fa; padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex; justify-content: space-between; align-items: center;
}
.csc-body { padding: 25px; flex-grow: 1; }
.csc-footer { padding: 15px 25px; border-top: 1px solid #eee; background: white; }

.btn-city-link {
    width: 100%; text-align: center;
    display: block; padding: 10px;
    background: var(--dark); color: white;
    font-weight: 700; text-transform: uppercase;
    font-size: 0.8rem; border-radius: 4px;
    text-decoration: none; transition: 0.3s;
}
.btn-city-link:hover { background: var(--primary); color: white; }

/* --- 4. MAP SECTION --- */
.map-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 400px;
    border: 5px solid white;
}
.map-overlay-card {
    position: absolute; top: 20px; left: 20px;
    background: white; padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 10;
    max-width: 300px;
}

/* --- 5. NEIGHBORHOODS --- */
.hood-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}
.hood-item {
    background: #f8f9fa; padding: 10px;
    text-align: center; border-radius: 4px;
    font-size: 0.85rem; font-weight: 600; color: #555;
    border: 1px solid #eee; transition: 0.2s;
}
.hood-item:hover { background: var(--primary); color: white; border-color: var(--primary); }