@use '../../utils' as *;

/*----------------------------------------*/
/*  Banner one css
/*----------------------------------------*/
.banner-style-one {
    padding-top: 160px;
    padding-bottom: 105px;

    @media #{$xl} {
        padding-top: 180px;
        padding-bottom: 100px;
    }

    @media #{$lg} {
        padding-top: 165px;
        padding-bottom: 80px;
    }

    @media #{$md} {
        padding-top: 140px;
        padding-bottom: 80px;
    }

    @media #{$sm} {
        padding-top: 115px;
        padding-bottom: 50px;
    }

    @media #{$xs} {
        padding-top: 115px;
        padding-bottom: 50px;
    }

    .banner-content {

        .banner-title {
            font-size: 68px;
            margin-bottom: 27px;
            line-height: 1.2;

            @media #{$xxl} {
                font-size: 58px;
            }

            @media #{$xl} {
                font-size: 54px;
            }

            @media #{$lg} {
                font-size: 48px;
            }

            @media #{$md} {
                font-size: 36px;
            }

            @media #{$sm} {
                font-size: 34px;
            }

            @media #{$xs} {
                font-size: 26px;
            }
        }

        .description {
            font-size: 16px;
            max-width: 640px;
            margin-bottom: 35px;
            color: rgba($white, $alpha: 0.7);

            @media #{$xs,$sm,$md} {
                font-size: 16px;
            }
        }

        .banner-bottom {
            @include flexbox();
            align-items: center;
            justify-content: center;
            gap: 16px;
            max-width: 569px;
            margin: 0 auto;

            @media #{$xs,$sm} {
                flex-direction: column;
            }

            .video-play {
                border: 1px solid rgba($heading, $alpha: 0.1);
                padding: 2px;
                border-radius: 50px;
                flex: 0 0 auto;

                .paly-btn {
                    background-color: #262626;
                    height: 54px;
                    @include inline-flex();
                    align-items: center;
                    justify-content: center;
                    padding: 0 20px;
                    @include border-radius(30px);
                    gap: 8px;
                    color: var(--td-white);
                }
            }

            .search-form-group {
                box-sizing: border-box;
                @include flexbox();
                padding: 4px;
                gap: 10px;
                flex-grow: 1;
                position: relative;

                .input {
                    height: 60px;
                    width: 100%;
                    background-color: transparent;
                    border: 1px solid rgba($heading, $alpha: 0.2);
                    padding-inline-start: 20px;
                    padding-inline-end: 150px;
                    @include border-radius(30px);
                    font-size: 16px;
                    outline: none;

                    &:focus {
                        border-color: var(--td-primary);
                    }

                    @include td-placeholder {
                        color: rgba($heading, $alpha: 0.4);
                        font-size: 16px;
                    }
                }

                .search-btn {
                    background: #D5D9FF;
                    border-radius: 40px;
                    @include inline-flex();
                    align-items: center;
                    padding: 0 20px;
                    height: 50px;
                    position: absolute;
                    inset-inline-end: 10px;
                    gap: 8px;
                    color: var(--td-heading);
                    top: 9px;
                }
            }
        }
    }

    .banner-thumb {
        position: absolute;
        right: 0;
        top: 0;
        width: 45%;
        height: 100%;
        z-index: 0;
        background-repeat: no-repeat;
        background-size: cover;
        @media #{$xs,$sm} {
            position: inherit;
            right: inherit;
            top: inherit;
            width: 100%;
            height: 450px;
            margin-top: 50px;
        }
    }

    .banner-glow {
        position: absolute;
        top: 0;
        z-index: -1;
    }

    .banner-shapes {
        .shape-one {
            position: absolute;
            top: 110px;
            left: 160px;
            z-index: -1;
            width: 154px;
        }

        .shape-two {
            position: absolute;
            bottom: 85px;
            left: 53px;
            z-index: -1;

            @media #{$lg} {
                left: 0;
                width: 80px;
            }
        }
    }

    .shape-three {
        position: absolute;
        right: 40%;
        top: 85px;
        z-index: 0;
    }

    .shape-four {
        position: absolute;
        right: 110px;
        bottom: 104px;
        z-index: -1;
    }
}

.banner-noise {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: -2;
}