/**
 * Travelio - Hotel Details Stylesheet
 */

:root {
    --primary-color: #0B5ED7;
    --dark-blue: #082B5C;
    --light-blue: #F3F8FF;
    --white: #FFFFFF;
    --text-dark: #16213A;
    --text-muted: #667085;
    --success-green: #16A765;
    --star-orange: #FFB020;
    --border-color: #E4EAF2;
}

/* Breadcrumb */
.breadcrumb-container {
    background-color: transparent;
    padding: 16px 0;
}
.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* Gallery Grid */
.details-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
}
.gallery-main {
    height: 100%;
    position: relative;
}
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    height: 100%;
}
.gallery-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}
.gallery-btn:hover {
    background-color: var(--white);
    transform: scale(1.03);
}

/* Badges and Stars */
.hotel-header-badge {
    background-color: var(--success-green);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    width: fit-content;
}
.stars-row {
    color: var(--star-orange);
    font-size: 1rem;
    display: flex;
    gap: 4px;
}

/* Detail Section Cards */
.detail-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(8, 43, 92, 0.01);
}
.detail-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Facilities Grid */
.facilities-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.facility-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
}
.facility-detail-icon {
    font-size: 1.1rem;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
}

/* Rooms Table */
.room-table {
    width: 100%;
    border-collapse: collapse;
}
.room-table th {
    background-color: #F8FAFC;
    color: var(--text-dark);
    font-weight: 700;
    padding: 14px 16px;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--border-color);
}
.room-table td {
    padding: 20px 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}
.room-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.room-spec {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.room-price-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
}
.btn-room-book {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    width: 100%;
    transition: all 0.2s ease;
}
.btn-room-book:hover {
    background-color: var(--dark-blue);
}

/* Reviews Summary */
.rating-big-box {
    background-color: var(--light-blue);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}
.rating-big-value {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 6px;
}
.rating-bar-item {
    margin-bottom: 12px;
}
.rating-bar-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
}
.rating-bar-bg {
    height: 6px;
    background-color: #E2E8F0;
    border-radius: 4px;
    overflow: hidden;
}
.rating-bar-fill {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 4px;
}

/* Sidebar Sticky Form */
.sticky-booking-widget {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(8, 43, 92, 0.05);
    position: sticky;
    top: 100px;
}
.widget-price-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.widget-price-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* Policies */
.policy-row {
    display: flex;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}
.policy-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.policy-label {
    width: 150px;
    font-weight: 700;
    color: var(--text-dark);
    flex-shrink: 0;
}
.policy-content {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .sticky-booking-widget {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 767.98px) {
    .container-fluid.px-4 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    h1.fw-extrabold {
        font-size: 1.75rem !important;
    }
    
    .btn-wishlist-detail {
        width: 100%;
        text-align: center;
    }
    
    .scroll-tabs-mobile {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    
    .scroll-tabs-mobile a {
        display: inline-block;
        flex-shrink: 0;
    }
    
    .details-gallery-grid {
        grid-template-columns: 1fr;
        height: 250px;
    }
    
    .gallery-side {
        display: none;
    }
    
    .detail-card {
        padding: 20px;
    }
    
    .room-table th {
        display: none;
    }
    
    .room-table tr {
        display: flex;
        flex-direction: column;
        border-bottom: 2px solid var(--border-color);
        padding-bottom: 15px;
    }
    
    .room-table td {
        padding: 8px 0;
        border: none;
    }
    
    .policy-row {
        flex-direction: column;
        gap: 6px;
    }
    
    .policy-label {
        width: 100%;
    }
    
    .rating-bar-item-col {
        width: 100% !important;
    }
}

@media (max-width: 576px) {
    .details-gallery-grid {
        height: 200px;
    }
}
