
/* 캐러셀 wrapper */
.carousel-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    background: #f8f8f8;
    overflow: hidden;
}

/* 캐러셀 메인 컨테이너 */
#myCarousel {
    width: 100%;
    max-width: 1300px;
    position: relative;
	margin: 0 auto;
}

/* 캐러셀 내부 */
.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* 캐러셀 아이템 */
.carousel-item {
    position: relative;
    width: 100%;
    height: 500px;
    display: none;
}

.carousel-item.active {
    display: block;
}

/* 이미지 스타일링 */
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 캡션 컨테이너 */
.carousel-item .container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}

/* 캡션 스타일링 */
.carousel-caption {
    position: relative;
    right: auto;
    bottom: auto;
    left: 0;
    text-align: left;
    padding: 0 15px;
    width: 100%;
    max-width: 600px;
	margin: 0 auto;
	display:flex;
	flex-direction: column;
	align-items:center;
}
.carousel-caption h1 {
	text-align:center;
	word-break : keep-all;
}

/* 캐러셀 컨트롤 */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    z-index: 10;
}

/* 캐러셀 인디케이터 */
.carousel-indicators {
    margin-bottom: 1rem;
    z-index: 10;
}

/* 반응형 조정 */
@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
    }
    
    .main-slider-h1 {
        font-size: 1.75rem;
    }
    
    .main-slider-p {
        font-size: 1rem;
    }
    
    .btn-trip-1 {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

/* 캐러셀 검색 영역 */
.carousel-search {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    max-width: 400px;
}

/* 슬라이더 텍스트 스타일 */
.main-slider-h1 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.main-slider-p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.btn-trip-1 {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}