/* =========================================================
   AeroCapital Website
   Booking Page Stylesheet
   ---------------------------------------------------------
   Description: contains styles for the booking page (FULLY RESPONSIVE)
   Author: Shayan Bhatti https://github.com/Shayan-Bhatti
   ========================================================= */

#booking {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background-color: #031D37;
    padding: 4rem 0; 
    gap: 2rem; 
}

#booking_content {
    padding-left: 5vw; 
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%; 
}

#booking_content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4.5vw, 3rem); 
    line-height: 1.3;
    font-weight: 800;
    color: white;
    text-align: left;
    margin: 0 0 var(--basic_vertical_space) 0;
}

#booking_divider {
    width: 50px;
    height: 6px;
    background-color: #F60837; 
    margin: 0 0 var(--basic_vertical_space) 0;
}

#booking_content p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: #e0e0e0; 
    margin: 0 0 calc(var(--basic_vertical_space) + 15px) 0;
    text-align: justify; 
    line-height: 1.6;
}

#btn_booking {
    text-decoration: none;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    background-color: #BB1B25;
    border-radius: 5px;
    cursor: pointer;
    max-width: 280px; 
    transition: background-color 0.3s ease, transform 0.2s ease; 
}

#btn_booking:hover {
    background-color: #d12330; 
    transform: translateY(-2px); 
}

#booking_image {
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    height: 100%;
}

#booking_image img {
    width: 90%;
    max-width: 600px; 
    height: auto;
    object-fit: cover;
}


@media(max-width: 850px) {
    #booking {
        grid-template-columns: 1fr;
        padding: 3rem 0 0 0;
        
        align-items: end; 
    }

    #booking_content {
        padding: 0 2rem; 
        width: 100%; 
        align-items: flex-start;
    }

    #booking_content h2, 
    #booking_content p {
        text-align: left; 
    }

    #booking_divider {
        margin-left: 0;
        margin-right: 0;
    }

    #btn_booking {
        width: max-content;
        padding: 0 2rem;
    }

    #booking_image {
        margin-top: 2rem;
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    #booking_image picture {
        display: flex;
        width: 100%;
    }

    #booking_image img {
        width: 80%; 
        
        display: block; 
        
        margin-left: auto; 
        transform: translateY(15px);
    }
}
@media(max-width: 655px){
    #booking_image img {
        width: 90%; 
    }

}