/* ================================================
   Pine Grove Plumbing Pros - Professional Styles
   ================================================ */

/* ========== CSS Reset & Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #ff6b35;
    --dark-blue: #003d7a;
    --light-blue: #e6f2ff;
    --text-dark: #1a1a1a;
    --text-gray: #555555;
    --text-light: #777777;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #e9ecef;
    --border-color: #dee2e6;
    --success: #28a745;
    --warning: #ffc107;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

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

a:hover {
    color: var(--dark-blue);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

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

/* ========== Header Styles ========== */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.8rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-blue);
    font-family: 'Poppins', sans-serif;
}

.logo i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.call-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.call-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.call-button i {
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-blue);
    cursor: pointer;
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #003d7a 0%, #0066cc 100%);
    background-image: 
        linear-gradient(135deg, rgba(0, 61, 122, 0.95) 0%, rgba(0, 102, 204, 0.9) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 6rem 0 5rem;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.hero-feature i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

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

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

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

.btn-secondary:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.hero-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.stars {
    display: flex;
    gap: 0.2rem;
    color: #ffc107;
}

.stars i {
    font-size: 1rem;
}

/* ========== Section Styles ========== */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ========== About Section ========== */
.about {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 0.5rem;
}

.about-text .section-subtitle {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem 0;
}

.stat {
    text-align: center;
}

.stat h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: 0;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-wrapper {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--light-blue), #cce5ff);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.plumbing-icon {
    font-size: 12rem;
    color: var(--primary-color);
    opacity: 0.3;
}

/* ========== Services Section ========== */
.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.service-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ========== Why Choose Us Section ========== */
.why-choose {
    background-color: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.why-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.why-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), #ff8c5a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
}

.why-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.why-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ========== Testimonials Section ========== */
.testimonials {
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1rem;
    color: #ffc107;
}

.testimonial-text {
    color: var(--text-gray);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info h4 {
    color: var(--dark-blue);
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ========== Areas Section ========== */
.areas {
    background-color: var(--white);
}

.areas-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.areas-text h2 {
    text-align: left;
}

.areas-text .section-subtitle {
    text-align: left;
    margin-bottom: 1.5rem;
}

.areas-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.cities-list h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.cities-list ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.cities-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-weight: 500;
}

.cities-list i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.service-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--light-blue);
    border-radius: 10px;
    font-weight: 500;
}

.service-note a {
    color: var(--primary-color);
    font-weight: 700;
}

.areas-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.areas-map iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* ========== FAQ Section ========== */
.faq {
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    background: var(--white);
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-blue);
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ========== CTA Banner ========== */
.cta-banner {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-color));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content > p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ========== Footer ========== */
.footer {
    background-color: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1rem;
}

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

.footer-col h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-rating {
    margin-top: 1rem;
}

.footer-rating span {
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    min-width: 20px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-legal span {
    color: rgba(255, 255, 255, 0.3);
}

/* ========== Responsive Design ========== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 1.1rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .call-text {
        display: none;
    }

    .call-button {
        padding: 0.75rem 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .about-content,
    .areas-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .services-grid,
    .why-grid,
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .cities-list ul {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .why-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .why-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content > p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .faq-question {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 1.5rem 1.2rem;
    }

    .areas-map iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.1rem;
    }

    .logo i {
        font-size: 1.3rem;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .container {
        padding: 0 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ========== Utility Classes ========== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ========== Print Styles ========== */
@media print {
    .header,
    .mobile-menu-toggle,
    .cta-banner,
    .footer-social {
        display: none;
    }
}