@font-face {
    font-family: "Montserrat";
    src: url("../assets/fonts/Montserrat.ttf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    font-family: "Montserrat", serif;
}

a {
    text-decoration: none;
    color: inherit;
}

body,
html {
    max-width: 100%;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 30px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Home */

.Hero {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #343434;
}

.HeroSlidesContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.HeroSlide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
}

.HeroSlide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.HeroSlide .BackgroundImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.HeroBox {
    max-width: 1300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 40px;
    position: relative;
    z-index: 3;
}

.HeroBox h1 {
    font-weight: 700;
    color: #fff;
    font-size: 50px;
}

.HeroBox p {
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 200%;
    font-size: 20px;
    color: #fff;
    max-width: 930px;
    width: 100%;
}

.HeroControlls {
    position: absolute;
    bottom: 24px;
    width: 100%;
    padding: 0 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    z-index: 10;
}

.HeroSlideIndicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.HeroSlideIndicator div {
    width: 33px;
    height: 4px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.3);
    transition: 0.5s;
    cursor: pointer;
}

.HeroSlideIndicator div.Active {
    background: #fff;
}

.HeroSlideButtons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.HeroSlide .MobileShadow {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(52, 52, 52, 0.5);
}



/* HomeAbout */

.HomeAbout {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding-top: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.HomeAboutSlider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.HomeAboutTrack {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.HomeAboutSlide {
    width: 100%;
    flex-shrink: 0;
}

.HomeAboutBox {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
}

.HomeAboutBox img {
    border-radius: 20px;
    object-fit: cover;
    width: 100%;
}

.HomeAboutBox .Box {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.HomeAboutBox .Box .Row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.HomeAboutBox .Box .Row div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.HomeAboutBox .Box .Row h3 {
    color: #343434;
    font-size: 26px;
    font-weight: 700;
}

.HomeAboutBox .Box .Row p {
    color: #343434;
    font-size: 14px;
    font-weight: 400;
    line-height: 170%;
}

.HomeAboutBox .Box .Row div:last-child {
    padding-left: 15px;
}

.HomeAboutBox .Box>p {
    line-height: 170%;
    color: #343434;
    font-size: 18px;
    font-weight: 400;
}

.HomeAbout .MobileControlls {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    justify-content: space-between;
}


/* HomeProjects */

.HomeProjects {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 60px 0 50px 0;
    margin: 0 auto;
    max-width: 1300px;
    width: 100%;
}

.HomeProjects .TopBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* AboutSection */

.AboutSection {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    margin-top: 116px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.AboutSection img,
.AboutAdvantages img {
    max-width: 560px;
    width: 100%;
    height: 650px;
    border-radius: 20px;
    position: sticky;
    top: 116px;
    object-fit: cover;
}

.AboutSection .Title,
.AboutRegions .Title,
.AboutAdvantages .Title {
    font-size: 36px;
}

.AboutSection .Box,
.AboutAdvantages .Box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 40px;
}

.AboutSection .Box>div,
.AboutAdvantages .Box>div {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.AboutSection .Box p,
.AboutRegions p,
.AboutAdvantages .Box p {
    color: #343434;
    line-height: 200%;
    font-size: 18px;
    font-weight: 500;
}

.AboutSection ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 5px;
    padding-left: 15px;
    font-size: 18px;
    font-weight: 500;
    line-height: 200%;
    color: #343434;
}

.AboutRegions {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 0;
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
}

.AboutRegions>div {
    width: 100%;
}

.AboutRegions iframe {
    width: 100%;
    border-radius: 20px;
}


.AboutRegions .Box {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.AboutAdvantages {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 60px 0;
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
}

.AboutAdvantages .Box {
    gap: 60px;
}

/* Projects Page */

.FilterSection {
    margin: 0 auto;
    max-width: 1300px;
    width: 100%;
    margin-top: 116px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.FilterSection .Title {
    font-size: 36px;
}

.FilterList {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.FilterList div {
    height: 55px;
    padding: 0 25px;
    border-radius: 12px;
    background-color: rgba(52, 52, 52, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.5s;
    font-size: 16px;
    font-weight: 600;
    color: rgba(52, 52, 52, 0.7);
    white-space: nowrap;
}

.FilterList div:hover {
    transform: scale(1.05);
}

.FilterList div.Active {
    background: #343434;
    color: #fff;
}

.ProjectsList {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 50px;
}

/* Contacts */

.ContactsSection {
    background: #F4F4F4;
    display: flex;
    align-items: center;
    margin-top: 101px;
    height: calc(100vh - 101px);
}

.ContactsSection iframe {
    height: 100%;
    width: 100%;
}

.ContactBox {
    width: 100%;
    padding-left: 55px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ContactBox .Title {
    font-size: 36px;
}

.ContactBox p {
    font-size: 18px;
    font-weight: 500;
    line-height: 200%;
    color: #343434;
}

.ContactBox h3 {
    font-size: 20px;
    line-height: 200%;
    font-weight: 700;
    color: #343434;
}

/* Documents */

.DocumentsSection {
    margin: 0 auto;
    max-width: 1300px;
    width: 100%;
    margin-top: 116px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.DocumentsSection .Title {
    font-size: 36px;
}

.DocumentList {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.DocumentGroup {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.DocumentGroup>div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.DocumentGroup p {
    font-size: 18px;
    font-weight: 500;
    color: #343434;
}


/* ProjectDetails */

.ProjectDetailsSection {
    max-width: 1300px;
    margin: 0 auto;
    margin-top: 116px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.ProjectDetailsSection app-gallery {
    position: sticky;
    top: 116px;
}

.ProjectDetailsSection .Box {
    padding-top: 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.ProjectDetailsSection .Box h1 {
    font-size: 30px;
    font-weight: 700;
    color: #343434;
}

.ProjectDetailsSection .Box p {
    font-size: 18px;
    font-weight: 500;
    line-height: 200%;
    color: #343434;
}

.ProjectDetailsSection .Group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ProjectDetailsSection .Group div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.OtherProjects {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    margin-top: 70px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}


/* Other */

.BackgroundImage {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
    object-fit: cover;
}

.Title {
    color: #343434;
    font-size: 30px;
    font-weight: 700;
}

.Grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 20px;
}

@media screen and (max-width: 1350px) {
    .HomeProjects {
        padding: 60px 15px 50px 15px;
    }

    .AboutSection,
    .FilterSection,
    .ProjectsList,
    .DocumentsSection,
    .ProjectDetailsSection,
    .OtherProjects {
        padding: 0 15px;
    }

    .DocumentsSection {
        padding-bottom: 50px;
    }

    .AboutRegions,
    .AboutAdvantages {
        padding: 60px 15px;
    }
}

@media screen and (max-width: 1200px) {
    .HomeAbout {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 50px 15px 0 15px;
    }

    .HomeAbout>app-button {
        display: none;
    }

    .HomeAbout .MobileControlls {
        display: flex;
    }
}

@media screen and (max-width: 1050px) {
    .HomeAboutBox {
        flex-direction: column;
    }

    .HomeAboutBox img {
        height: 400px;
    }
}

@media screen and (max-width: 1000px) {
    .Grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .AboutSection,
    .AboutAdvantages {
        flex-direction: column;
        gap: 35px;
    }

    .AboutSection img,
    .AboutAdvantages img {
        position: static;
        max-width: 100%;
        height: 500px;
    }

    .ProjectDetailsSection app-gallery {
        position: static;
        display: block;
        width: 100%;
        min-width: 0;
    }

    .ProjectDetailsSection {
        flex-direction: column;
    }

    .ProjectDetailsSection .Box {
        padding: 0;
    }

    .AboutSection .Box,
    .AboutAdvantages .Box {
        padding: 0;
    }
}

@media screen and (max-width: 860px) {
    .HeroBox h1 {
        font-size: 30px;
    }

    .HeroBox p {
        font-size: 16px;
    }

    .HeroBox button {
        width: 100%;
    }

    .Hero .MobileShadow {
        display: flex;
    }

    .AboutRegions {
        flex-direction: column-reverse;
    }

    .AboutSection .Title,
    .AboutRegions .Title,
    .AboutAdvantages .Title {
        font-size: 30px;
    }

    .ContactsSection {
        flex-direction: column;
        height: auto;
        gap: 50px;
        padding-bottom: 50px;
    }

    .ContactsSection iframe {
        height: 400px;
    }

    .ContactBox {
        padding: 0 25px;
    }
}

@media screen and (max-width: 600px) {
    .Grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (max-width: 400px) {
    .HomeAboutBox .Box .Row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .HomeAboutBox button {
        width: 100%;
    }

    .HomeAboutBox .Box .Row div {
        width: 100%;
        padding: 0 !important;
    }

    .HomeProjects .TopBar button {
        padding: 0;
        border: none;
        border-radius: 0;
    }
}