/* Room Details Custom Enhancements */

/* 1. Video 360 Section */
.section-360-view {
    padding: 100px 0;
    background-color: #f8f5f0;
}

.video-360-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #000;
    max-width: 1200px;
}

.video-360-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    background-size: cover;
    background-position: center;
}

.video-360-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    background-size: inherit;
    background-position: inherit;
    filter: blur(20px);
    transform: scale(1.1);
    z-index: -1;
}

.video-360-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 12px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.video-control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.video-control-btn:hover {
    background: #e66d23;
    transform: scale(1.1);
}

#video-counter {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
}

/* 2. Related Tags Section */
.related-tags-section {
    padding: 60px 0;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.room-tag {
    padding: 10px 24px;
    background: #f1f1f1;
    border-radius: 8px;
    font-size: 14px;
    color: #444;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.room-tag:hover {
    background: #e66d23;
    color: #fff;
}

.room-tag.active {
    background: #e66d23;
    color: #fff;
}

/* 2.1 Vertical Sidebar Tags */
.tag-container-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tag-container-vertical .room-tag {
    display: block;
    width: 100%;
    text-align: center;
}

.sidebar-tags {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 3. Reviews Section Styling */
.reviews-container {
    padding: 80px 0;
}

.review-summary-card {
    background: #fdfaf7;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #f1e9e0;
}

.review-summary-card h2 {
    font-size: 72px;
    color: #e66d23;
    margin-bottom: 5px;
    line-height: 1;
}

.review-summary-card p {
    color: #666;
    font-size: 14px;
}

.rating-bars {
    padding: 20px 0;
}

.rating-bar-item {
    margin-bottom: 15px;
}

.rating-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.progress {
    height: 4px;
    background-color: #eee;
    overflow: visible;
    border-radius: 2px;
}

.progress-bar {
    background-color: #e66d23;
    border-radius: 2px;
}

.review-list-item {
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.review-list-item:last-child {
    border-bottom: none;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
}

.review-content {
    flex: 1;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.reviewer-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
}

.review-date {
    font-size: 13px;
    color: #888;
}

.review-stars {
    color: #e4a853;
    margin-bottom: 10px;
}

/* 4. Write a Review Form */
.write-review-btn {
    background: #e66d23;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.write-review-btn:hover {
    background: #d45a1a;
    transform: translateY(-2px);
}

/* 5. Wishlist and Share Buttons */
.wishlist-active {
    background: #e66d23 !important;
    color: #fff !important;
}

.wishlist-active i {
    color: #fff !important;
}

/* 6. Sticky Tags Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.room-gallery-modern .sidebar-tags {
    transition: all 0.3s ease;
}

/* Only sticky in gallery section */
@media (min-width: 768px) {
    .room-gallery-modern .sidebar-tags {
        position: sticky;
        top: 100px;
        height: fit-content;
    }
}

.review-form-container {
    background: #fff;
    padding: 40px;
    border: 1px solid #eee;
    border-radius: 15px;
    margin-top: 30px;
    display: none;
    /* Toggle with JS */
}

/* 5. Similar Escape Grid */
.similar-escape-section {
    padding: 100px 0;
    background-color: #fff;
}

.room-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #f1f1f1;
    margin-bottom: 30px;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.room-card-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.room-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card:hover .room-card-img img {
    transform: scale(1.1);
}

.room-card-content {
    padding: 25px;
}

.room-card-info {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}

.room-card-title {
    font-size: 22px;
    margin-bottom: 10px;
}

.room-card-price {
    color: #e66d23;
    font-size: 18px;
    font-weight: 600;
}

.room-card-price span {
    font-size: 14px;
    color: #888;
    font-weight: 400;
}

/* Typography Enhancements */
.section-subtitle-custom {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
    color: #e66d23;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

@media (max-width: 768px) {
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-summary-card {
        margin-bottom: 30px;
    }
}

/* 6. Modern Room Gallery with Thumbnails */
.room-gallery-modern {
    padding: 60px 0;
}

.main-img-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.main-img-container .owl-nav .owl-prev,
.main-img-container .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #222 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 20px !important;
    z-index: 10;
}

.main-img-container .owl-nav .owl-prev {
    left: 20px;
}

.main-img-container .owl-nav .owl-next {
    right: 20px;
}

.main-img-container .owl-nav .owl-prev:hover,
.main-img-container .owl-nav .owl-next:hover {
    background: #e66d23 !important;
    color: #fff !important;
}

.gallery-thumbs-container {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 150px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.gallery-thumb.active {
    border-color: #e66d23;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.action-btn {
    padding: 12px 25px;
    border-radius: 30px;
    border: 1px solid #ddd;
    background: #fff;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    color: #444;
}

.action-btn i {
    color: #e66d23;
    font-size: 16px;
}

.action-btn:hover {
    background: #fdfaf7;
    border-color: #e66d23;
    transform: translateY(-2px);
    color: #e66d23;
}

@media (max-width: 768px) {
    .gallery-thumb {
        width: 80px;
        height: 60px;
    }

    .room-action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
    }
}