
.our-services{
    display: flex;
    flex-direction: column;
    margin-bottom: 155px;
}
.our-services h3{
    margin-bottom: 74px;
    font-size: 40px;
}
.service-group{
    /* display: flex;
    flex-direction: row;
    justify-content: space-between; */
    margin-bottom: 80px;
    display: grid;
    grid-template: 580px/repeat(4, 1fr);
    gap: 20px;
}
.service{
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 20px;
}

.service h4{
    text-wrap: nowrap;
    text-align: center;
    color: #716A6A;
    font-size: 36px;
}
.sevice-img{
    width: 315px;
    height: 486px;
    border-radius: 10px;
}
.service-content{
    max-width: 1340px;
    width: 100%;
    position: absolute;
    pointer-events: none; /* Отключаем взаимодействие с фоном */
    z-index: -1;    
    flex-direction: row;
    justify-content: space-between;
    opacity: 0; /* Начальная прозрачность */
    transition: opacity 0.5s ease;
    gap: 20px; /* Плавное изменение opacity за 0.5 секунды *//* Скрытие по умолчанию */

}

/* Активный блок содержимого */
.content--active {
    position: relative;
    display: flex; /* Показываем активный контент */
    opacity: 1; /* Полная непрозрачность */
    pointer-events: auto; /* Отключаем взаимодействие с фоном */
    z-index: 100;    
}

.service-art-img{
    width: 50%;
    max-height: 530px;
}
.service-art-img img{
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-info{
    padding-right: 20px;
    width: 50%;
    height: 530px;
    position: relative;
}
.service-info h5{
    font-size: 32px;
    margin-bottom: 60px;
}
.services-desc{
    font-weight: 200;
    font-size: 22px;
    margin-bottom: 25px;
}
.price{
    font-size: 20px;
    margin-bottom: 20px;
}
.service-btn-group{
    position: relative;
    display: grid;
    grid-template: repeat(auto-fill,minmax(40px, 1fr))/1fr 1fr ;
    grid-auto-rows: 1fr;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
}
.service-btn{
    border-radius: 25px;
    width: 100%;
    padding: 10px 20px;
    background: #452f5c;
    font-size: 15px;
    font-weight: 400;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.help{
    border-radius: 25px;
    width: 100%;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 400;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.35);
    background: #6B0092; 
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.service.tab img {
    transition: transform 0.5s ease, box-shadow 0.3s ease;
    border-radius: 5px;
}
/* .service.tab:hover img {
    transform: translateY(-5px);
} */
.tab--active h4 {
    transition: transform 3s ease, box-shadow 0.3s ease, color 0.3s ease; /* Добавляем плавный переход для цвета */
    color: white; /* Устанавливаем цвет по умолчанию */
}
/* Активная вкладка */
.tab--active h4{
    color: white;
}
.tab--active .service-img{
    box-shadow: 0 -2px 19px 11px rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}
.service-img{
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
}


/* .service-btn:hover {
    transform: translateY(-5px);
    background: #643f8b;
}
.help:hover{
    transform: translateY(-5px);
    background: #9200c7;
} */

/* Анимация при клике */
.service-btn:active {
    transform: scale(0.95); /* Уменьшение размера кнопки при клике */
    background-color: #301a47; /* Темный оттенок фона при клике */
}
.help:active {
    transform: scale(0.95); /* Уменьшение размера кнопки при клике */
    background-color: #400057;
}
.zakaz {
    position: absolute;
    text-align: center;
    top: 130%;
    left: 50%;
    transform: translate(-50%, 0);
    border-radius: 25px;
    width: 350px;
    height: 60px;
    font-weight: 400;
    font-size: 24px;
    color: #dbcee5;
    background: rgba(69, 47, 92, 0.5);
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    pointer-events: none;
}

.zakaz--active:hover{
    transform: translate(-50%,-5px);
    background: rgb(66, 40, 95);
}

.zakaz--active:active {
    transform: scale(0.95) translate(-50%,-5px);
    background-color: rgb(34, 20, 49);
}
.btn--active{
    transform: scale(0.98);
    background-color: #301a47;

}

.zakaz--active {
    opacity: 1;
    pointer-events: auto;
}
