/* Arvada Water Heater Install and Repair Services - Coral Red Theme */
/* Color: #DC2626, Fonts: Playfair Display + Source Sans 3, Layout: Full-Width BG */

:root {
    --primary: #DC2626;
    --primary-dark: #B91C1C;
    --primary-light: #EF4444;
    --secondary: #FEF2F2;
    --accent: #FCA5A5;
    --dark: #1F2937;
    --darker: #111827;
    --light: #F9FAFB;
    --lighter: #FFFFFF;
    --gray: #6B7280;
    --gray-light: #E5E7EB;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Source Sans 3', sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-red: 0 10px 40px -10px rgba(220, 38, 38, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--lighter);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--darker);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
}

h2 {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--secondary);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
    position: relative;
}

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

.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::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px -10px rgba(220, 38, 38, 0.4);
}

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

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

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--light) 50%, var(--lighter) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(220, 38, 38, 0.03) 0%, rgba(252, 165, 165, 0.05) 50%, rgba(254, 242, 242, 0.08) 100%);
    pointer-events: none;
}

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

.hero h1 {
    color: var(--darker);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
}

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

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

.feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1.75rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    min-width: 140px;
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.feature-text {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

/* Full-Width Sections */
.section-fullwidth {
    position: relative;
    padding: 100px 0;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.bg-pattern {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    opacity: 0.95;
}

.about-bg {
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
}

.faq-bg {
    background: linear-gradient(135deg, var(--secondary) 0%, #FEE2E2 100%);
}

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

.section-header.light h2,
.section-header.light .section-subtitle {
    color: white;
}

.about-content.light h2,
.about-content.light p {
    color: white;
}

.about-content.light p {
    opacity: 0.9;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
}

/* Problems Section */
.problems-grid {
    display: grid;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

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

.problem-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.problem-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.problem-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--lighter);
}

.services-grid {
    display: grid;
    gap: 1.5rem;
}

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

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--secondary);
}

.service-card:hover {
    box-shadow: var(--shadow-red);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.service-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.9;
}

.service-content {
    padding: 1.75rem;
}

.service-content h3 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.service-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-link:hover {
    gap: 0.75rem;
}

/* About Section */
.about-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-grid.two-col {
    grid-template-columns: 1.2fr 1fr;
}

.about-content h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.05rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 500;
}

.check {
    width: 22px;
    height: 22px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
}

/* Locations Section */
.locations-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--lighter) 0%, var(--light) 100%);
}

.locations-grid {
    display: grid;
    gap: 1.5rem;
}

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

.location-card {
    background: white;
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

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

.location-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.location-card p {
    font-size: 0.95rem;
    margin: 0;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

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

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--secondary);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    cursor: pointer;
    background: linear-gradient(to right, var(--secondary) 0%, white 100%);
    transition: var(--transition);
}

.faq-question:hover {
    background: linear-gradient(to right, #FEE2E2 0%, white 100%);
}

.faq-question h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--dark);
    padding-right: 1rem;
}

.faq-toggle {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: var(--primary-dark);
}

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

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

.faq-answer p {
    padding: 0 1.25rem 1.25rem;
    margin: 0;
    color: var(--gray);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--lighter);
}

.contact-grid {
    display: grid;
    gap: 4rem;
    align-items: start;
}

.contact-grid.two-col {
    grid-template-columns: 1fr 1fr;
}

.contact-content h2 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.contact-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
}

.row-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.row-value {
    color: var(--dark);
    font-size: 1.1rem;
}

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

.contact-cta {
    margin-top: 2rem;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.contact-map iframe {
    display: block;
    width: 100%;
    border: none;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 1.25rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

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

.footer-links li,
.footer-services li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-services a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--accent);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

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

.footer-contact a:hover {
    color: white;
}

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

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

.footer-disclaimer {
    margin-top: 0.5rem;
    font-size: 0.85rem !important;
}

/* Stagger Animation */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .problems-grid.two-col,
    .services-grid.two-col,
    .locations-grid.two-col,
    .faq-grid.two-col,
    .contact-grid.two-col,
    .about-grid.two-col {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

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

@media (max-width: 768px) {
    .nav-menu,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        gap: 1rem;
    }

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

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .feature-box {
        width: 100%;
        max-width: 280px;
    }

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

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.625rem;
    }

    .container {
        padding: 0 16px;
    }

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

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }

    .problem-card,
    .service-card,
    .location-card {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .hero-cta,
    .contact-cta,
    .footer {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
}
