@use "../abstracts/variables" as vars;

.hero1 {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;

    @media (max-width: 1399px) {
        padding: 50px 0 60px;
    }


    &__content {
        position: relative;
        z-index: 1;
        max-width: 570px;
    }

    &__subtitle {
        padding: 15px 32px;
        background-color: vars.$color-white;
        border-radius: 50px;
        display: inline-flex;
        margin-bottom: 25px;

        @media (max-width: 1399px) {
            margin-bottom: 10px;
        }

        @media (max-width: 767px) {
            padding: 10px 20px;
            margin-bottom: 15px;
        }

        span {
            position: relative;
            font-family: vars.$font-family-base;
            font-weight: 600;
            font-size: clamp(14px, 0.5vw + 0.75rem, 16px);
            line-height: 100%;
            letter-spacing: 0%;
            text-transform: uppercase;
            color: vars.$color-primary;
            margin-left: 60px;
            display: inline-flex;

            &::before {
                content: '';
                position: absolute;
                top: 50%;
                left: -60px;
                transform: translateY(-50%);
                width: 40px;
                height: 6px;
                background-color: vars.$color-black;
                border-radius: 50px;
            }
        }
    }

    &__title {
        font-family: vars.$font-family-base;
        font-weight: 800;
        font-size: clamp(32px, 5vw + 1rem, 80px);
        line-height: 1.1;
        letter-spacing: 0%;
        color: vars.$color-heading;
        margin-bottom: 30px;

        @media (max-width: 575px) {
            font-size: 32px;
            br { display: none; }
        }
    }

    &__description {
        font-size: clamp(14px, 0.5vw + 0.75rem, 18px);
        color: vars.$color-text;
        margin-bottom: 40px;
        max-width: 570px;
        font-family: vars.$font-family-base;
        font-weight: 500;
        line-height: 30px;
        letter-spacing: 0%;
    }

    &__image-box {
        position: relative;
        margin-right: -80px;
        z-index: 1;

        @media (max-width: 992px) {
            margin-right: 0;
            margin-top: 50px;
            margin-bottom: 80px;
        }
        @media (max-width: 767px) {
            margin-bottom: 60px;
        }
        @media (max-width: 575px) {
            margin-top: 0px;
        }
    }


    &__main-img {
        position: relative;
        margin-left: 160px;
        padding-top: 100px;

        @media (max-width: 1399px) {
            margin-left: 80px;
            padding-top: 50px;
        }

        @media (max-width: 992px) {
            margin-left: 0;
            padding-top: 0;
        }

        img {
            position: relative;
            max-width: 100%;
            height: auto;
            z-index: 6;
        }
    }

    &__thumb-shape {
        position: absolute;
        top: -40%;
        left: 0%;
        z-index: 0;

        @media (max-width: 992px) {
            top: -20%;
            left: 0%;
        }

        @media (max-width: 575px) {
            top: -10%;
            left: 0%;
        }
    }
}
