/* Booking Section */
.booking-section {
    padding: clamp(10px, 5vw, 60px) clamp(5px, 4vw, 20px); /* Flexible padding */
    background: linear-gradient(135deg, #f4f4f4, #ffffff);
    text-align: center;
    color: #333333;
    position: relative;
    overflow: hidden;
}

/* Section Header */
.booking-section h2 {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1rem, 5vw, 2.5rem); /* Scales smoothly */
    font-weight: 800;
    color: #111111;
    margin-bottom: clamp(10px, 4vw, 30px);
    text-transform: uppercase;
    letter-spacing: clamp(1px, 0.5vw, 3px);
}

.booking-section h2::after {
    content: '';
    display: block;
    width: clamp(30px, 20vw, 80px); /* Small but flexible underline */
    height: clamp(2px, 0.5vh, 4px);
    background: #ff6b6b;
    margin: 5px auto;
    border-radius: 3px;
    box-shadow: 0 1px 5px rgba(255, 107, 107, 0.5);
}

.booking-section p {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: #555555;
    margin: 0 auto clamp(10px, 5vw, 30px);
    max-width: 80%; /* Allow text to shrink */
    line-height: 1.5;
}

/* Booking Button */
#open-booking-modal {
    padding: clamp(5px, 1.5vw, 10px) clamp(10px, 4vw, 20px);
    border-radius: 20px;
    border: none;
    background: linear-gradient(135deg, #ff6b6b, #ff8c66);
    color: #ffffff;
    font-size: clamp(0.6rem, 3vw, 1rem);
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#open-booking-modal:hover {
    background: linear-gradient(135deg, #ff8c66, #ff6b6b);
    box-shadow: 0 2px 15px rgba(255, 107, 107, 0.4);
    transform: translateY(-3%);
}

#open-booking-modal:active {
    transform: translateY(0);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

/* Modal Content */
.modal-content {
    background: linear-gradient(135deg, #ffffff, #f7f7f7);
    border-radius: 10px;
    padding: clamp(10px, 5vw, 30px);
    max-width: 90%;
    width: clamp(150px, 50vw, 500px); /* Supports small widths */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    animation: popIn 0.5s ease-out;
}

@keyframes popIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Close Button */
.modal-content .close {
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: clamp(1rem, 5vw, 2rem);
    color: #999999;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.modal-content .close:hover {
    color: #ff6b6b;
    transform: rotate(360deg);
}

/* Form Fields */
.modal-content label {
    display: block;
    font-size: clamp(0.8rem, 3vw, 1rem);
    font-weight: bold;
    margin-bottom: 5px;
    color: #333333;
}

.modal-content input,
.modal-content select {
    width: 100%;
    padding: clamp(5px, 2vw, 10px);
    border: 1px solid #dddddd;
    border-radius: 5px;
    font-size: clamp(0.7rem, 3vw, 1rem);
    margin-bottom: 15px;
    background: #f9f9f9;
}

.modal-content input:focus,
.modal-content select:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 5px rgba(255, 107, 107, 0.4);
}

/* Submit Button */
.modal-content button[type="submit"] {
    padding: clamp(8px, 3vw, 12px) clamp(15px, 5vw, 20px);
    background: linear-gradient(135deg, #ff6b6b, #ff8c66);
    border: none;
    border-radius: 10px;
    font-size: clamp(0.8rem, 3vw, 1rem);
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-content button[type="submit"]:hover {
    background: linear-gradient(135deg, #ff8c66, #ff6b6b);
    transform: translateY(-2%);
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}
