/* Button */

.Button {
    padding: 0 20px;
    height: 55px;
    font-size: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.5s;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    font-weight: 600
}

.Button:hover {
    transform: scale(1.05)
}

.btn-default {
    background-color: #fff;
    color: #343434;
}

.btn-round {
    width: 44px;
    height: 44px;
    border-radius: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.btn-round-outline {
    width: 44px;
    height: 44px;
    border-radius: 100%;
    background: transparent;
    border-color: #343434;
}

.btn-dark {
    background-color: #343434;
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: #343434;
    border-color: #343434;
}

.btn-square {
    min-width: 50px;
    width: 50px;
    height: 50px;
    background: #343434;
    color: #fff;
}

/* ProjectCard */

.ProjectCard {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: 0.5s;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 30px;
}

.ProjectCard:hover {
    transform: scale(1.05);
}

.ProjectCard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.ProjectCard div {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, transparent, rgba(45, 45, 45, 0.5), #2D2D2D);
    z-index: 2;
}

.ProjectCard h3 {
    z-index: 3;
    position: relative;
    color: #fff;
    font-weight: 600;
    line-height: 150%;
    font-size: 22px;
}

/* DocumentCard */

.DocumentCard {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 15px;
    background: rgba(52, 52, 52, 0.05);
    border: 1px solid rgba(52, 52, 52, 0.1);
    border-radius: 12px;
    width: 100%;
    cursor: pointer;
    transition: 0.5s;
}

.DocumentCard:hover {
    transform: scale(1.01);
}

.DocumentCard h3 {
    font-size: 18px;
    font-weight: 500;
    color: #343434;
}

/* Galery */

.Galery {
    max-width: 600px;
    min-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.GaleryMainImage {
    height: 600px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.GaleryMainImage img {
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
}

.GaleryShadow {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(52, 52, 52, 0.6) 88%, #343434 100%);
    top: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 15px;
    gap: 10px;
}

.GaleryRow {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
    padding-bottom: 5px;
}

.GaleryRow::-webkit-scrollbar {
    display: none;
}

.GaleryRow {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.GaleryRow img {
    width: 108px;
    height: 108px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0.5;
    border: 1px solid transparent;
    flex-shrink: 0;
    transition: opacity 0.3s ease, border-color 0.3s ease;
}

.GaleryRow img.Active {
    opacity: 1;
    border: 1px solid #343434;
}

/* Mobile Menu */

.MobileMenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 1000;
    padding: 15px 15px;
    box-sizing: border-box;

    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.MobileMenu.Active {
    transform: translateX(0);
}

.MobileMenu .MenuRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.MobileMenu ul {
    list-style: none;
    padding: 0;
    margin: 60px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.MobileMenu li {
    position: relative;
    width: fit-content;
}

.MobileMenu a {
    text-decoration: none;
    font-size: 30px;
    color: #333333;
    font-weight: 500;
    width: fit-content;
}

.MobileMenu .Underline {
    height: 2px;
    background-color: #343434;
    width: 0;
    transition: width 0.3s ease;
    margin-top: 4px;
}

.MobileMenu .Underline.Active {
    width: 100%;
}

.MobileMenu .MobileBox {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    align-items: center;
}

.MobileMenu .MobileBox app-button,
.MobileMenu .MobileBox button {
    width: 100%;
}

.MobileMenu .MobileBox p {
    line-height: 170%;
    font-size: 16px;
    color: #343434;
    font-weight: 400;
}

@media screen and (max-width: 1000px) {
    .Galery {
        min-width: 0;
        max-width: none;
        width: 100%;
    }

    .GaleryMainImage {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .GaleryRow {
        overflow-x: auto;
        width: 100%;
        padding: 0 15px 10px 15px;
        margin: 0 -15px;
    }

    .GaleryRow img {
        width: 80px;
        height: 80px;
    }
}