/* ===================================
   BALLARD PLUMBING HEATING & AIR
   Classic/Trusted Aesthetic - Since 1949
   =================================== */

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

:root {
    /* Classic Blue & Gold Palette */
    --primary-color: #1e3a8a;
    --primary-dark: #1e2a5a;
    --secondary-color: #b8860b;
    --accent-gold: #d4a017;
    --text-dark: #1a1a1a;
    --text-gray: #4a4a4a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success: #2d5016;
    --emergency-red: #b91c1c;
    
    /* Typography */
    --font-primary: 'Georgia', 'Times New Roman', serif;
    --font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-max: 1200px;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--secondary-color);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}

.logo-tagline {
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 120px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

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

.legacy-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 15px 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 3px solid rgba(255,255,255,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.badge-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.badge-year {
    font-size: 42px;
    font-weight: bold;
    font-family: var(--font-primary);
    line-height: 1;
}

.badge-years {
    font-size: 13px;
    font-weight: 600;
    margin-top: 5px;
}

.hero h1 {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.trust-indicators {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.trust-item i {
    color: var(--accent-gold);
    font-size: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
}

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

.btn-secondary:hover {
    background: var(--bg-light);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
}

.cta-button {
    background: var(--secondary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    border-bottom: none !important;
}

.cta-button:hover {
    background: var(--accent-gold);
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-family: var(--font-primary);
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

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

/* Legacy Story Section */
.legacy-story {
    background: var(--bg-light);
}

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

.timeline-marker {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--primary-dark);
    font-size: 24px;
    font-weight: bold;
    font-family: var(--font-primary);
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.legacy-text h3 {
    font-family: var(--font-primary);
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.legacy-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: gap 0.3s;
}

.link-arrow:hover {
    gap: 12px;
}

.legacy-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.stat-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-top: 4px solid var(--secondary-color);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    font-family: var(--font-primary);
    line-height: 1;
}

.stat-label {
    font-size: 15px;
    color: var(--text-gray);
    margin-top: 10px;
    font-weight: 500;
}

/* Services Section */
.services {
    background: white;
}

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

.service-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 25px;
}

.service-card h3 {
    font-family: var(--font-primary);
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
}

.service-list {
    list-style: none;
    margin: 25px 0;
}

.service-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-gray);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 18px;
}

/* Why Choose Section */
.why-choose {
    background: var(--bg-light);
}

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

.feature-card {
    background: white;
    padding: 35px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-card i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-family: var(--font-primary);
}

.feature-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

/* Service Areas Preview */
.service-areas-preview {
    background: white;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.area-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.area-item:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.area-item i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.area-item h4 {
    color: var(--text-dark);
    font-size: 18px;
}

/* Reviews Section */
.reviews-preview {
    background: var(--primary-color);
    color: white;
}

.reviews-preview .section-header h2,
.reviews-preview .section-header p {
    color: white;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.review-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.stars {
    color: var(--accent-gold);
    font-size: 20px;
    margin-bottom: 15px;
}

.review-card p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
    font-style: italic;
}

.reviewer {
    font-weight: 600;
    font-size: 14px;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-gold) 100%);
    color: var(--primary-dark);
    text-align: center;
    padding: 80px 0;
}

.cta-content h2 {
    font-family: var(--font-primary);
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: bold;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.cta-section .btn-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.cta-section .btn-secondary {
    background: white;
    color: var(--primary-dark);
    border-color: white;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-name {
    color: white;
    font-size: 28px;
}

.footer-logo .logo-tagline {
    color: var(--accent-gold);
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 10px 15px;
    border-radius: 5px;
    margin-top: 15px;
    border: 1px solid rgba(255,255,255,0.2);
}

.footer-badge i {
    color: var(--accent-gold);
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-family: var(--font-primary);
    color: var(--accent-gold);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--accent-gold);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--accent-gold);
    margin-top: 3px;
}

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

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

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
        gap: 0;
    }

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

    .nav-menu li {
        margin: 15px 0;
    }

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

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

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 36px;
    }

    .section-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 50px 0;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

    .trust-indicators {
        flex-direction: column;
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

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

    .section-header h2 {
        font-size: 28px;
    }

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