@import url('./animations.css');

.products__swiper {
    width: 100%;
}

.invalid {
    border: 2px #C00000 solid !important;
}

/* --------------------------------- */
header {
    padding: 20px;
}

.top__header__section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 20px 0;

    .nav__links {
        display: flex;
        align-items: center;
        gap: 25px;

        img {
            margin-bottom: 12px;
        }

        nav {
            display: flex;
            align-items: center;
            gap: 25px;

            .nav__link {
                color: var(--text-primary-dark);
                font-weight: 600;
                text-decoration: none;
                font-size: 16px;
                transition: .3s ease;

                &:hover {
                    color: #C00000;
                }
            }
        }
    }

    .company__info {
        display: flex;
        align-items: center;
        gap: 25px;

        .lang__btn {
            color: var(--text-primary-dark);
            font-weight: 600;
            text-decoration: underline;
            border: none;
            background-color: transparent;
            font-size: 16px;
            cursor: pointer;
            outline: none;
        }

        .lang__btn-mobile {
            border: none;
            background-color: transparent;
            cursor: pointer;
        }

        .phone__link {
            color: #C00000;
            text-decoration: underline;
            font-size: 16px;
            font-weight: 600;
        }

        .pc-hidden {
            display: none;
        }
    }
}

/* --------------------------------- */
.bottom__header_section {
    background-image:
        linear-gradient(90deg, #002060 0%, #01305E 29.58%, rgba(1, 48, 94, 0) 100%);
    padding: 140px 0px;
    border-radius: 12px;
    background-size: cover;
    position: relative;
    overflow: hidden;

    video {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        position: absolute;
        object-fit: cover;
        z-index: -10;
        border-radius: 12px;
    }

    .inner_section {
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 20px;

        h1 {
            color: white;
            font-size: 48px;
            font-weight: 600;
        }

        .text-mobile {
            display: none;
            color: white;
            font-size: 28px;
            font-weight: 600;
        }

        p {
            display: none;
            color: white;
            font-size: 16px;
            font-weight: 400;
        }

        .mobile-hidden {
            font-size: 20px;
            display: block;

            &:nth-child(5) {
                margin-bottom: 15px;
            }
        }
    }
}

.our__pruducts__section {
    padding: 20px;

    .our__pruducts {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        margin: 40px auto;

        h2 {
            color: var(--text-primary-dark);
            font-size: 50px;
            font-weight: 700;
        }

        .products__wrapper {
            width: 100%;
        }

        .pc-hidden {
            display: none;
        }

        .first-wrapper {
            padding-top: 40px;
        }

        .product__grid {
            width: 100%;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;

            .big {
                .imageBlock {
                    background-color: white;
                    border-radius: 6px;
                    overflow: hidden;
                    margin-bottom: 10px;
                    width: 100%;

                    img {
                        width: 100%;
                        height: 325px;
                        object-fit: cover;
                    }
                }
            }

            .product__block {
                cursor: pointer;
                background-color: #D9D9D9;
                padding: 10px;
                border-radius: 6px;
                background-size: cover;
                transition: .2s ease;

                &:hover {
                    transform: translateY(-10px);
                    -webkit-box-shadow: 0px 14px 14px -1px rgba(34, 60, 80, 0.2);
                    -moz-box-shadow: 0px 14px 14px -1px rgba(34, 60, 80, 0.2);
                    box-shadow: 0px 14px 14px -1px rgba(34, 60, 80, 0.2);
                }

                .product__info {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    background-color: #F1F5F8CC;
                    backdrop-filter: blur(30px);
                    padding: 15px;
                    border-radius: 6px;

                    .main__info {
                        display: flex;
                        flex-direction: column;

                        h3 {
                            font-weight: 600;
                            font-size: 30px;
                            color: var(--text-primary-dark);
                        }

                        p {
                            font-weight: 500;
                            font-size: 16px;
                            color: var(--text-primary-dark);
                        }
                    }

                    .more__info {
                        padding: 17px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        border: 2px solid rgba(0, 32, 96, 0.2);
                        border-radius: 12px;
                        cursor: pointer;

                        img {
                            width: 20px;
                            height: 20px;
                        }
                    }
                }
            }
        }
    }
}

.portfolio__section {
    background-color: var(--bg-dark);
    padding: 180px 0;
    position: relative;
    overflow: hidden;

    .portfolio__info {
        display: flex;
        justify-content: space-between;
        align-items: center;


        .portfolio__text {
            width: 50%;
            display: flex;
            flex-direction: column;
            align-items: start;
            gap: 23px;

            h2 {
                font-size: 50px;
                line-height: 53px;
                color: white;
                font-weight: 600;

                .accent__color {
                    color: var(--text-accent);
                }
            }

            .mobile__heading {
                font-size: 28px;
                color: white;
                font-weight: 600;
                display: none;
            }

            p {
                color: white;
                font-size: 16px;
                font-weight: 400;
            }

            .pc-hidden {
                display: none;
            }
        }

        .portfolio__projects {
            position: absolute !important;
            right: 0;
            width: 50%;

            .pc-hidden {
                display: none;
            }

            .scrollbar__swiper,
            .scrollbar__swiper-mobile-first,
            .scrollbar__swiper-mobile-second {
                height: 100%;
                width: 100%;
                overflow: visible !important;
                overflow-x: hidden !important;
                position: initial;

                .swiper-wrapper {
                    display: flex;
                    height: 90% !important;

                    .swiper-slide {
                        width: 55%;
                        padding: 485px 60px 20px 60px;
                        background-size: cover;

                        .main__info {
                            background-color: #F1F5F8CC;
                            backdrop-filter: blur(30px);
                            width: 100%;

                            p {
                                color: var(--text-primary-dark);
                                padding: 15px;
                                font-weight: 600;
                                text-align: center;
                            }
                        }

                        &:nth-child(1) {
                            background-image: url('../images/first_project.webp');
                        }

                        &:nth-child(2) {
                            background-image: url('../images/second_project.webp');
                        }

                        &:nth-child(3) {
                            background-image: url('../images/third_project.webp');
                        }

                        &:nth-child(4) {
                            background-image: url('../images/fourth_project.webp');
                        }

                        &:nth-child(5) {
                            background-image: url('../images/fifth_project.webp');
                        }

                        &:nth-child(6) {
                            background-image: url('../images/sixth_project.webp');
                        }
                    }
                }
            }

            .scrollbar__swiper-mobile-first {
                .swiper-wrapper {
                    .swiper-slide {
                        &:nth-child(1) {
                            background-image: url('../images/first_project.webp');
                        }

                        &:nth-child(2) {
                            background-image: url('../images/second_project.webp');
                        }

                        &:nth-child(3) {
                            background-image: url('../images/third_project.webp');
                        }

                        &:nth-child(4) {
                            background-image: url('../images/fourth_project.webp');
                        }
                    }
                }
            }

            .scrollbar__swiper-mobile-second {
                .swiper-wrapper {
                    .swiper-slide {
                        &:nth-child(1) {
                            background-image: url('../images/fifth_project.webp');
                        }

                        &:nth-child(2) {
                            background-image: url('../images/sixth_project.webp');
                        }

                        &:nth-child(3) {
                            background-image: url('../images/seventh_project.webp');
                        }
                    }
                }
            }
        }

        .swiper-scrollbar {
            background: rgba(255, 255, 255, 0.2);
            border-radius: 100px;
            position: absolute;
            bottom: -40px;
            width: 60%;
            left: 0;

            div {
                background-color: white;
            }
        }
    }
}

.about__section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    margin: 100px auto;

    h2 {
        font-size: 50px;
        font-weight: 700;
        color: var(--text-primary-dark);
    }

    .pc-hidden {
        display: none;
    }

    p {
        font-size: 16px;
        font-weight: 500;
        color: var(--text-primary-dark);
        margin-bottom: 23px;
    }

    .company__numbers {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 45px;
        margin-bottom: 32px;

        .numbers__section {
            h3 {
                font-size: 64px;
                font-weight: 700;
                color: var(--text-primary-dark);

                span {
                    color: var(--text-accent);
                }
            }

            p {
                font-size: 18px;
                font-weight: 600;
                color: var(--text-primary-dark);
            }
        }
    }
}

.sertificates__section {
    padding: 180px 0;
    overflow: hidden;
    position: relative;

    .seritficates__info {
        display: flex;
        justify-content: space-between;
        align-items: center;


        .seritficates__text {
            position: relative;
            width: 50%;
            display: flex;
            flex-direction: column;
            align-items: start;
            gap: 15px;

            img {
                position: absolute;
                top: -40%;
                left: -10%;
            }

            h2 {
                font-size: 50px;
                line-height: 53px;
                color: var(--text-primary-dark);
                font-weight: 600;
                margin-bottom: 10px;
            }

            p {
                color: var(--text-primary-dark);
                font-size: 16px;
                font-weight: 400;
            }

            .pc-hidden {
                display: none;
            }
        }

        .sertificates {
            position: absolute !important;
            right: 0;
            width: 50%;

            .pc-hidden {
                display: none;
            }

            .scrollbar__swiper-sertificates,
            .scrollbar__swiper-sertificates-mobile-first,
            .scrollbar__swiper-sertificates-mobile-second {
                height: 100%;
                width: 100%;
                overflow: visible !important;
                overflow-x: hidden !important;
                position: initial;

                .swiper-wrapper {
                    display: flex;
                    height: 90% !important;

                    .swiper-slide {
                        cursor: pointer;
                        width: 37%;
                        height: 485px;
                        object-fit: contain;
                        transition: .2s ease;

                        &:hover {
                            transform: translateY(-5px);
                        }
                    }
                }
            }
        }

        .swiper-scrollbar {
            background: rgba(0, 32, 96, .1);
            border-radius: 100px !important;
            position: absolute;
            bottom: -40px;
            width: 60%;
            left: 0;

            div {
                background-color: rgba(0, 32, 96, 1);
                border-radius: 100px !important;

            }
        }
    }
}

.video__section {
    iframe {
        border-radius: 10px;
        width: 100%;
        height: 733px;
    }
}

.steps__section {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 100px auto;
    align-items: center;

    .mobile-hidden {
        font-size: 50px;
        color: var(--text-light);
        font-weight: 700;
    }

    .sections {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;

        .image__section {
            width: 100%;

            img {
                width: 100%;
            }
        }

        .text__section {

            .pc-hidden {
                display: none;
            }

            .steps__text {
                display: flex;
                flex-direction: column;
                gap: 25px;

                p {
                    color: var(--text-primary-dark);
                    font-size: 18px;
                }
            }
        }
    }
}

.discount__section {
    width: 100%;
    padding: 75px 20px;
    background-image: url('../images/bg_image.webp');
    background-size: cover;

    .info__section {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        gap: 60px;

        img {
            width: 100%;
        }

        .text__section {
            display: flex;
            flex-direction: column;
            gap: 18px;

            h2 {
                font-size: 50px;
                color: var(--text-primary-dark);
                line-height: 53px;
            }

            p {
                font-size: 16px;
                color: var(--text-primary-dark);
            }

            form {
                display: flex;
                align-items: center;
                gap: 8px;

                input {
                    border: 2px solid #252D35;
                    padding: 13px;
                    font-size: 16px;
                    border-radius: 6px;
                    width: 43%;
                    background-color: transparent;
                    outline: none;
                }

                button {
                    box-shadow: 0px 8px 20px 0px #CA9A5459;
                    background-color: var(--bg-accent);
                    padding: 13px;
                    border: none;
                    border-radius: 10px;
                    cursor: pointer;
                    width: 51px;
                    height: 51px;
                    transition: .2s ease;

                    &:hover {
                        box-shadow: 0px 8px 20px 0px #644e2c59;
                    }

                    &:disabled {
                        opacity: .5;
                    }

                    &:disabled:hover {
                        box-shadow: 0px 8px 20px 0px #CA9A5459;
                    }

                    img {
                        width: 20px;
                        height: 20px;
                        object-fit: contain;
                    }
                }
            }
        }
    }
}

.location__section {
    margin: 100px auto;

    .location__grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 32px;

        .location__info-contacts {
            grid-column: span 3 / span 3;
            grid-row: span 2 / span 2;
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 18px;

            .left {
                background-color: var(--bg-light);
                padding: 25px 15px;
                display: flex;
                flex-direction: column;
                gap: 25px;
                padding-bottom: 96px;

                .first-section {
                    h4 {
                        color: var(--text-primary-dark);
                        opacity: .5;
                        font-size: 16px;
                        font-weight: 500;
                        margin-bottom: 4px;
                    }

                    p {
                        color: var(--text-primary-dark);
                        font-size: 16px;
                        font-weight: 500;
                    }
                }

                .second-section {
                    h4 {
                        color: var(--text-primary-dark);
                        opacity: .5;
                        font-size: 16px;
                        font-weight: 500;
                        margin-bottom: 4px;
                    }

                    a {
                        color: var(--text-primary-dark);
                        font-size: 16px;
                        font-weight: 500;
                    }
                }

                .third-section {
                    h4 {
                        color: var(--text-primary-dark);
                        opacity: .5;
                        font-size: 16px;
                        font-weight: 500;
                        margin-bottom: 4px;
                    }

                    ul {
                        list-style-type: none;

                        li {
                            a {
                                color: var(--text-primary-dark);
                            }
                        }
                    }
                }
            }

            .right {
                iframe {
                    width: 100%;
                    height: 100%;
                }
            }
        }

        .first {
            grid-column-start: 4;
            background-color: #D9D9D9;
            background-image: url('../images/beton.webp');
            background-size: cover;

        }

        .second {
            background-color: #D9D9D9;
            grid-row: span 2 / span 2;
            grid-column-start: 4;
            grid-row-start: 2;
            background-image: url('../images/tower.webp');
            background-size: cover;
        }

        .third {
            background-color: #D9D9D9;
            grid-column: span 3 / span 3;
            grid-row-start: 3;
            background-image: url('../images/team.webp');
            background-size: cover;
            background-position: center -240px;

        }
    }
}

footer {
    background-image: url('../images/bg_image.webp');
    background-size: cover;
    padding: 80px 0;

    .main__footer {
        display: flex;
        justify-content: space-between;

        .navigation {
            display: flex;
            flex-direction: column;
            gap: 21px;

            h3 {
                font-size: 18px;
                color: var(--text-primary-dark);
            }

            nav {
                display: flex;
                flex-direction: column;
                gap: 7px;

                a {
                    color: #A3A2AB;
                }
            }

            p {
                font-size: 16px;
                font-weight: 400;
                margin-top: 20px;
                color: var(--text-primary-dark);

            }
        }

        .contacts {
            display: flex;
            flex-direction: column;
            gap: 21px;
            color: var(--text-primary-dark);

            .div {
                display: flex;
                flex-direction: column;
                gap: 10px;

                div {
                    h4 {
                        color: #A3A2AB;
                        font-weight: 300;
                    }
                }
            }

            a {
                font-weight: 700;
                font-size: 32px;
                color: var(--text-primary-dark);
            }

            p {
                font-size: 16px;
                font-weight: 400;

            }
        }

        .socials {
            display: flex;
            flex-direction: column;
            gap: 21px;
            color: var(--text-primary-dark);


            ul {
                list-style-type: none;
                display: flex;
                flex-direction: column;
                gap: 7px;

                li {
                    a {
                        color: #A3A2AB;
                    }
                }
            }
        }
    }

    .mobile__footer {
        display: none;
        flex-direction: column;
        gap: 24px;

        .about__company {
            display: flex;
            flex-direction: column;
            align-items: start;
            gap: 15px;

            p {
                font-size: 16px;
                color: #A3A2AB;
            }
        }

        .navigation__socials {
            display: grid;
            grid-template-columns: repeat(2, 1fr);

            .navigation {
                display: flex;
                flex-direction: column;
                gap: 21px;

                h3 {
                    font-size: 18px;
                    color: var(--text-primary-dark);
                }

                nav {
                    display: flex;
                    flex-direction: column;
                    gap: 7px;

                    a {
                        color: #A3A2AB;
                    }
                }

                p {
                    font-size: 16px;
                    font-weight: 400;
                    margin-top: 20px;
                }
            }

            .socials {
                display: flex;
                flex-direction: column;
                gap: 21px;

                h3 {
                    color: var(--text-primary-dark);
                }

                ul {
                    list-style-type: none;
                    display: flex;
                    flex-direction: column;
                    gap: 7px;

                    li {
                        a {
                            color: #A3A2AB;
                        }
                    }
                }
            }
        }

        .contacts {
            display: flex;
            flex-direction: column;
            gap: 11px;
            color: var(--text-primary-dark);

            .div {
                display: flex;
                flex-direction: column;
                gap: 10px;

                div {
                    h4 {
                        color: #A3A2AB;
                        font-weight: 300;
                    }
                }
            }
            h3 {
                font-size: 18px;
                color: var(--text-primary-dark);
            }

            a {
                font-weight: 700;
                font-size: 32px;
                color: var(--text-primary-dark);
            }

            p {
                font-size: 16px;
                font-weight: 400;
                color: #A3A2AB;
            }
        }

        .company {
            font-size: 16px;
            font-weight: 400;
            color: var(--text-primary-dark);
        }
    }
}