/* 텍스트 흐름 섹션 */
.marquee-section {
    overflow: hidden;
    background-color: #f9f9f900;
    /* padding: 40px 0; */
    margin-top: 60px;
    position: absolute;
    
}

.marquee-container {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.marquee-text {
    display: inline-block;
    font-family: 'Pretendard', sans-serif;
    font-size: 220px;
    font-weight: 800;
    color: #f0f0f0;
    text-transform: uppercase;
    letter-spacing: -5px;
    animation: marquee 60s linear infinite;
    padding-right: 50px; /* 텍스트 간격 */
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 제품 소개 섹션 */
.products-section {
    padding: 220px 0 0;
    margin-top: 0px;
}

.products-container {
    width: 95vw;
    max-width:1800px;
    margin: 0 auto;
    display: flex;
    flex-direction:column;
    justify-content: space-between;
    gap:2vw;
    height:80vh;
    padding:0;
    padding-top:0;
}

.products-text {
    /* flex: 0 0 550px; */
    /* padding-top: 50px; */
    padding-left:115px;
    display:flex;
    /* flex-direction:column; */
    justify-content:space-between;
}

.products-subtitle {
    position:absolute;
    color: #ff6b00;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    top:-32px;
}

.products-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0px;
    letter-spacing: -1px;
}

.products-description {
    display: flex;
    align-items: center;
    gap: 20px;
    /* margin-bottom: 50px; */
    color: #666;
    font-size: 20px;
}

.products-price-container {
    display: flex;
    gap: 80px;

}

.price-box {
    position: relative;
}

.price-label {
    font-size: 22px;
    color: #0f0029;
    font-weight:700;
    /* margin-bottom: 15px; */
}

.price-value {
    font-size: 52px;
    font-weight: 700;
    color: #0C62A7;
    line-height:1;
}
.price-value::after{
    content: '+';

}

.price-box:nth-child(2) .price-value {
    color: #098587;
}

.products-images {
    flex: 1;
    display: flex;
    gap: 15px;
    position: relative;
}

.product-card {
    flex: 0 0 280px;
    min-width:220px;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.5s ease;
}

.product-card img {
    width: 100%;
    max-width:320px;
    /* height: 100%; */
    object-fit: contain;
    position:absolute;
    bottom:5%;
    right:calc(50% - 240px);
    transition: all 0.5s ease;
}

.product-card .bg_video{
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
    
}
.product-card .bg_video video{
    width:100%;
    height:100%;
    object-fit: cover;
    object-position: center;
}
.product-card .card_text{
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    color:#000;
    font-size:40px;
    /* display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center; */
    font-weight:500;
    z-indeX:10;
    padding:50px 5%;
    
    
}
.product-card.active .card_text{
    padding:50px 10%;
    color:#fff;
}

.product-card::before{
    content: "";
    position:absolute;
        top:-165%;
    lefT:-130%;

    width: 750px;
    height:750px;
    background:linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    transform:rotate(30deg);
    z-index:1;
    opacity:0;
    transition: all 0.5s ease;
}

.product-card.active::before{
    opacity:1;
    top:-48%;
    lefT:-30%;
}

.product-card:nth-child(1){
    background:#ffd174;
}
.product-card:nth-child(2){
    background:#58b6e9;
}
.product-card:nth-child(3){
    background:#f2dbd6;
}
.product-card .card_text p{
    font-size:20px;
    font-wieght:500;
}

.product-card.active {
    flex: 1.25;
    padding:10%;
}

.product-card:not(.active) {
    flex: 1;
    filter: grayscale(100%);
}

.product-card:not(.active)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    transition: all 0.5s ease;
}


.info-list{
    position:relative;
    margin-top: 10px;
    flex:1;

    /* border-top: 1px solid #eee; */
    height:110px;

}
.list-item{
    padding-top: 24px;
    position:absolute;
    top:0;
    right:0;
    transform:translateY(100%);
    visibility:hidden;
    opacity:0;
    transition:all 0.5s ease;
}
.list-item.active{
    opacity:1;
    transform:translateY(0);
    visibility:visible;
}
.list-item .info{
    font-size:28px;
    font-weight:700;

}
.list-item .plus-txt{
    font-size:22px;
    font-weight:500;
}

/* 반응형 스타일 */
@media (max-width: 1600px) {
    .products-container {
        width: 90%;
    }

    .products-text {
        flex: 0 0 40%;
    }

    .products-images {
        flex: 0 0 55%;
    }
}

@media (max-width: 1200px) {
    .products-container {
        flex-direction: column;
    }

    .products-text {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 50px;
    }

    .products-images {
        flex: 0 0 auto;
        width: 100%;
    }

    .marquee-text {
        font-size: 100px;
    }
}
