@use '../../utils' as *;
/*----------------------------------------*/
/*  3.1 Header Style 1
/*----------------------------------------*/
.header-transparent{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9;
}
.tp-header{
    &-mob-space{
        @media #{$lg,$md,$xs}{
            padding: 20px 0;
        }
    }
    &-logo{
        & img{
            width: 135px;
            height: 100%;
        }
    }
    &-menu{
        & > nav{
            & > ul{
                margin-left: -80px;
                @media #{$x3l,$xxl,$xl}{
                    margin-left: 0;
                }
                & > li{
                    list-style-type: none;
                    display: inline-block;
                    margin: 0px 16px;
                    @media #{$xl}{
                        margin: 0px 14px;
                    }
                    & > a{
                        padding: 37px 0;
                        font-size: 16px;
                        font-weight: 500;
                        display: inline-block;
                        letter-spacing: -0.02em;
                        text-transform: capitalize;
                        color: var(--tp-common-white);
                    }
                    &:hover{
                        & > a{
                            color: var(--tp-theme-1);
                        }
                    }
                }
            }
        }
        &-style-2{
            & > nav{
                & > ul{
                    margin-left: 0;
                    & > li{
                        & > a{
                            position: relative;
                            padding: 27px 0;
                            &::after{
                                position: absolute;
                                right: 0;
                                bottom: 0;
                                height: 1px;
                                width: 0;
                                content: '';
                                transition: .4s;
                                background-color: var(--tp-theme-1);
                            }
                        }
                        &:hover{
                            & a{
                                &::after{
                                    right: auto;
                                    left: 0;
                                    width: 100%;
                                }
                            }
                        }
                    }
                }
            }
        }
        &-style-3{
            & > nav{
                & > ul{
                    margin-left: 0;
                    & > li{
                        & > a{
                            color: var(--tp-common-black);
                        }
                        &:hover{
                            & a{
                                color: var(--tp-common-blue);
                            }
                        }
                    }
                }
            }
        }
        &-style-4{
            & > nav{
                & > ul{
                    margin-left: 0;
                    & > li{
                        margin: 0;
                        padding: 6px 0;
                        & > a{
                            padding: 0;
                            padding: 6px 21px;
                            border-radius: 6px;
                            display: inline-block;
                            background-color: transparent;
                            color: var(--tp-common-black);
                        }
                        &:hover{
                            & > a{
                                background-color: #e8ebf0;
                                color: var(--tp-common-black);
                            }
                        }
                    }
                }
            }
        }
    }
    &-search{
        &-input{
            position: relative;
            &::before{
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 0;
                height: 1px;
                transition-delay: 0s;
                transition: width .3s ease;
                background-color: var(--tp-common-white);
            }
            &.active{
                &::before{
                    width: 100%;
                    transition-delay: .3s;
                }
                & input{
                    width: 230px;
                    @media #{$xl}{
                        width: 150px;
                    }
                    @media #{$md}{
                        width: 160px;
                    }
                }
            }
            & input{
                font-weight: 400;
                font-size: 14px;
                padding: 0px 28px;
                padding-right: 0;
                height: 44px;
                width: 80px;
                border: 0;
                letter-spacing: -0.02em;
                background-color: transparent;
                color: var(--tp-common-white);
                @include tp-placeholder{
                    color: rgba(255, 255, 255, 0.6);
                }
            }
        }
        &-icon{
            position: absolute;
            left: 0;
            top: 48%;
            transform: translateY(-50%);
            & span{
                color: var(--tp-common-white);
            }
        }
    }
    &-bar{
        margin-left: 10px;
        & button{
            height: 44px;
            width: 44px;
            transition: .3s;
            line-height: 44px;
            text-align: center;
            color: var(--tp-common-black);
            background-color: var(--tp-theme-1);
            &:hover{
                color: var(--tp-common-black);
                background-color: var(--tp-common-yellow);
            }
        }
    }
    &-border{
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    &-inner-style{
        & .tp-btn{
            border-radius: 6px;
        }
        & .tp-header-bar button {
            border-radius: 5px;
            color: var(--tp-common-black);
            background-color: var(--tp-theme-1);
            &:hover{
                color: var(--tp-common-black);
                background-color: var(--tp-common-yellow);
            }
        }
        &-2{
            & .tp-btn {
                border-radius: 6px;
                color: var(--tp-common-white);
                background-color: var(--tp-common-blue);
                &:hover{
                    color: var(--tp-common-white);
                    background-color: var(--tp-common-black);
                }
            }
            & .tp-header-menu {
                & > nav {
                    & > ul {
                        & > li {
                            & > a{
                                color: var(--tp-common-black);
                            }
                            &:hover{
                                & > a{
                                    color: var(--tp-common-blue);
                                }
                            }
                        }
                    }
                }
            }
            & .tp-header-menu-style-2 nav ul li a::after {
                background-color: var(--tp-common-blue);
            }
            & .tp-header-search-input input {
                color: var(--tp-common-black);
                @include tp-placeholder{
                    color: #525356;
                }
            }
            & .tp-header-search-icon span {
                color: var(--tp-common-black);
            }
            & .tp-header-search-input::before {
                background-color: var(--tp-common-black);
            }
            & .tp-header-bar button {
                border-radius: 5px;
                color: var(--tp-common-white);
                background-color: var(--tp-common-blue);
                &:hover{
                    color: var(--tp-common-white);
                    background-color: var(--tp-common-black);
                }
            }
        }
    }
}
.header-sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	opacity: 1;
	width: 100%;
	z-index: 999;
	visibility: visible;
	background: rgba(20, 24, 32, 0.9);
	box-shadow: 0px 1px 3px 0px rgba(18, 20, 32, 0.14);
	animation: 0.95s ease 0s normal forwards 1 running headerSlideDown;
	-webkit-animation: 0.95s ease 0s normal forwards 1 running headerSlideDown;
    &::after{
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        backdrop-filter: blur(10px);
        z-index: -1;
    }
    & .tp-header-menu > nav > ul > li > a {
        padding: 22px 0;
    }
    &.tp-header-mob-space {
        @media #{$lg,$md,$xs}{
            padding: 15px 0;
        }
    }
    &.tp-header-border {
        border-bottom: 0;
    }
    &.sticky-white-bg{
        background-color: rgba(255, 255, 255, 0.9);
    }
    & .tp-header-menu-style-4 > nav > ul > li > a {
        padding: 6px 21px;
    }
    &.sticky-bg-none{
        background: none;
        box-shadow: none;
        &::after {
        display: none;
        }
    }
}