/* Single Room Page Styles */

/* Container */
.hbm-single-room-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.hbm-room-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.hbm-room-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #1a1a1a;
}

.hbm-room-type {
    display: flex;
    gap: 10px;
}

.hbm-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.hbm-badge-type {
    background: #0F766E;
    color: white;
}

.hbm-price-display {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.hbm-price-amount {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
}

.hbm-price-label {
    font-size: 16px;
    color: #666;
}

.hbm-weekend-price {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* Gallery */
.hbm-room-gallery {
    margin-bottom: 40px;
}

.hbm-featured-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
}

.hbm-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hbm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.hbm-gallery-item {
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.hbm-gallery-item:hover {
    transform: scale(1.05);
}

.hbm-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hbm-gallery-more {
    position: relative;
    height: 200px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hbm-view-all-btn {
    background: rgba(15, 118, 110, 0.85);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.hbm-view-all-btn:hover {
    background: rgba(15, 118, 110, 1);
}

/* Content Layout */
.hbm-room-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

/* Quick Info */
.hbm-quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 30px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 30px;
}

.hbm-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hbm-icon {
    width: 40px;
    height: 40px;
    color: #0F766E;
    flex-shrink: 0;
}

.hbm-info-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.hbm-info-label {
    display: block;
    font-size: 14px;
    color: #666;
}

/* Description */
.hbm-room-description,
.hbm-room-amenities,
.hbm-room-details {
    margin-bottom: 40px;
}

.hbm-room-description h2,
.hbm-room-amenities h2,
.hbm-room-details h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
    padding-bottom: 10px;
    border-bottom: 3px solid #ccfbf1;
    display: inline-block;
}

.hbm-description-content {
    line-height: 1.8;
    color: #4b5563;
}

/* Amenities */
.hbm-amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.hbm-amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f0fdfa;
    border-radius: 8px;
    border: 1px solid #ccfbf1;
}

.hbm-icon-check {
    width: 20px;
    height: 20px;
    color: #0F766E;
    flex-shrink: 0;
}

/* Details */
.hbm-details-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hbm-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.hbm-detail-label {
    font-weight: 600;
    color: #374151;
}

.hbm-detail-value {
    color: #6b7280;
}

.hbm-allowed {
    color: #0F766E;
    font-weight: 600;
}

.hbm-not-allowed {
    color: #ef4444;
}

/* Booking Card */
.hbm-booking-card {
    position: sticky;
    top: 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-top: 4px solid #0F766E;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.hbm-booking-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.hbm-booking-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.hbm-booking-price .hbm-amount {
    font-size: 28px;
    font-weight: 700;
    color: #0F766E;
}

.hbm-booking-price .hbm-period {
    font-size: 14px;
    color: #666;
}

.hbm-booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hbm-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hbm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.hbm-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.hbm-form-group input,
.hbm-form-group select {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
}

.hbm-form-group input:focus,
.hbm-form-group select:focus {
    outline: none;
    border-color: #0F766E;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.hbm-book-btn {
    background: #0F766E;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.hbm-book-btn:hover {
    background: #115e59;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.hbm-booking-info {
    margin-top: 15px;
    text-align: center;
    color: #6b7280;
}

/* Modal */
.hbm-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: auto;
}

.hbm-modal-content {
    position: relative;
    margin: 50px auto;
    max-width: 1200px;
    padding: 20px;
}

.hbm-modal-close {
    position: fixed;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: 700;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
}

.hbm-modal-close:hover {
    color: #ccc;
}

.hbm-modal-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hbm-modal-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Room Card (for archives) */
.hbm-room-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hbm-room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.hbm-room-card-link {
    text-decoration: none;
    color: inherit;
}

.hbm-room-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.hbm-room-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.hbm-room-card:hover .hbm-room-card-image img {
    transform: scale(1.1);
}

.hbm-room-card-content {
    padding: 20px;
}

.hbm-room-card-type {
    font-size: 12px;
    text-transform: uppercase;
    color: #0F766E;
    font-weight: 600;
    margin-bottom: 8px;
}

.hbm-room-card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #1a1a1a;
}

.hbm-room-card-features {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 15px;
}

.hbm-room-card-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.hbm-price {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.hbm-period {
    font-size: 14px;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 968px) {
    .hbm-room-content {
        grid-template-columns: 1fr;
    }

    .hbm-booking-card {
        position: static;
    }

    .hbm-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hbm-single-room-container {
        padding: 15px;
    }

    .hbm-room-title {
        font-size: 24px;
    }

    .hbm-price-amount {
        font-size: 28px;
    }

    .hbm-featured-image {
        height: 300px;
    }

    .hbm-gallery-grid {
        grid-template-columns: 1fr;
    }

    .hbm-gallery-item,
    .hbm-gallery-more {
        height: 250px;
    }

    .hbm-quick-info {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
        gap: 15px;
    }

    .hbm-amenities-grid {
        grid-template-columns: 1fr;
    }

    .hbm-form-row {
        grid-template-columns: 1fr;
    }

    .hbm-modal-content {
        margin: 20px;
        padding: 10px;
    }

    .hbm-modal-close {
        right: 20px;
    }
}