/* Hero Section Styles */
.rooms-hero {
    position: relative;
    height: 75vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    margin-bottom: 50px;
}
.subtitle{
    color: white;
}
.rooms-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.rooms-hero-content {
    position: relative;
    z-index: 2;
}

.rooms-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

/* Gallery Styles */
.room-gallery-container {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 20%;
    max-height: 500px; /* Adjust based on main image height */
    overflow-y: auto;
}

.thumb-img {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    object-fit: cover;
    height: 100px;
}

.thumb-img.active,
.thumb-img:hover {
    opacity: 1;
    border: 2px solid #c19b76;
}

.gallery-main {
    width: 80%;
    position: relative;
}

.main-img {
    width: 100%;
    height: 500px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 15px;
    transition: opacity 0.2s ease;
}

.view-all-photos {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
}

/* Room Details Layout */
.room-title-block h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    display: inline-block;
}

.badge-luxury {
    background-color: #2F4F4F; /* Dark Slate Gray */
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    vertical-align: middle;
    margin-left: 10px;
}

.rating {
    float: right;
    color: #0375ba;
    font-weight: 600;
}

.room-location {
    color: #777;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.room-price {
    font-size: 1.5rem;
    color: #222;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.room-price span {
    font-size: 1rem;
    color: #777;
    font-weight: 400;
}

.room-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.room-icons span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #555;
    font-weight: 600;
}

.room-icons i {
    color: #0375ba;
    font-size: 1.1rem;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

.overview-text {
    line-height: 1.7;
    color: #666;
    margin-bottom: 40px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-weight: 500;
}

.amenity-item i {
    color: #0375ba;
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.booking-rules-grid {
    display: flex;
    gap: 50px;
    margin-bottom: 40px;
}

.rule-column h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.rule-list {
    list-style: none;
    padding: 0;
}

.rule-list li {
    margin-bottom: 10px;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rule-list li i {
    color: #0375ba;
    font-size: 0.8rem;
}

/* Booking Sidebar */
.booking-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px; /* Adjust based on header height */
}

.booking-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.booking-form .form-group {
    margin-bottom: 20px;
}

.booking-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #333;
}

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

.booking-form input:focus,
.booking-form select:focus {
    border-color: #c19b76;
    outline: none;
}

.btn-book-submit {
    width: 100%;
    background-color: #0375ba; /* Vayro Blue */
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-book-submit:hover {
    background-color: #025a91; /* Darker Blue */
}

/* Map Placeholder */
.map-placeholder {
    width: 100%;
    height: 250px;
    background: #f0f0f0;
    border-radius: 15px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

/* Responsiveness */
@media (max-width: 991px) {
    .rooms-hero {
        height: 40vh;
    }

    .room-gallery-container {
        flex-direction: column-reverse;
    }

    .gallery-thumbs {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }

    .thumb-img {
        width: 80px;
        height: 60px;
        flex: 0 0 auto;
    }

    .gallery-main {
        width: 100%;
    }
    
    .rating {
        float: none;
        display: block;
        margin-top: 5px;
    }
    
    .room-icons {
        flex-wrap: wrap;
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .booking-card {
        margin-top: 40px;
        position: static;
    }
}

@media (max-width: 576px) {
    .rooms-hero h1 {
        font-size: 2rem;
    }
    
    .gallery-main .main-img {
        height: 300px;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-rules-grid {
        flex-direction: column;
        gap: 20px;
    }
}
