@charset "utf-8";

/* theme/basic/skin/latest/carousel/style.css */
.main-carousel {
    width: 100%;
    height: 450px; /* 캐러셀 전체 높이 */
    border-radius: 12px;
    overflow: hidden;
    background-color: #f1f5f9;
}

.main-carousel .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.main-carousel .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 이미지가 영역에 꽉 차게 비율 유지 */
}

/* 이미지가 없을 때 대체 영역 */
.main-carousel .no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e2e8f0;
    color: #94a3b8;
    font-size: 20px;
    font-weight: bold;
}

/* 텍스트 정보 오버레이 (그라데이션 효과) */
.slide-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 40px 40px 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    color: #ffffff;
    box-sizing: border-box;
}

.slide-text-overlay h3 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.slide-text-overlay p {
    margin: 0;
    font-size: 15px;
    color: #e2e8f0;
    line-height: 1.5;
}

/* 컨트롤러 색상 커스텀 */
.main-carousel .swiper-button-next,
.main-carousel .swiper-button-prev {
    color: #ffffff;
    opacity: 0.7;
    transition: 0.3s;
}

.main-carousel .swiper-button-next:hover,
.main-carousel .swiper-button-prev:hover {
    opacity: 1;
}

.main-carousel .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.5;
}

.main-carousel .swiper-pagination-bullet-active {
    background: #11CAA0; /* 메인 강조 색상 */
    opacity: 1;
}