html {
    scroll-behavior: smooth;
}

body {
    font-family: 'ChakraPetch', sans-serif;
}

header {
    width: 100%;
    height: 810px;
}

video {
    width: 100%;
    height: 810px;
}

/* ------------------- */
.Header {
    width: 100%;
    height: 250px;
}

.header__video {
    position: absolute;
    min-width: 100%;
    max-height: 810px;
    object-fit: cover;
    z-index: 1;
}

.navbar {
    position: relative;
    z-index: 100;
    width: 100%;
    background: rgba(245, 245, 245, 0.448);
    padding: 23px 120px;
}

.logo {
    max-width: 90px;
    max-height: 74px;
}

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

}

.nav__list {
    display: flex;
    gap: 4vh 40px;
}

.nav__link {
    display: block;
    padding: 5px 0;
    position: relative;
    z-index: 1;
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
    align-self: center;
}

.breadcrumbs {
    padding: 15px 0;
    margin-top: 20px;
}

.breadcrumbs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
}

.breadcrumbs__link {
    color: #3c3c3c;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 20px;
    font-weight: 600;
}

.breadcrumbs__link:hover {
    color: #121212;
    text-decoration: underline;
}

.breadcrumbs__item::after {
    content: '/';
    margin: 0 8px;
    color: #666;
}

.breadcrumbs__item:last-child::after {
    content: none;
}

.breadcrumbs__current {
    color: #666;
    font-size: 20px;
    font-weight: 600;
    pointer-events: none;
}

.nav__link:hover::before {
    opacity: 1;
}

.navbar_item {
    margin: auto 56px auto 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
}

.background {
    position: relative;
    bottom: -570px;
    z-index: 3;
    width: 100%;
    height: 120px;
    background: linear-gradient(0.00deg, rgb(245, 245, 245) 0%, #f5f5f500 100%);
}

/* -------------- */
.main {
    padding: 0 120px;
}

.photo {
    width: 100%;
    margin-bottom: 120px;
}

.photo-gallery {
    position: relative;
}

.photo__work {
    filter: brightness(40%);
}

.photo-text {
    position: absolute;
    top: 45%;
    right: 40%;
    font-size: 48px;
    font-weight: 600;
    line-height: 62px;
    color: #fff;
}

.headline {
    margin-top: 120px;
    font-size: 36px;
    font-weight: 600;
    line-height: 47px;
    margin-bottom: 40px;
}

.main__projects {
    display: grid;
    grid-template-columns: repeat(3, auto);
    align-self: center;
    gap: 24px;
}

.project {
    position: relative;
}

.projects__img {
    max-width: 100%;
    border-radius: 10px;
    filter: brightness(80%)
}

.projects__text {
    position: absolute;
    bottom: 8px;
    left: 8px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    line-height: 31px;
}

.main__about {
    display: flex;
    justify-content: space-between;
    margin-bottom: 120px;
    gap: 80px;
}

.img__about {
    margin-left: -120px;
    max-height: 440px;
}

.about__text {
    max-width: 970px;
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
}

/* --------------- */
.footer {
    background: #252525;
    padding: 80px 120px;
}

.footer__headline {
    color: #fff;
    font-size: 36px;
    font-weight: 600;
    line-height: 47px;
    margin-bottom: 40px;
}

.footer__contact {
    display: flex;
    justify-content: space-between;
}

.contact__text {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
    margin-bottom: 24px;
}

.form-container {
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 80px;

}

h3 {
    font-size: 20px;
    line-height: 140%;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.form-group {
    margin-bottom: 32px;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

input {
    width: 100%;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 100px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.1);
}

button {
    width: 190px;
    border-radius: 100px;
    padding: 1rem;
    background: #1a1a1a;
    color: white;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #494949;
}

button:active {
    background: #909090;
}

.footer__left {
    max-width: 640px;
    width: 100%;
}

.e-mail-text {
    font-size: 20px;
    font-weight: 600;
    line-height: 140%;
    color: #fff;
    margin-bottom: 15px;
}

.email {
    font-size: 20px;
    font-weight: 600;
    line-height: 140%;
    color: #fff;
}

.social__text {
    font-size: 20px;
    font-weight: 600;
    line-height: 140%;
    color: #fff;
    margin: 55px 0 15px;
}

.social__list {
    display: flex;
    justify-content: left;
    gap: 10px;
}

.footer__button {
    display: flex;
    justify-content: space-between;
    margin-top: 300px;
}


.copyright {
    font-size: 20px;
    font-weight: 600;
    line-height: 140%;
    color: #fff;
    margin-top: 20px;
}

/* ----------- */
@media (max-width: 1440px) {
    .main {
        padding: 0 60px;
    }

    .main__projects {
        grid-template-columns: repeat(2, auto);
        gap: 24px;
    }

    .projects__img {
        max-width: 100%;
    }

    .img__about {
        max-width: 500px;
    }

    .footer {
        padding: 80px 60px;
    }

    .footer__left {
        max-width: 500px;
    }
}

@media (max-width: 1024px) {
    .photo-text {
        top: 20vw;
        right: 20vw;
        font-size: 38px;
    }

    .projects__img {
        max-width: 100%;
    }

    .img__about {
        max-width: 400px;
    }

    .footer {
        padding: 80px 30px;
    }

    .footer__left {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .photo-text {
        right: 15vw;
        font-size: 38px;
    }

    .breadcrumbs__list {
        justify-content: center;

    }

    .navbar {
        padding: 23px;
    }

    .navbar_row {
        display: grid;
        justify-content: center;
    }

    .navbar__logo {
        margin: 10px auto;
    }

    .main {
        padding: 0 10px;
    }

    .projects__img {
        max-width: 100%;
    }

    .projects__text {
        font-size: 20px;
    }

    .main__projects {
        grid-template-columns: repeat(1, auto);
    }

    .main__about {
        display: grid;
    }
    .photo {
    margin-bottom: 20px;
    }

    .img__about {
        margin-left: 0;
        max-width: 100%;
        border-radius: 10px;
    }

    .footer__headline {
        text-align: center;
    }

    .footer__right {
        text-align: center;
    }

    .footer__contact {
        display: grid;
        justify-content: center;
    }

    .social__list {
        justify-content: center;
    }

}

@media (max-width: 414px) {
    .photo-text {
        right: 15vw;
        font-size: 24px;
    }

    .breadcrumbs__link,
    .breadcrumbs__current {
        font-size: 18px;
    }

    .breadcrumbs__item::after {
        margin: 0 5px;
    }

    .footer__button {
        display: grid;
        justify-content: center;
    }

    .footer__logo {
        margin: 0 auto;
    }
}