/* Rooms Page Styles */

.page-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('../images/MyCribHeader.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.2rem;
}

.rooms-detail {
    padding: 80px 0;
}

.room-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
    align-items: center;
}

.room-detail-card.reverse {
    direction: rtl;
}

.room-detail-card.reverse > * {
    direction: ltr;
}

.room-detail-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}

.room-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-detail-info h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.room-detail-info h2 i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.room-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.room-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.room-features li {
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.room-features i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.room-amenities {
    padding: 80px 0;
    background: linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.9)), 
                url('../images/background-room-amenities.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.amenities-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.amenity-detail {
    text-align: center;
}

.amenity-detail i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.amenity-detail h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.amenity-detail p {
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .room-detail-card,
    .room-detail-card.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        direction: ltr;
    }
    
    .room-detail-image {
        height: 300px;
    }
    
    .room-features {
        grid-template-columns: 1fr;
    }
}
