/* Hotel Detail Page Styles — Matching Airport Service Detail */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s;
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb i {
    font-size: 0.7rem;
    color: #ccc;
}

.breadcrumb span {
    color: #666;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

/* Hotel Header */
.hotel-header-section {
    margin-bottom: 25px;
}

.hotel-category-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #eefdfd;
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.hotel-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0 0 15px 0;
}

.hotel-stars-detail {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    gap: 3px;
}

/* Provider Section */
.provider-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
}

.provider-logo-box {
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.provider-logo-box img {
    height: 40px;
    max-width: 150px;
    object-fit: contain;
}

.provider-info-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.provider-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.provider-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.hotel-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.95rem;
}

.meta-item i {
    color: var(--primary-color);
}

/* Image Gallery */
.image-gallery {
    margin-bottom: 40px;
}

.main-image {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.thumbnail {
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.thumbnail:hover {
    border-color: #ddd;
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sections */
.facilities-section,
.description-section {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    margin-bottom: 25px;
}

.facilities-section h2,
.description-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 20px 0;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
}

.facility-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.facility-item span {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Description */
.description-section p {
    line-height: 1.8;
    color: #666;
    font-size: 1rem;
}

/* Pricing Sidebar */
.pricing-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.pricing-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 20px 0;
}

.pricing-card .form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 6px;
}

.pricing-card .form-input-detail {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all 0.2s;
    background: #fdfdfd;
    box-sizing: border-box;
}

.pricing-card .form-input-detail:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 166, 178, 0.1);
}

.dynamic-price-display {
    text-align: center;
    padding: 15px 0;
    margin-bottom: 10px;
}

.dynamic-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.dynamic-price-unit {
    font-size: 0.9rem;
    color: #888;
    font-weight: 400;
}

.btn-book-now {
    display: block;
    text-align: center;
    text-decoration: none;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(0, 166, 178, 0.3);
    margin-bottom: 20px;
    box-sizing: border-box;
}

.btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 166, 178, 0.4);
}

.trust-badges {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.badge-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.badge-item span {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

/* Error Alerts */
.alert-error {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    border-radius: 12px;
    padding: 12px 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #c53030;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.alert-error i {
    margin-top: 2px;
    flex-shrink: 0;
}

/* Available Rooms Section (full width below the 2-col layout) */
.available-rooms-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.available-rooms-section > h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0 0 10px 0;
}

.available-rooms-section > p {
    color: #666;
    margin-bottom: 30px;
}

.room-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.room-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0 0 8px 0;
}

.room-card .room-capacity {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.room-card .room-capacity i {
    color: var(--primary-color);
}

.rate-plan-list {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 0 20px;
}

.rate-plan-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
}

.rate-plan-row:last-child {
    border-bottom: none;
}

.rate-plan-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 5px 0;
}

.rate-plan-info .cancellation-policy {
    font-size: 0.85em;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rate-plan-action {
    text-align: right;
    display: flex;
    align-items: center;
    gap: 20px;
}

.rate-plan-price {
    font-size: 1.2em;
    font-weight: 800;
    color: var(--primary-color);
}

.rate-plan-nights {
    font-size: 0.8em;
    color: #888;
}

.btn-book-room {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 166, 178, 0.25);
    font-family: var(--font-primary);
    text-decoration: none;
}

.btn-book-room:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 166, 178, 0.4);
    color: white;
}

.no-rooms-message {
    background: #f9f9f9;
    padding: 40px;
    text-align: center;
    border-radius: 16px;
    color: #888;
}

.no-rooms-message i {
    font-size: 3em;
    margin-bottom: 15px;
    color: #ddd;
}

.no-rooms-message h3 {
    color: #666;
    margin: 0 0 10px 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        position: static;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .hotel-title {
        font-size: 2rem;
    }

    .rate-plan-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .rate-plan-action {
        width: 100%;
        justify-content: space-between;
    }
}