﻿/* --- Texas Drain Masters | Industrial Style --- */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@300;400;500;600&display=swap');

:root {
    --main-blue: #1c2b3a;
    --main-blue-light: #2c4a63;
    --urgent-red: #c0392b;
    --urgent-red-dark: #962d22;
    --dark-text: #0e0e0e;
    --light-gray: #f0ece4;
    --white: #ffffff;
    --cream: #f8f5ef;
    --mid: #8a9aaa;
    --border: #d4cdc2;
    --accent: #e67e22;

    --shadow-soft: 0 2px 12px rgba(0,0,0,0.08);
    --border-radius-main: 0px;
    --transition: all 0.25s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Barlow', sans-serif;
    color: var(--dark-text);
    background-color: var(--cream);
    line-height: 1.6;
    font-weight: 400;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── HEADER ─── */
header {
    background-color: var(--main-blue);
    padding: 0;
    border-bottom: 3px solid var(--urgent-red);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.brand-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo::before {
    content: '⚙';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--urgent-red);
    font-size: 16px;
    flex-shrink: 0;
}

.brand-logo:hover {
    color: var(--accent);
}

.emergency-cta {
    background-color: var(--urgent-red);
    color: var(--white);
    padding: 10px 22px;
    text-decoration: none;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 0;
}

.emergency-cta::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #ff8080;
    border-radius: 50%;
    animation: pulse 1.2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

.emergency-cta:hover {
    background-color: var(--urgent-red-dark);
    transform: none;
}

/* ─── MAIN CONTENT ─── */
.main-content {
    background-color: var(--white);
    padding: 48px 48px 56px;
    margin: 36px auto;
    border-radius: 0;
    box-shadow: none;
    max-width: 1100px;
    border-top: 4px solid var(--main-blue);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

h1 {
    font-family: 'Barlow Condensed', sans-serif;
    color: var(--main-blue);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.05;
    margin-top: 0;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 64px;
    height: 2px;
    background: var(--urgent-red);
}

h2 {
    font-family: 'Barlow Condensed', sans-serif;
    color: var(--main-blue);
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-left: 14px;
    border-left: 3px solid var(--urgent-red);
    line-height: 1.1;
}

h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--main-blue);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 28px;
    margin-bottom: 10px;
}

p {
    font-size: 15px;
    font-weight: 300;
    color: #4a5a6a;
    line-height: 1.75;
    margin-bottom: 16px;
}

ul, ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

li {
    font-size: 15px;
    font-weight: 300;
    color: #4a5a6a;
    line-height: 1.7;
    margin-bottom: 6px;
}

li::marker {
    color: var(--urgent-red);
}

a {
    color: var(--main-blue-light);
    transition: var(--transition);
}

a:hover {
    color: var(--urgent-red);
}

strong {
    font-weight: 600;
    color: var(--dark-text);
}

/* ─── CITY GRID ─── */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2px;
    margin-top: 30px;
    background: var(--border);
}

.city-card {
    background: var(--white);
    padding: 22px 20px;
    border-top: 3px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.city-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--urgent-red);
    transition: width 0.3s ease;
}

.city-card:hover {
    border-top-color: var(--urgent-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    z-index: 1;
    background: var(--cream);
}

.city-card:hover::after {
    width: 100%;
}

.city-card a {
    font-family: 'Barlow Condensed', sans-serif;
    text-decoration: none;
    color: var(--main-blue);
    font-weight: 800;
    font-size: 20px;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.1;
}

.city-card a:hover {
    color: var(--urgent-red);
}

.city-card p {
    margin: 0;
    font-size: 13px;
    color: #5a6a7a;
    font-weight: 300;
    line-height: 1.55;
}

/* ─── CONTACT SECTION ─── */
.contact-section {
    background-color: var(--main-blue);
    padding: 48px;
    margin-top: 48px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--urgent-red);
}

.contact-section h2 {
    margin-top: 0;
    text-align: center;
    color: var(--white);
    border-left: none;
    padding-left: 0;
    font-size: 30px;
}

.contact-section h2::before {
    content: '— ';
    color: var(--urgent-red);
}

.contact-section h2::after {
    content: ' —';
    color: var(--urgent-red);
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 6px;
}


.contact-section input[type="text"],
.contact-section input[type="email"],
.contact-section select,
.contact-section textarea {
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.4);
    border-radius: 0;
    box-sizing: border-box;
    background: #243546;
    color: #ffffff;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: 400;
    outline: none;
    transition: all 0.25s ease;
}

.contact-section input[type="text"]::placeholder,
.contact-section input[type="email"]::placeholder,
.contact-section textarea::placeholder {
    color: rgba(255,255,255,0.45);
}

.contact-section input[type="text"]:focus,
.contact-section input[type="email"]:focus,
.contact-section select:focus,
.contact-section textarea:focus {
    background: #2e4259;
    border-bottom-color: #c0392b;
}

.contact-section select option {
    background: #1c2b3a;
    color: #ffffff;
}

textarea {
    resize: vertical;
    min-height: 110px;
}

.submit-btn {
    width: 100%;
    background-color: var(--urgent-red);
    color: var(--white);
    padding: 16px;
    border: none;
    border-radius: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 6px;
    position: relative;
    overflow: hidden;
}

.submit-btn::after {
    content: ' →';
}

.submit-btn:hover {
    background-color: var(--urgent-red-dark);
    letter-spacing: 0.25em;
}

/* ─── FOOTER ─── */
footer {
    background-color: var(--dark-text);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    margin-top: 0;
    border-top: 3px solid var(--urgent-red);
}

footer p {
    font-size: 12px;
    color: #556677;
    letter-spacing: 0.08em;
    font-weight: 400;
    margin-bottom: 4px;
}

footer a {
    color: var(--mid);
}

footer a:hover {
    color: var(--white);
}

/* ─── UTILITY / EXTRAS ─── */

/* Info boxes that might appear in articles */
.info-box, .tip-box, .warning-box {
    padding: 18px 20px;
    margin: 24px 0;
    border-left: 3px solid var(--main-blue-light);
    background: var(--light-gray);
    font-size: 14px;
    font-weight: 300;
    color: #4a5a6a;
}

.warning-box {
    border-left-color: var(--urgent-red);
    background: #fdf0ee;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

th {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--main-blue);
    color: var(--white);
    padding: 12px 16px;
    text-align: left;
}

td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--border);
    color: #4a5a6a;
    font-weight: 300;
}

tr:hover td {
    background: var(--cream);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .main-content {
        padding: 24px 20px 32px;
        margin: 16px 12px;
    }

    .contact-section {
        padding: 28px 20px;
        margin: 24px 12px 0;
    }

    .nav-wrapper {
        flex-direction: column;
        height: auto;
        gap: 12px;
        padding: 14px 0;
    }

    .city-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1px;
    }

    h1 { font-size: 28px; }
    h2 { font-size: 22px; }
}

@media (max-width: 480px) {
    .city-grid {
        grid-template-columns: 1fr;
    }
}