@import "_reset.css";

@font-face {
    font-family: 'Actay';
    src: url('fonts/Actay-Regular.otf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Actay Wide';
    src: url('fonts/ActayWide-Bold.otf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --header-height: 50px;
    --primary: #0F1C23;
    --primary-invert: #FFFFFF;
    --primary-orange: #E95502;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--primary);
}

/*.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;

    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--primary);

    min-height: 100%;
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
}*/

main {
    width: 100%
}

/* fonts styles */
h1, h2, h3 {
    font-family: "Actay Wide", sans-serif;
    font-weight: 700;
}

.main-btn {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    text-align: center;

    color: var(--primary-invert);
    background-color: var(--primary-orange);
    cursor: pointer;
}

.block-wrapper {
    height: 100%;
    width: 70%;
    margin: 0 auto;
    max-width: 1920px;
}
/* класс для отключения скролла страницы при открытии меню */
.blockScroll {
    overflow-y: hidden;
}

/* header */
header {
    position: absolute;
    z-index: 20;
    width: 100%;
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6923144257703081) 48%, rgba(0,0,0,0) 100%);
    height: 100px;
}

.header__body {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header__logo { width: 170px; }
.header__burger { display: none; }
.header__menu { display: flex; justify-content: space-between; align-items: center;}
.header__list { display: flex; gap: 32px; }
.header__list li, .footer-links li { display: flex; list-style: none; }
.header__link, .footer-links__item {
    font-family: 'Montserrat',sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: var(--primary-invert);
    transition: 0.2s transform;
}
.header__link:hover, .footer-links__item:hover { transform: scale(1.1) }




/* section 1 */
.parallax-1 {
    height: 100vh;
}

.block-1 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    color: var(--primary-invert);
}

.block-1__title {
    font-size: 113px;
    line-height: 100%;
    text-transform: uppercase;
}

.block-1__text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 160%;
    max-width: 730px
}

.block-1__btn {
    display: flex;
    margin-top: 22px;
}

.block-1__btn .main-btn {
    padding: 25px 40px;
}

/* section 2 */
.parallax-2 {
    height: 100vh;
}

.block-2 {
    display: flex;
    align-items: center;
}

.block-2__text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 45px;
    line-height: 130%;
    text-align: start;
    color: var(--primary-orange);
}

/* section 3 */
.block-3 {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.service-block {
    display: flex;
    gap: 40px;
}

.service-block__title{
    margin-top: 40px;
    font-size: 3vw;
    color: var(--primary);
    text-transform: uppercase;
    flex: 1;
}
/* swiper services */
.services {
    width: 800px;
    height: 300px;
}

.services-slide {
    max-width: 400px;
    font-size: 18px;
    background: #F9F9F9;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    padding: 40px;
    border-top: 3px solid var(--primary-orange);
}
.services-slide:nth-child(even) {
    background: #EFEFEF;
    border-top: 3px solid #393633;;
}
.block3__image {
    height: 66px;
    margin-bottom: 24px;
}
.block-3__title {
    font-family: 'Actay Wide',sans-serif;
    font-size: 24px;
    line-height: 100%;
    color: var(--primary);
}
.block-3__text {
    font-size: 14px;
    line-height: 170%;
    color: var(--primary);
}
.competencies {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    position: relative;
    gap: 12px;
}
.competencies__title {
    position: absolute;
    z-index: -1;
    font-size: 6vw;
    color: #E9E9E9;
    top: -20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;

}
.competencies__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

/* section 4 */
.parallax-4 {
    position: relative;
    height: 100vh;
}

.parallax-4__orange-line {
    position: absolute;
    width: 20%;
    height: 100%;
    right: 20%;
    background-color: rgba(238, 106, 0, 0.3);
    z-index: 1;
    animation: slideOrange 10s ease-in-out 0s infinite normal none;
}

.block-4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    color: var(--primary-invert);
    position: relative;
    z-index: 2;
}

.block-4__title {
    font-size: 94px;
    text-transform: uppercase;
}

.block-4__text {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 24px;
    line-height: 160%;
}

/* section 5 */
.block-5 {
    height: 100vh;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.block-5__title {font-size: 60px; width: 40%}

.block-5__list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-around;
}
.list-item {
    display: flex;
    width: 200px;
    height: 85px;
    padding: 15px;
    border: 1px solid #D9D9D9;
    background: #FFF;
}
.list-item img {max-height: 100%; max-width: 80%; display: block; margin: auto}

/* Swiper projects */
.block-6 {
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.block-6__title {
    width: 70%;
    margin: 0 auto;
    padding: 72px 0;
    font-size: 70px;
    line-height: 88px;
    color: var(--primary);
}
.block-6__title h2 span {color: var(--primary-orange)}
.projects {
    width: 100%;
    height: 100%;
    background: #000;
}
.swiper-button-next, .swiper-button-prev {
    margin: 0 30px;
    color: rgba(255, 255, 255, 0.4);
}
.projects-slide {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
    font-size: 18px;
    color: var(--primary-invert);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 40px 60px;
}
.parallax-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 130%;
    height: 100%;
    background-image: url('images/swiper-parallax.jpg');
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center;
}
.projects-slide__image {
    display: flex;
    flex-shrink: inherit;
    height: 80%;
}
.projects-slide__description {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 50%;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
}
.projects-slide__title {
    font-size: 40px;
    line-height: 100%;
}
.projects-slide__text {
    font-size: 24px;
    line-height: 140%;
}
.projects-slide__btn {
    display: flex;
}
.projects-slide__btn .main-btn {
    padding: 15px 40px;
}


/* section 7 */
.block-7 {
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.block-7__content {
    width: 70%;
    height: 40%;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.block-7__title {
    font-size: 35px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.contact-list__item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list__item img {
    width: 50px;
}

.contact-list__item span {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.block-7__map {
    position: relative;
    overflow: hidden;
    height: 60%;
}

.block-7__map iframe {
    width: 100%;
    height: 100%;
}

/* Footer */
footer {
    width: 100%;
    padding: 50px 0;
    background-color: #060A0C;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--primary-invert);
}

.footer__1st {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 65%;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__2nd {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: Montserrat,sans-serif;
    line-height: 22px;
    font-size: 16px;
}

.footer-contact__phone {
    font-size: 26px;
    font-weight: 500;
}

/* Animations */
@keyframes slideOrange {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(70px);
    }
    100% {
        transform: translateX(0);
    }
}

@media (max-width: 1400px) {
    .block-5__title {font-size: 52px;}

    .block-7 {height: 100%}
    .block-7__content {height: 100%; margin: 50px auto}
    .contact-list {
        flex-direction: column;
        gap: 14px;
    }
    .block-6__title {
        padding: 60px 0;
    }
    .block-7__map { height: 450px}
}

@media (max-width: 1200px) {
    .block-wrapper, .block-6__title, .block-7__content { width: 80%; }

    .block-1__title { font-size: 100px; }

    .block-4__title { font-size: 84px; }
    .block-4__text {font-size: 20px}

    .footer {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .header__burger { z-index: 200; display: block; position: relative; height: 40px; width: 40px; border-radius: 8px; background: url("/images/icons/burger.svg") center center no-repeat; cursor: pointer }
    .header__menu {
        display: none;
        position: absolute;
        z-index: 100;
        flex-direction: column;
        justify-content: space-between;
        height: 100vh;
        width: 100%;
        top: 0;
        right: 0;
        padding: 72px 32px;
        background: rgba(0, 0, 0, 0.9);
    }
    .show {display: flex}
    .header__list { display: flex; flex-direction: column;}
    .header__link { font-size: 24px }

    .block-1__title {font-size: 80px;}

    .block-2__text {font-size: 35px}

    .block-3 {height: 100%; margin: 80px auto; gap: 100px}
    .service-block { flex-direction: column}
    .services {width: 100%}
    .service-block__title {font-size: 40px; margin-top: 0;}
    .services-slide { max-width: none }
    .competencies { flex-wrap: wrap; }
    .competencies__item { width: 300px}
    .block-3__title {font-size: 20px}
    .block-3__text {font-size: 14px;}

    .block-4__title { font-size: 64px; }
    .block-4__text {font-size: 18px}

    .block-5 { height: 100%; margin: 80px auto; flex-direction: column; align-items: flex-start; justify-content: center}
    .block-5__title {font-size: 50px; width: 100%}

    .block-6__title {padding: 32px; font-size: 50px;}
    .projects-slide__description { width: 60% }
    .projects-slide__text {font-size: 22px;}
    .swiper-button-next, .swiper-button-prev { margin: 0 5px; }

    .block-7__map { height: 350px}

    .projects-slide__image {
        justify-content: center;
        align-items: center;
        width: 50%;
    }

    .footer-contact__phone { font-size: 22px; }

    .header__link:hover, .footer-links__item:hover { transform: none }
}

@media (max-width: 768px) {
    .block-wrapper, .block-7__content { width: 90%;}

    .block-1__title {font-size: 70px;}
    .block-1__text { font-size: 20px; }
    .block-1__btn .main-btn {padding: 16px 40px;}

    .block-2__text {font-size: 25px}

    .competencies__item { width: 250px}

    .block-4__title, .block-5__title { font-size: 40px; }
    .block-4__text {font-size: 16px}

    .block-5__list {gap: 15px}
    .list-item {
        width: 180px;
        height: 75px;
    }
    .block-6__title {width: 90%; padding: 24px 0; font-size: 40px; line-height: 42px}
    .projects-slide__title {font-size: 30px;}
    .projects-slide__text {font-size: 20px;}


}

@media (max-width: 600px) {
    .block-1__title {font-size: 48px;}

    .competencies__item { width: 200px}

    .block-6 {height: 100%}
    .projects-slide { flex-direction: column; }
    .projects-slide__description {width: 100%}

    .block-7__title {font-size: 24px}
    .block-7__map { height: 300px}


}

@media (max-width: 500px) {
    .block-1__title {font-size: 25px;}
    .block-1__text { font-size: 15px; }

    .block-2__text {font-size: 18px}

    .block-3 {margin: 40px auto; gap: 50px}
    .service-block__title { font-size: 22px; }
    .competencies__item { width: 100%; align-items: center; text-align: center}
    .block-3__title {font-size: 18px}
    .block-3__text {font-size: 14px;}

    .block-4__title, .block-5__title { font-size: 24px; }
    .block-4__text {font-size: 14px}

    .block-5 { margin: 60px auto; }
    .list-item {
        width: 150px;
        height: 65px;
    }

    .block-6__title { font-size: 24px;}
    .projects-slide__title {font-size: 18px;}
    .projects-slide__text {font-size: 14px;}

    .contact-list__item img {
        width: 40px;
    }
}
