/* car 섹션 */
.car-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 900px; /* 또는 원하는 높이 */
    color: #FFFFFF;
    text-align: center;
    text-shadow: 3px 3px 3px rgba(0, 0, 0, 1);
    overflow: hidden;
}

.car-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

/* (수정) 중앙 콘텐츠 컨테이너 */
.car-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px; /* 요소들 사이의 간격 */
    padding: 0 0px;
    scale: 0.9;
    
}

.car-title {
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    /* font-size: 80px; */
    font-size: clamp(42px, 4vw, 80px); /* 최소 42px, 최대 80px, 중간에는 뷰포트 너비의 5% 크기 */
    line-height: 1.2;
    margin: 0;
    
}

.car-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    /* font-size: 18px; */
    font-size: clamp(16px, 1.2vw, 18px); /* 최소 16px, 최대 18px, 기준 1.2vw */
    line-height: 30px;
    letter-spacing: -0.01em;
    max-width: 780px; /* 텍스트 너비 제한 */
    margin-bottom: 80px;
}

/* LTD 리스트 */
.car-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    max-width: 1150px;
}

.car-list-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.car-list-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.item-eng {
    flex: 0 0 300px; /* 고정 너비 */
    text-align: left;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    /* font-size: 35px; */
    font-size: clamp(28px, 2.5vw, 35px); /* 최소 28px, 최대 35px, 기준 2.5vw */
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.item-eng .initial {
    display: inline-block;
    width: 60px;
}

.item-keyword {
    flex: 0 0 150px; /* 고정 너비 */
    text-align: left;
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    /* font-size: 26px; */
    font-size: clamp(20px, 2vw, 26px); /* 최소 20px, 최대 26px, 기준 2vw */
    letter-spacing: -0.01em;
}

.item-description {
    flex: 1; /* 남은 공간 모두 차지 */
    text-align: left;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 300;
    /* font-size: 22px; */
    font-size: clamp(18px, 1.5vw, 22px); /* 최소 18px, 최대 22px, 기준 1.5vw */
    letter-spacing: -0.01em;
}

.car-button {
    display: inline-block;
    border: none;
    background: none;
    padding: 0;
    margin-top: 20px;
    cursor: pointer;
    text-decoration: none;
    line-height: 0; /* 이미지가 추가적인 공간을 차지하지 않도록 설정 */
}

.car-button .hover {
    display: none;
}

.car-button:hover .default {
    display: none;
}

.car-button:hover .hover {
    display: inline;
}

.car-button img {
    width: 130px; /* 필요에 따라 크기 조절 */
    height: auto;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    
    .car-section {
        background: none !important;
        margin-top: 40px;
        padding-top: 40px;
        color: #000 !important;
        min-height: auto;
        text-shadow: none;
        word-break: keep-all; /* Prevents unwanted word breaks */

    }
    .car-background-image {
        display: none !important;
    }
    .car-content {
        margin-top: 40px;
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 100vw;
        scale: 1;
        padding: 0px 10px;
        top: 0;
        gap: 20px;
        word-break: keep-all; /* Prevents unwanted word breaks */

    }
    .intro-section {
        margin-bottom: 0;
    }
    .car-subtitle br {
        display: none;
    }
    .car-subtitle {
        margin-bottom: 20px;
        text-align: justify;
        word-break: keep-all;
    }
    .car-list-item {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0;
    }
    .item-eng, .item-keyword {
        width: auto;
        flex: auto;
        text-align: center;
        margin-bottom: 10px;
        display: inline-block;
        vertical-align: middle;
        font-size: 22px;
        line-height: 1.0;
    }
    .item-description {
        width: 100%;
        flex-basis: 100%;
        text-align: center;
        margin-top: 8px;
        display: block;
    }
    .car-button img {
        width: 100px;
    }
}