@import url('https://fonts.googleapis.com/css2?family=Fira+Sans: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');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');

:root{
--font-body:"Fira Sans", serif;
--normal-font-size: .938rem;
--small-font-size: .813rem;
--smaller-font-size:.75rem;
--font-color:hsl(220, 48%, 28%);

--font-medium:500;
--font-semi-bold:600;
--font-big-bold:700;


/* Header */
--header-height:90px;
--heder-padding:0px 240px;
--header-bgcolor:hsl(220, 100%, 99%);
--header-shadow:0 2px 8px hsla(220, 68%, 12%, 0.1);

/* Menu */
--link-color: white;;
/* Footer */

}

*{
    box-sizing: border-box;
    padding: 0px;
	margin: 0px;
	border: none;
}

html,
body{
    font-family: var(--font-body);
    font-size: var(--normal-font-size);
    height: 100%;
    /* background-color: rgba(246, 249, 252, 1); */
    color:var(--font-color);    
}


.wrapper{
    min-height:100%;
    display: flex;
    flex-direction: column;
}
.main{
    flex: 1 1 auto;
    margin-top:90px;
    padding: 0px;
}

.header
{
    width: 100%;
    height: var(--header-height);      
    position: fixed;     
    z-index: 99999;
    box-shadow: var(--header-shadow);
    /* background-color: hsl(220, 100%, 99%); */
    background-color: #3C3B42;
}

li{
    list-style: none;
}

.container{
    max-width: 1440px;
    padding: 10px 20px;
    margin:0 auto;
}



.container_card{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 2rem;
  margin: 2rem;
  max-width:1440px;
  margin:0 auto;  
  margin-top: 30px;
  margin-bottom: 30px;
}



.card {
  height: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  display: grid;
  grid-template-rows: 1fr 1fr;
  transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  /* background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.1)); */
}

.card_img {
  position: absolute;
  top: 0;
  height: 110%;
  width: 100%;
  z-index: -1;
  transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card_tlt{
    color: white;
    font-size: 24px;
    margin: 20px 0 0 20px; 
}

.card_des{
     color: white;
  font-weight: 400;
  font-size: 16px;
  align-self: end;
  margin: 0 0 20px 20px;
  letter-spacing: 0.5px;
}

.card:hover {
  transform: scale(1.035, 1.035);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.card:hover card_img {
  transform: translateY(-10px);
}

/* Всплывающие окно Позвонить */
.bt_cl.hidden {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.4s;
}
.bt_cl{
    visibility: visible;
    opacity: 1;
    
    /* visibility: hidden;
    opacity: 0; */
    position: fixed;
    top:0px;
    left: 0px;
    width: 500px;
    height: 100vh;
    /* background-color: red; */
    z-index: 9999999;
    box-shadow: var(--header-shadow);
    background-color: hsl(220, 100%, 99%);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s, visibility 0.3s;    
    
}

/* Скрыть окно по умолчанию */


/* Стили для кнопки закрытия */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.close-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}


/* Контейнер хлебные крошки */
.conta-ner__br{
    max-width: 1440px;
    margin:0 auto;
    padding: 30px 20px;
    
}

.container_bg{
    position: relative;
    width: 100%;
    padding: 10px 20px;
    margin: 0 auto;
    height: 832px;
    background: 
        linear-gradient(
            to right,
            rgba(0,0,0,0.85),
            rgba(0,0,0,0.1)
        ),
        url(/img/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;      
    margin-bottom: 30px; 
}

.banner_content{
    position: absolute;
    width:1010px ;
    height: 486px;
    /* background-color: red; */
    top: 180px;
    left:242px;
}

.ttl_bn{
    font-family: "Cormorant Garamond", serif;
    font-size: 80px;
    color: #EBA928;
    font-weight: 800;
}



.ttl_bn .white-text {
  color: #FFFFFF; /* белый цвет для первого слова */
}

.bn_des{
    color: white;
    font-family: "Cormorant Garamond", serif;
    padding: 25px 0px;
    font-size: 28px;
}

.btn_bnr{
    color: white;
    width: 353px;
    height: 68px;
    border-radius: 10px;
    font-size: 22px;
    font-width: 700px;
    background-color:#EBA928; 
    margin-top: 20px;
}

.btn_bnr:hover
{
    box-shadow: 0px 26px 44px -10px rgba(219, 209, 70, 0.27);
}

/* Footer */
.footer
{
    min-height: 200px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    flex-wrap: wrap;
    box-shadow: var(--header-shadow);
    background-color: hsl(220, 100%, 99%);
    margin-top: 30px;
}
.footer_container{
    max-width: 1440px;
    margin:0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

}

.footer__items{
    flex-basis: 450px;
    padding: 20px 0px;
}


/* Меню */
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    margin:0 auto;
    max-width: 1440px;
    padding: 0px 20px;
}
.nav__block{
    height: 100%;
}

.nav__toggle {
    opacity: 0;
    visibility: hidden;
    position: relative;
    width: 28px;
    height: 28px;    
}
.nav__toggle-close{
    opacity: 0;
    visibility: hidden;
}

.dropdown__arrow {
    font-size: 1.5rem;
    font-weight: initial;
    transition: transform 0.4s;
    width: 22px;
    height: 22px;
}

.menu__list_items:hover .dropdown__arrow {
transform: rotate(180deg);

}



.nav__toggle-menu, .nav__toggle-close {
    font-size: 1.25rem;
    color: var(--title-color);
    position: absolute;
    display: flex;
    place-items: center;
    inset: 0;
    cursor: pointer;
    transition: opacity 0.1s, transform 0.7s;
    width: 24px;
    height: 24px;
}

.nav__toggle-menu_close{
   opacity: 0;
   visibility: hidden;
   transform: rotate(90deg);
}

.nav__toggle-close_show
{
    opacity: 1;
    visibility: visible;
    transform: rotate(90deg);
}

.menu__list{
    display: flex;
    align-items: center;
    /* gap:20px */
    column-gap: 1rem;
}

.cont__info{
    display: flex;
    align-items: center;
    gap: 10px;  

}
.cont__info > div{
    color: white;
}

.logo__img
{
    object-fit: contain;
    width: 120px;    
    height: 80px;
}
.menu__link{
    text-decoration: none;
    color: var(--link-color);     
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
    font-weight: 600;
    
}
.menu__list_items{
    padding: 10px 0.5rem;
}

.sub_menu{
    position: absolute;
    opacity: 0;
    visibility: hidden;
    min-width: 250px;
    min-height: 150px;
    top:90px;
    transition: 0.7s;
    box-shadow: var(--header-shadow);
    background-color: hsl(220, 100%, 99%);;
    padding: 5px;      
}

.sub_menu__list{
    padding: 20px;
}

.sub_menu__link{
     display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 20px;
}

.sub_menu__links{
 padding: 5px 0px;   
}

.menu__list_items:hover .sub_menu{
    opacity: 1;
    visibility: visible;
}

@media (max-width: 767px) { 
.footer {
    min-height: 200px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 20px;
    flex-wrap: wrap;
    box-shadow: var(--header-shadow);
    background-color: hsl(220, 100%, 99%);
}

 }

@media (max-width:992px) {  
.nav__menu{
    opacity: 0;
    visibility: hidden;
    position: absolute;
    width: 100%;
    top: 90px;
    left: 0px;
    height: 100vh;    
    background-color: hsl(220, 100%, 99%);
    padding: 10px 20px;
    /* transition: top 0.4s, opacity 0.3s; */
    transition: all 0.4s, ease 0.7s;
    overflow: auto;
}
.menu__list{
    display: flex;
    align-items: self-start;
    flex-direction: column;;
    width: 100%;
    gap: 20px 0px;

}
.nav__toggle {
    opacity: 1;
    visibility: visible;   
}

.cont__info{
    display: none;
}

.show_menu{
    opacity: 1;
    visibility: visible;
    pointer-events: initial;    
}
.header{
    z-index: 999999;
}
.menu__list_items{
    width: 100%;
    padding: 20px 0px;
}

.lock{
   overflow: hidden; 
}

.conta-ner__br{
    max-width: 1440px;
    margin:0 auto;
    padding: 20px 20px;    
}

}

/* Маленькие мобильные (портрет) — до 480px */
@media (max-width: 480px) {

    .container_bg {
    position: relative;
    width: 100%;
    padding: 10px 20px;
    margin: 0 auto;
    height: 250px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.1)), url(/img/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 30px;
}
    .ttl_bn {
    font-family: "Cormorant Garamond", serif;
    font-size: 25px;
    color: #EBA928;
    font-weight: 800;
}
.bn_des {
    color: white;
    font-family: "Cormorant Garamond", serif;
    padding: 10px 0px;
    font-size: 14px;
}

.banner_content {
    position: relative;
    width: auto;    
    top:0px;
    left: 0px;    
    height: auto;
}

.btn_bnr {
    color: white;
    width: 250px;
    height: 40px;
    border-radius: 8px;
    font-size: 16px;
    font-width: 700px;
    background-color: #EBA928;    
    margin-top: 0px;
    padding: 5px 0px;
}

.card{
    height: 280px;

}
.container_card
{
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    padding: 20px 20px;
}

.bt_cl{
    width: 100%;
}

 }

@media (min-width: 768px) { 
    
  nav{
        display: flex;
        align-items: center;
        justify-content: space-between;      
        padding: 0px 20px;           
        height: 90px;        
        /* background-color: forestgreen; */
    }

    .container_bg {
    position: relative;
    width: 100%;
    padding: 10px 20px;
    margin: 0 auto;
    height: 250px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.1)), url(/img/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 30px;
}
    .ttl_bn {
    font-family: "Cormorant Garamond", serif;
    font-size: 25px;
    color: #EBA928;
    font-weight: 800;
}
.bn_des {
    color: white;
    font-family: "Cormorant Garamond", serif;
    padding: 10px 0px;
    font-size: 14px;
    width: 480px;
}

.banner_content {
    position: relative;
    width: auto;    
    top:20px;
    left: 0px;    
    height: auto;
}

.btn_bnr {
    color: white;
    width: 250px;
    height: 40px;
    border-radius: 8px;
    font-size: 16px;
    font-width: 700px;
    background-color: #EBA928;    
    margin-top: 0px;
    padding: 5px 0px;
}

.container_card 
{
    padding: 10px 20px;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}


    
 }

/* Планшеты (альбом) и небольшие ноутбуки — 1024px и выше */
@media (min-width: 1024px) { 
    nav{
        max-width: 940px;
    }

    .container{
        max-width: 940px;
        
    }
    .footer_container{
        max-width: 940px;

    }
    .conta-ner__br{
    max-width: 940px;
    margin:0 auto;
    padding: 30px 20px;
    
}
 }

/* Ноутбуки и десктопы — 1280px и выше */
@media (min-width: 1280px) { 
    nav{
        max-width: 1024px;
    }
    .container{
        max-width: 1024px; 
        
    }
    .conta-ner__br{
    max-width: 1024px;
    margin:0 auto;
    padding: 30px 20px;
    
}
.container_card {
        max-width: 1024px;
        padding: 10px 10px;
        
    }

 .footer_container{
        max-width: 1024px;
    }
}

/* Большие мониторы (Full HD и выше) — 1440px и выше */
@media (min-width: 1440px) { 
    nav{
        max-width: 1280px;
    }
     .container{
       max-width: 1280px;        
       
       
    }
    .conta-ner__br{
    max-width: 1280px;
    margin:0 auto;
    padding: 30px 20px;
    
}
 .footer_container {
    max-width: 1280px;
  }

  .container_card {
        max-width: 1280px;
        padding: 10px 10px;
        
    }
  .footer__items {
  flex-basis: 450px;
  padding: 20px 0px;
}


 }


/* Очень большие экраны (2K, 4K) — 1920px и выше */
@media (min-width: 1920px) { 
    nav{
         
        max-width: 1440px;
    }
    .container{
        max-width: 1440px;
        
       
    }

    .footer_container{
        max-width: 1440px;
    }

    .container_card {
        max-width: 1440px;
        
    }
    
     .footer__items {
  flex-basis: 450px;
  padding: 20px 0px;
}
    .conta-ner__br{
    max-width: 1440px;
    margin:0 auto;
    padding: 30px 20px;    
}

.container_bg{
    position: relative;
    width: 100%;
    padding: 10px 20px;
    margin: 0 auto;
    height: 832px;
    background: 
        linear-gradient(
            to right,
            rgba(0,0,0,0.85),
            rgba(0,0,0,0.1)
        ),
        url(/img/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;      
    margin-bottom: 30px; 
}
.banner_content{
    position: absolute;
    width:1010px ;
    height: 486px;
    /* background-color: red; */
    top: 180px;
    left:242px;
}

.btn_bnr{
    color: white;
    width: 353px;
    height: 55px;
    border-radius: 10px;
    font-size: 22px;
    font-width: 700px;
    background-color:#EBA928; 
    margin-top: 20px;
}



.ttl_bn{
    font-size: 80px;
    font-weight: 800;
}

.bn_des{
    padding: 25px 0px;
    font-size: 28px;
    width: 100%;
}
 }













