@import url("utilities.css");

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5000;

    img {
        width: 125px;
    }
}

nav {
    height: 60px;
    background-color: white;

    .container {
        display: flex;
        justify-content: space-between;
        align-items: center;

        img {
            height: 50px;
            width: 50px;
            margin-top: 5px;
        }

        ul {
            display: flex;
            height: 100% !important;
            list-style: none;
            margin-bottom: 0;

            a {
                display: block;
                text-decoration: none;
                margin-bottom: 0;
                padding: 12px 24px;
                color: var(--text);
            }

            li {
                height: 100% !important;
                margin-bottom: 0;
            }
        }
    }
}

#mobile_toggle {
    display: none;
}

#mobile_nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 5000;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../img/bg/2.jpg");
    background-size: cover;
    background-position: center;
    transition: all 0.4s linear;
    transform: translateX(-100%);

    &.active {
        transform: translateX(0);
    }

    ul {
        padding-left: 0;
        list-style: none;

        a {
            display: block;
            text-decoration: none;
            padding: 32px 102px;
            color: white;
            font-weight: 500;
            border-bottom: 1px solid white;
        }
    }

    .btn {
        position: absolute;
        bottom: 50px;
        font-weight: 400;
        width: calc(100% - 48px);
        font-size: 17px;
        padding-top: 13px;
        padding-bottom: 13px;
    }

    .mobile_toggle {
        width: 40px;
        height: 40px;
        position: absolute;
        top: 50px;
    }
}

header {
    height: 300px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../img/bg/1.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;

    h1 {
        color: aliceblue;
        font-size: 48px;
    }
}

.swiper-container {
    width: 100%;
    height: 60vh;

    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        text-align: center;
        height: 100%;
        background-image: url("../img/bg/1.jpg");
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;

        &#two {
            background-image: url("../img/bg/2.jpg");
        }

        &#three {
            background-image: url("../img/bg/3.jpg");
        }
    }

    .slide-content {
        z-index: 2;
    }

    .slide-title {
        font-size: 3rem;
        font-weight: bold;
        margin: 0;
    }

    .slide-subtitle {
        font-size: 1.5rem;
        margin-top: 1rem;
    }

    .swiper-pagination-bullet-active {
        background: var(--primary);
    }

    .swiper-pagination {
        outline: 2px solid red;
    }
}

/* Catering */
#catering {
    background-image: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url("../img/bg/2.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: white !important;
}

/* Menu Page */
#menu_container {
    .card {
        border-radius: 16px;
        border: none;
        text-align: center;
        height: 100%;
        cursor: pointer;
        transition: all 0.4s linear;
        position: relative;
        overflow: hidden;

        &:hover {
            transform: translateY(-3px);

            .cover {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .cover {
            position: absolute;
            top: 0;
            left: 0;
            background-color: var(--primary);
            width: 100%;
            height: 100%;
            z-index: 1;
            transition: all 0.4s linear;
            transform: translateY(-100%);
            opacity: 0;
        }

        .card-body {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .top {
            margin-bottom: 16px;
            position: relative;
            z-index: 5;
        }

        .description {
            color: var(--light);
            font-size: 14px;
        }

        .image {
            height: 270px;
            background-color: var(--light);
            border-radius: 13px;
            background-position: center;
            background-size: cover;
            margin-bottom: 18px;
            overflow: hidden;

            img {
                height: 100%;
            }
        }

        .name {
            margin-bottom: 0;
            font-family: "Playfair Display", serif;
        }

        .price {
            background-color: var(--primary);
            display: inline-block;
            margin-top: 12px;
            padding: 6px 16px;
            border-radius: 8px;
            font-family: "Playfair Display", serif;
            font-weight: 600;
            position: relative;
            z-index: 5;
        }
    }
}

#how_to_order {
    background-image: linear-gradient(rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.876)), url("../img/bg/2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--light-text);
    text-align: center;

    img {
        width: 46px;
        margin-bottom: 18px;
        filter: invert(1) brightness(2) saturate(0);
    }
}

footer {
    background-color: var(--primary);
    padding-top: 14px;
    padding-bottom: 14px;

    #signature {
        a {
            color: var(--text);
            font-weight: bold;
        }
    }
}

#connect {
    #socials {
        display: flex;
        justify-content: center;
        margin: 0 auto;
        margin-top: 20px;
    }

    img {
        width: 38px;
        margin-left: 12px;
    }
}

@media only screen and (max-width: 768px) {
    .desktop_item {
        display: none !important;
    }

    #signature {
        margin-top: 22px;
    }

    #mobile_toggle {
        display: block;
        height: 40px;
        width: 40px;
    }

    #how_to_order {
        .col-md-3 {
            margin-bottom: 52px;
        }
    }

    #contact_cards {
        .col-md-4 {
            margin-bottom: 16px;
        }
    }
}

/* Gallery page  */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 240px;
    gap: 12px;

    .item {
        /* border-radius: 16px; */
        padding: 12px;
        color: black;
        background-color: var(--primary-light);
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        text-align: center;
        transition: all 0.4s linear;
        background-color: var(--light-text);
        background-image: url("../img/bg/2.jpg");
        background-size: cover;
        background-position: center;

        &:hover {
            scale: 1.025;
        }
    }

    .big {
        grid-row: span 2;
        grid-column: span 2;
    }

    .tall {
        grid-row: span 2;
    }

    .wide {
        grid-column: span 2;
    }
}

/* Contact Us  */
#contact_cards {
    .card {
        text-align: center;
        height: 100%;
        cursor: pointer;

        .image {
            width: 70px;
            height: 70px;
            border: 1px solid #cdcdcd;
            border-radius: 250px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 auto;
            margin-bottom: 24px;

            img {
                width: 30px;
                height: 30px;
            }
        }
    }
    span {
        display: block;
        font-size: 14px;
        color: var(--light);
    }
}

/* Catering */
.catering_card {
    height: 320px;
    background-size: cover;
    background-repeat: no-repeat;
    color: aliceblue;

    .card-body {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    &#corporate {
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.61), rgba(0, 0, 0, 0.61), rgba(0, 0, 0, 0.65), black), url("../img/catering/corporate.jpg");
    }

    &#wedding {
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.61), rgba(0, 0, 0, 0.61), rgba(0, 0, 0, 0.65), black), url("../img/catering/wedding.jpg");
    }

    &#birthday {
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.61), rgba(0, 0, 0, 0.61), rgba(0, 0, 0, 0.65), black), url("../img/catering/birthday.jpg");
    }

    &#baby {
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.61), rgba(0, 0, 0, 0.61), rgba(0, 0, 0, 0.65), black), url("../img/catering/baby.jpg");
    }

    &#picnic {
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.61), rgba(0, 0, 0, 0.61), rgba(0, 0, 0, 0.65), black), url("../img/catering/picnic.jpg");
    }

    &#festival {
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.61), rgba(0, 0, 0, 0.61), rgba(0, 0, 0, 0.65), black), url("../img/catering/festival.jpg");
    }
}

/* Reviews */
#why_us {
    background-color: white;

    img {
        width: 60px;
        margin-bottom: 16px;
    }
}

#reviews {
    .card {
        border: none !important;
        border-radius: 16px;

        .card-body {
            min-height: 200px;
        }

        .user {
            display: flex;
            .image {
                width: 50px;
                height: 50px;
                background-color: var(--primary);
                display: flex;
                align-items: center;
                justify-content: center;
                color: aliceblue;
                font-size: 32px;
                font-weight: 700;
                border-radius: 12px;
                margin-bottom: 12px;
            }

            .details {
                margin-left: 1em;

                h6 {
                    margin-bottom: 2px;
                    font-weight: 600;
                }

                .stars {
                    img {
                        width: 18px;
                        margin-right: 2px;
                    }
                }
            }
        }
    }
}

#check_menu {
    cursor: pointer;
}

/* Tabs */
a.nav-link {
    color: var(--primary) !important;
    margin-bottom: 8px;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff !important;
    background-color: var(--primary) !important;
}
