@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*{
     box-sizing: border-box;
}

body{
   
    font-family: "Montserrat", "Times New Roman", sans-serif;
    margin: 0;
    padding: 0;
}

main{
    padding-top: 90px;
    min-height: calc(100vh - 90px);
    background-color: #95a7c5;
}

li, a, button{
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

a{
    color: #edf0f1;
}

header{
    z-index: 2;
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 1%;
    background-color: #232536;
    width: 100%;
    transition: all 0.3s ease;
}

.nav_button{
    border:0;
    background-color: rgba(0, 0, 0, 0);
}

.send_request{
    height: 50px;
    width: 200px;
    background-color: rgba(255, 165, 0, 1);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin-right: 2vw;
    transition: background-color 0.4s ease;
}

.send_request:hover{
    background-color: rgba(255, 165, 0, 0.6);
}

header img{
    cursor: pointer;
    width: auto;
    height: 70px;
    border-radius: 15px;
    transition: all 0.2s ease-in-out;
}

header img:hover{
    opacity: 0.8;
}

.nav_header{
    list-style: none;
    padding: 0;
}

.nav_header li{
    display: inline-block;
    margin: 0 calc(30px + 1vw);
    transition: all 0.1s ease;
}
@media (max-width:1362px){
    .nav_header li{
        margin: 0 calc(5px + 1vw);

    }
    .subkatalog li{
        margin: 0;
    }

}
@media (max-width:1079px) {
    .nav_header li{
        margin: 5px;

    }
    


}

.nav_header a{
    display: inline-block;
    position: relative;
    transition: 0.2s ease;
}


.div_social{
    cursor: pointer;
    position: relative;
    transition: 0.2s ease;
    color: #edf0f1;
}



.nav_li > button > a::before{
    content:" ";
    position: absolute;
    width: 0px;
    height: 2px;
    border-radius:5px;
    left: 0;
    bottom: -5px;
    background-color:rgb(97, 12, 233);
    transition: all 0.3s ease;
}


.nav_header li:nth-child(1) a:hover::before{
    width: 85px;
}

.nav_header  li:nth-child(2) a:hover::before{
    width: 65px;
}

.nav_header  li:nth-child(4) a:hover::before{
    width: 57px;
}
.nav_header  li:nth-child(5) a:hover::before{
    width: 78px;
}


.nav_li:not(:nth-child(3)) > button > a:hover{
        span{
            transform: translateY(4px) rotate(180deg);
        }
        transform: scale(1.1);
        color: rgb(177, 177, 182);
}

.dropdown_a:hover{
    span{
            transform: translateY(4px) rotate(180deg);
        }
        color: rgb(177, 177, 182);
}


.div_social:hover{
    span{
        transform: translateY(4px) rotate(180deg);
    }
    transform: scale(1.1);
    color: rgb(177, 177, 182);
}




.nav_header a span{
    display: inline-block;
    transition: transform 0.4s ease-in-out;
}


.nav_header li:nth-child(3){
    position: relative;
}


.mobile-nav-list a:hover{
    color:white;
}


.submenu{
    position: absolute;
    overflow: hidden;
    padding-top: 20px;
    top: 35px;
    left: -10px;
    width: 170px;
    height: 0;
    background-color:#232536;
    border-radius: 8px;
    transition: all 0.4s ease-in-out;

}

.submenu ul{
    padding: 0;
}

.submenu ul li{
    margin: 0;

    width: 100%;
    
}

.submenu a{
    padding: 15px 0;
    padding-left: 15px;
    color: rgb(177, 177, 182);
    width: 100%;
}

.submenu a:hover{
    color:white;
    background-color:#2e3147;
}

.nav_header li:hover .submenu{
    height: 120px;
}

.gallery_hovering{
    span{
        transform: translateY(4px) rotate(180deg);
    }
    color: rgb(177, 177, 182);
}




            /* Мобильный хэдер */


/* Бургер */
.burger-btn{
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background-color: transparent;
    border:none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.burger-btn:hover .burger-line{
    background-color: rgb(177, 177, 182);
}

.burger-btn span{
    display: block;
    width: 100%;
    height: 3px;
    background-color:white;
    border-radius:5px;
    transition: all 0.3s ease;
    
}

/* Мобильное меню */


.mobile-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 900;
}


.mobile-nav{
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color:#232536;
    padding: 80px 20px 20px;
    transition: right 0.4s ease;
    z-index: 1000;
    overflow-y: auto;
}

.mobile-nav-list{
    
    list-style: none;
}

.mobile-nav-list > li{
    margin-bottom: 20px;
}

.mobile-nav-list a{
    color: rgb(177, 177, 182);
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.mobile-submenu{
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding-left: 20px;
}

.mobile-submenu ul{
    padding: 0;
    list-style: none;
}



.mobile-dropdown_a{
    display: flex;
    justify-content: space-between;
    align-items:center;
}


.mobile_send_request{
    display: none;
}

.mobile_send_request{
    height: 50px;
    width: 200px;
    background-color: rgba(255, 165, 0, 1);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin-left: 20px;
    transition: background-color 0.4s ease;
}

.mobile_send_request:hover{
    background-color: rgba(255, 165, 0, 0.6);
}

@media (max-width:950px){
    .desktop_nav{
        display: none;
    }

    .burger-btn{
        display: flex;
    }
}

@media (max-width:480px){

    .send_request{
        display: none;
    }

    .mobile_send_request{
        display: block;
	-webkit-text-fill-color: white;
    }
}

.arrow{
    display: inline-block;
    margin-left: 3px;
    transition: all 0.3s ease;
}

.arrow.active{
    transform: translateY(4px) rotate(180deg);
}


.burger-btn.active{
    transition: all 0.3s ease;
    z-index: 10000;
}


.burger-btn.active span:nth-child(1){
    transform: translateY(9px) rotate(45deg);
}

.burger-btn.active span:nth-child(2){
    opacity: 0;
}

.burger-btn.active span:nth-child(3){
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-overlay.active{
    opacity: 1;
    visibility: visible;
}

.mobile-nav.active{
    right: 0;
}

.mobile-submenu.active {
  max-height: 300px;
  transition: all 0.3s ease;
}


.div_social_mobile{
    font-size: 18px;
    cursor: pointer;
    position: relative;
    transition: 0.2s ease;
    color: rgb(177, 177, 182);
}

.div_social_mobile:hover{
    color:white;
}




/* Всплывающие контакты*/

.social_popup_overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contacts-popup{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color:#545a6ede;
    color:rgb(207, 206, 206);
    padding: 30px;
    border-radius:10px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-width: 500px;
    width: 90%;
}

.close_contacts{
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    background:none;
    color: #333;
    border:none;
    cursor:pointer;
    transition: color 0.2s;
}


.close_contacts:hover{
    color:#ff0000;
}

.social_popup_overlay.active,
.contacts-popup.active{
    opacity: 1;
    visibility: visible;
}

.contacts-popup.active{
    transform: translate(-50%,-50%) scale(1);
}




/* Всплывающая форма */


.popup-form-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.request-popup{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color:#545a6ede;
    padding: 30px;
    border-radius:10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}


.close-popup {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #333;
  transition: color 0.2s;
}

.close-popup:hover{
    color:#ff0000;
}

.popup_form_content{
    color:rgb(207, 206, 206);
}

.popup_form_content h2{
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.form-group{
    margin-bottom: 20px;
}

.form-group label{
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}


.required{
    color:#ff0000;
}

.form-group input,
.form-group select,
.form-group textarea{
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius:5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    border-color:#4CAF50;
    outline: none;
}

.checkbox-group{
    width: auto;
    margin-left: 10px;
    margin-block: 20px;
}

#is_own_order{
    padding-top: 50px;
}


textarea{
    min-height: 100px;
    resize: none;
}

.submit-btn{
    width: 100%;
    padding: 12px;
    background-color:#4CAF50;
    color:white;
    border:none;
    border-radius:5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover{
    background-color:#45a049;
}



.popup-form-overlay.active,
.request-popup.active{
    opacity: 1;
    visibility: visible;
}

.request-popup.active{
    transform: translate(-50%,-50%) scale(1);
}


#user-name,
#number-phone,
#email,
#Object-list,
#own_order{
    font-size: 18px;
    font-weight: 300;
    
    background-color:rgb(189, 189, 189);
}


.hidden{
    display: none !important;
}





footer{

    background-color: #232536;
    width: 100%;
    position: relative;
}


footer ul{
    list-style: none;
    padding: 0;
    color: gray;
}

.footer_flex{
    display: grid;
    padding: 10px;
    grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
    gap: 5px;
    justify-content: space-around;
 
}

@media (max-width:1671px) {
    .footer_flex{

    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 5px;
 
}
}

@media (max-width:1260px) {
    .footer_flex div:first-child{
    grid-row:  1/3 ;
    
 
}
}

@media (max-width:764px){
    .footer_flex div:first-child{
    grid-row:  1 ;
    
}
}

footer p{
    color: gray;
    text-align: center;
    margin: 0;
    padding-bottom: 10px;
    padding-top: 8px;
}



hr{
    background-color: gray;
    height: 2px;
    border: 0;
    margin-bottom: 5px;
}

footer h3{
    padding-left:5px;
    font-size: 20px;
    color: gray;
    font-weight: 400;
}
footer h1{
    margin-top: 25px;
    padding-left:5px;
    color: gray;
    font-weight: 400;
    font-size:48px;
}

@media (min-width:1010px) and (max-width:1435px) {
    footer h1{
        font-size: 42px;
    }
}

@media (min-width:765px) and (max-width:900px) , (min-width:520px) and (max-width:656px) {
    footer h1{
        font-size: 40px;
    }
}



#bold{
    position: relative;
    margin-top: 32px;
    margin-bottom: 30px;
    font-size: 24px;
    color: gray;
    font-weight: 600;
}

#bold::after{
    content:" ";
    position: absolute;
    bottom: -5px;
    left: 2px;
    height: 2px;
    width: 70px;
    background-color:#957fbe;
}

footer li{
    margin-bottom: 13px;
    font-size: 17px;
    
    justify-self: start;
    
}
footer li a{
    font-size: 17px;
    color: gray;
    display: inline-block;
    transform-origin: left;
    transition: all 0.3s ease;
}

footer li a:hover{
    color: antiquewhite;
    transform: scale(1.03);
    
}



.social{
    max-width: 320px;
}

.list_social{
    display: flex;
    list-style: none;
    justify-content: space-around;
    align-items: start;
    margin: 0;
    padding: 0;
    
}

.list_social li{
    display: inline;
  
}

.icon_social{
    display: inline-flex;
    flex-wrap: wrap;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-content: center;
    background-color: rgb(170, 170, 170);
    border-radius:100px;
    transition: border-radius 0.3s ease,
                background-color 0.2s ease;
}

@media (min-width:1010px)  and (max-width:1575px) , (min-width:765px) and (max-width:900px) , (min-width:520px) and (max-width:656px) {
    
        .icon_social{
            width: 40px;
            height: 40px;
        }
        .icon{
            width: 28px;
            height: auto;
        }
 
}




.icon{
    fill: #7a7f80;
    transition: fill 0.3s ease;
}

.icon_social:hover .icon {
    fill: rgb(209, 209, 209); 
}

.icon_social_telegram:hover {
    border-radius: 10px;
    background-color:#0088cc;
    transition: 
    border-radius 0.2s cubic-bezier(0.18, 0.89, 0.18, 0.9), 
    background-color 0.3s ease;
}

.icon_social_vk:hover {
    border-radius: 15px;
    background-color:#4C75A3;
    transition: 
    border-radius 0.2s cubic-bezier(0.18, 0.89, 0.18, 0.9), 
    background-color 0.3s ease;
}

.icon_social_whatsapp:hover {
    border-radius: 15px;
    background-color:#2cb742;
    transition: 
    border-radius 0.2s cubic-bezier(0.18, 0.89, 0.18, 0.9), 
    background-color 0.3s ease;
}

.icon_social_mail:hover {
    border-radius: 15px;
    background-color:#c25858;
    transition: 
    border-radius 0.2s cubic-bezier(0.18, 0.89, 0.18, 0.9), 
    background-color 0.3s ease;
}

.icon_social_phone:hover {
    border-radius: 15px;
    background-color:#58c261;
    transition: 
    border-radius 0.2s cubic-bezier(0.18, 0.89, 0.18, 0.9), 
    background-color 0.3s ease;
}

