/* 일괄 */
a {
    text-decoration: none;
    color: #465E9F;
}


/* 공통 스타일 */

/* 이미지 */
.image-container {
    position: relative;
}

.room-info-img {
    width: 333px;
    height: 193px;
}

.room-info-img-plus {
    position: absolute;
    bottom: 30px;
    right: 10px;
    z-index: 10;
}

/* 아이콘 */
.icon-normal {
    width: 24px;
    height: 24px;
}

.icon-small {
    width: 20px;
    height: 20px;
}

/* 타이틀 */
.title1 {
    font-size: 28px;
    font-weight: bold;
}

.title2 {
    font-size: 24px;
    font-weight: bold;
}

.title3 {
    font-size: 20px;
    font-weight: bold;
}

.title4 {
    font-size: 16px;
    font-weight: bold;
}

/* 버튼 */
.btn-shadow {
    border: 1px solid white;
    background-color: white;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-icon-text {
    width: 183px;
    height: 57px;
    text-align: start;
}

.btn-bottom-right {
    position: absolute;
    bottom: 15px;
    right: 15px;
    text-align: center;
    font-size: 12px;
    width: auto;
}

/* 배경색 */
.bg-default {
    background-color: #2C4892;
}


/* 개별 스타일 */

/* 편의시설 및 서비스 아이템 */
.col-20 {
    flex: 0 0 20%;
    max-width: 20%;
    text-align: start;
}

/* 객실 정보 아이템 */
.room-between-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.room-price-section {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.room-disabled {
/*    display: none;*/
    position: relative;
}
  
.room-disabled::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.room-disabled .room-image-container,
.room-disabled .room-between-row,
.room-disabled .room-price-section,
.room-disabled .btn {
    pointer-events: none;
    opacity: 0.6;
}

.room-disabled .btn {
    cursor: not-allowed;
}

/* 사이드바 */
.sidebar {
    margin-left: 30px;
}

/* 갤러리 */
.first-image {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.third-image {
    border-top-right-radius: 10px;
}

.fifth-image {
    border-bottom-right-radius: 10px;
}

.reservation-content {
    margin-top: 6.25rem;
}

.margin-top-12rem {
    margin-top: 10rem;
}

@media (max-width: 1410px) {
  .reservation-content {
    margin-top: 12rem;
  }  
}

/* 반응형 스타일 */
@media (min-width: 992px) {
    .hide-on-desktop {
        display: none !important;
    }
}

/* 반응형 스타일 */
@media (min-width: 769px) {
    .hide-on-desktop {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }

    .reservation-content {
        margin-top: 0px;
    }

    /* 공통 스타일 */

    /* 타이틀 */
    .title1 {
        font-size: 20px;
        font-weight: bold;
    }
    
    .title2 {
        font-size: 14px;
        font-weight: bold;
    }
    
    .title3 {
        font-size: 20px;
        font-weight: bold;
    }
    
    .title4 {
        font-size: 16px;
        font-weight: bold;
    }

    /* 배경색 */
    .bg-item {
        background-color: #F1F7FD;
    }

    /* 정렬 */
    .item-end {
        display: flex;
        justify-content: end;
        text-align: end !important;
    }


    /* 개별 스타일 */

    /* 편의시설 및 서비스 아이템 */
    .col-20 {
        flex: 0 0 33%;
        max-width: 33%;
        text-align: start;
    }

    /* 갤러리 */
    .first-image {
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
    }
    
    .third-image {
        border-top-right-radius: 0px;
    }
    
    .fifth-image {
        border-bottom-right-radius: 0px;
    }

    /* 객실 정보 아이템 */
    .room-between-row {
        display: block;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .hide-on-mobile {
        display: none !important;
    }
}

/* 사진 더보기 모달 css */

.main-thumbnail {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 5px;
}

/* 작은 썸네일 컨테이너 */
.thumbnail-container {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* 작은 썸네일 */
.thumbnail {
    height: 80px;
    width: 130px;
    object-fit: cover;
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.2s;
}

.thumbnail:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* 모달 내 이미지 */
.modal-img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

/* 스크롤바 디자인 */
.thumbnail-container::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.thumbnail-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.thumbnail-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 더보기 버튼 */
.more-btn {
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    bottom: 10px;
    right: 10px;
    border: none;
}

.more-btn-container {
    position: relative;
    width: 100%;
    height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.img-fluid {
    width: 100%;
    aspect-ratio: 6 / 4;
/*    height: 100%;*/
}

.img-fluid2 {
    width: 100%;
    aspect-ratio: 6 / 4;
/*    height: 100%;*/
}

.img-fluid3 {
    width: 100%;
    height: auto;
}

/* 썸네일 컨테이너의 너비 제한 */
@media (max-width: 767px) {
    .thumbnail-container {
        width: 430px; /* 약 4개의 썸네일(100px) + 간격(10px)을 표시할 수 있는 너비 */
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .thumbnail-container {
        width: 870px; /* 약 8개의 썸네일(100px) + 간격(10px)을 표시할 수 있는 너비 */
        max-width: 100%;
    }
}

/* 모바일 최적화 */
@media (max-width: 576px) {
    .btn-icon-text {
        width: 163px;
        height: 47px;
        text-align: start;
    }
}
