/* * SA Coating - CITY PAGE STYLES (ADVANCED)
 * Focus: High-Tech, High-Contrast, Local Authority
 */

/* --- 1. HERO SECTION --- */
.city-hero {
    background-color: #050505;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(0, 174, 239, 0.15) 0%, transparent 60%),
        linear-gradient(0deg, #0f1115 0%, transparent 100%);
    padding: 160px 0 120px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.city-badge {
    background: rgba(0, 174, 239, 0.1); 
    border: 1px solid var(--primary); 
    color: var(--primary);
    padding: 8px 20px; 
    border-radius: 4px;
    font-weight: 800; 
    text-transform: uppercase;
    font-size: 0.8rem; 
    letter-spacing: 2px;
    display: inline-flex; 
    align-items: center; 
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(0, 174, 239, 0.2);
}

/* --- 2. LOCAL CHALLENGE CARDS --- */
.challenge-card {
    background: white; 
    border: 1px solid #e0e5eb;
    padding: 40px 30px; 
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    height: 100%;
    position: relative;
    overflow: hidden;
}
/* Hover Effect: Slide up + Bottom Border */
.challenge-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-bottom: 4px solid var(--secondary);
}

.challenge-icon {
    width: 70px; height: 70px;
    background: rgba(237, 28, 36, 0.05);
    color: var(--secondary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin-bottom: 25px;
    transition: 0.3s;
}
.challenge-card:hover .challenge-icon {
    background: var(--secondary); color: white; transform: scale(1.1);
}

/* --- 3. SERVICES GRID --- */
.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 15px 40px rgba(0, 174, 239, 0.15);
    transform: translateY(-5px);
    z-index: 2;
}

.csc-header {
    background: #f8faff; 
    padding: 25px;
    border-bottom: 1px solid #eee;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}
.csc-body { padding: 30px 25px; flex-grow: 1; }
.csc-footer { padding: 20px 25px; border-top: 1px solid #eee; background: white; }

.btn-city-link {
    width: 100%; text-align: center;
    display: block; padding: 14px;
    background: var(--dark); color: white;
    font-weight: 800; text-transform: uppercase;
    font-size: 0.8rem; border-radius: 4px;
    text-decoration: none; transition: 0.3s; letter-spacing: 1px;
}
.btn-city-link:hover { 
    background: var(--primary); 
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3);
}

/* --- 4. MAP & OVERLAY --- */
.map-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    height: 500px;
    border: 4px solid white;
    background: #f8f9fa;
}
.map-overlay-card {
    position: absolute; top: 30px; left: 30px;
    background: white; padding: 20px 25px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 10;
    max-width: 320px;
    border-left: 5px solid var(--primary);
}

/* --- 5. NEIGHBORHOOD PILLS --- */
.hood-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.hood-item {
    background: white; 
    padding: 10px 20px;
    text-align: center; 
    border-radius: 50px;
    font-size: 0.85rem; 
    font-weight: 700; 
    color: #555;
    border: 1px solid #e0e5eb; 
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}
.hood-item:hover { 
    background: var(--primary); 
    color: white; 
    border-color: var(--primary); 
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.25);
}

/* --- 6. PARTNER BRANDS GRID FIX --- */
/* Forces alignment even if Bootstrap classes fail */
.city-partners-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    align-items: center;
    opacity: 0.7;
    margin-top: 20px;
}
.city-partners-wrapper img {
    max-height: 45px;
    width: auto;
    filter: grayscale(100%);
    transition: 0.3s;
    cursor: pointer;
}
.city-partners-wrapper img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
    opacity: 1;
}

/* --- 7. TECH SPECS TABLE (Full Width) --- */
.tech-specs-container {
    width: 100%;
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    background: white;
}
.tech-specs-table {
    width: 100%;
    border-collapse: collapse;
}
.tech-specs-table th {
    background: var(--dark);
    color: white;
    padding: 18px 25px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 3px solid var(--primary);
}
.tech-specs-table td {
    padding: 18px 25px;
    border-bottom: 1px solid #eee;
    color: #444;
    font-weight: 500;
}
.tech-specs-table tr:last-child td { border-bottom: none; }
.tech-specs-table tr:hover td { background-color: #f8faff; color: var(--primary-dark); }