@charset "utf-8"; 

/* 이사만루 폰트 정의 */
@font-face {
    font-family: 'Isamanru';
    src: url('/css/fonts/esamanru Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

/* La Macchina 폰트 정의 */
@font-face {
    font-family: 'LaMacchina';
    src: url('/theme/basic/css/la_macchina.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Isamanru';
    src: url('/css/fonts/esamanru Medium.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Isamanru';
    src: url('/css/fonts/esamanru Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* 메인페이지 전용 폰트 클래스 */
.main-font {
    font-family: 'Isamanru', sans-serif !important;
}



/*메인페이지전용-기본세팅*/
#hd{margin-bottom: 0; background: unset; border-bottom: 0; position: absolute;}
#container_wr{width: 100%;}
#hd nav#gnb .gnb_wrap #gnb_1dul .gnb_1da{color: white;}
#ft{margin-top: 0;}
body{background: black;}

/* 메인페이지 전체 이사만루 폰트 적용 */
body, body * {
    font-family: 'Isamanru', 'Pretendard', 'Malgun Gothic', dotum, sans-serif !important;
    font-weight: 300; /* 기본 Light */
}

/* 섹션 타이틀은 Medium */
.tech .title,
.keyword .title,
.innovation .title,
.gallery .btns .title {
    font-weight: 400 !important; /* Medium */
}

/* 섹션 내용은 Light */
.tech .subtext,
.keyword .subtext,
.innovation .subtext,
.gallery .btns {
    font-weight: 300 !important; /* Light */
}

/*전체메뉴 열렸을때*/
body:has(#gnb_all[style="display: block;"]) #hd{background: white; border-bottom: 1px solid #ddd;}
body:has(#gnb_all[style="display: block;"]) #hd nav#gnb .gnb_wrap #gnb_1dul .gnb_1da{color: black;}
body:has(#gnb_all[style="display: block;"]) #hd ul.hd_login img{filter: brightness(100) invert(1);}

/*떠있는 오버레이 섹션*/
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    pointer-events: none; /* 마우스 이벤트를 통과시킴 */
}

.overlay .content3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
    width: 100%;
    pointer-events: none; /* 기본은 마우스 이벤트 차단 (메뉴 hover 방해 방지) */
}

.overlay .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 100px;
}

.overlay .logo img {
    width: 240px;
    height: auto;
}

.overlay .main-text .title {
    font-size: 44px;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 34px;
    font-family: 'Isamanru', sans-serif !important;
}

.overlay .main-text .subtitle {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
    font-family: 'Pretendard', sans-serif !important;
}

.overlay .content3 {
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.overlay .content3.show {
    opacity: 1;
    pointer-events: auto; /* 화면에 보일 때만 마우스 이벤트 허용 */
}

/* overlay content3 하위 항목들의 애니메이션 설정 */
.overlay .content3 .logo,
.overlay .content3 .title,
.overlay .content3 .subtitle {
    /* 기본 상태: 숨김 + 아래쪽 위치 */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* animate 클래스 추가 시: 보임 + 원래 위치 */
.overlay .content3 .logo.animate,
.overlay .content3 .title.animate,
.overlay .content3 .subtitle.animate {
    opacity: 1;
    transform: translateY(0);
}


/* scroll-animate boingInUp 스타일 */
.scroll-animate.boingInUp {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.boingInUp.animate {
    opacity: 1;
    transform: translateY(0);
}

/* content3이 show 상태일 때 fade-up 애니메이션 적용 */
.overlay .content3.show.animate {
    transform: translate(-50%, -55%);
}

/*섹션 공통 스타일*/
.section1, .section2, .section3, .section4{height: 100vh; background: black; position: relative; overflow: hidden;}
.section5{height: auto; min-height: 100vh; background: black; position: relative; overflow: hidden;}
.section1::after{content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 200px; background: linear-gradient(to bottom, transparent, black); z-index: 3;}

/* 섹션 공통 텍스트 스타일 */
.section3 .main-text .title,
.section4 .main-text .title,
.section5 .main-text .title {
    font-size: 44px;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 34px;
    font-family: 'Isamanru', sans-serif !important;
}

/* 세로선 스타일 */
.vertical-line {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.vertical-line::after {
    content: '';
    width: 1px;
    height: 100%;
    background-color: white;
    border-right: 1px solid #9d9d9d;
}

/* content3의 vertical-line 애니메이션 */
.overlay .content3 .vertical-line {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.overlay .content3 .vertical-line.animate {
    opacity: 1;
    transform: scaleY(1);
}

/* section4의 vertical-line 애니메이션 */
.section4-vertical-line {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section4-vertical-line.animate {
    opacity: 1;
    transform: scaleY(1);
}

.section3 .main-text .subtitle,
.section4 .main-text .subtitle,
.section5 .main-text .subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
    font-family: 'Pretendard', sans-serif !important;
}

/*섹션 간격 및 그라데이션*/
.section2{margin-top: 200px; position: relative;}
.section2::before{content: ''; position: absolute; top: -200px; left: 0; width: 100%; height: 200px; background: linear-gradient(to top, transparent, black); z-index: 1;}
.section2::after{content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 200px; background: linear-gradient(to bottom, transparent, black); z-index: 3;}
.section2 .mov::before{content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 200px; background: linear-gradient(to bottom, black, transparent); z-index: 2;}

/*영상부분*/
.section1 .mov, .section2 .mov{height: 100vh; background: black; position: relative; overflow: hidden;}
.section1 .background-video, .section2 .background-video{position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;}
.section1 .text{position: absolute; top:45%; left: 50%; transform: translate(-50%, -50%); color: white; text-align: center; z-index: 2;}
.section1 .text .t1{font-size: 32px; line-height: 1;margin-bottom: 32px;}
.section1 .text .t2{justify-content: center; font-size: 44px;font-weight: normal;padding-left: 0px;position: relative;display: flex;gap: 2px;}
.section1 .text .t2 img{position: absolute; left: -25px; top: 45%; transform: translateY(-50%);}

/* main-logo 스타일 */
.main-logo {
    width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.section2 .scroll-text{position: absolute;top: 70%;left: 50%;transform: translate(-50%, -50%);color: white;text-align: center;z-index: 2;}
.section2 .scroll-text .t3{font-size: 80px;font-weight: 300;white-space: nowrap;animation: slideFromRight 30s linear infinite 2s;position: absolute;top: 50%;opacity: 0;}
.section2 .scroll-text2{position: absolute;top: 20%;left: 0%;color: white;text-align: center;z-index: 2;}
.section2 .scroll-text2 .t3{font-size: 80px;font-weight: 300;white-space: nowrap;animation: slideFromLeft 30s linear infinite;position: absolute;top: 50%;}
@keyframes slideFromRight {
    0% { transform: translateX(50%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(-100%); opacity: 0; }
}
@keyframes slideFromLeft {
    0% { transform: translateX(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

  


/*3번째 섹션*/
.section3{height: 100vh; position: relative; overflow: hidden; margin-bottom: 800px;}
.section3::after{content: ''; position: absolute; bottom: -100px; left: 0; width: 100%; height: 100px; background: linear-gradient(to bottom, transparent, black); z-index: 3;}
.section3 .bg-image{position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;}
.section3 .content{position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; text-align: center; z-index: 2; width: 100%;}
.section3 .logo{display: flex;align-items: center;justify-content: center;margin-bottom: 100px;}
.section3 .logo img{width: 240px; height: auto;}


/*4번째 섹션*/
.section4{background: black;}
.section4 .bg-image{position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;}
.section4 .content{position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; text-align: center; z-index: 2; width: 100%;}
.section4 .logo{display: flex;align-items: center;justify-content: center;margin-bottom: 100px;}
.section4 .logo img{width: 240px; height: auto;}

/* section4 logo 전용 스타일 - overlay와 구분 */
.section4-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 100px;
}

.section4-logo img {
    width: 240px;
    height: auto;
}


/*5번째 섹션*/
.section5 .bg-image{/* position: absolute; */top: 0;left: 0;width: 100%;height: 100%;background: url(/img/main/s4-bg@2x.png) no-repeat center center;background-size: cover;z-index: 1;}
.section5 .content{position: absolute;top: 30%;left: 50%;transform: translate(-50%, -50%);color: white;text-align: center;z-index: 2;width: 100%;}
.section5 .logo{display: flex;align-items: center;justify-content: center;margin-bottom: 100px;}
.section5 .logo img{width: 240px; height: auto;}

/*6번째 섹션 - Premium Features */
.section6 {
    height: auto;
    min-height: 100vh;
    background: black;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.section6 .header {
    text-align: center;
    margin-bottom: 80px;
}

.section6 .header .best-of-best {
    font-size: 24px;
    color: white;
    margin-bottom: 16px;
    font-weight: 300;
}

.section6 .header .premium {
    font-size: 44px;
    color: white;
    font-weight: 300;
    margin-bottom: 60px;
}

.section6 .features {
    display: flex;
    flex-direction: column;
    gap: 120px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 0px;
    position: relative;
}

.section6 .features::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: white;
    border-right: 1px solid #9d9d9d;
    transform: translateX(-50%);
}

.section6 .feature-item {
    display: flex;
    align-items: center;
    gap: 80px;
}

.section6 .feature-item:nth-child(even) {
    flex-direction: row-reverse;
}

.section6 .feature-item .image {
    flex: 1;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.section6 .feature-item .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.section6 .feature-item .content {
    flex: 1;
    width: 400px;
    color: white;
    text-align: left;
}


.section6 .feature-item:nth-child(even) .content {display: flex;flex-direction: column;align-items: flex-end;text-align: right;}


.section6 .feature-item .feature-title {
    font-size: 20px;
    color: #3AB6F3;
    margin-bottom: 24px;
    font-weight: 300;
}

.section6 .feature-item .feature-value {
    font-size: 44px;
    font-weight: 300;
    margin-bottom: 24px;
    line-height: 1;
}

.section6 .feature-item .feature-value .small {
    font-size: 22px;
    vertical-align: super;
}

.section6 .feature-item .feature-description {
    font-size: 16px;
    line-height: 1.6;
    width: 80%;
    opacity: 0.9;
    font-weight: 300;
}



.section6 .feature-item:last-child .feature-title {
    font-size: 24px;
    margin-bottom: 32px;
    font-weight: 300;
}

.section6 .feature-item:last-child .feature-subtitle {
    font-size: 44px;
    font-weight: 300;
    margin-bottom: 24px;
    line-height: 1;
}

/*7번째 섹션 - Products */
.section7 {
    height: auto;
    min-height: 100vh;
    background: black;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.section7 .header {
    text-align: center;
    margin-bottom: 80px;
}

.section7 .header .company-name {
    font-size: 24px;
    color: white;
    margin-bottom: 16px;
    font-weight: 300;
}

.section7 .header .products-title {
    font-size: 44px;
    color: white;
    font-weight: 300;
    margin-bottom: 60px;
}

.section7 .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.section7 .product-item {
    position: relative;
    height: fit-content;
    overflow: visible;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.section7 .products-grid > *:nth-child(odd) .product-item {
    margin-bottom: 200px;
}

.section7 .products-grid > *:nth-child(even) .product-item {
    margin-top: 200px;
}


.section7 .products-grid .product-item:hover .product-image.color-scale-fadeout-hover {
    animation: colorScaleAnimation 0.5s ease-in-out;
}

.section7 .product-item .image-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.section7 .product-item .product-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.section7 .product-item .background-image {
    position: relative;
    z-index: 1;
}

.section7 .product-item .color-scale-fadeout-hover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.section7 .product-item .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 30px 30px;
}

.section7 .product-item .product-series {
    font-size: 18px;
    color: white;
    font-weight: 300;
    opacity: 0.9;
}

.section7 .product-item .product-name {
    font-size: 44px;
    color: white;
    font-weight: 300;
    text-align: center;
    margin: auto 0;
    margin-top:27%;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.section7 .product-item .product-name img{
    height:60px;
    width: auto;
}

.section7 .product-item .product-name img.larger{
    height:80px;
    width: auto;
}

.section7 .product-item .rainbow-logo {
    width: 80px;
    height: auto;
    margin: 0 auto;
    opacity: 0.8;
}

/* 반응형 */
@media (max-width: 1200px) {
    .section6 .features {
        padding: 0 20px;
        gap: 80px;
    }
    
    .section6 .feature-item {
        gap: 60px;
    }
    
    .section6 .feature-item .feature-value,
    .section6 .feature-item:last-child .feature-subtitle {
        font-size: 48px;
    }
    
    .section7 .products-grid {
        padding: 0 20px;
        gap: 30px;
    }
    

    
    .section7 .product-item .product-name {
        font-size: 32px;
    }
}

@media (max-width: 900px) {
    .section7 .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    

    
    .section7 .product-item .product-name {
        font-size: 28px;
    }
    
    .section7 .product-item .product-series {
        font-size: 16px;
    }
}

/*8번째 섹션 - Dual Features */
.section8 {
    height: auto;
    min-height: 100vh;
    background: black;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.section8 .dual-container {
    display: flex;
    flex-direction: column;
    height: 300vh;
}

.section8 .top-section {
    flex: 1;
    position: relative;
    background: url(/img/main/s7-img01-1@2x.png) no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section8 .bottom-section {
    flex: 1;
    position: relative;
    background: url(/img/main/s7-img02@2x.png) no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section8 .third-section {
    flex: 1;
    position: relative;
    background: url(/img/main/s7-img03@2x.png) no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section8 .fourth-section {
    flex: 1;
    position: relative;
    background: url(/img/main/s7-img04@2x.png) no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section8 .text-overlay {
    text-align: center;
    color: white;
    z-index: 2;
}

.section8 .text-overlay .subtitle {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 16px;
    opacity: 0.9;
}

.section8 .text-overlay .main-title {
    font-size: 48px;
    font-weight: 300;
    line-height: 1.2;
}

.section8 .text-overlay .main-title.large {
    font-size: 44px;
}

.section8 .text-overlay .subtitle-small {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 24px;
    opacity: 0.8;
}

/* section9 */
.section9 {
    height: auto;
    background: black;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin-bottom: 200px;
    margin-top: 200px;
}

.section9 .bg-image-container img{
    width: 100%;
}

.section9 .dual-container {
    display: flex;
    flex-direction: column;
}

.section9 .top-section {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}


.section9 .bottom-section {
    flex: 0.5;
    position: relative;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section9 .text-overlay {
    text-align: center;
    color: white;
    z-index: 2;
    position: absolute;
    bottom:20%;
    display: flex;
    width: 80%;
}

.section9 .text-overlay .count-text-group {
    flex:1;
}


.section9 .text-overlay .subtitle {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 16px;
    color: #3AB6F3;
    opacity: 0.9;
}

.section9 .text-overlay .main-title {
    font-size: 64px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 24px;
}

.section9 .corexin-logo {
    width: 120px;
    height: auto;
    opacity: 0.7;
    margin-top: 16px;
}

/* section10 */
.section10 {
    background: black;
    position: relative;
    overflow: hidden;
}

.section10 .subsection {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section10 .fullscreen-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.section10 .content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 1200px;
    padding: 0 20px;
}

.section10 .logo-container {
    margin-bottom: 60px;
    text-align: center;
}

.section10 .section10-logo {
    width: 200px;
    height: auto;
    opacity: 0.9;
    margin: 0 auto;
}

.section10 .title-container {
    margin-bottom: 50px;
}

.section10 .main-title {
    font-size: 44px;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 10px;
}

.section10 .main-title .highlight {
    color: #3AB6F3;
}

.section10 .subtitle-container {
    max-width: 800px;
    margin: 0 auto;
}

.section10 .subtitle-container p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.9;
}

/* 반응형 */
@media (max-width: 1200px) {
    .section8 .text-overlay .main-title {
        font-size: 40px;
    }
    
    .section8 .text-overlay .main-title.large {
        font-size: 56px;
    }
}

@media (max-width: 900px) {
    .section8 .dual-container {
        height: auto;
    }
    
    .section8 .top-section,
    .section8 .bottom-section {
        min-height: 50vh;
    }
    
    .section8 .text-overlay .main-title {
        font-size: 32px;
    }
    
    .section8 .text-overlay .main-title.large {
        font-size: 44px;
    }
    
    .section8 .text-overlay .subtitle {
        font-size: 18px;
    }
    
    .section9 .dual-container {
        height: auto;
    }
    
    .section9 .top-section,
    .section9 .bottom-section {
        min-height: 50vh;
    }
    
    .section9 .text-overlay .main-title {
        font-size: 48px;
    }
    
    .section9 .text-overlay .subtitle {
        font-size: 18px;
    }
    
    .section9 .corexin-logo {
        width: 100px;
    }

    /* section10 반응형 */
    .section10 .main-title {
        font-size: 48px;
    }
    
    .section10 .subtitle-container p {
        font-size: 16px;
    }
    
    .section10 .brand-name {
        font-size: 28px;
    }
    
    .section10 .logo-container {
        margin-bottom: 40px;
    }
    
    .section10 .title-container {
        margin-bottom: 40px;
    }
}

@media (max-width: 600px) {
    .section10 .main-title {
        font-size: 44px;
    }
    
    .section10 .subtitle-container p {
        font-size: 14px;
    }
    
    .section10 .brand-name {
        font-size: 24px;
    }
    
    .section10 .product-type {
        font-size: 12px;
    }
    
    .section10 .premium-badge {
        font-size: 10px;
    }
    
    .section10 .logo-container {
        margin-bottom: 30px;
    }
    
    .section10 .title-container {
        margin-bottom: 30px;
    }
}





















@media (max-width: 900px) {
    .section6 .feature-item {
        flex-direction: column !important;
        gap: 40px;
        text-align: center;
    }
    
    .section6 .feature-item .image {
        height: 300px;
    }
    
    .section6 .feature-item .feature-value,
    .section6 .feature-item:last-child .feature-subtitle {
        font-size: 40px;
    }
    
    .section6 .feature-item .feature-title {
        font-size: 20px;
    }
}

 
/* 스크롤 애니메이션 클래스 */
.scroll-animate {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.scroll-animate.animate {
    opacity: 1;
}

.scroll-animate.draw-left {
    position: relative;
      
        /* 마스크 기본 설정 */
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 50%, transparent 100%);
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-size: 0% 100%;     /* 처음엔 가로폭 0% */
        -webkit-mask-position: center;  /* 중앙에서 시작 */
      
        mask-image: linear-gradient(to right, transparent 0%, black 50%, transparent 100%);
        mask-repeat: no-repeat;
        mask-size: 0% 100%;
        mask-position: center;

 transition: mask-size 0.5s linear, -webkit-mask-size 0.5s linear;
}

.scroll-animate.draw-left.animate {
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

/* 차량 주변 빛 효과 */
.scroll-animate.draw-left.animate::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.8) 20%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0.8) 80%, 
        transparent 100%);
    border-radius: 10px;
    opacity: 0;
    animation: lightSweep 1s ease-out 0.5s forwards;
    pointer-events: none;
    z-index: 1;
    
    /* 이미지와 동일한 마스크 적용하여 투명 배경 제외 */
    -webkit-mask: inherit;
    -webkit-mask-size: 100% 100%;
    mask: inherit;
    mask-size: 100% 100%;
}

@keyframes lightSweep {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

.scroll-animate.fade-up {
    transform: translateY(50px);
}

.scroll-animate.fade-up.animate {
    transform: translateY(0);
}

.scroll-animate.fade-left {
    transform: translateX(-50px);
}

.scroll-animate.fade-left.animate {
    transform: translateX(0);
}

.scroll-animate.color-scale-fade-left {
    transform: scale(1.3) translateX(-150px);
    transition: transform 1s , filter 1s , opacity 1s ;
    filter: brightness(2) saturate(4) contrast(1) hue-rotate(120deg) blur(0px);
    opacity: 0;
    animation: none;
}

.scroll-animate.color-scale-fade-left.animate {
    transform: scale(1) translateX(0px);
    filter: brightness(1) saturate(1) contrast(1) hue-rotate(0deg) blur(0px);
    opacity: 1;
    animation: colorScaleAnimation 0.5s ease-in-out 1s;
}

.scroll-animate.color-scale-fade-right {
    transform: scale(1.3) translateX(150px);
    transition: transform 1s , filter 1s , opacity 1s ;
    filter: brightness(2) saturate(4) contrast(1) hue-rotate(120deg) blur(0px);
    opacity: 0;
    animation: none;
}

.scroll-animate.color-scale-fade-right.animate {
    transform: scale(1) translateX(0px);
    filter: brightness(1) saturate(1) contrast(1) hue-rotate(0deg) blur(0px);
    opacity: 1;
    animation: colorScaleAnimation 0.5s ease-in-out 1s;
}



@keyframes colorScaleAnimation {
    0% {
        transform: scale(1);
        opacity: 1;
        filter: brightness(1) saturate(1) contrast(1) hue-rotate(0deg) blur(0px);
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
        filter: brightness(3) saturate(5) contrast(2) hue-rotate(300deg) blur(2px);
    }
}



.scroll-animate.fade-right {
    transform: translateX(50px);
}

.scroll-animate.fade-right.animate {
    transform: translateX(0);
}

.scroll-animate.scale-in {
    transform: scale(0.6);
}

.scroll-animate.scale-in.animate {
    transform: scale(1);
}

/* 섹션별 애니메이션 지연 */
.scroll-animate.delay-1 {
    transition-delay: 0.1s;
}

.scroll-animate.delay-2 {
    transition-delay: 0.2s;
}

.scroll-animate.delay-3 {
    transition-delay: 0.3s;
}

.scroll-animate.delay-4 {
    transition-delay: 0.4s;
}


/* La Macchina 폰트 클래스 */
.la-macchina-font {
    font-family: 'LaMacchina', sans-serif !important;
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 100px;
}

.product-card {
    border: 1px solid #414141;
    padding: 30px 24px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
    background: transparent;
    margin-right: 24px;
    vertical-align: top;
}

.card-image {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 46px;
    align-self: flex-end;
}

.card-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.card-badge {
    border: 1px solid #FFFFFF;
    border-radius: 14px;
    padding: 4px 16px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 12px;
    white-space: nowrap;
    align-self: flex-start;
}

.card-model {
    font-size: 20px;
    color: white;
    font-weight: bold;
    text-align: left;
    white-space: nowrap;
    align-self: flex-start;
}

.section7 .product-item .image{
    position: relative;
    height: 0;
    padding-bottom: 75%; /* 4:3 비율 유지 */
    overflow: hidden;
}

.section7 .product-item .image img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.section7 .product-item .image img:last-child{
    z-index: 1;
}   

.section7 .product-item .image img:first-child{
    z-index: 2;
}   
.section7 .product-overlay{
    z-index: 3;
}