
:root {
    --primary: #0056b3;
    --primary-dark: #003d82;
    --secondary: #28a745;
    --dark: #333333;
    --light: #f8f9fa;
    --border: #dee2e6;
    --white: #ffffff;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    padding-bottom: 60px; /* space for mobile sticky cta */
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-phone {
    color: var(--white);
    font-weight: bold;
}

/* Header */
.site-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-weight: bold;
    font-size: 1.15rem;
    color: var(--dark);
}

.main-nav {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: var(--dark);
    font-weight: 500;
}

.main-nav a.active, .main-nav a:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #218838;
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    text-decoration: none;
}

.btn-header {
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.9rem;
    padding: 8px 16px;
}

.btn-large {
    font-size: 1.2rem;
    padding: 14px 28px;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(0, 61, 130, 0.85), rgba(0, 61, 130, 0.85)), url('../../assets/images/sump-pump.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 90px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--light);
}

.text-center {
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark);
    text-align: center;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #666;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Cards */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card h3, .service-card p, .service-card .read-more {
    padding: 0 25px;
}

.service-card h3 {
    margin: 20px 0 10px 0;
    color: var(--primary-dark);
}

.service-card p {
    margin-bottom: 20px;
    color: #555;
    flex-grow: 1;
}

.service-card .read-more {
    padding-bottom: 25px;
    font-weight: bold;
}

.benefit-box {
    background: var(--white);
    border-left: 4px solid var(--secondary);
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.benefit-box h3 {
    margin-bottom: 10px;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

/* Page Header */
.page-header {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.service-detail-block {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 30px;
    margin-bottom: 30px;
}

.service-detail-block h2 {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-detail-block ul {
    margin-top: 15px;
    padding-left: 20px;
}

.service-detail-block li {
    margin-bottom: 8px;
    color: #555;
}

/* CTA Banner */
.cta-banner {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 70px 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-banner p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #cccccc;
    padding: 50px 0 20px 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.site-footer h3, .site-footer h4 {
    color: var(--white);
    margin-bottom: 15px;
}

.site-footer ul {
    list-style: none;
}

.site-footer li {
    margin-bottom: 8px;
}

.site-footer a {
    color: #cccccc;
}

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

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary);
    z-index: 1001;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    text-align: center;
    padding: 12px;
}

.btn-mobile-call {
    color: var(--white);
    font-weight: bold;
    font-size: 1.1rem;
    display: block;
    text-decoration: none;
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .mobile-sticky-cta {
        display: block;
    }
    body {
        padding-bottom: 70px;
    }
}
