/**
Theme Name: Star Remont Child
Author: arm
Author URI: https://armadalab.ru
Description: Тема разработана специально для Стар Ремонт
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: star-remont-child
Template: astra
*/


.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}
.tabs button {
    background: #f0f0f0;
    border: none;
    margin: 5px;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
}
.tabs button.active {
    background: #007bff;
    color: #fff;
}
.gallery {
    display: flex;
    display: none; /* Hide all galleries by default */
}
.gallery.active {
    display: flex; /* Show the active gallery */
}
.gallery-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.column-1,
.column-3 {
    width: 20%;
}
.column-2 {
    width: 60%;
    position: relative;
}
.gallery a {
    margin: 5px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}
.gallery img,
.gallery video {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.3s;
}
.gallery a .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}
.gallery a .play-button svg {
    width: 30px;
    height: 30px;
    fill: white;
}
.gallery a:hover img {
    filter: grayscale(100%);
}
.gallery a:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}
.details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.details span {
    font-size: 18px;
}
.details .button {
    background: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}
.popup-content {
    display: none;
}

.arm__bckg-video {
    background-size: no-repeat;
    background-position: center;
    background-size: cover;
}

.gallery-column.column-2.arm__bckg-video a {
    height: 100% !important;
}