/*=====================================================
                BOOKING PAGE
======================================================*/

.page-banner{

    height:320px;

    background:url("../images/banner.jpg") center center/cover no-repeat;

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

}

.page-banner .overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.55);

    display:flex;

    align-items:center;

    justify-content:center;

}

.page-banner .container{

    position:relative;

    z-index:2;

    text-align:center;

    color:#fff;

}

.page-banner h1{

    font-size:48px;

    font-weight:700;

    margin-bottom:15px;

}

.page-banner p{

    font-size:18px;

    opacity:.95;

}


/*=====================================================
                BOOKING SECTION
======================================================*/

.booking-section{

    background:#f6f8fc;

    padding:80px 0;

}

.booking-grid{

    display:grid;

    grid-template-columns:360px 1fr;

    gap:35px;

    align-items:start;

}


/*=====================================================
                ROOM SUMMARY
======================================================*/

.room-summary{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    position:sticky;

    top:100px;

}

.room-summary img{

    width:100%;

    height:250px;

    object-fit:cover;

}

.room-summary h2{

    padding:22px 25px 10px;

    font-size:28px;

    color:#222;

}

.summary-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:16px 25px;

    border-top:1px solid #ececec;

}

.summary-item span{

    color:#666;

    font-size:15px;

}

.summary-item strong{

    color:#0057d9;

    font-size:17px;

}


/*=====================================================
                BOOKING FORM
======================================================*/

.booking-form{

    background:#fff;

    padding:35px;

    border-radius:18px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.form-title{

    font-size:28px;

    color:#222;

    margin-top:35px;

    margin-bottom:25px;

    padding-bottom:12px;

    border-bottom:2px solid #f0f0f0;

}

.form-title:first-child{

    margin-top:0;

}

/*=====================================================
                FORM GRID
======================================================*/

.form-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:22px;

    margin-bottom:25px;

}

.full-width{

    grid-column:1 / -1;

}


/*=====================================================
                LABELS
======================================================*/

.booking-form label{

    display:block;

    font-size:15px;

    font-weight:600;

    color:#333;

    margin-bottom:8px;

}

.booking-form label span{

    color:#e53935;

}


/*=====================================================
                INPUTS
======================================================*/

.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"],
.booking-form input[type="date"],
.booking-form input[type="number"],
.booking-form select,
.booking-form textarea{

    width:100%;

    padding:14px 16px;

    font-size:15px;

    font-family:'Poppins',sans-serif;

    border:1px solid #d9d9d9;

    border-radius:10px;

    background:#fff;

    transition:.30s;

    box-sizing:border-box;

}


/*=====================================================
                TEXTAREA
======================================================*/

.booking-form textarea{

    resize:vertical;

    min-height:120px;

    line-height:1.7;

}


/*=====================================================
                FILE UPLOAD
======================================================*/

.booking-form input[type="file"]{

    width:100%;

    padding:12px;

    border:1px dashed #cfcfcf;

    border-radius:10px;

    background:#fafafa;

    cursor:pointer;

    font-family:'Poppins',sans-serif;

}


/*=====================================================
                PLACEHOLDER
======================================================*/

.booking-form input::placeholder,
.booking-form textarea::placeholder{

    color:#999;

}


/*=====================================================
                FOCUS EFFECT
======================================================*/

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus{

    border-color:#0057d9;

    box-shadow:0 0 0 4px rgba(0,87,217,.10);

    outline:none;

}


/*=====================================================
                DATE PICKER
======================================================*/

.booking-form input[type="date"]{

    cursor:pointer;

}


/*=====================================================
                SELECT BOX
======================================================*/

.booking-form select{

    cursor:pointer;

    appearance:none;

    -webkit-appearance:none;

    -moz-appearance:none;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5L8 12l6.5-6.5'/%3E%3C/svg%3E");

    background-repeat:no-repeat;

    background-position:right 15px center;

    background-size:16px;

    padding-right:45px;

}


/*=====================================================
                READONLY INPUTS
======================================================*/

.booking-form input[readonly]{

    background:#f5f7fb;

    font-weight:600;

    color:#0057d9;

}


/*=====================================================
                SECTION SPACING
======================================================*/

.booking-form h2{

    margin-top:40px;

}

.booking-form h2:first-child{

    margin-top:0;

}

/*=====================================================
                PAYMENT SECTION
======================================================*/

.payment-section{

    margin-top:20px;

}

.payment-option{

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:14px;

    padding:22px;

    margin-bottom:20px;

    transition:.30s;

}

.payment-option:hover{

    border-color:#0057d9;

    box-shadow:0 10px 30px rgba(0,87,217,.08);

}

.payment-option label{

    display:flex;

    align-items:center;

    gap:10px;

    font-size:17px;

    font-weight:600;

    color:#222;

    cursor:pointer;

    margin-bottom:15px;

}

.payment-option input[type="radio"]{

    width:18px;

    height:18px;

    accent-color:#0057d9;

}


/*=====================================================
                QR CODE
======================================================*/

.qr-box{

    text-align:center;

    margin-top:20px;

    padding:20px;

    background:#f8fbff;

    border:1px dashed #0057d9;

    border-radius:15px;

}

.qr-box img{

    width:220px;

    max-width:100%;

    border-radius:10px;

    background:#fff;

    padding:10px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

}

.qr-box p{

    margin-top:18px;

    color:#555;

    font-size:15px;

    line-height:1.7;

}


/*=====================================================
                BOOKING SUMMARY
======================================================*/

.booking-summary{

    background:#ffffff;

    border-radius:15px;

    border:1px solid #e8e8e8;

    overflow:hidden;

    margin-top:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

}

.booking-summary table{

    width:100%;

    border-collapse:collapse;

}

.booking-summary td{

    padding:18px 20px;

    border-bottom:1px solid #ececec;

    font-size:16px;

}

.booking-summary tr:last-child td{

    border-bottom:none;

}

.booking-summary td:first-child{

    color:#666;

}

.booking-summary td:last-child{

    text-align:right;

    font-weight:700;

    color:#0057d9;

}


/*=====================================================
                TOTAL AMOUNT
======================================================*/

#displayTotal{

    font-size:24px;

    color:#0f766e;

    font-weight:700;

}


/*=====================================================
                TERMS & CONDITIONS
======================================================*/

.terms-box{

    margin-top:30px;

    background:#fff8e8;

    border:1px solid #ffe08a;

    border-radius:12px;

    padding:18px 20px;

}

.terms-box label{

    display:flex;

    align-items:flex-start;

    gap:10px;

    cursor:pointer;

    color:#444;

    line-height:1.7;

    font-size:15px;

}

.terms-box input[type="checkbox"]{

    margin-top:3px;

    accent-color:#0057d9;

}


/*=====================================================
                PAYMENT NOTICE
======================================================*/

.payment-note{

    margin-top:20px;

    padding:15px 18px;

    border-left:4px solid #0057d9;

    background:#eef6ff;

    color:#444;

    border-radius:8px;

    line-height:1.7;

    font-size:15px;

}

/*=====================================================
                BUTTON SECTION
======================================================*/

.booking-buttons{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    margin-top:40px;

    flex-wrap:wrap;

}

.back-btn,
.confirm-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    min-width:220px;

    height:56px;

    border:none;

    border-radius:50px;

    font-size:17px;

    font-weight:600;

    font-family:'Poppins',sans-serif;

    cursor:pointer;

    text-decoration:none;

    transition:all .35s ease;

}


/*=====================================================
                BACK BUTTON
======================================================*/

.back-btn{

    background:#ffffff;

    color:#0057d9;

    border:2px solid #0057d9;

}

.back-btn:hover{

    background:#0057d9;

    color:#ffffff;

    transform:translateY(-3px);

    box-shadow:0 12px 30px rgba(0,87,217,.25);

}


/*=====================================================
                CONFIRM BUTTON
======================================================*/

.confirm-btn{

    background:linear-gradient(135deg,#0057d9,#0d8bff);

    color:#ffffff;

    box-shadow:0 15px 35px rgba(0,87,217,.30);

}

.confirm-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 20px 45px rgba(0,87,217,.40);

}


/*=====================================================
                ICONS
======================================================*/

.back-btn i,
.confirm-btn i{

    font-size:18px;

}


/*=====================================================
                HOVER EFFECTS
======================================================*/

.room-summary,
.booking-form,
.booking-summary,
.payment-option{

    transition:all .35s ease;

}

.room-summary:hover,
.booking-form:hover{

    box-shadow:0 20px 50px rgba(0,0,0,.12);

}


/*=====================================================
                IMAGE EFFECT
======================================================*/

.room-summary img{

    transition:transform .5s ease;

}

.room-summary:hover img{

    transform:scale(1.05);

}


/*=====================================================
                FADE ANIMATION
======================================================*/

.booking-section{

    animation:fadeUp .7s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/*=====================================================
                MOBILE RESPONSIVE
======================================================*/

@media(max-width:1100px){

    .booking-grid{

        grid-template-columns:1fr;

    }

    .room-summary{

        position:static;

    }

}


@media(max-width:768px){

    .page-banner{

        height:240px;

    }

    .page-banner h1{

        font-size:34px;

    }

    .page-banner p{

        font-size:16px;

    }

    .booking-section{

        padding:50px 0;

    }

    .booking-form{

        padding:25px;

    }

    .room-summary h2{

        font-size:24px;

    }

    .form-title{

        font-size:24px;

    }

    .form-grid{

        grid-template-columns:1fr;

    }

    .booking-buttons{

        flex-direction:column;

    }

    .back-btn,
    .confirm-btn{

        width:100%;

    }

    .summary-item{

        padding:14px 18px;

    }

}


@media(max-width:480px){

    .page-banner{

        height:200px;

    }

    .page-banner h1{

        font-size:28px;

    }

    .booking-form{

        padding:20px;

    }

    .room-summary img{

        height:200px;

    }

    .qr-box img{

        width:180px;

    }

    .booking-summary td{

        padding:14px;

        font-size:14px;

    }

    #displayTotal{

        font-size:20px;

    }

}


/*=====================================================
                END OF BOOKING.CSS
======================================================*/