/* section3.css */

/* 공통 설정 */
#section3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 96px;
    background-color: #ffffff;
    padding: 96px 80px;
}

.section3-row {
    width: 100%;
    max-width: 1600px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-content: center;
    column-gap: 48px;
}

.section3-row-text-container {
    max-width: 436px;
    margin: 0 auto;
}

.section3-row:nth-of-type(6) .section3-row-text-container {
    max-width: 425px;
}

.section3-title {
    font-family: 'Pretendard-ExtraBold', sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    font-style: normal;
}

.section3-desc {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    color: #262D39B8;
    font-weight: 400;
    line-height: 1.2;
    margin-top: 24px;
    margin-bottom: 24px;
}

.section3-desc-small {
    font-size: 20px;
    font-family: 'Pretendard', sans-serif;
    color: #262D3985;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
    margin-top: 16px;
}

.section3-offer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.section3-offer-title {
    font-family: 'Pretendard-ExtraBold', sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
}

.section3-vehicles {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    /*overflow-x: auto;*/
    /*white-space: nowrap;*/
}

.section3-vehicle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 25%;
    padding: 24px;
    background-color: #F5F6F7;
    border-radius: 24px;
}

.section3-vehicle img {
    width: 100%;
    /*width: 328px;*/
    /*height: 164px;*/
}

.section3-vehicle h3 {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
    width: 100%;
    margin-top: 16px;
}

.section3-vehicle p {
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
    width: 100%;
    margin-top: 4px;
    color: #262D39B8;
}

/* 미디어 쿼리 */
@media (max-width: 1079px) {
    #section3 {
        padding: 48px 20px;
        gap: 48px;
    }

    .section3-desc-image {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .section3-row {
        max-width: unset;
        display: flex;
        flex-direction: column;
        align-items: unset;
        justify-content: center;
        gap: 24px;
    }

    .section3-row:nth-of-type(1),
    .section3-row:nth-of-type(4),
    .section3-row:nth-of-type(6) {
        flex-direction: column-reverse;
    }

    .section3-row-image img {
        min-height: 240px;
    }

    .section3-row-text-container {
        max-width: 100%;
        text-align: center;
    }

    .section3-row:nth-of-type(6) .section3-row-text-container {
        max-width: 100%;
    }

    .section3-title {
        font-size: 24px;
    }

    .section3-desc {
        font-size: 16px;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .section3-desc-small {
        font-size: 14px;
        margin-top: 8px;
        text-align: center;
    }

    .section3-offer {
        gap: 16px;
    }

    .section3-offer-title {
        font-size: 20px;
    }

    .section3-vehicles {
        gap: 16px;
        overflow-x: auto;
        white-space: nowrap;
    }

    .section3-vehicle {
        min-width: 240px;
        padding: 16px 15px;
        border-radius: 16px;
    }

    .section3-vehicle h3 {
        margin-top: 8px;
        font-size: 16px;
    }

    .section3-vehicle p {
        margin: 0;
        font-size: 14px;
    }


    /*#section3 {*/
    /*    padding: 48px 7%;*/
    /*    gap: 48px; !* 섹션 간 여백 *!*/
    /*}*/

    /*.section3-row {*/
    /*    flex-direction: column;*/
    /*    align-items: center;*/
    /*    text-align: center;*/
    /*    gap: 48px; !* 섹션 간 여백 *!*/
    /*}*/

    /*.section3-left,*/
    /*.section3-right {*/
    /*    width: 100%;*/
    /*}*/

    /*.section3-left img,*/
    /*.section3-right img {*/
    /*    width: 100%;*/
    /*    height: auto;*/
    /*}*/

    /*.section3-left-content,*/
    /*.section3-right-content {*/
    /*    align-items: center;*/
    /*}*/

    /*.section3-title,*/
    /*.section3-desc,*/
    /*.section3-desc-small {*/
    /*    text-align: center;*/
    /*}*/

    /*.section3-offer-title {*/
    /*    text-align: center;*/
    /*}*/

    /*.section3-vehicles {*/
    /*    flex-direction: row;*/
    /*    align-items: center;*/
    /*    gap: 16px;*/
    /*    overflow-x: auto;*/
    /*    white-space: nowrap;*/
    /*    padding: 0 20px; !* 좌우측 여백 추가 *!*/
    /*}*/

    /*.section3-vehicle {*/
    /*    min-width: 250px;*/
    /*    flex: 0 0 auto;*/
    /*    margin: 0 0; !* 컨텐츠 사이 여백 *!*/
    /*}*/

    /*.section3-row:nth-child(1) {*/
    /*    flex-direction: column-reverse;*/
    /*}*/

    /*.section3-row:nth-child(4) {*/
    /*    flex-direction: column-reverse;*/
    /*}*/

    /*.section3-row:nth-child(6) {*/
    /*    flex-direction: column-reverse;*/
    /*}*/
}

