/* ========================================
   Stream Plumber Renton Solutions
   Color Scheme: Royal Blue (D)
   Font: Sora + DM Sans
   Animation: Scale Up
   Layout: Masonry for Services
   ======================================== */

/* CSS Variables - Color Scheme D (Royal Blue) */
:root {
    --primary: #1D4ED8;
    --primary-dark: #1E40AF;
    --primary-light: #3B82F6;
    --accent: #60A5FA;
    --white: #ffffff;
    --off-white: #f8fafc;
    --light-gray: #e2e8f0;
    --gray: #64748b;
    --dark-gray: #334155;
    --black: #0f172a;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--black);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Header Styles
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.location-info,
.availability {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.main-header {
    background: var(--white);
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: block;
}

.logo img {
    height: 55px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    color: var(--dark-gray);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

.call-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: 'Sora', sans-serif;
    transition: var(--transition);
}

.call-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    background: var(--white);
    padding: 1rem;
    border-top: 1px solid var(--light-gray);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav a {
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    padding: 0.5rem;
    color: var(--dark-gray);
}

.mobile-call-btn {
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
}

/* ========================================
   Hero Section - Gradient Hero (Style 7)
   ======================================== */
.hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-gradient-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #1e3a8a 100%);
    z-index: -2;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background: var(--white);
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    animation: float 20s infinite ease-in-out;
}

.shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation: float 15s infinite ease-in-out reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 30%;
    animation: float 10s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 550px;
}

.hero-cta {
    margin-bottom: 2.5rem;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-size: 1.125rem;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.cta-primary:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.85;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 380px;
    animation: scaleUp 0.8s ease-out forwards;
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.card-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
}

.card-btn:hover {
    background: var(--primary-dark);
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 100px 0;
    background: var(--off-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: var(--primary);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.2;
}

.about-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-item i {
    color: var(--primary);
    font-size: 1.25rem;
}

.feature-item span {
    font-weight: 500;
}

/* ========================================
   Services Section - Masonry Layout (Layout 3)
   ======================================== */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.service-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-card-large {
    grid-column: span 2;
}

.service-card-wide {
    grid-column: span 2;
}

.service-card-tall {
    grid-row: span 2;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* ========================================
   Why Choose Us Section
   ======================================== */
.why-choose-us {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.why-choose-us .section-header h2,
.why-choose-us .section-header p {
    color: var(--white);
}

.why-choose-us .section-header h2::after {
    background: var(--white);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.why-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.why-number {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.why-card h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.why-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   Locations Section
   ======================================== */
.locations {
    padding: 100px 0;
    background: var(--off-white);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.location-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.location-image {
    height: 200px;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.location-card:hover .location-image img {
    transform: scale(1.1);
}

.location-info {
    padding: 1.5rem;
}

.location-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.location-info p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   Common Problems Section
   ======================================== */
.common-problems {
    padding: 100px 0;
    background: var(--white);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.problem-card {
    background: var(--off-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.problem-card:hover {
    border-color: var(--primary);
    transform: scale(1.03);
}

.problem-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.problem-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.problem-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    color: var(--primary);
    padding: 1.125rem 2.5rem;
    border-radius: var(--radius-lg);
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   FAQ Section
   ======================================== */
.faq {
    padding: 100px 0;
    background: var(--off-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--white);
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Sora', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-gray);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: var(--transition);
}

.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: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray);
    line-height: 1.7;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-details h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--gray);
    line-height: 1.6;
}

.contact-details a {
    color: var(--primary);
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-map iframe {
    display: block;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    width: 180px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h3 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-bottom .disclaimer {
    margin-top: 1rem;
    font-size: 0.75rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Mobile Call Button
   ======================================== */
.mobile-call-float {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    font-weight: 600;
    align-items: center;
    gap: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.mobile-call-float:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1100px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .services-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card-large,
    .service-card-wide {
        grid-column: span 1;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .header-call-btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .hero {
        padding: 160px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-description {
        margin: 0 auto 2rem;
    }
    
    .hero-cta {
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-masonry {
        grid-template-columns: 1fr;
    }
    
    .service-card-large,
    .service-card-wide,
    .service-card-tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo p {
        margin: 0 auto;
    }
    
    .mobile-call-float {
        display: flex;
    }
    
    .top-bar-content {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* ========================================
   Animation Classes (Scale Up - Animation 3)
   ======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Hover Scale Effect */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}
