h1 {
    font-size: 2.5rem;
}
/* Carousel container styling */
.carousel-container {
    position: relative;
    width: 100%;
    max-height: 550px;
    margin: auto;
    overflow: hidden;
}

/* Image carousel slides styling */
.image-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Individual slide styling */
.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

/* Image styling */
.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Button styling */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.hotel-detail-container {
    display: flex;
    justify-content: space-between;
}

.hotel-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
}

.location-icon {
    font-size: 1.5em;
    color: #007bff !important;
}

.location-icon img {
    height: 20px;
    object-fit: cover;
}

#hotel-location {
    font-size: 1rem;
    margin: 0;
}

#view-on-map {
    margin-left: auto;
    color: #007bff;
    text-decoration: none;
    font-size: 1em;
}

#view-on-map:hover {
    text-decoration: underline;
}

.hotel-description {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    background-color: #fff;
}

.hotel-description h3 {
    font-size: 1.5em;
    margin-bottom: 12px;
}

.hotel-description p {
    font-size: 1em;
    line-height: 1.6;
    overflow: hidden;
    transition: max-height 0.3s ease;
    max-height: 100px;
}

.hotel-description p.expanded {
    max-height: none;
}

.hotel-description #show-more-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.hotel-description #show-more-btn:hover {
    background-color: #0056b3;
}

.hotel-facilities {
    padding: 16px;
    border-radius: 8px;
    width: 40%;
    margin: 0 auto;
}

.hotel-facilities h2 {
    font-size: 1.3em;
    margin-bottom: 16px;
    text-align: left;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
    gap: 8px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    position: relative;
}

.facility-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    position: relative;
    cursor: pointer;
}

.facility-item i {
    font-size: 0.5em;
    color: #007bff;
    margin-bottom: 8px;
}

.facility-item p {
    font-size: 0.9em;
    margin: 0;
    color: darkblue;
}

.facility-item p span {
    color: black;
}

.facilities-grid.expand {
    max-height: none;
}

.toggle-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle-btn:hover {
    background-color: #0056b3;
}

.interactive-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s, background-color 0.3s;
}

.interactive-link:hover {
    color: #0056b3;
    background-color: #e0f7ff;
    text-decoration: underline;
}

.map-section {
    display: none;
    margin-top: 20px;
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.map-section iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* Container styling */
.more-info-data {
    display: flex;
    flex-wrap: wrap;
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    gap: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Individual item styling */
.more-data-item {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 200px;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Icon styling */
.icon {
    font-size: 24px;
    color: #007bff;
    margin-right: 15px;
}

/* Content styling */
.data-content {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Header styling */
.data-content h6 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* Link styling */
.data-content a {
    color: #007bff;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.data-content a:hover {
    text-decoration: underline;
}

/* Tooltip styling */
.more-data-item:hover .tooltip {
    display: block;
}

.tooltip {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 10;
    font-size: 14px;
}

/* General form container styling */
.review-form-container {
    max-width: 100%;

    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

/* Styling for the form elements */
.review-form-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Form group styling */
.review-form-container .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.review-form-container label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* Styling for select and textarea elements */
.review-form-container select,
.review-form-container textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s ease;
}

.review-form-container select:focus,
.review-form-container textarea:focus {
    border-color: #007bff;
    outline: none;
}

/* Styling for the submit button */
.review-form-container button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.review-form-container button:hover {
    background-color: #0056b3;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination__item {
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.pagination__item--active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.pagination__item--disabled {
    background-color: #f5f5f5;
    color: #999;
    border-color: #ddd;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }
    .hotel-description {
        padding: 12px;
    }

    .hotel-description h3 {
        font-size: 1.25em;
    }

    .hotel-description p {
        font-size: 0.9em;
    }

    .hotel-description #show-more-btn {
        font-size: 0.9em;
    }

    .hotel-detail-container {
        flex-direction: column;
    }
    .facilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hotel-facilities {
        width: 100%;
        margin: 0;
    }

    .more-info-data {
        flex-direction: column;
        padding: 15px;
    }

    .more-data-item {
        flex-direction: column;
        align-items: flex-start;
        min-width: 100%;
        text-align: left;
    }

    .icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .review-form-container {
        padding: 15px;
    }

    .form-group {
        flex-direction: column;
    }

    select,
    textarea {
        font-size: 14px;
    }

    button {
        font-size: 14px;
        padding: 8px 16px;
    }
}


.hotel-booking-title {
    text-align: center;
    margin-bottom: 30px;
}

.booking-room-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

.hotel-room-images {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
}

.room-images-container {
    margin-bottom: 30px;
}

.room-image-cell {
    width: 100%;
}

.room-name {
    margin-bottom: 10px;
}

.main-photo-wrapper {
    margin-bottom: 10px;
}

.room-main-photo {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.additional-photos-wrapper {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.room-additional-photo {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.booking-sidebar {
    background-color: #f2f2f2;
    border-radius: 8px;
    padding: 10px;
}

.reserve-now {
    display: block; 
    width: 100%; 
    padding: 15px;
    text-align: center; 
    background-color: #007bff; 
    color: white; 
    text-decoration: none; 
    border-radius: 5px; 
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.reserve-now:hover {
    background-color: #0056b3;
    transform: scale(1.05); 
}

.nearby-hotels-section {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .booking-room-grid {
        grid-template-columns: 1fr;
    }
}
