/* ==========================================================================
   HOME PAGE STYLES - Extends base.css
   ========================================================================== */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4a3f35 0%, #2c2420 100%);
    color: #ffffff;
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}


/* Intro Section */
.intro {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.intro p {
    font-size: 1.2rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: #555;
}

/* Practice Areas Section */
.practice-areas {
    padding: 5rem 2rem;
}

.practice-areas h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.practice-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.practice-area-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.practice-area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.practice-area-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.practice-area-card p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.card-link {
    display: inline-block;
    color: #4a3f35;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #000;
}

.card-link::after {
    content: ' →';
    transition: transform 0.3s ease;
    display: inline-block;
}

.card-link:hover::after {
    transform: translateX(5px);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 5rem 2rem;
    background-color: #f8f9fa;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 2rem;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.testimonial-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #4a3f35;
    height: fit-content;
    align-self: start;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.6;
}

.testimonial-card cite {
    display: block;
    font-style: normal;
    font-weight: bold;
    color: #333;
    text-align: right;
}

/* Contact CTA Section */
.contact-cta {
    background-color: #4a3f35;
    color: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
}

.contact-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-cta .cta-button {
    background-color: #ffffff;
    color: #4a3f35;
}

.contact-cta .cta-button:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* ==========================================================================
   HOME PAGE RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 768px) {

    /* Hero adjustments */
    .hero {
        padding: 4rem 1rem;
    }

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

    .hero p {
        font-size: 1.2rem;
    }

    /* Grid adjustments */
    .practice-areas-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Section padding adjustments */
    .practice-areas,
    .why-choose-us,
    .testimonials {
        padding: 3rem 1rem;
    }

    /* Typography adjustments */
    .practice-areas h2,
    .why-choose-us h2,
    .testimonials h2,
    .contact-cta h2 {
        font-size: 2rem;
    }

}

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

    .hero p {
        font-size: 1rem;
    }
}