/* * SA Coating - LOCALITY PAGE CSS
 * Focus: Hyper-local content, trust, SEO density
 */

/* --- 1. HERO --- */
.locality-hero {
    background-color: #0f1115;
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Background gradient accent */
.locality-hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 100px;
    background: linear-gradient(to top, #0f1115, transparent);
    z-index: 0;
}

.loc-badge {
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: inline-block;
    letter-spacing: 1px;
}

/* --- 2. LOCAL STATS STRIP --- */
.local-stat-strip {
    background: white;
    border-bottom: 1px solid #eee;
    padding: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    position: relative; z-index: 2;
}
.ls-item {
    display: flex; align-items: center; gap: 15px;
    justify-content: center;
}
.ls-icon { color: var(--primary); font-size: 1.8rem; opacity: 0.9; }
.ls-text span { 
    display: block; font-weight: 800; color: var(--dark); 
    line-height: 1; font-size: 1.4rem; 
}
.ls-text small { 
    font-size: 0.7rem; color: #888; 
    text-transform: uppercase; letter-spacing: 0.5px; 
}

/* --- 3. PARTNERS / BRANDS GRID (Fixed) --- */
.loc-partner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
    margin-top: 20px;
}
.loc-partner-item {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.3s ease;
    cursor: pointer;
}
.loc-partner-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}
.loc-partner-item img {
    max-height: 50px;
    width: auto;
}

/* --- 4. SEO CONTENT BOX --- */
.seo-content-box {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #e0e5eb;
    border-left: 4px solid var(--secondary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.seo-content-box h2 { 
    font-size: 1.8rem; margin-bottom: 20px; font-weight: 800; 
}
.seo-content-box p { 
    color: #555; line-height: 1.8; margin-bottom: 20px; font-size: 1rem; 
}
.seo-content-box .lead {
    font-weight: 500; color: var(--dark);
}

/* List Styling inside Content Box */
.seo-content-box ul li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #444;
}

/* --- 5. TECHNICAL STANDARDS TABLE (Full Width) --- */
.tech-specs-wrapper {
    width: 100%;
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.tech-specs-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}
.tech-specs-table th {
    background: var(--dark);
    color: white;
    padding: 15px 20px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border: 1px solid var(--dark);
}
.tech-specs-table td {
    padding: 15px 20px;
    border: 1px solid #eee;
    color: #555;
    vertical-align: middle;
}
.tech-specs-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.tech-specs-table tr:hover {
    background-color: #f1f8ff;
}

/* --- 6. NEARBY AREAS GRID (Interactive) --- */
.nearby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
}
.nearby-link {
    display: block;
    background: #fff; 
    border: 1px solid #e0e0e0;
    padding: 12px 10px; text-align: center;
    border-radius: 50px; /* Pill Shape */
    color: #555; text-decoration: none;
    font-size: 0.85rem; font-weight: 600;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.nearby-link:hover {
    background: var(--primary); 
    color: white; 
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3);
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .seo-content-box { padding: 25px; }
    .ls-item { flex-direction: column; gap: 5px; }
    .ls-icon { font-size: 1.5rem; }
    .ls-text span { font-size: 1.1rem; }
    .loc-partner-grid { gap: 20px; }
    .loc-partner-item img { max-height: 40px; }
}