
@import 'global';
@import 'product';

/***************************** Start Edit Navbar & Footer *****************************/
//start Navbar
.navbar{
    .nav-link{
        margin: 0 10px;
        font-size: 14px;
        &.active{
            font-weight: bold;
        }
    }
    .links-wrapper a{
        margin: 0 10px;
        font-size: 14px;
    }
    .navbar-toggler
    {
        width: 20px;
        height: 20px;
        cursor: pointer;
        background-color: transparent;
        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: 15px;
            height: 2px;
            background: var(--primary);
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            transition: 0.5s;
            &::after,
            &::before
            {
                content: "";
                position: absolute;
                width: 15px;
                height: 2px;
                background: var(--primary);
                transition: 0.5s;
            }
            &::after{
                top: -5px;
                right: 0px;
            }
            &::before{
                top: 5px;
                right: 0px;
            }
        }
    }
}

//start Footer
footer{
    padding-top: 80px;
    background-color: #111;
    .content{
        margin-bottom: 35px;
        .logo{
            width: 68px;
            object-fit: contain;
            margin-bottom: 15px;
            filter: invert(100%) sepia(0%) saturate(7472%) hue-rotate(114deg) brightness(109%) contrast(97%);
        }
        p{
            color: #ccc;
            font-size: 13px;
            line-height: 1.6rem;
        }
        h6{
            text-transform: uppercase;
            color: #fff;
            font-weight: 600;
            &::after{
                content: '';
                width: 50px;
                height: 2px;
                display: block;
                position: relative;
                top: 10px;
                background-color: #ccc;
            }
        }
        .links a{
            display: block;
            color: #ccc;
            margin: 20px 0;
            .icon{
                display: inline-block;
                width: 25px;
                height: 25px;
                line-height: 25px;
                background-color: #fff;
                color: var(--secondary);
                border-radius: 50%;
                text-align: center;
                font-size: 12px;
                margin: 0 5px;
                transition: all .3s ease;
            }
            &:hover{
                color: #fff;
                .icon{
                    background-color: var(--secondary);
                    color: #fff;
                }
            }
        }
        .direct-links a{
            margin: 10px 0;
        }
        .social-links a{
            display: inline-block;
            margin: 0 4px;
            .icon{
                display: inline-block;
                width: 35px;
                height: 35px;
                line-height: 35px;
                background-color: #fff;
                color: #202020;
                border-radius: 50%;
                text-align: center;
                font-size: 16px;
                transition: all .3s ease;
            }
            &:hover{
                .icon{
                    background-color: var(--secondary);
                    color: #fff;
                }
            }
        }
    }
    .copyright{
        padding: 25px 0;
        background-color: var(--primary);
        margin-top: 25px;
        p{
            margin-bottom: 0;
            color: #fff;
            font-weight: 500;
            font-size: 14px;
        }
    }
}

/***************************** Start Edit Home Page *****************************/
header{
    padding: 100px 0;
    .item{
        padding: 0 50px;
        .header-img{
            width: 100%;
            object-fit: contain;
            transition: all 2s ease;
            transform: scale(0);
            filter: blur(10px);
        }
        .text-box{
            transition: all 2s ease;
            filter: blur(10px);
            .owner-name{
                font-size: 12px;
                font-weight: 600;
            }
            .price{
                font-weight: bold;
                color: var(--primary);
                margin: 1rem 0;
            }
            .link-btn{
                width: 200px;
                display: block;
                height: 45px;
                line-height: 45px;
                border: 1px solid var(--secondary);
                font-weight: 600;
                text-align: center;
                font-size: 15px;
                &:hover{
                    background-color: var(--primary);
                    color: #fff;
                }
            }
        }
    }
    .swiper-slide-active{
        .header-img , .text-box{
            transform: scale(1);
            filter: blur(0px);
        }
    }
}

/* Swiper Container */
.swiper-container{
    .swiper-button-next, .swiper-container-rtl .swiper-button-prev {
        background-image: url(../images/icons/right-arrow.svg);
    }
    .swiper-button-prev, .swiper-container-rtl .swiper-button-next {
        background-image: url(../images/icons/right-arrow.svg);
        transform: rotate(180deg);
    }
    .swiper-button-next, .swiper-button-prev {
        width: 40px;
        height: 40px;
        background-size: 35px;
    }
}

//start products-sec
.products-sec{
    padding: 30px 0 70px 0;
    border-top: 2px solid var(--primary);
    background-color: #F9F9F9;
    .filtering{
        .form-group{
            .form-control{
                font-size: 12px;
                border: transparent;
            }
        }
        .nav {
            width: fit-content;
            margin-left: auto;
            .nav-link{
                font-size: 13px;
                &.active{
                    color: var(--primary);
                    font-weight: bold;
                    background-color: transparent;
                }
            }
        }
    }
    .btn-wrapper{
        position: relative;
        &::before{
            content: '';
            width: 100%;
            height: 2px;
            display: block;
            background-color: #202020;
            position: absolute;
            top: 22.5px;
            left: 0;
            right: 0;
        }
        .link-btn{
            width: 200px;
            height: 45px;
            line-height: 45px;
            background-color: #fff;
            border: 1px solid #202020;
            color: #202020;
            display: block;
            font-weight: 600;
            margin: auto;
            text-align: center;
            position: relative;
            &:hover{
                background-color: #202020;
                color: #fff;
            }
        }
    }

}

