/* VISIT ROOM LAYOUT CSS */

.room-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    font-family: 'Source Sans Pro', 'Montserrat', sans-serif;
    color: #333;
}

/* Room Header Styling */
.room-title-header {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

.room-title-header h1 {
    font-family: 'Montserrat', serif;
    font-weight: 400;
    font-size: 2.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #111;
    margin: 0;
}

/* Center-Mode Carousel Styling */
.room-carousel-container {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
    background-color: #fafafa;
    padding: 20px 0;
}

.carousel-track-container {
    width: 100%;
    position: relative;
}

.carousel-track {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.carousel-slide {
    flex-shrink: 0;
    width: 60vw;
    height: 480px;
    margin: 0 15px;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.45;
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Carousel Control Toggles */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #222;
    width: 40px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: #222;
    color: #fff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.carousel-prev {
    left: 4vw;
}

.carousel-next {
    right: 4vw;
}

.carousel-prev i,
.carousel-next i {
    font-size: 1.1rem;
}

/* Left-Right Split Content Section */
.room-split-container {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    position: relative;
}

.room-left-content {
    flex: 1;
}

.room-right-content {
    width: 360px;
    flex-shrink: 0;
}

/* Sections Styling */
.room-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #111;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #222;
    padding-bottom: 8px;
    display: inline-block;
}

.room-overview-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.room-overview-highlights {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #222;
    font-weight: 700;
    background-color: #fcfcfc;
    border-left: 3px solid #222;
    padding: 15px 20px;
    margin: 25px 0;
}

/* Amenities Grid Layout */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px 30px;
    margin-top: 15px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #444;
    padding: 8px 0;
}

.amenity-item i {
    font-size: 1.3rem;
    color: #444;
    width: 24px;
    text-align: center;
}

.amenity-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Info Columns for Rules & Facilities */
.info-cols {
    display: flex;
    gap: 40px;
    margin-top: 15px;
}

.info-col {
    flex: 1;
}

.info-col h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
    text-transform: capitalize;
}

.info-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-col ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
}

.info-col ul li i {
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 0.85rem;
    color: #5cb85c;
}

/* Sticky Booking Box Layout */
.booking-sticky-box {
    position: sticky;
    top: 20px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.booking-header {
    background: #1e1e1e;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.booking-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin: 0;
    text-transform: uppercase;
    color: var(--ast-global-color-3);
}

.booking-fields {
    padding: 25px 20px;
}

.booking-field-group {
    margin-bottom: 20px;
}

.booking-field-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.booking-field-group select,
.booking-field-group input[type="date"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #333;
    background-color: #fff;
    transition: border-color 0.3s;
}

.booking-field-group select:focus,
.booking-field-group input[type="date"]:focus {
    border-color: #222;
    outline: none;
}

.booking-status {
    text-align: center;
    font-size: 0.85rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.booking-status.warning {
    color: #d9534f;
}

.booking-status.success {
    color: #5cb85c;
}

.book-now-btn {
    display: block;
    width: 100%;
    background: #1e1e1e;
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: none;
    box-sizing: border-box;
}

.book-now-btn:hover:not(.disabled) {
    background: #444;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.book-now-btn.disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Other Rooms Section styling */
.other-rooms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 25px;
    margin-bottom: 60px;
}

.other-room-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: block;
}

.other-room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.other-room-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.other-room-info {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #f9f9f9;
}

.other-room-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
    color: #222;
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
    .carousel-slide {
        width: 75vw;
        height: 350px;
    }

    .room-split-container {
        flex-direction: column;
        gap: 40px;
    }

    .room-left-content {
        order: 2;
    }

    .room-right-content {
        order: 1;
        width: 100%;
    }

    .booking-sticky-box {
        position: relative;
        top: 0;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .room-title-header h1 {
        font-size: 1.8rem;
    }

    .carousel-slide {
        width: 85vw;
        height: 260px;
        margin: 0 8px;
    }

    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 60px;
    }

    .carousel-prev {
        left: 2vw;
    }

    .carousel-next {
        right: 2vw;
    }

    .info-cols {
        flex-direction: column;
        gap: 25px;
    }

    .other-rooms-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .other-room-image {
        height: 200px;
    }
}