/* General styles for the guest room section */
.guest-room-section * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.guest-room-section body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

/* Guest Room Section Styles */
.guest-room-section {
    width: 90%;
    max-width: 1200px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 30px auto;
    padding-bottom: 40px;
    background: linear-gradient(to right, #f1f1f1, #f7f7f7);
}

/* Title and Descriptions */
.guest-room-subheading {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}

.guest-room-text ul {
    list-style-type: none;
    padding-left: 0;
}

.guest-room-text li {
    margin: 10px 0;
    font-size: 16px;
}

/* Guest Room Details Layout */
.guest-room-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: space-between;
}

.guest-room-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.guest-room-image img:hover {
    transform: scale(1.05);
}

.guest-room-text {
    flex: 1;
}

/* Amenities Section */
.guest-room-amenity-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.guest-room-amenity {
    width: 48%;
    background-color: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    color: #7f8c8d; /* Default text color */
}

.guest-room-amenity:hover {
    background-color: #3498db;
    transform: translateY(-5px);
    color: white; /* Change text color to white on hover */
}

.guest-room-amenity h3 {
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 10px;
}

.guest-room-amenity p {
    color: #7f8c8d;
    font-size: 16px;
}



/* Booking Procedure Section */
.guest-room-booking-steps {
    margin-bottom: 40px;
}

.guest-room-booking-list {
    list-style-type: none;  /* Remove default numbering */
    padding-left: 0;
}

.guest-room-booking-list li {
    font-size: 16px;
    margin-bottom: 15px;
    padding-left: 30px;  /* Space for the steps */
    position: relative;
}

.guest-room-booking-list li .step-text {
    font-weight: bold;
    color: #2c3e50;
    margin-right: 10px;
}

.guest-room-booking-list li:before {
    content: "•";  /* Custom bullet point */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #3498db; /* Blue color for the bullet */
}

.guest-room-booking-list li:hover {
    background-color: #ecf0f1;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}






/* Booking Rules Section */
.guest-room-booking-rules {
    margin-bottom: 40px;
}

.guest-room-booking-rules ul {
    list-style-type: none;
    padding-left: 0;
}

.guest-room-booking-rules li {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Buttons - Align in a single row */
.guest-room-actions {
    display: flex;
    justify-content: center;
    gap: 20px; /* Equal gap between buttons */
    margin-top: 40px; /* Add some space between content and buttons */
}

.guest-room-actions a {
    display: inline-block;
    padding: 15px 30px;
    background-color: #2ecc71;
    color: white;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.guest-room-actions a:hover {
    background-color: #27ae60;
    transform: translateY(-5px);
    box-shadow: 0 12px 18px rgba(0, 0, 0, 0.2);
}

.guest-room-cancel-button {
    background-color: #e74c3c; /* Red for cancel */
}

.guest-room-cancel-button:hover {
    background-color: #c0392b;
}

.guest-room-detailed-rules-button {
    background-color: #3498db; /* Blue for detailed rules */
}

.guest-room-detailed-rules-button:hover {
    background-color: #2980b9;
}

.guest-room-feedback-button {
    background-color: #f39c12; /* Yellow for feedback */
}

.guest-room-feedback-button:hover {
    background-color: #e67e22;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .guest-room-info {
        flex-direction: column;
        align-items: center;
    }

    .guest-room-image {
        width: 100%;
        max-width: 400px;
    }

    .guest-room-text {
        text-align: center;
    }

    .guest-room-amenity {
        width: 100%;
    }

    .guest-room-amenity-list {
        flex-direction: column;
    }

    .guest-room-actions {
        flex-direction: column;
        align-items: center;
    }

    .guest-room-actions a {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .guest-room-section {
        padding: 10px;
    }

    .guest-room-subheading {
        font-size: 24px;
    }

    .guest-room-text {
        font-size: 14px;
    }

    .guest-room-image img {
        width: 100%;
        max-width: 100%;
    }

    .guest-room-amenity {
        width: 100%;
    }

    .guest-room-book-button {
        width: 100%;
    }

    .guest-room-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .guest-room-title {
        font-size: 22px;
    }

    .guest-room-description {
        font-size: 14px;
    }

    .guest-room-book-button {
        width: 100%;
        padding: 12px;
        font-size: 18px;
    }
}


/* Cancel Message Display Styles */
.cancel-message {
    display: none; /* Hidden by default */
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    width: 60%;
    max-width: 600px;
    z-index: 9999;
}

.cancel-message h3 {
    font-size: 22px;
    color: #2c3e50;
}

.cancel-message p {
    font-size: 16px;
    color: #7f8c8d;
}

.cancel-message a {
    color: #3498db;
    text-decoration: none;
}

.cancel-message a:hover {
    text-decoration: underline;
}

.cancel-message-close {
    background-color: #e74c3c;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.cancel-message-close:hover {
    background-color: #c0392b;
}


/* PDF Overlay Styles */
.pdf-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background-color: white;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    border-radius: 10px;
    overflow: hidden;
}

.pdf-overlay-content {
    position: relative;
    height: 100%;
}

.pdf-overlay-close {
    font-size: 30px;
    color: #ccc;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.pdf-overlay embed {
    width: 100%;
    height: 100%;
}

/* Responsive PDF Overlay */
@media (max-width: 768px) {
    .pdf-overlay {
        width: 95%;
        height: 90%;
        top: 5%;
        left: 2.5%;
    }
}
