/*
 * Stylesheet for the MrPowerFlush website.
 * The design uses a warm, soothing palette inspired by 2025 color trends with rich warm tones and
 * multi‑tonal schemes to create a welcoming digital space【147029975422275†L152-L161】.
 * Typography pairs Playfair Display for headlines with Montserrat for readable body text【147029975422275†L164-L178】.
 */

/* CSS Variables for easy colour management */
:root {
    /* Modern plumbing colour palette inspired by water and clean technology */
    --color-primary: #0073b1;   /* strong azure blue for accents */
    --color-secondary: #5eb8ff; /* lighter sky blue for highlights */
    --color-light: #f5faff;    /* very light blue background for readability */
    --color-dark: #0a284d;     /* dark navy for text */
    --color-accent: #e6f2ff;   /* pale blue for subtle backgrounds */
    --max-width: 1200px;
}

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

body {
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-dark);
    background: var(--color-light);
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Navbar */
.navbar {
    background: var(--color-light);
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
}

.nav-menu a {
    margin: 0 0.75rem;
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-cta .phone-link {
    background: var(--color-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.nav-cta .phone-link:hover {
    background: #663720;
}

/* Hero section */
.hero {
    position: relative;
    /* Use the new on‑site powerflushing image provided by the client */
    background-image: url('images/mrpowerflush-powerflushing-reading-on-site.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 6rem 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark overlay tinted blue to enhance contrast on the new hero image */
    background: rgba(10, 40, 77, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-light);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--color-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: #663720;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: #b88756;
    transform: translateY(-2px);
}

/* Section base */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    display: block;
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--color-accent);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-4px);
}

.service-item h3 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    font-size: 1.4rem;
}

.service-item p {
    font-size: 1rem;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit {
    background: var(--color-accent);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.benefit h4 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    font-size: 1.3rem;
}

.benefit p {
    font-size: 0.95rem;
}

/* Symptoms */
.symptom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.symptom {
    background: var(--color-accent);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.symptom h4 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    font-size: 1.3rem;
}

.symptom p {
    font-size: 0.95rem;
}

/* Pricing */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.pricing-card {
    flex: 1 1 280px;
    background: var(--color-accent);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.pricing-card .small {
    font-size: 0.8rem;
    color: var(--color-dark);
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin: 1rem 0;
    padding: 0;
}

.pricing-card li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    padding-left: 1rem;
    position: relative;
}

.pricing-card li::before {
    content: '✓';
    color: var(--color-primary);
    position: absolute;
    left: 0;
}

.small-note {
    font-size: 0.9rem;
    color: var(--color-dark);
    text-align: center;
    margin-top: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Call-to-action wrappers */
.cta-wrapper {
    text-align: center;
    margin-top: 2rem;
}

.cta-wrapper .btn {
    margin: 0.5rem 1rem;
    min-width: 180px;
}

/* Contact */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.contact-info {
    flex: 1 1 300px;
    font-size: 1rem;
}

.contact-info p {
    margin-bottom: 0.75rem;
}

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

.contact-form {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.contact-form button {
    align-self: flex-start;
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: #fff;
    padding: 2rem 0;
}

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

.footer-content p {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #fff;
    margin-left: 1rem;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-secondary);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* hide nav menu on small screens for simplicity */
    }
    .nav-cta .phone-link {
        padding: 0.4rem 0.8rem;
    }
    .hero {
        padding: 4rem 0;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .pricing-grid {
        flex-direction: column;
    }
    .contact-wrapper {
        flex-direction: column;
    }
}