*{
    margin: 0;
    padding: 0;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
html {
    scroll-behavior: smooth;
    background:
        radial-gradient(circle at 20% 30%, rgba(238,201,141,0.12), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(210,74,74,0.10), transparent 45%),
        #ffffff;
}
.video-bg, .video-bg2{
  position: relative;
  width: 100%;
  height: 100vh; /* обязательно */
  overflow: hidden;
}
h2{
    font-size: 50px;
}
.video-bg video, .video-bg2 video{
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.video-bg .content,.video-bg2 .content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
}
.content{
    width: 100%;
    height: 100vh;
    background: rgb(0, 0, 0, 0.6);
}
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
header{
    width: calc(100% - 100px);
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}
.logo img{
    width: 180px;
}
.logo,.block_button{
    width: 20%;
}
.navigation{
    width: 60%;
}
.navigation a:hover{
    text-decoration: underline;
}
.logo{
    display: flex;
    justify-content: start;
}
.navigation{
    display: flex;
    justify-content: center;
    gap: 40px;
}
.block_button{
    display: flex;
    flex-direction: row;
    justify-content: end;
    column-gap: 40px;
}
a{
    text-decoration: none;
    color: white;
}
.button_contact_us{
    width: 200px;
    height: 40px;
    border-radius: 7px;
    border: 2px solid white;
    transition: 0.3s;
}
.button_contact_us:hover{
    background: none;
    border: 2px solid white;
    color: white;
    transition: 0.3s;
}
.main_block{
    width: 100%;
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.m, .f{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.main_block h1{
    font-size: 90px;
    color: #eec98d;
}
.main_block p{
    margin-top: 30px;
    text-align: center;
    width: 70%;
    font-size: 40px;
}
.main_block button{
    margin-top: 50px;
    width: 300px;
    height: 50px;
    border-radius: 10px;
    background: none;
    border: 2px solid white;
    color: white;
    transition: 0.4s;
}
.main_block button:hover{
    background: white;
    color: black;
    transition: 0.4s;
}
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
.first_block{
    width: 100%;
    height: max-content;
    margin: 100px 0px;
}
.line{
    width: 50%;
    height: 100px;
    border-right: 3px solid rgb(210, 74, 74);
    margin-top: 100px;
}
.first_block h2{
    width: 100%;
    text-align: center;
    color: rgb(210, 74, 74);
    z-index: 3;
}
.first_block p{
    width: 70%;
    text-align: center;
    font-size: 62px;
    margin-top: 30px;
    z-index: 2;
}
.first_block span{
    color: rgb(210, 74, 74);
    z-index: 2;
}

/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
.black_block .logo img{
    width: 500px;
}
.logo{
    display: flex;
    justify-content: center;
}
.content3{
    width: 100%;
    height: max-content;
    background: url(2.jpg);
    background-size: cover;
}
.content1,.content2{
    width: 45%;
    text-align: start;
    color: white;
}
.content1 img{
    width: 500px;
    margin-top: 80px;
}
.content2{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 50px;
}
.content4{
    width: calc(100% - 200px);
    height: 100%;
    display: flex;
    justify-content: space-between;
    background: rgb(0, 0, 0, 0.4);
    padding: 100px 100px;
}
.content3 h2{
    font-size: 40px;
    color: #eec98d;
}
.content3 h3{
    font-size: 30px;
}
.content3 p{
    font-size: 17px;
    margin-top: 20px;
    line-height: 2;
}
.content3 span{
    margin-right: 20px;
    color: #eec98d;
    font-weight: 900;
}
.first_blockp{
    display: flex;
    justify-content: center;
}
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
.hhh{
    width: calc(100% - 100);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
    padding: 0px 50px;
    margin-top: 100px;
}
.block_hhh{
    flex: 1 1 calc(40% - 22.5px); /* 2 в ряд */
    box-sizing: border-box; 
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border: 2px solid rgb(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 50px 50px;
}
.block_hhh p{
    font-size: 20px;
    margin: 0;
}
.block_hhh p,.block_hhh h3{
    width: 100%;
    text-align: start;
    margin-top: 20px;
}
.block_hhh h3{
    font-size: 25px;
    color: rgb(210, 74, 74);
}
.block_hhh button{
    width: 100%;
    height: 50px;
    background: none;
    border: 2px solid rgb(210, 74, 74);
    color: rgb(210, 74, 74);
    font-size: 15px;
    transition: 0.3s;
    margin-top: 30px
}
.block_hhh button:hover{
    background: rgb(210, 74, 74);
    color: white;
    transition: 0.3s;
}
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
.form{
    width: 100%;
    height: max-content;
    background-image: url(2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
}
.lines{
    width: 200px;
    height: 1px;
    border-bottom: 2px solid rgb(238, 201, 141, );
}
.black_form{
    width: 100%;
    height: max-content;
    background: rgb(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 100px 0;
}
.input{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 45px;

}
.fr{
    display: flex;
    flex-direction: column;
    row-gap:45px ;
}
input{
    height: 50px;
    border-radius: 10px;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px 30px;
    font-size: 15px;
}
form{
    margin-top: 50px
}
form button{
    margin-top: 50px;
    width: 100%;
    height: 70px;
    border-radius: 10px;
    border: none;
    font-size: 20px;
    transition: 0.3s;
}
form button:hover{
    background: black;
    color: white;
    transition: 0.3s;
}
.input input{
    flex: 1 1 calc(50% - 22.5px); /* 2 в ряд */
    min-width: 250px;
    box-sizing: border-box; 
    height: 50px;
}
.forn_in{
    width: 60%;
}
.black_form h2{
    margin-bottom: 20px;
    font-size: 30px;
    color: #eec98d;
}
.black_form p{
    width: 70%;
    margin-top: 20px;
    font-size: 70px;
    text-align: center;
}
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
.hhh1{
    width: calc(100% - 100);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0px 50px;
    margin-top: 100px;
}
.hhh1 .block_hhh{
    flex: 1 1 calc((100% - 40px) / 3);
    box-sizing: border-box;
}
.info{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.info p{
    font-size: 30px;
}
.linee{
    width: 1px;
    height: 100px;
    border-left: 3px solid rgb(210, 74, 74);
    margin-top: 100px;
}
.hhh1 .block_hhh p{
    font-size: 20px;
}
.block_hhh img{
    width: 50px;
}
.block_hhh .img{
    width: 100%;
}
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
footer{
    width: 100%;
    background: url(2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
}
.black_block div{
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.black_block h2{
    color: #eec98d;
    font-size: 60px;

}
.black_block .navigation1 a{
    color: rgb(255, 255, 255);
    font-weight: 200;
}
.black_block h3{
    color:#eec98d;
    font-weight: 200;
}
.black_block .navigation1 a:hover{
    text-decoration: underline
}
.black_block{
    width: calc(100% - 200px);
    height: max-content;
    background: rgb(0, 0, 0, 0.4);
    padding: 100px 150px 100px 50px; 
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
.animate-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: 1s ease;
}

.animate-right {
    opacity: 0;
    transform: translateX(80px);
    transition: 1s ease;
}

.animate-bottom {
    opacity: 0;
    transform: translateY(80px);
    transition: 1s ease;
}

.animate-top {
    opacity: 0;
    transform: translateY(-80px);
    transition: 1s ease;
}

.show {
    opacity: 1 !important;
    transform: translateX(0) translateY(0) !important;
}

/* для скрол-анімацій */
.fade-in-block {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

.fade-in-block.show-on-scroll {
    opacity: 1;
    transform: translateY(0);
}
/* ========== HOVER IMAGE — 3 ГОРИЗОНТАЛЬНІ СМУГИ ========== */
.block_hhh {
    position: relative;
    overflow: hidden;
}

/* контейнер */
.block_hhh .img-hover {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* контент поверх */
.block_hhh .img,
.block_hhh h3,
.block_hhh p,
.block_hhh button {
    position: relative;
    z-index: 2;
}

/* загальні стилі */
.block_hhh .img-part {
    position: absolute;
    left: 0;
    width: 100%;
    background-image: var(--hover-img);
    background-size: сover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: transform 1.5s cubic-bezier(.22,1,.36,1), opacity 0.4s;
}
.block_hhh .img-part {
    will-change: transform;
    backface-visibility: hidden;
}

/* 🔝 ВЕРХНЯ — зліва */
.block_hhh .img-part.top {
    top: 0;
    height: 34%;
    background-position: top center;
    transform: translateX(-100%);
}

/* ▶ СЕРЕДНЯ — справа */
.block_hhh .img-part.mid {
    top: 33%;
    height: 34%;
    background-position: center center;
    transform: translateX(100%);
}

/* 🔻 НИЖНЯ — зліва */
.block_hhh .img-part.bot {
    top: 66%;
    height: 34%;
    background-position: bottom center;
    transform: translateX(-100%);
}

/* hover */
.block_hhh:hover .img-part {
    opacity: 1;
}
.block_hhh:hover .top,
.block_hhh:hover .mid,
.block_hhh:hover .bot {
    transform: translateX(0);
}
.block_hhh:hover h3{
    color: #eec98d;
}
.block_hhh:hover button{
    border: 2px solid #eec98d;
    color: #eec98d;
}
.block_hhh:hover button:hover{
    background: #eec98d;
    color: black;
}
.block_hhh:hover p {
    color: #ffffff; /* білий */
}
/* контейнер картинки */
.block_hhh .img {
    position: relative;
    width: 100%;
}

/* всі картинки */
.block_hhh .img img {
    display: block;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* hover-картинка */
.block_hhh .img-hovered {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.05);
}

/* при наведенні */
.block_hhh:hover .img-main {
    opacity: 0;
}

.block_hhh:hover .img-hovered {
    opacity: 1;
    transform: scale(1);
}
/* ===== FULLSCREEN BURGER MENU ===== */
.fullscreen-menu {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
}

.fullscreen-menu nav {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
}
.no-scroll {
    overflow: hidden;
    height: 100vh;
}

.fullscreen-menu nav a {
    font-size: 40px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.fullscreen-menu nav a:hover {
    color: #eec98d;
}

/* active state */
.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
}

/* burger icon */
.burger {
    width: 40px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1000;
}

.burger span {
    height: 4px;
    background: white;
    border-radius: 5px;
    transition: 0.4s;
}
.burger {
    display: none;
}

/* animation to X */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}
@media (max-width: 1100px) {
    .burger {
        display: flex;
    }
    .block_button{
        display: none;
    }
}

@media (max-width: 1100px) {
    .navigation, .button_contact_us{
        display: none;
    }
    .black_block{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .black_block div{
        margin-top: 50px;
    }
    .content4{
        display: flex;
        flex-direction: column;
    }
    .content1, .content2{
        width: 100%;
    }
    .content1 div{
        display: flex;
        justify-content: center;
    }
    .content1 div img{
        width: 300px;
        margin: 30px 0px;
        min-width: none;
    }
    .hhh, .hhh1{
        width: calc(100%-100px);
        display: flex;
        flex-direction: column;
    }
}
@media (max-width: 700px) {
    .main_block h1{
        font-size: 50px;
    }
    .main_block p,.black_form p{
        font-size: 20px;
    }
    .logo img{
        width: 100px;
    }
}