@import 'global';

/**********************************************
    Start Public Classes
**********************************************/
.section {
    position: relative;
    padding: 70px 0 ;
    overflow: hidden;
}

.swiper-container {
    // pagination
    .swiper-pagination {
        bottom: 0;
        .swiper-pagination-bullet {
            width: 10px;
            height: 10px;
            border-radius: 25px;
        }
        .swiper-pagination-bullet-active {
            width: 20px;
            background: var(--primary);
        }
    }
    // nav buttons
    .swiper-button-next, 
    .swiper-button-prev {
        background-image: unset;
        width: 35px;
        height: 35px;
        border: 1px solid transparent;
        border-radius: 0px;
        background-image: unset;
        background-color: #f5f5f5;
        transition: all .3s linear;
        opacity: .7;
        &::before {
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            display: inline-block;
            width: 35px;
            height: 35px;
            line-height: 35px;
            text-align: center;
            font-size: 15px;
            color: var(--secondary);
            transition: all .3s linear;
        }
        &:hover{
            background-color: var(--primary);
            opacity: 1;
            &::before{
                color: #fff;
            }
        }
    }
    .swiper-button-next,
    .swiper-container-rtl .swiper-button-prev{
        right: 5%;
        left: auto;
        &::before {
            content: '\f0da';
        }
    }
    .swiper-button-prev,
    .swiper-container-rtl .swiper-button-next{
        left: 5%;
        right: auto;
        &::before {
            content: '\f0d9';
        }
    }
}

.butn {
    position: relative;
    padding: .6rem 2rem;
    border-radius: 25px;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 14px;
    border: 1px solid transparent;
    i {
        margin-inline-end: 7px;
    }
    &.sm_butn {
        padding: 0;
        width: 50px;
        height: 50px;
    }
    &.secondary_butn {
        background-color: var(--secondary);
        color: #fff;
    }
    &.primary_butn {
        background-color: var(--primary);
        color: #fff;
    }
    &:hover {
        background-color: #101010;
        border: 1px solid #101010;
        color: var(--primary) !important;
        i {
            animation: floatingX .5s both infinite alternate-reverse;
        }
        .icon {
            filter: var(--filterWhite);
        }
    }
}

.icon-18 {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.icon-15 {
    width: 15px;
    height: 15px;
    object-fit: contain;
}

@mixin line {
    content: '';
    width: 50%;
    height: 1px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    background-color: rgba($color: #fff, $alpha: .5);
}

.dir-ltr {
    direction: ltr;
}
/**********************************************
   Start Edit Navbar & Footer
**********************************************/

//start Navbar
.navs-container {
    .navbar{
        background-color: transparent;
        min-height: 115px;
        .logo {
            width: 90px;
            object-fit: contain;
        }
        .nav-link {
            margin: 0 10px;
            color: #ccc;
            &.active{
                font-weight: bold;
                color: var(--primary);
            }
        }
        .navbar-collapse {
            flex-grow: unset;
        }
        .navbar-toggler
        {
            width: 40px;
            height: 40px;
            cursor: pointer;
            background-color: rgba($color: #ddd, $alpha: .3);
            border: none;
            position: relative;
            &.active{
                .navbar-toggler-icon {
                    box-shadow: 0px 0px 0px grey;
                    background: rgba(0, 0, 0, 0);
                    &::before {
                        top: 0px !important;
                        transform: rotate(45deg);
                    }
                    &::after {
                        top: 0px !important;
                        transform: rotate(135deg);
                    }
                }
            }
            .navbar-toggler-icon
            {
                width: 25px;
                height: 2px;
                background: var(--primary);
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                transition: 0.5s;
                &::after,
                &::before
                {
                    content: "";
                    position: absolute;
                    width: 25px;
                    height: 2px;
                    background: var(--primary);
                    transition: 0.5s;
                }
                &::after{
                    top: -6px;
                    right: 0px;
                }
                &::before{
                    top: 6px;
                    right: 0px;
                }
            }
        }
    }
}


//start Footer
.footer {
    background-color: var(--primary);
    padding: 50px 0;
    .logo {
        width: 100px;
        object-fit: contain;
        display: block;
        margin: auto;
    }
    .line {
        @include line;
        position: relative;
        margin: 30px 0;
        margin: 20px auto;
    }
    .links a{
        color: #f6f6f6;
        margin:  0 10px;
        &:hover {
            color: var(--secondary) !important;
        }
    }
    .line2 {
        @include line;
        position: relative;
        width: 80px;
        margin: 30px 0;
        margin: 20px auto;
    }
}

/**********************************************
    Start Edit Home Page 
**********************************************/
.header {
    background: url(../images/header-1.png);
    position: relative;
    min-height: 80vh;
    background-size: cover;
    background-attachment: fixed;
    .text-box {
        padding-top: 150px;
        .title{
            position: relative;
            &::before {
                @include line;
                width: 30%;
                margin: auto;
                top: -85px;
            }
            &::after {
                @include line;
                width: 30%;
                margin: auto;
                bottom: -85px;
            }
        }
    }
    &::before {
        @include overlay;
        background-image: linear-gradient(to bottom , #000000, #F57C00 );
        opacity: .65;
    }
}

//start about-sec
.about-sec{
    .text-box {
        margin-inline-start: -15%;
        background-color: #fff;
        border-radius: 25px;
        box-shadow: 0 0 16px 0 rgba($color: #000000, $alpha: .16);
        padding: 35px;
        .logo {
            width: 100px;
            object-fit: contain;
            display: block;
            margin: 0 auto 15px auto;
            .p{
                font-size: 13px;
            }
        }
    }
    .sec-img {
        height: 500px;
        border-radius: 25px;
    }
}

//start menu-sec
.menu-sec {
    .nav {
        .nav-link {
            color: #888;
            padding: 0;
            margin: 0 5px;
            &::after {
                content: '•';
                display: inline-block;
                margin: 0 7px;
            }
            &.active{
                color: var(--primary);
                background-color: transparent;
            }
        }
        .nav-item:last-child .nav-link::after {
            display: none;
        }
    }
    .menu-box {
        padding:  20px 0;
        position: relative;
        .item{
            border-bottom: 1px solid #dddddd;
            padding: 15px 20px 15px 20px;
            .name{
                font-size: 1.1rem;
            }
            .price small{
                font-size: 60%;
                color: #666;
                margin-inline-start: 3px;
            }
            &:last-child{
                border-bottom: 1px solid transparent;
            }
        }
        &::before ,
        &::after{
            content: '';
            width: 100%;
            height: 8px;
            border-top: 1px solid #000;
            border-bottom: 1px solid #000;
            opacity: .2;
            display: block;
            position: absolute;
            left: 0;
            right: 0;
        }
        &::before{
            top: 0;
        }
        &::after{
            bottom: 0;
        }
    }
}

//start menu-sec 
.menu-sec  {
    .meal_card  {
        position: relative;
        height: 350px;
        border-radius: 20px;
        overflow: hidden;
        margin-bottom: 20px;
        .name {
            padding: 20px 15px;
        }
        .butn {
            position: absolute;
            left: 50%;
            bottom: 30px;
            transform: translate(-50% , 80px);
            z-index: 5;
        }
        .bg {
            transition: all .3s linear;
        }
        &::before{
            @include overlay;
            background-image: linear-gradient(to bottom , #F57C00, transparent );
            opacity: .4;
            z-index: 1;
            transition: all .3s linear;
        }
        &:hover {
            .butn {
                transform: translate(-50% , 0px);
            }
            .bg {
                transform: scale(1.1) rotate(2deg);
            }
            &::before{
                @include overlay;
                background-image: linear-gradient(to bottom , #F57C00 , #F57C00, transparent );
                opacity: .4;
                z-index: 1;
            }
        }
    }
}

//start newsletter-sec
.newsletter-sec {
    background: url(../images/newsletter-bg.png);
    background-size: cover;
    .form-control {
        border: 1px solid #fff;
        background-color: rgba($color: #fff, $alpha: .25);
        border-radius: 25px;
        color: #fff;
        width: 70.666667% !important;
        &::placeholder {
            color: #ccc;
        }
    }
    &::before {
        @include overlay;
        background-image: linear-gradient(to bottom , #F57C00, #000 );
        opacity: .4;
    }
}