@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

::selection {
    background-color:  #f1223f;
    color: #fff;
}
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #ffffffd2;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #333;
}


/* Header section */

.header_section {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color:  #eec899;
    color: #815229;
}

.header_section {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 150px;
}

.header_list {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    grid-column-gap: 20px;
    overflow-wrap: anywhere;
    justify-content: space-between;
    width: 1200px;
    
}
.header_menu_sect{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.header_menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    list-style: none;
}
.header_menu_item.active{
    color: #ffffff;
}
.header_menu_item{
    color: #815229;
    font-size: 32px;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 3px;
}
.header_menu_item:hover{
    color: #ffffff;
    transition: all 0.3s ease;
}


.header_menu_item_card{
    padding: 20px;
    transition: all 0.3s ease; 
     
}
.header_menu_item_card:hover{
    background-color: #5225004d;
    transition: all 0.3s ease;
    border-radius: 15px;

}
.logo_section{
    display: flex;
    align-items: center;
    width: 150px;
    height: 150px;
}
.logo{
    width: 100%;
    height: 100%;
}

.number_sect {
    display: flex;
    justify-content: center;
    align-items: center;
    gap:10px;
}

.number_img{
    filter: invert(34%) sepia(12%) saturate(2365%) hue-rotate(346deg) brightness(95%) contrast(89%);
    width: 40px;
    height: 40px;
}


.number {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.7;
    color: #815229;
    transition: all 0.3s ease;
}


.number:hover{
    color: #ffffff;
    transition: all 0.3s ease;
}

.hamburger-menu{
    display: none;
}

.swiper {
    --swiper-navigation-color: #000000;
    --swiper-pagination-color: #000000;
    padding: 30px;
}
.swiper-wrapper {
    padding: 30px 0;
}

.swiper-button-prev{
    padding: 35px;
    transition: all 0.3s ease;
}
.swiper-button-prev:hover{
    color: #f1223f;
    transition: all 0.3s ease;
}
.swiper-button-next{
    padding: 35px;
}

.swiper-button-next:hover{
    color: #f1223f;
    transition: all 0.3s ease;
}
.swiper-slide{
    display: flex;
    justify-content: center;
}

 .before-after_section {
    max-width: 1200px;
    margin: 100px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    font-family: Poppins, sans-serif;

}
/* пока что не получилось выпустить стрелки из фото */

 .before-after {
        width: 1000px;
        height: 600px;
        display: flex;
        margin: auto;
        gap: 20px;
        background-position: center;
} 

.before-after_img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
}







/* gallery section */

.gallery_section {
}
.gallery_sect {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    font-family: Poppins, sans-serif;
    
}
.gallery_title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    font-family: Poppins, sans-serif;
}
.gallery_cards {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 0.5fr);
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.gallery_img {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    font-family: Poppins, sans-serif;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery_img:hover {
    transform: scale(1.05);
}




/* footer section */
.footer_section {
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.footer_content {
    display: grid;
    grid-template-columns: 300px 300px;
    gap: 10px;
    margin: 50px 0;
    justify-items: center;
    align-items: center;
    justify-content: center;
}
.footer_logo_img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}




.footer_contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.footer_cont_title{
    font-size: 22px;
    font-family: Poppins, sans-serif;
    font-weight: 500;
    line-height: 1.3;
}
.footer_contact_title {
    font-family: Poppins, sans-serif;
    line-height: 1.3;
    font-weight: 400;
    font-size: 16px;
}
.footer_contact_text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    

}
.footer_number {
    font-size: 30px;
    font-weight: 600;
    transition: all 0.3s ease;    
}
.footer_number:hover{
    color: #f1223f;
    cursor: pointer;
    transition: all 0.3s ease;
}
.footer_contact_subtitle {
    font-family: poppins, sans-serif;
    font-weight: 400;
    font-size: 16px;
}
.footer_contact_days {

}


.copyright {
    width: 100%;
    border-top: 1px black solid;
    display: flex;
    justify-content: center;
    padding: 30px 0;
}
.copyright_text {
    font-size: 16px;
    font-family: poppins, sans-serif;
    font-weight: 400;
    line-height: 1.3;
    opacity: 0.8;
}



/* adaptive */
@media (max-width: 1258px) {
    /* header */
    .logo_section{
        width: 80px;
        height: 80px;
    }
    
    .header_menu{
        display: none;
    }

    .hamburger-menu{
        display: block;
    }
    
    #menu__toggle {
      opacity: 0;
    }
    
    #menu__toggle:checked ~ .menu__btn > span {
      transform: rotate(45deg);
    }
    #menu__toggle:checked ~ .menu__btn > span::before {
      top: 0;
      transform: rotate(0);
    }
    #menu__toggle:checked ~ .menu__btn > span::after {
      top: 0;
      transform: rotate(90deg);
    }
    #menu__toggle:checked ~ .menu__box {
      visibility: visible;
      right: 0px ;
    }
    
    .menu__btn {
      display: flex;
      align-items: center;
      position: fixed;
      top: 20px;
      right: 20px;
    
      width: 26px;
      height: 36px;
    
      cursor: pointer;
      z-index: 1;
    }
    
    .menu__btn > span,
    .menu__btn > span::before,
    .menu__btn > span::after {
      display: block;
      position: absolute;
    
      width: 100%;
      height: 2px;
    
      background-color: #616161;
    
      transition-duration: .25s;
    }
    .menu__btn > span::before {
      content: '';
      top: -8px;
    }
    .menu__btn > span::after {
      content: '';
      top: 8px;
    }
    
    .menu__box {
      display: block;
      position: fixed;
      visibility: hidden;
      top: 0;
      right: -100%;
    
      width: 150px;
      height: 100%;
    
      margin: 0;
      padding: 80px 0;
    
      list-style: none;
    
      background-color: #eec899;
      box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
    
      transition-duration: .25s;
    }
    
    .menu__item {
      display: block;
      padding: 12px 24px;
    
      color: #333;
      text-align: center;
      font-family: 'Roboto', sans-serif;
      font-size: 20px;
      font-weight: 600;
    
      text-decoration: none;
    
      transition-duration: .25s;
    }
    .menu__item:hover {
      background-color: #d3b188;
    }

     .before-after_section {
        max-width: 1000px;
     }
     .before-after{
        width: 80%;
     }

       


}
@media(max-width: 768px) {
    .before-after {
        height: 400px;
    }

    .swiper-button-next::after{
        display: none;
    }
     .swiper-button-prev::after {
        display: none;
    }
    .footer_content{
        grid-template-columns: 1fr 1fr;
    }
    
}
@media (max-width: 576px) {
    .copyright_text{
        font-size: 12px;
    }
}
@media (max-width: 425px) {
    .footer_number{
        font-size: 24px;
    }
}
@media (max-width: 375px) {
    .footer_number{
        font-size: 20px;
    }
    .footer_cont_title{
        font-size: 18px;
    }
    .footer_contact_subtitle{
        font-size: 12px;
    }
    .container{
        padding: 0;
    }

    
}
@media (max-width: 348px) {
        .copyright_text{
        font-size: 10px;
    }
}