/* ========================================
   Plumbing Experts Services - Seattle, WA
   Color Scheme: Teal Professional (A)
   Font Pairing: Space Grotesk + Plus Jakarta Sans
   Animation: Fade In Up + Lift Shadow
   Layout: 3-column services, 3-column locations, accordion FAQ
   ======================================== */

/* CSS Variables - Color Scheme A */
:root {
    --primary: #0D9488;
    --primary-dark: #0F766E;
    --primary-light: #14B8A6;
    --accent: #06B6D4;
    
    --dark: #1E293B;
    --light: #F8FAFC;
    --gray: #64748B;
    --gray-light: #E2E8F0;
    --white: #FFFFFF;
    
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius: 8px;
    --radius-lg: 16px;
    
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

/* Section Styles */
.section-title {
    font-size: 42px;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.lift-shadow {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lift-shadow:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.header-top {
    background: var(--primary-dark);
    padding: 8px 0;
    display: flex;
    justify-content: center;
    gap: 32px;
}

.header-location, .header-hours {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 14px;
}

.header-location svg, .header-hours svg {
    stroke: var(--primary-light);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 55px;
    height: 55px;
    border-radius: var(--radius);
    object-fit: cover;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--dark);
}

.nav-menu a:hover {
    color: var(--primary);
}

.btn-call {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
}

.btn-call:hover {
    background: var(--primary-dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* Mobile Call Button */
.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
    z-index: 1001;
    box-shadow: var(--shadow-lg);
    gap: 8px;
    align-items: center;
}

.mobile-call-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* ========================================
   Hero Section - Split Grid Hero
   ======================================== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-title {
    font-size: 52px;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 17px;
    color: var(--gray);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.hero-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-card-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card-icon svg {
    stroke: var(--white);
}

.hero-card-text {
    display: flex;
    flex-direction: column;
}

.hero-card-label {
    font-size: 12px;
    color: var(--gray);
}

.hero-card-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 100px 0;
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
}

.about-intro {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.feature-item {
    padding: 20px;
    background: #f0fdfa;
    border-radius: var(--radius);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.feature-icon svg {
    stroke: var(--white);
}

.feature-item h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--dark);
}

.feature-item p {
    font-size: 14px;
    color: var(--gray);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 100px 0;
    background: var(--light);
}

.services .section-title {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    stroke: var(--white);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    font-size: 15px;
}

/* ========================================
   Why Choose Us Section
   ======================================== */
.why-choose {
    padding: 100px 0;
}

.why-choose .section-title {
    text-align: center;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.why-choose-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.why-choose-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.why-choose-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-light);
    opacity: 0.5;
    margin-bottom: 16px;
}

.why-choose-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark);
}

.why-choose-card p {
    color: var(--gray);
    font-size: 15px;
}

/* ========================================
   Locations Section
   ======================================== */
.locations {
    padding: 100px 0;
    background: var(--light);
}

.locations .section-title {
    text-align: center;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.location-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.location-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.location-content {
    padding: 24px;
}

.location-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--dark);
}

.location-content p {
    color: var(--gray);
    font-size: 14px;
}

/* ========================================
   Common Problems Section
   ======================================== */
.common-problems {
    padding: 100px 0;
}

.common-problems .section-title {
    text-align: center;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.problem-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.problem-icon {
    width: 56px;
    height: 56px;
    background: #fef3c7;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.problem-icon svg {
    stroke: #d97706;
}

.problem-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark);
}

.problem-card p {
    color: var(--gray);
    font-size: 15px;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 40px;
    color: var(--white);
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.cta .btn-primary:hover {
    background: var(--light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   FAQ Section - Accordion
   ======================================== */
.faq {
    padding: 100px 0;
    background: var(--light);
}

.faq .section-title {
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}

.faq-icon {
    transition: transform 0.3s ease;
    stroke: var(--primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--gray);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: 100px 0;
}

.contact .section-title {
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    margin-top: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: #f0fdfa;
    border-radius: var(--radius);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    stroke: var(--white);
}

.contact-details h3 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--dark);
}

.contact-details p {
    color: var(--gray);
    font-size: 15px;
}

.contact-details a {
    color: var(--primary);
    font-weight: 600;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-map iframe {
    display: block;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark);
    padding: 64px 0 24px;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    object-fit: cover;
}

.footer-logo span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

.footer-brand p {
    color: #94A3B8;
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 18px;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #94A3B8;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid #334155;
    text-align: center;
}

.footer-bottom p {
    color: #94A3B8;
    font-size: 14px;
}

.footer-bottom .disclaimer {
    margin-top: 16px;
    font-size: 12px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1100px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .btn-call {
        display: none;
    }
    
    .mobile-call-btn {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .hero-image img {
        height: 350px;
    }
    
    .hero-card {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about .container {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .services-grid,
    .why-choose-grid,
    .locations-grid,
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cta h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .service-card,
    .location-card,
    .problem-card,
    .why-choose-card {
        padding: 24px;
    }
}
