﻿:root {
    --bg-blue: #1A2B48;
    --grey: #BEC8CF;
    --yellow: #FFCC00;
    --red: #FE0000;
    --white: white;
    --secondaryColor: #5E6D77;
    --bg-col: #1A2B48;
}

/*======================*/

.imgContent {
    background-image: url("./assets/CardImages/pxfuel.jpg");
    width: 100%;
    height: 400px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: -1;
}

    .imgContent h1 {
        position: absolute;
        inset: 50% 35%;
        transform: translate(-50%, -50%);
        font-size: 8rem;
        color: white;
        text-shadow: 0 2px 22px #000000;
        text-align: center;
        letter-spacing: 8rem;
    }

.aboutContent h1 {
    text-align: start;
    color: #ff1500;
}

.aboutContent {
    display: grid;
    gap: 1rem;
}

    .aboutContent h4 {
        color: #ff1500;
        font-weight: 600;
    }

    .aboutContent p {
        font-size: 1.4rem;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
        color: gray;
    }

    .aboutContent h2 {
        font-weight: 600;
        color: #ff1500;
    }

.aboutList li {
    font-size: 1.2rem;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}

    .aboutList li span {
        color: #ff1500;
        font-family: monospace;
    }
/*=================================================================================================================================================*/

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.gallery {
    width: 100%;
}

.galleryImg {
    width: 100%;
    height: 400px;
    object-fit: cover;
}


.gallery-head img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-head h1 {
    position: absolute;
    left: 50%;
    top: 40%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 4rem;
    transform: translate(-50%, -50%);
    color: #ff9b00;
    text-shadow: 0 5px 10px black;
}

.galleryGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 10px;
    padding: 20px;
}

    .galleryGrid div {
        border-radius: 6px;
        overflow: hidden;
    }

        .galleryGrid div img {
            object-fit: cover;
            width: 100%;
            height: 100%;
            transition: .3s
        }

.cell2, .cell8, .cell14 {
    grid-column: span 2
}

.cell3, .cell4, .cell12 {
    grid-row: span 2
}

    .cell12 img {
        object-position: right
    }

.galleryGrid div:hover img {
    scale: 1.2;
    cursor: pointer
}
/*=================================*/
/*   bookNow page  */

.bookContainer img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    position: relative;
    z-index: -2;
}

.bookContainer h1 {
    position: absolute;
    inset: 50% 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    text-shadow: 0 2px 22px #000000;
    text-align: center;
}

.bookNow > p {
    text-align: center;
    font-size: 1.2rem
}

.bookNow h2 {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 600;
    margin-bottom: 0;
    color: #2d67b2;
}

.bookNowContainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 3rem;
    box-shadow: 0 0 9px var(--bg-blue);
    border-radius: 15px 15px 100px 15px;
    overflow: hidden
}

.BookNowform {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 60px;
    grid-template-rows: 60px 60px 60px 120px;
    gap: 1rem;
    padding: 2rem 1rem;
}

    .BookNowform input, select, button {
        border: none;
        box-shadow: 0 0 5px var(--bg-col);
        border-radius: 10px;
        padding-left: 1rem;
        width: 100%;
    }

.bookNow button {
    color: var(--white);
    background-color: #2d67b2;
    text-transform: uppercase;
    transition: .3s
}

    .bookNow button:hover {
        color: var(--bg-blue);
        background-color: var(--white)
    }

.bookNow input:last-child {
    grid-column: span 2;
}

.bookNowDetails {
    padding: 2rem 1rem;
    background-color: #2d67b2;
    color: var(--white)
}

    .bookNowDetails p {
        font-size: .9rem;
        margin-bottom: 1rem;
    }

    .bookNowDetails ul li {
        list-style: disc;
        margin-left: 1rem;
        font-size: 1rem
    }


/* Styles for the image overlay */
.image-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#enlarged-image {
    max-width: 90%;
    max-height: 80%;
    margin: 0 auto;
    display: block;
    z-index: 1;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    z-index: 2;
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    z-index: 2;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}


@media screen and (max-width:800px) {
    .galleryGrid {
        grid-template-columns: 1fr;
    }

    .cell2, .cell8, .cell14 {
        grid-column: span 1
    }

    .cell3, .cell4, .cell12 {
        grid-row: span 1
    }

    .imgContent h1 {
        position: absolute;
        letter-spacing: 2px;
        font-size: 5rem;
    }
    /*   bookNow page  */
    .bookNow > h2 {
        font-size: 1.5rem
    }

    .bookNowContainer {
        grid-template-columns: 1fr;
        margin-top: 2rem;
        border-radius: 15px 15px 50px 15px;
    }

    .BookNowform {
        grid-template-columns: 1fr;
        grid-auto-rows: 60px;
        grid-template-rows: 60px 60px 60px 60px 60px 120px;
        padding: 1rem .5rem;
    }


    .bookNow button {
        grid-row: -1
    }

        .bookNow button:hover {
            color: var(--bg-blue);
            background-color: var(--white)
        }

    .bookNow input:last-child {
        grid-column: span 1;
    }

    .bookNowDetails {
        padding: 1rem;
    }
}
