/* 슬라이드 모달 스타일 */

/* 모달 오버레이 (어두운 배경) */
.modal-overlay {
    display: none; /* 기본적으로 숨김 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* 어두운 딤 처리 */
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

/* 모달이 열렸을 때 */
.modal-overlay.active {
    display: flex;
}

/* 모달 컨테이너 */
.modal-container {
    position: relative;
}

/* 모달 콘텐츠 */
.modal-content {
    position: relative;
    width: 800px;
    height: 636px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 닫기 버튼 */
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 슬라이드 이미지 컨테이너 */
.slide-image-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 슬라이드 이미지 */
.slide-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 슬라이드 버튼 공통 스타일 */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s ease;
}

/* 비활성화 상태 */
.slide-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* 좌측 버튼 */
.slide-btn-prev {
    left: 16px;
}

/* 우측 버튼 (이미지 뒤집기) */
.slide-btn-next {
    right: 16px;
}

.slide-btn-next img {
    transform: scaleX(-1); /* 이미지 좌우 반전 */
}

/* 인디케이터 컨테이너 */
.slide-indicators {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

/* 인디케이터 점 */
.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #999999; /* 비활성화 색상 (회색) */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* 활성화된 인디케이터 */
.indicator-dot.active {
    background-color: #00a0df; /* 활성화 색상 (파란색) */
}

.indicator-dot:hover:not(.active) {
    background-color: #666666;
}
