/* Quality Plumbers Riverside CA - Design 136 */
/* H-Coral Red (#DC2626), 2-Full-Width BG, 4-Poppins/Open Sans, 4-Stagger, 2-2-col */

:root {
    --primary: #DC2626;
    --primary-dark: #B91C1C;
    --primary-light: #EF4444;
    --secondary: #FEE2E2;
    --accent: #F87171;
    --background: #FAFAFA;
    --surface: #FFFFFF;
    --text: #1F2937;
    --text-light: #6B7280;
    --border: #E5E7EB;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

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

.header-contact {
    text-align: right;
}

.phone {
    display: block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
}

.hours {
    font-size: 13px;
    color: var(--text-light);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
}

/* Hero - Full Width BG */
.hero {
    position: relative;
    padding: 180px 0 120px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    color: white;
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.2s forwards;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 24px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.4s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    background: white;
    color: var(--primary);
    padding: 20px 48px;
    font-size: 18px;
}

.btn-large:hover {
    transform: translateY(-2px);
}

.hero-note {
    font-size: 14px;
    opacity: 0.9;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 40px;
    color: var(--text);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-light);
}

/* Services - 2 Column Grid */
.services {
    padding: 100px 0;
    background: var(--surface);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--background);
    padding: 40px;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.service-icon {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text);
}

.service-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* About - Full Width BG */
.about {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #FEF2F2 0%, var(--secondary) 100%);
    z-index: -1;
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 40px;
    margin-bottom: 24px;
    color: var(--text);
}

.about-content p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Problems - 2 Column Grid */
.problems {
    padding: 100px 0;
    background: var(--surface);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.problem-card {
    background: var(--background);
    padding: 32px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.problem-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.problem-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text);
}

.problem-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Locations */
.locations {
    padding: 100px 0;
    background: var(--background);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.location-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.location-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

.location-card h3 {
    font-size: 16px;
    padding: 16px 16px 4px;
    color: var(--text);
}

.location-card p {
    font-size: 13px;
    padding: 0 16px 16px;
    color: var(--text-light);
}

/* FAQs */
.faqs {
    padding: 100px 0;
    background: var(--surface);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

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

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

.faq-answer p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* CTA - Full Width BG */
.cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    z-index: -1;
}

.cta-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta-details {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.cta-item {
    text-align: left;
}

.cta-item strong {
    display: block;
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 4px;
}

.cta-item span,
.cta-item a {
    font-size: 18px;
    font-weight: 600;
    color: white;
    text-decoration: none;
}

/* Footer */
.footer {
    background: var(--text);
    color: white;
    padding: 60px 0 30px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 48px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 15px;
    opacity: 0.7;
    line-height: 1.7;
}

.footer-contact h4,
.footer-links h4 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-contact p {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 8px;
}

.footer-contact a {
    color: white;
    text-decoration: none;
}

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

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

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-bottom: 20px;
}

.footer-disclaimer p {
    font-size: 11px;
    opacity: 0.5;
    text-align: center;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid,
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .about .container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .locations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .cta-details {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .cta-item {
        text-align: center;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .header-contact {
        display: none;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .section-header h2,
    .about-content h2,
    .cta-content h2 {
        font-size: 26px;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
}