/* Rooms Specific Styles */
.room-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    height: 100%;
    background: white;
}



.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.room-img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--ourgreen1);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.room-price {
    color: var(--ourgreen1);
    font-weight: 700;
    font-size: 1.5rem;
}

.room-price small {
    font-size: 0.9rem;
    color: var(--text-light);
}

.amenities-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 15px;
}

.room-feature {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.room-feature i {
    color: var(--ourgreen1);
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.room-rating-compact {
    display: flex;
    align-items: center;
    gap: 4px;
}

.room-rating-compact .rating-stars {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.room-rating-compact .avg-rating {
    font-weight: 600;
    color: var(--ourgreen1);
    font-size: 0.9rem;
}

.room-rating-compact .review-count {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Room Gallery */
.room-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 100px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Modal Header Image */
.modal-header-image {
    padding: 0;
    position: relative;
    border-bottom: none;
}

.modal-header-image img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Room Details Content */
.room-details-content {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}

.room-details-content::-webkit-scrollbar {
    width: 8px;
}

.room-details-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.room-details-content::-webkit-scrollbar-thumb {
    background: var(--ourgreen1);
    border-radius: 10px;
}

/* Meal Options */
.meal-option {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.meal-option:hover,
.meal-option.selected {
    border-color: var(--ourgreen1);
    background-color: rgba(56, 118, 29, 0.05);
}

.meal-option input[type="radio"] {
    margin-right: 10px;
}

.meal-details {
    margin-top: 10px;
    padding-left: 25px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Price Summary */
.price-summary {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
}

.price-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--ourgreen1);
}

.note-box {
    background: #fff8e1;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--ourgreen1);
    margin: 20px 0;
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .amenities-list {
        grid-template-columns: 1fr;
    }
    
    .room-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .room-details-content {
        max-height: 60vh;
    }
}

@media (max-width: 576px) {
    .room-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 150px;
    }
}