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

:root {
    --primary-color: #2d3e50;
    --secondary-color: #bfa16a;
    --accent-color: #bfa16a;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
}

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

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

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

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

nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-number {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: var(--secondary-color);
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #a8894e;
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('../images/hardwood-flooring-chicago-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 150px 20px 100px;
    margin-top: 80px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero > .container > p {
    font-size: 1.15rem;
    margin-bottom: 25px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    font-size: 1.2rem;
    padding: 15px 30px;
}

/* Intro Section */
.intro {
    padding: 60px 0;
    background-color: var(--white);
}

.intro p {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

/* Stat Box */
.stat-box {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 0;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.services h2,
.faq h2,
.process-section h2,
.service-area h2,
.local-considerations h2,
.service-specs-section h2,
.what-to-expect h2,
.pricing-section h2,
.contact h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--primary-color);
    border-bottom: none;
    padding-bottom: 0;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
    color: #555;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

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

.service-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-color);
}

.service-card p {
    padding: 0 20px 20px;
    line-height: 1.7;
}

/* Service Specifications */
.service-specs-section {
    padding: 60px 0;
    background-color: var(--white);
}

.service-specs {
    max-width: 800px;
    margin: 30px auto 0;
}

.service-specs dt {
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 20px;
    font-size: 1.05rem;
}

.service-specs dd {
    margin-left: 0;
    padding: 5px 0 15px;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.7;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.pricing-table-wrapper {
    max-width: 800px;
    margin: 30px auto;
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.pricing-table thead tr {
    background: var(--primary-color);
    color: white;
}

.pricing-table th,
.pricing-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table tbody tr:hover {
    background-color: var(--light-bg);
}

.pricing-section h3 {
    color: var(--primary-color);
    margin: 40px 0 15px;
    font-size: 1.3rem;
}

.cost-factors {
    list-style: none;
    max-width: 800px;
}

.cost-factors li {
    padding: 10px 0 10px 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.7;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background-color: var(--white);
}

.process-steps {
    max-width: 800px;
    margin: 30px auto 0;
    list-style: none;
}

.process-steps li {
    background: var(--light-bg);
    padding: 25px 30px;
    margin-bottom: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.process-steps h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.process-steps p {
    line-height: 1.7;
}

/* What to Expect */
.what-to-expect {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.what-to-expect p {
    max-width: 800px;
    margin: 20px auto 0;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Project Example */
.project-example {
    padding: 60px 0;
    background-color: var(--white);
}

.project-example .container {
    max-width: 800px;
}

.project-example h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-align: center;
}

.project-example dt {
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 18px;
}

.project-example dd {
    margin-left: 0;
    padding: 5px 0 15px;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.7;
}

/* Service Area */
.service-area {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.service-area h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-size: 1.3rem;
}

.service-area p {
    line-height: 1.7;
    margin-bottom: 15px;
}

.area-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 12px;
}

.area-list li {
    padding: 12px 15px;
    background-color: var(--white);
    border-radius: 6px;
    border-left: 3px solid var(--secondary-color);
    line-height: 1.5;
}

/* Local Considerations */
.local-considerations {
    padding: 60px 0;
    background-color: var(--white);
}

.local-considerations h2 {
    text-align: center;
}

.local-considerations .container {
    max-width: 900px;
}

.local-considerations h3 {
    color: var(--primary-color);
    margin: 30px 0 10px;
    font-size: 1.2rem;
}

.local-considerations p {
    line-height: 1.8;
    margin-bottom: 15px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--light-bg);
}

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

.faq-item {
    background-color: var(--white);
    margin-bottom: 15px;
    border-radius: 10px;
    padding: 22px 25px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.faq-item p {
    line-height: 1.7;
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.contact h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.contact p {
    margin-bottom: 25px;
    font-size: 1.15rem;
}

.contact .hero-cta {
    font-size: 1.4rem;
    padding: 18px 40px;
    background-color: var(--primary-color);
}

.contact .hero-cta:hover {
    background-color: #1a2a3a;
}

.contact-hours {
    margin-top: 20px;
    font-size: 1rem;
    opacity: 0.9;
}

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

.footer-service-area {
    font-size: 0.95rem;
    margin: 10px 0;
    opacity: 0.9;
}

footer .disclaimer {
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 800px;
    margin: 15px auto 0;
    padding: 0 20px;
    color: rgba(255, 255, 255, 0.7);
}

footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 12px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .contact-info {
        flex-direction: column;
        gap: 8px;
    }

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

    .hero h1 {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .area-list {
        grid-template-columns: 1fr;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

/* Accessibility */
:focus {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

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

    body {
        background-color: white;
    }

    .container {
        max-width: 100%;
    }
}

/* Privacy Policy Page Styles */
.privacy-policy {
    padding: 120px 0 5rem;
    background-color: #fff;
}

.privacy-policy h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.privacy-policy h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.privacy-policy p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #333;
}

.privacy-policy ul {
    margin: 1rem 0 2rem 2rem;
}

.privacy-policy ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.privacy-policy a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-policy a:hover {
    color: #a8894e;
    text-decoration: underline;
}