/* Room Details Page Styles */

/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #ff6b6b;
}

.breadcrumb i {
    font-size: 0.75rem;
    color: #999;
}

/* Room Gallery */
.room-gallery {
    background: #000;
    position: relative;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

.main-image-wrapper {
    position: relative;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
}

.main-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.fullscreen-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.virtual-tour-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.virtual-tour-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.thumbnail-strip {
    background: #000;
    padding: 10px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    justify-content: center;
}

.thumbnail {
    width: 100px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: #ff6b6b;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    margin-top: 2%;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close-lightbox:hover {
    color: #ff6b6b;
}

/* Main Content Layout */
.room-details-content {
    margin-top: 2rem;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Room Info Column */
.room-header {
    margin-bottom: 2rem;
}

.room-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.room-tagline {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 1rem;
}

.room-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge i {
    color: #ff6b6b;
}

/* Quick Info Bar */
.quick-info-bar {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item i {
    color: #ff6b6b;
    font-size: 1.25rem;
}

/* Tabs */
.room-tabs {
    margin-top: 2rem;
}

.tab-buttons {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 2rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #ff6b6b;
}

.tab-btn.active {
    color: #ff6b6b;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ff6b6b;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Overview Tab */
.room-description h3,
.room-highlights h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.room-description p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight i {
    color: #4CAF50;
    font-size: 1.25rem;
}

/* Amenities Tab */
.amenity-category {
    margin-bottom: 2rem;
}

.amenity-category h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.amenity-category h4 i {
    color: #ff6b6b;
}

.amenity-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.amenity-list li {
    position: relative;
    padding-left: 1.5rem;
    color: #666;
}

.amenity-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ff6b6b;
}

/* Policies Tab */
.policy-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.policy-item:last-child {
    border-bottom: none;
}

.policy-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.policy-item p {
    color: #666;
    line-height: 1.6;
}

/* Reviews Tab */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.overall-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-score {
    font-size: 3rem;
    font-weight: bold;
    color: #ff6b6b;
}

.rating-details .stars {
    color: #FFD700;
    margin-bottom: 0.25rem;
}

.rating-details p {
    color: #666;
    font-size: 0.875rem;
}

.review-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background: #f0f0f0;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ff6b6b;
    color: white;
}

.review-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.reviewer-details h4 {
    margin: 0;
    color: #2c3e50;
}

.reviewer-details p {
    margin: 0;
    color: #666;
    font-size: 0.875rem;
}

.review-rating {
    margin-left: auto;
    color: #FFD700;
}

.review-text {
    color: #666;
    line-height: 1.6;
}

.load-more-reviews {
    background: none;
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    display: block;
    margin: 2rem auto 0;
    transition: all 0.3s ease;
}

.load-more-reviews:hover {
    background: #ff6b6b;
    color: white;
}

/* Booking Widget */
.booking-widget {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.booking-widget.sticky {
    position: sticky;
    top: 20px;
}

.price-display {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.price-label {
    color: #666;
    font-size: 0.875rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: bold;
    color: #2c3e50;
}

.price-period {
    color: #666;
}

/* Booking Form */
.date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.input-group label {
    display: block;
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.input-group input,
.guest-selector select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
}

.guest-selector {
    margin-bottom: 1.5rem;
}

.guest-selector label {
    display: block;
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* Rate Options */
.rate-options h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.rate-option {
    display: block;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rate-option:hover {
    border-color: #ff6b6b;
}

.rate-option input[type="radio"] {
    display: none;
}

.rate-option input[type="radio"]:checked + .rate-details {
    border-left: 3px solid #ff6b6b;
    padding-left: 0.5rem;
}

.rate-name {
    font-weight: 600;
    color: #2c3e50;
}

.rate-price {
    color: #ff6b6b;
    font-weight: bold;
}

.rate-info {
    font-size: 0.875rem;
    color: #666;
}

/* Package Add-ons */
.package-addons {
    margin: 1.5rem 0;
}

.package-addons h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.addon-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.addon-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Price Summary */
.price-summary {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    margin: 1.5rem 0;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #666;
}

.summary-line.total {
    padding-top: 0.5rem;
    border-top: 1px solid #e0e0e0;
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.125rem;
}

.book-now-btn {
    width: 100%;
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.125rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-now-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.booking-assurance {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.booking-assurance p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.875rem;
    margin: 0;
}

.booking-assurance i {
    color: #4CAF50;
}

/* Special Offers */
.special-offers {
    margin-top: 2rem;
}

.special-offers h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.offer-card {
    background: #fff8e1;
    border: 1px solid #ffeb3b;
    border-radius: 10px;
    padding: 1.5rem;
    position: relative;
}

.offer-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ff6b6b;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 15px;
    font-size: 0.875rem;
}

.offer-card h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.offer-card p {
    color: #666;
    margin-bottom: 1rem;
}

.apply-offer-btn {
    background: none;
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apply-offer-btn:hover {
    background: #ff6b6b;
    color: white;
}

/* Similar Rooms Section */
.similar-rooms {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid #e0e0e0;
}

.similar-rooms h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.similar-rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.room-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.room-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.room-card-content {
    padding: 1.5rem;
}

.room-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.room-card p {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.room-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.room-card-price .from {
    color: #666;
    font-size: 0.875rem;
}

.room-card-price .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b6b;
}

.room-card-price .night {
    color: #666;
    font-size: 0.875rem;
}

.view-room-btn {
    width: 100%;
    background: none;
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
    padding: 0.75rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-room-btn:hover {
    background: #ff6b6b;
    color: white;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .content-wrapper {
        grid-template-columns: 1fr 350px;
    }
}

@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .booking-widget.sticky {
        position: relative;
        margin-bottom: 2rem;
    }
    
    .similar-rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .room-title {
        font-size: 2rem;
    }
    
    .quick-info-bar {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .highlights-grid,
    .amenity-list {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-btn {
        white-space: nowrap;
    }
    
    .date-inputs {
        grid-template-columns: 1fr;
    }
    
    .similar-rooms-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-assurance {
        flex-direction: column;
        gap: 0.5rem;
    }
}