/* JUST DO IT 섹션 스타일 */
.just-do-it-section {
    width: 100%;
    padding: 0px 0;
    background-color: #f9f9f9;
    overflow: hidden;
    margin-bottom:20px;
}

.just-do-it-container {
    width:95vw;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 0px;
}

.just-do-it-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.just-do-it-title .arrow {
    font-size: 42px;
    margin-left: 5px;
}

/* 메인 갤러리 이미지 스타일 */
.main-gallery-image-container {
    width: 100%;
    height: 400px;
    margin-bottom: 30px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.main-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stats-overlay {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stats-text {
    text-align: right;
    color: #fff;
}

.stats-text p {
    font-size: 16px;
    margin: 0;
}

.stats-text h3 {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

/* 갤러리 그리드 스타일 */
.gallery-grid {
    /* display: grid; */
    /* grid-template-columns: repeat(12, 1fr); */
    /* grid-template-rows: auto auto; */
    /* gap: 15px; */
    width: 100%;
}
.gallery-grid .flex_list{
    display:flex;
    gap:15px;
    margin-top: 15px;
}
.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    overflow:hidden;
    position:relative;
    height: 40vh;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}


.gallery-item{
    flex:1;
    transition:all 0.5s ease;
}
.gallery-item:hover{
    flex:2;
}

.gallery-item-1{
    flex:2;

}
.gallery-item-5{
    flex:2;

}
.gallery-item-9{
    flex:2;

}


/* 갤러리 아이템 사이즈 및 위치 설정 */
/* .gallery-item-1 {
    grid-column: span 6;
    grid-row: span 1;
    height: 350px;
}

.gallery-item-2 {
    grid-column: span 3;
    grid-row: span 1;
    height: 350px;
}

.gallery-item-3 {
    grid-column: span 3;
    grid-row: span 1;
    height: 350px;
}

.gallery-item-4 {
    grid-column: span 3;
    grid-row: span 1;
    height: 350px;
}

.gallery-item-5 {
    grid-column: span 6;
    grid-row: span 1;
    height: 350px;
}

.gallery-item-6 {
    grid-column: span 3;
    grid-row: span 1;
    height: 350px;
}
.gallery-item-7 {
    grid-column: span 3;
    grid-row: span 1;
    height: 350px;
}
.gallery-item-8 {
    grid-column: span 3;
    grid-row: span 1;
    height: 350px;
}
.gallery-item-9 {
    grid-column: span 6;
    grid-row: span 1;
    height: 350px;
} */

/* 반응형 스타일 */
@media (max-width: 1600px) {
    .just-do-it-container {
        max-width: 1300px;
    }
}

@media (max-width: 1200px) {
    .just-do-it-container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .gallery-item-1, .gallery-item-2, .gallery-item-3 {
        grid-column: span 2;
    }
    
    .gallery-item-4 {
        grid-column: span 3;
    }
    
    .gallery-item-5, .gallery-item-6 {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .just-do-it-title {
        font-size: 38px;
    }
    
    .main-gallery-image-container {
        height: 350px;
    }
    
    .stats-text h3 {
        font-size: 28px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item-1, .gallery-item-2, .gallery-item-3, 
    .gallery-item-4, .gallery-item-5, .gallery-item-6 {
        grid-column: span 1;
        height: 250px;
    }
}

@media (max-width: 576px) {
    .just-do-it-title {
        font-size: 32px;
    }
    
    .stats-overlay {
        top: 10px;
        right: 15px;
    }
    
    .stats-text p {
        font-size: 14px;
    }
    
    .stats-text h3 {
        font-size: 24px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .gallery-item {
        height: 200px;
    }
}
