/* Index Page Specific Styles */

/* Section Utilities */

.section-text h2 {
    font-size: 2.5em;
    margin: 0 0 1em 0;
    color: #333;
}

/* Hero Section */
.hero {
    padding: 2em 0;
    background: transparent;
}

.hero-wrapper {
    max-width: 900px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-wrapper h1 {
    font-size: 2.4em;
    margin: 0 0 0.5em 0;
    color: #333;
    line-height: 1.2;
    text-align: center;
    position: relative;
}

.hero-wrapper h1::after {
    content: "";
    display: block;
    width: 96px;
    height: 4px;
    background-color: #69a03d;
    border-radius: 2px;
    margin: 1.5em auto 1.5em;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em; /* add small extra spacing between text and image */
    align-items: center;
}
.hero-text {
    text-align: left;
}

.hero-subline {
    font-size: 1.1em;
    color: #555;
    margin: 0 0 1.25em 0;
    line-height: 1.6;
}

/* .hero-actions removed: no button in hero */

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid #69a03d33;
}

/* Problem Solution Section */
.problem-solution {
    max-width: 900px;
    width: 100%;
    margin: 5em auto;
    padding: 0;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-list li {
    padding: 0.8em 0 0.8em 1em;
    font-size: 1.1em;
    color: #555;
    border-left: 4px solid #69a03d;
    margin-bottom: 0.5em;
}

/* What I Repair Section */
.what-i-repair {
    padding: 5em 0;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.what-i-repair h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 2em;
    color: #333;
}

.repair-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    margin-bottom: 2em;
}

.repair-category {
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    background: linear-gradient(135deg, rgba(105, 160, 61, 0.1) 0%, rgba(88, 133, 52, 0.1) 100%);
    border: 2px solid #e0e0e0;
    padding: 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;
    min-height: 250px;
    text-decoration: none; /* keep link appearance like original card */
    color: inherit;
}

.repair-category:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #69a03d;
}

.repair-category .category-icon {
    font-size: 6em;
    line-height: 1;
}

.category-label {
    color: #333;
    font-weight: 600;
    font-size: 1.3em;
    text-align: center;
}

.not-listed {
    text-align: center;
    font-size: 1.1em;
    color: #666;
}

.not-listed a {
    color: #69a03d;
    text-decoration: none;
    font-weight: 600;
}

.not-listed a:hover {
    text-decoration: underline;
}

/* Why Me Section */
.why-me {
    background-color: #f8f9fa;
    padding: 5em 2em;
}

.why-me h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 2em;
    color: #333;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.pillar {
    background: white;
    padding: 2.5em 2em;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.pillar-icon {
    font-size: 4em;
    margin-bottom: 0.5em;
}

.pillar h3 {
    font-size: 1.8em;
    margin: 0.5em 0;
    color: #333;
}

.pillar p {
    color: #666;
    font-size: 1em;
    line-height: 1.6;
    margin: 0;
}

/* Final CTA Section */
.final-cta {
    background-color: #69a03d;
    color: white;
    padding: 5em 0;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5em;
    margin: 0 0 1em 0;
}

.cta-subtext {
    margin-top: 1em;
    font-size: 0.95em;
    opacity: 0.9;
}

/* How it Works Teaser */
.how-it-works-teaser {
    background-color: #fafafa;
    padding: 4em 0;
    text-align: center;
}

.how-it-works-teaser h2 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    color: #333;
}

.teaser-text {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 2em;
}

.link-more {
    color: #69a03d;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
}

.link-more:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (min-width: 769px) and (max-width: 1024px) {
    .repair-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Center tiles and add side padding on mobile */
    .repair-grid {
        justify-items: center;
        padding: 0 1.5em;
    }
    .hero-wrapper h1 {
        font-size: 1.8em;
        text-align: center;
    }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.25em;
        justify-items: center;
    }
    .hero-text {
        text-align: center;
    }
    .hero-subline {
        font-size: 1.05em;
    }
    .hero-image img {
        margin: 0 auto;
    }
    /* Rely on container padding for lateral spacing */
    .repair-category {
        margin: 0;
        width: 100%;
        max-width: 520px;
    }

    .problem-solution {
        grid-template-columns: 1fr;
        gap: 2em;
        margin: 3em auto;
    }

    .pillars {
        grid-template-columns: 1fr;
        gap: 2em;
    }

    .section-text h2 {
        font-size: 2em;
    }

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


