/* ==========================================================================
   HOME PAGE STYLES
   Shared variables, reset, typography, navbar, buttons, and footer live in
   shared.css. This file only contains styles specific to index.html.
   ========================================================================== */

/* ---------- Hero / Welcome Section ---------- */
.WelcomeSection {
    background-color: var(--color-primary-light);
    padding-block: clamp(48px, 7vw, 90px);
}

.WelcomeContent {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
}

.TextContent {
    max-width: 46ch;
}

.QualityWork {
    color: var(--color-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 14px;
}

.HomeImpText {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    margin-bottom: 18px;
}

.QuickDescription {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

.ButtonContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.WelcomeButton {
    margin-top: 8px;
}

.LicensedText {
    margin-top: 32px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

.WelcomeImageSection {
    width: 100%;
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    aspect-ratio: 4 / 5;
}

.WelcomeImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Trust Bar ---------- */
.TrustBar {
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    padding-block: 36px;
}

.TrustBarGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.TrustItem {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: left;
}

.TrustIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
}

.TrustIcon svg {
    width: 22px;
    height: 22px;
}

.TrustTitle {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--color-text);
    margin: 0;
}

/* ---------- What We Do Section ---------- */
.WhatWeDoSection {
    background-color: var(--color-surface);
}

.WhatWeDoTextContent {
    text-align: center;
}

.OurHomeImprovementServices {
    color: var(--color-text);
}

.ServicesOfferedSection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.SkillCard {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    background: var(--color-white);
    padding: 32px 28px;
    box-shadow: var(--shadow-small);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.SkillCard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.SkillIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-small);
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    margin-bottom: 18px;
}

.SkillIcon svg {
    width: 26px;
    height: 26px;
}

.SkillTitle {
    padding-left: 0;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.SkillSubtext {
    padding-left: 0;
    font-size: 0.96rem;
    margin-bottom: 16px;
}

.SkillLink {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--color-primary-dark);
    text-decoration: none;
}

.SkillLink:hover {
    text-decoration: underline;
}

/* ---------- Why Choose Us Section ---------- */
.WhyChooseUsSection {
    background-color: var(--color-primary);
    padding-block: var(--section-padding);
}

.WhyChooseUsGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.WhyChooseUsImageContainer {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.WhyChooseUsImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.WhyChooseUsSubTitle {
    color: var(--color-primary-light);
}

.WhyChooseUsSubMainTitle {
    color: var(--color-white);
}

.WhyChooseUsText {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

.QualificationList {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.QualifcationBox {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-medium);
    padding: 18px 22px;
    background-color: rgba(255, 255, 255, 0.06);
}

.QualificationTitle {
    margin: 0 0 4px;
    color: var(--color-white);
    font-size: 1.05rem;
}

.QualificationSubtext {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
}

/* ---------- Bottom CTA Section ---------- */
.ContactUsSection {
    background-color: var(--color-background);
}

.ContactCta {
    text-align: center;
    max-width: 640px;
}

.RightFirstTimeText {
    margin-bottom: 12px;
}

.CallUs {
    margin-inline: auto;
    margin-bottom: 28px;
}

.ContactCta .ButtonContainer {
    justify-content: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .ServicesOfferedSection {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 850px) {
    .WelcomeContent {
        grid-template-columns: 1fr;
    }

    .TextContent {
        max-width: none;
    }

    .WelcomeImageSection {
        order: 2;
        aspect-ratio: 16 / 10;
        max-width: 480px;
        margin-inline: auto;
    }

    .TrustBarGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    .WhyChooseUsImageContainer {
        max-width: 420px;
        margin-inline: auto;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 600px) {
    .WelcomeSection {
        padding-block: 40px;
    }

    .ButtonContainer {
        flex-direction: column;
    }

    .ButtonContainer .Button {
        width: 100%;
    }

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

    .TrustItem {
        justify-content: flex-start;
    }
}
