html,body{
  overflow-x: hidden;
}
header{
    background: linear-gradient(to bottom, rgb(0, 0, 0), rgba(0, 0, 0, 0)), url("../img/back_2.png");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    width: 100%;
    height: 100vh;
}

/*menu*/

.header_main {
    display: flex;
    justify-content: end;
    width: 100%;
}

.header_main a {
    font-family: Roboto, serif;
    font-size: 15px;
    color: #FFFFFF;
    transition: all 0.3s ease-in-out;
}

.nav-link:active {
    color: #ffffff !important;
}

.nav-link:after {
    color: #FFFFFF;
}

.navbar {
    display: flex;
    align-items: center;
}

.navbar-links {
    display: flex;
}

.navbar-links a {
    margin-left: 20px;
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.navbar-links a:hover {
    color: #f1c40f;
}

/* Бургер-меню */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* Адаптивность */
@media screen and (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .navbar-links {
        position: absolute;
        transform: translate(150%, 70%);
        background: #333;
        width: 200px;
        flex-direction: column;
        padding: 10px;
        transition: 0.3s;
        z-index: 100;
        border: 2px solid transparent;
        border-radius: 30px;
        box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.09), inset 0 0 10px 2px rgba(255, 255, 255, 0.4);
    }

    .navbar-links a {
        margin: 10px 0;
    }

    .navbar-links.open {
      transform: translate(12%, 70%);
    }
}




/*jlj*/
.header_main{
    display: flex;
    justify-content: end;
    width: 80%;
    height: 66px;
}

.header_main a{
    font-family: Roboto, serif;
    font-size: 15px;
    color: #FFFFFF;
    transition: all 0.3s ease-in-out;
}

.nav-link:active {
    color: #ffffff !important;
}

.nav-link:after{
    color: #FFFFFF;
}

.scroll-to-top {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 60px;
    height: 60px;
    margin-right: 30px;
    margin-top: 570px;
    background-color: #ffffff;
    color: #000000;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 34px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s, transform 0.3s ease-in;
    z-index: 1000;
}

.scroll-to-top:hover {
    background-color: #dcdce1;
}

.scroll-to-top.show {
    display: block;
}

.scroll_button{
    display: flex;
    justify-content: flex-end;
    width: 100%;
    height: auto;
    position: absolute;
}

.content_1{
    width: 80%;
    height: 77vh;
    border: solid 2px transparent;
    border-radius: 100px;
    box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.09), inset 0 0 10px 2px rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    padding: 30px;
    box-sizing: unset;
}

.cart{
    width: 50%;
    border-radius: 30px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
    height: 100%;
}

.cart img{
    box-shadow: -10px -10px 5px rgba(0, 0, 0, 0.5);
    border-radius: 10px; /* Округление углов, если нужно */
    border-radius: 30px;
    position: relative;
    left: 30px;
    border-radius: 38px;
    height: 100%;
    width: 80%;
    object-fit: cover;
    display: block;
    object-position: center;
}
.text{
  width: 50%;
}

.zagolovok{
    width: 420px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.zagolovok h1{
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-weight: bold;
    color: white;
}

.text_osnova{
    width: 400px;
    display: flex;
    flex-wrap: wrap;
    height: auto;
}

.text_osnova p{
    color: white;
    font-family: Roboto, serif;
}

.bid{
    width: 220px;
    height: 54px;
    margin-top: 30px;
    background-color: #D1B78A;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 1s ease;
}

.bid a{
    color: #FFFFFF;
    text-decoration: none;
}

.bid a:hover{
    color: #000000;
}

.bid:hover{
    background-color: #dcdbdb;
}

/*adaptiva header*/
@media (max-width: 915px) {
  .content_1{
    flex-direction: center;
  }
  .zagolovok {
    width: 357px;
  }
  .zagolovok h1{
    font-size: 30px;
  }
  .text_osnova{
    width: 336px;
  }
}

@media (max-width: 805px) {
  .cart img{
    position: relative;
    left: -15px;
  }
  .zagolovok{
    width: 100%;
    margin-bottom: 0px;
  }
  .text_osnova{
    width: 100%;
  }
  .bid{
    margin: 4px auto;
  }
}
@media (max-width: 710px){
  .content_1{
    flex-direction: column;
    justify-items: center;
    align-items: center;
  }
  .zagolovok h1{
        text-align: center;
  }
  .cart{
    order: 1;
    width: 300px;
    margin: 1rem auto;
  }
  .cart img{
    margin: 0 auto;
    width: 300px;
  }
  .text{
    height: 70vh;
    width: 300px;
  }
}
@media (max-width: 375px){
  .text p{
    font-size: 15px;
  }
  .cart{
    width: 220px;
    position: static;
    left: 0px;
    top: 0px;
  }
}
@media (max-width: 360px){
 .text{
   width: 260px;
 } 
}




/*Вторая секция*/
.main_content {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    margin: 30px;
    justify-content: center;
    gap: 20px;
}

.card_1, .card_2 {
    width: 48%;
    padding: 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.card_1 img, .card_2 img {
    width: 100%;
    max-height: 100%;
    border-radius: 30px;
    object-fit: cover;
}

.card_1 p, .card_2 p {
    padding: 20px;
    color: #FFFFFF;
    font-family: 'Roboto', serif;
    font-size: 18px;
    text-align: justify;
    line-height: 1.6;
    height: 50%;
    overflow: auto;
    margin: 30px 0px 30px 0px;
}


.card_2 img {
    width: 100%;
    border-radius: 30px;
    object-fit: cover;
    object-position: center top; /* Поднимаем фото, чтобы лицо не обрезалось */
}

/* Альтернативный вариант, если нужно видеть всю картинку */
.card_2 img.alternative {
    object-fit: contain;
}

/* 📱 Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .main_content {
        flex-direction: column;
        align-items: center;
    }
    
    .card_1, .card_2 {
        width: 90%;
    }
    
    .card_1 p, .card_2 p {
        font-size: 14px;
        padding: 15px;
        max-height: 200px;
    }
    
    .card_1 img, .card_2 img {
        max-height: 200px;
    }
}








.main_content_2{
    height: auto;
    background-color: #D1B78A;
}



/* Основные стили */
.main_content_4 {
    width: 100%;
    min-height: 900px;
    background-color: #D1B78A;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

.content_form {
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: rgba(28, 23, 23, 0.3);
    border-radius: 50px;
    box-shadow: 0 0 10px 5px rgba(37, 27, 27, 0.09), inset 0 0 10px 2px rgba(255, 255, 255, 0.4);
    padding: 40px;
}

/* Форма */
.form-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.form-container h2 {
    color: #FFFFFF;
    font-size: 27px;
    text-align: center;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input {
    width: 100%;
    border: none;
    border-bottom: 2px solid white;
    background: transparent;
    outline: none;
    color: white;
    font-size: 16px;
    padding: 10px 0;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 16px;
    color: white;
    pointer-events: none;
    transition: 0.3s;
}

.form-group input:focus ~ label,
input:not(:placeholder-shown) ~ label {
    top: -10px;
    font-size: 12px;
    color: #aaa;
}

button {
    width: 100%;
    font-size: 16px;
    background-color: white;
    color: #D1B78A;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #ddd;
}

/* Блок контактов */
.connection {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.connection h3 {
    color: #FFFFFF;
    font-size: 24px;
    margin-bottom: 20px;
}

.connection span {
    color: #FFFFFF;
    font-size: 16px;
    margin-bottom: 10px;
    text-align: center;
}

.logotip {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.logotip img {
    width: 35px;
    transition: transform 0.3s;
}

.logotip img:hover {
    transform: scale(1.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .content_form {
        flex-direction: column;
        border-radius: 30px;
        padding: 20px;
    }
    .form-container, .connection {
        max-width: 100%;
    }
    .connection {
        margin-top: 20px;
    }
    .logotip {
        flex-wrap: wrap;
        gap: 10px;
    }
    .logotip img {
        width: 30px;
    }
}


.container{
    position: static;
    top: 50%;
    left: 50%;
    transform: translate(0%, 0%);
    height: 600px;
    background: #f5f5f5;
    box-shadow: 0 30px 50px #dbdbdb;
}

.container .slide .item{
    width: 200px;
    height: 300px;
    position: absolute;
    top: 50%;
    transform: translate(30%, -50%);
    border-radius: 20px;
    box-shadow: 0 30px 50px #505050;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: 0.5s;
}

.slide .item:nth-child(1),
.slide .item:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}


.slide .item:nth-child(3){
    left: 50%;
}
.slide .item:nth-child(4){
    left: calc(50% + 220px);
}
.slide .item:nth-child(5){
    left: calc(50% + 440px);
}


.slide .item:nth-child(n + 6){
    left: calc(50% + 660px);
    opacity: 0;
}



.item .content{
    position: absolute;
    top: 50%;
    left: 100px;
    width: 300px;
    text-align: left;
    color: #eee;
    transform: translate(0, -50%);
    font-family: system-ui;
    display: none;
}

    .content button:hover {
        color: #FFFFFF; /* White */
        background-color: #D1B78A; /* Dark orange */
    }




.slide .item:nth-child(2) .content{
    display: block;
}


.content .name{
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
}

.content .des{
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content button{
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}


@keyframes animate {
    from{
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to{
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}



.button{
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 20px;
}

.button button{
    width: 140px;
    height: 65px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border: 1px solid #000;
    transition: 0.3s;
}

.button button:hover{
    background: #ababab;
    color: #fff;
}

.form-container {
  width: 400px;
  padding: 20px;
  border-radius: 8px;
}

.form-group {
  position: relative;
  margin-bottom: 45px;
}

.form-container h2{
    color: #FFFFFF;
    font-family: "Playfair Display";
    font-size: 27px;
}

.form-group input {
  width: 100%;
  border: none;
  border-bottom: 4px solid white;
  background: transparent;
  outline: none;
  color: white;
  font-size: 16px;
  padding: 20px 0;
}

.form-group label {
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 19px;
  font-family: Roboto, serif;
  color: white;
  pointer-events: none;
  transition: 0.3s ease all;
}

.form-group input:focus ~ label,
input:not(:placeholder-shown) ~ label {
  top: -10px;
  font-size: 12px;
  color: #aaa;
}

.form-container button {
  width: 80%;
  padding: 10px;
  font-size: 16px;
  background-color: white;
  color: #D1B78A;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

button:hover {
  background-color: #ddd;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
  -webkit-text-fill-color: white !important;
}


input {
  background: transparent;
  color: white;
}

.custom-dropdown {
    position: relative;
    display: inline-block;
}

.custom-dropdown-toggle {
    padding: 10px 35px;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 150px;
    font-size: 14px;
}
.custom-dropdown-toggle span{
  color: white;
}

.custom-dropdown-toggle img {
    width: 20px;
    height: 20px;
}

.custom-dropdown-menu {
    display: none;
    position: absolute;
    border-radius: 10%;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Полупрозрачный фон */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 150px;
}

.custom-dropdown-menu.show {
    display: block;
}

.custom-dropdown-item {
    padding: 10px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 18%;
}

.custom-dropdown-item img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.custom-dropdown-item:hover {
    color: #000; /* Текст становится чёрным при наведении */
    background-color: rgba(255, 255, 255, 0.3); /* Лёгкий белый фон */
}


@media(max-width: 768px){
    .item .content{
      left: 15px;
    }
}
@media(max-width: 525px){
  .slide .item:nth-child(3) {
    display: none;
    left: 100%;
  }
  .slide .item:nth-child(4) {
    display: none;
    left: 100%;
  }
  .slide .item:nth-child(5) {
    display: none;
    left: 100%;
  }
  .slide .item:nth-child(6) {
    display: none;
    left: 100%;
  }
  .container .slide .item{
    display: flex;
    justify-content: center;
    align-items: end;
    text-align: center;
  }
  .content .name {
    text-align: center;
  }
  .item .content {
    position: static;
  }
}
/*Слайдер адаптив*/
/*@media (max-width: 990px){*/
/*  .item .content{*/
/*    left: 10px;*/
/*  }*/
/*}*/
/**/
/*@media (max-width: 767px){*/
/*  .slide .item:nth-child(3) {*/
/*    transform: translate(30%, -50%);*/
/*  }*/
/*  .slide .item:nth-child(4) {*/
/*    transform: translate(30%, -50%);*/
/*  }*/
/**/
/*}*/
/*@media (max-width: 500px) {*/
/*  .slide .item:nth-child(3) {*/
/*    display: none;*/
/*  }*/
/*  .slide .item:nth-child(4) {*/
/*    display: none;*/
/*  }*/
/*  .slide .item .content{*/
/*    text-align: center;*/
/*    left: 20%;*/
/*  }*/
/*}*/
/*@media (max-width: 407px){*/
/*  .slide .item .content{*/
/*    left: 15%;*/
/*  }*/
/*}*/
/*@media (max-width: 390px){*/
/*  .slide .item .content{*/
/*    left: 13%;*/
/*  }*/
/*}*/
/*@media (max-width: 350px){*/
/*  .slide .item .content{*/
/*    left: 10%;*/
/*  }*/
/*}*/
/*@media (max-width: 324px){*/
/*  .slide .item .content{*/
/*    left: 5%;*/
/*  }*/
/*}*/









@media(max-width: 1920px){
}
@media(max-width: 1336px){
}
@media(max-width: 992px){
}
@media(max-width: 375px){
}

