/* 슬라이더 크기 조정 */
#slider1 {
    width: 1354px;
    height:327px;
    max-width: 1354px; /* 최대 너비도 더 크게 */
    aspect-ratio: 4 / 3; /* 다른 비율 적용 (예시) */
    margin: 0 auto; /* 중앙 정렬 및 아래 여백 */
}

#slider2 {
    width: 1354px;
    height:299px;
    max-width: 1354px; /* 최대 너비도 더 크게 */
    aspect-ratio: 4 / 3; /* 다른 비율 적용 (예시) */
    margin: 0 auto; /* 중앙 정렬 및 아래 여백 */
}

#slider3 {
    width: 1354px;
    height:299px;
    max-width: 1354px; /* 최대 너비도 더 크게 */
    aspect-ratio: 4 / 3; /* 다른 비율 적용 (예시) */
    margin: 0 auto; /* 중앙 정렬 및 아래 여백 */
}

#slider4 {
    width: 1354px;
    height:332px;
    max-width: 1354px; /* 최대 너비도 더 크게 */
    aspect-ratio: 4 / 3; /* 다른 비율 적용 (예시) */
    margin: 0 auto; /* 중앙 정렬 및 아래 여백 */
}



/* 여러 슬라이더를 묶는 래퍼 (필요에 따라 사용) */
.multi-slider-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;    
    max-width: 1354px; /* 전체 슬라이더들의 최대 너비 */
    width: 100%;
}

.slider-container {
    position: relative;
    width: calc(50% - 15px); /* 두 개씩 배치되도록 너비 조정 (gap 30px 감안) */    
    overflow: hidden;        
    aspect-ratio: 16 / 9; /* 너비에 따른 높이 비율 (16:9) */
}

/* 각 이미지를 하나의 슬라이드 아이템으로 처리 */
.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* 초기에는 모든 슬라이드 아이템을 숨김 */
    transition: opacity 0.8s ease-in-out; /* 페이드 인/아웃 효과 */
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* 비활성 슬라이드 아이템은 클릭 비활성화 */
}

.slider-item.active {
    opacity: 1; /* 활성 슬라이드 아이템만 표시 */
    pointer-events: auto; /* 활성 슬라이드 아이템은 클릭 활성화 */
}

.slider-item img {
    max-width: 100%; /* 슬라이더 내에서 이미지 크기 조절 */
    max-height: 100%;
    height: auto;
    display: block;    
    object-fit: contain; /* 이미지 비율 유지하며 컨테이너에 맞춤 */
}

/* 이전, 다음 버튼 */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 12px; /* 버튼 패딩 줄이기 */
    margin-top: -20px; /* 위치 조정 */
    color: white;
    font-weight: bold;
    font-size: 16px; /* 폰트 사이즈 줄이기 */
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100; /* 버튼이 이미지 위에 오도록 */
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* 점 내비게이션 컨테이너 */
.dots-container_left {
    text-align: center;
    position: absolute;
    bottom: 41px; /* 이미지 안에 위치하도록 조정 */
    left: 70px;
    /*가운데 위치 transform: translateX(-50%);*/
    z-index: 100; /* 점이 이미지 위에 오도록 */        
}

.dots-container_right {
    text-align: center;
    position: absolute;
    bottom: 41px; /* 이미지 안에 위치하도록 조정 */
    right: 70px;
    /*가운데 위치 transform: translateX(-50%);*/
    z-index: 100; /* 점이 이미지 위에 오도록 */        
}

.dots-container_right2 {
    text-align: center;
    position: absolute;
    bottom: 71px; /* 이미지 안에 위치하도록 조정 */
    right: 70px;
    /*가운데 위치 transform: translateX(-50%);*/
    z-index: 100; /* 점이 이미지 위에 오도록 */        
}


/* 점 */
.dot {

    height: 12px; /* 점 크기 */
    width: 12px;  /* 점 크기 */
    margin: 0 3px; /* 점 간 간격 줄이기 */
    background-color: #350c0c; /* 보통 갈색 */
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active {
    background-color: #D2B48C; /* 밝은 갈색 */
}

/* 반응형 디자인: 작은 화면에서 슬라이더 하나씩 표시 */
@media (max-width: 768px) {
    .slider-container {
        width: 90%; /* 작은 화면에서 각 슬라이더가 90% 너비 차지 */
        max-width: none; /* 최대 너비 제한 해제 */
    }
