/* ==========================================================
   ШРИФТЫ И БАЗОВЫЕ СТИЛИ
   ========================================================== */
@font-face {
    font-family: comfortaa;
    src: url(Comfortaa-VariableFont_wght.ttf);
    
}
@font-face {
    font-family: plusJakartaSans;
    src: url(PlusJakartaSans.ttf);
}

html{
    scroll-behavior: smooth;
}
h1, h2, a, p{
    color: white;
    font-family: Comfortaa;
    text-decoration: none;
    margin-bottom: 0px;
    padding-bottom: 0px;
}
body{
    box-sizing: border-box;
}


/* ==========================================================
   ВЕРХНЯЯ ПАНЕЛЬ (лого, телефон, форма входа)
   ========================================================== */
.top{
    min-height: 30px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 25px;
    border: rgba(98, 98, 98, 0.409) 1px solid;
    display: flex;
    align-items: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin-top: 0;
    padding: 0;
}
.lmlogo{
    background-image: url("img/lmlogo.png");
    background-size: cover;
    background-position: center center;
    height: 50px;
    width: 50px;
    display: flex;
}
.info{
    height: 30px;
    margin-top: 0px;
    padding-top: 0px;
}
.info p{
    margin: 0;
    padding: 0;
}
.tel2 p{
    margin: auto;
    text-align: center;
    justify-content: center;
    display: flex;
    height: 50px;
    margin-top: 7px;
    margin-left: 10px;
    white-space: nowrap;
}
.tt{
    background-image: url("img/tt.webp");
    background-size: cover;
    background-position: center center;
    height: 50px;
    width: 50px;
    display: flex;
    margin: 1px;
}
.tg{
    background-image: url("img/tg.png");
    background-size: cover;
    background-position: center center;
    height: 50px;
    width: 50px;
    display: flex;
    margin: 1px;
}


/* ==========================================================
   ФОРМА ЛОГИНА АДМИНИСТРАТОРА
   ========================================================== */
.loginDiv{
    width: 100%;
    display: flex;
    justify-content: right;
    margin-top: 0px;
}
.adminPass{
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 25px;
    border: rgba(98, 98, 98, 0.409) 1px solid;
    padding-left: 10px;
    padding-right: 10px;
    color: #ffffff96;
    font-size: 16px;
    margin: 5px;
}
.loginBtn{
    background-image: url('img/login.png');
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 25px;
    border: rgba(98, 98, 98, 0.409) 1px solid;
    height: 40px;
    width: 40px;
    background-size: 80%;
    margin: 5px;
    background-position: center center;
    transition: transform 0.3s ease;
}


/* ==========================================================
   ОСНОВНЫЕ БЛОКИ СТРАНИЦ (главная / расценки)
   ========================================================== */
.base {
    background-image: url('img/fon.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    border-radius: 31px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}
.baseR {
    background-image: url('img/fon.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    border-radius: 31px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}
.baseinf, .addTable{
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 25px;
    border: rgba(98, 98, 98, 0.409) 1px solid;
    display: flex;
    height: auto;
    width: 100%;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(20px);
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin: 20px 0px 20px 0;
    box-sizing: border-box;
}
.baseinf1{
    max-width: 85%;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    display: flex;
}
.firm{
    margin-bottom: 0px;
    padding-bottom: 0px;
    height: auto;
    font-size: clamp(2rem, 8vw, 5rem);
    font-family: plusJakartaSans;
}
.slog{
    margin-top: 0px;
    padding-top: 0px;
    text-align: center;
}
.adres{
    margin: 4vh;
}
.base h1, p{
    color: white;
    text-align: center;
    max-width: 50vw;
    margin-bottom: 5vh;
}
.base h1{
    font-size: 45pt;
}


/* ==========================================================
   КНОПКИ (общие: расценки/позвонить/добавить/вход)
   ========================================================== */
.but{
    display: flex;
    align-items: center;
    justify-content: center;
}
.but_tel, .but_info{
    border: rgba(255, 255, 255, 0.495) 1px solid;
    padding: 10px 10px;
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 30%);
    margin: 5px 5px 5px 5px;
    font-size: 12pt;
    transition: transform 0.3s ease;
}
.but_info{
    display: flex;
    font-family: comfortaa;
    background-color: rgba(255, 255, 255, 100%);
    padding: 10px 16px;
}
.but_info a{
    color: #000;
}
.addBtn{
    border: rgba(255, 255, 255, 0.495) 1px solid;
    padding: 10px 10px;
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 30%);
    margin-top: 30px;
    font-size: 12pt;
    transition: transform 0.3s ease;
    width: 250px;
    color: #ffffffa1;
    margin: 20px;

}

/* Наведение/нажатие — общее для всех кнопок сразу */
.but_tel:hover, .but_info:hover, .addBtn:hover, .loginBtn:hover{
    transform: scale(0.95);
}
.but_info:active, .but_tel:active, .addBtn:hover, .loginBtn:hover{
    transform: scale(0.90);
}
/* ⚠ обрати внимание: в строке выше для .addBtn и .loginBtn стоит :hover,
   а не :active (скорее всего опечатка) — из-за этого правило выше
   конфликтует именно для этих двух кнопок, и в итоге всегда сработает
   scale(0.90), а scale(0.95) для них фактически не увидишь. Если это
   не специально — скажи, поправлю на :active. */


/* ==========================================================
   CRM-ФОРМА (добавление и список клиентов, заявки)
   ========================================================== */
.crm input, .addTableIn input, .si{
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 25px;
    border: rgba(98, 98, 98, 0.409) 1px solid;
    padding: 10px;
    color: #ffffff96;
    font-size: 16px;
    margin-top: 30px;
    margin: 3px;
}
input:hover{
    background-color: rgba(255, 255, 255, 0.25);
}
.adddiv{
    justify-content: center;
    display: flex;
    width: 100%;
}
.sidiv{
    display: flex;
    justify-content: center;
}
.si{
    width: 350px;
    text-align: center;

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(20px);
}
.clientsList{
    display: flex;
    flex-wrap: wrap;
    
}
.crm{
    width: 100%;
}
.clientsList div{
    
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 25px;
    border: rgba(98, 98, 98, 0.409) 1px solid;
    margin: 30px;
    text-align: center;
    align-items: center;
    padding: 10px;

}
.addTableIn{
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

/* ==========================================================
   ТАБЛИЦА РАСЦЕНОК
   ========================================================== */
table{
    border: rgba(255, 255, 255, 0.225) 1px solid;
    margin: 20px;
    border-radius: 25px;
    background-color: rgba(0, 0, 0, 0.398);
    width: 100%;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(20px);
    
}
.price{
    box-sizing: border-box;
}
tr p{
    max-width: 250px;
}
.disabled{
    cursor: default;
}
.price input{
    background-color: transparent;
    border: none;
    color: white;
    font-family: Comfortaa;
    font-size: inherit;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
td:hover,
td:focus{
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
    border-radius: 25px;
}


/* ==========================================================
   ГАЛЕРЕЯ ИЗОБРАЖЕНИЙ (главная страница)
   ========================================================== */
.imagediv{
    border: rgba(255, 255, 255, 0.225) 1px solid;
    border-radius: 25px;
    background-color: rgba(0, 0, 0, 0.398);
    width: 100%;
    overflow: hidden;
    margin-top: 20px;
}
.image{
    display: flex;
    height: 30vh;
    margin: 10px;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    will-change: scroll-position;
    contain: layout style;
}
.image img{
    border-radius: 0.7vw;
    flex-shrink: 0;
    border-radius: 20px;
    filter: brightness(0.75) contrast(1.1) saturate(0.8);
}

.inp{
    width: 645px;
    height: 60px;
}
/* ==========================================================
   АДАПТИВ (мобильные экраны)
   ========================================================== */
@media (max-width: 1000px){
    .image{
        height: 300px;
    }
    .slogDiv{
        flex-direction: column;

    }
    .inp{
        width: auto;
    }
}
   @media (max-width: 768px){
    .but{
        flex-direction: column;
    }
    .top{
        flex-direction: column;
    }
    .loginDiv{
        justify-content: center;
    }
    .si{
        width: auto;
    }
    .addBtn{
        width: auto;
    }
    .addTableIn{
        flex-direction: column;
    }
    .image{
        height: 200px;
    }

}

@media (min-width: 2200px){
    .image{
        justify-content: center;
    }
}
