




/** ----- ГЛАВНАЯ СТРАНИЦА*/


.interactive-image-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 600px;
}
.interactive-content-box {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: var(--width);
}


/* ГЛАВНЫЕ ИЗОБРАЖЕНИЯ */

.main-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}
.main-image-container-mobile {
    display: none;
}

@media (max-width: 768px) { 
    .main-image-container {
        display: none;
    }
    .main-image-container-mobile {
        display: flex;
        width: 100%;
        height: 100%;
        position: relative;
    }
    #block2 {
        display: none;
    }
}

.main-base-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}
.main-base-image-mob {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.main-base-image.active {
    opacity: 1;
}
/* Базовое изображение всегда видно */
#main-base-image {
    opacity: 1 !important;
    z-index: 1;
}
/* Остальные изображения скрыты по умолчанию */
.main-base-image:not(#main-base-image) {
    opacity: 0;
    z-index: 3; 
    transition: opacity 0.3s ease;
}
.main-base-image:not(#main-base-image).active {
    opacity: 1;
}


/* КНОПКИ НАВИГАЦИИ */

.main-navigate-container {
    position: absolute;
    top: 15%;
    right: var(--spacing);
    display: flex;
    max-width: 32%;
    flex-direction: column;
    gap: var(--spacing-mini);
    z-index: 20;
}
.main-nav-button.button {
    display: inline-block;
    padding: 8px 20px;
    background: var(--color-green);
    color: var(--color-white);
    text-decoration: none;
    border-radius: var(--radius-btn);
    font-size: 0.9em;
    text-transform: uppercase;
    font-weight: 300;
    font-family: 'Roboto-regular', Arial, sans-serif;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}
@media (max-width: 768px) { 
    .main-navigate-container {
        top: 40%;
        max-width: 50%;
        gap: 10px;
    }
    .main-nav-button.button {
        padding: 12px 20px;
        font-size: 0.8rem !important;
    }
}


/* Динамические цвета для кнопок при наведении */
.main-nav-button.button.hover-active {
    background: var(--zone-color, var(--color-green)) !important;
}
/* Добавляем data-атрибуты для связи с зонами */
.main-nav-button.button {
    position: relative;
}
/* Скрытое расширение кнопок для плавности переходов */
.main-nav-button.button::after {
    content: '';
    position: absolute;
    top: -10px;    
    bottom: -10px;
    left: -5px;
    right: -5px;
    background: transparent;
    z-index: -1;
}

.second-navigate-container {
    position: absolute;
    bottom: 15%;
    left: var(--spacing);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-mini);
    z-index: 20;
}
.second-nav-button.button {
    display: inline-block;
    padding: 10px 36px;
    background: var(--color-yellow);
    color: var(--color-text1);
    text-decoration: none;
    border-radius: var(--radius-btn);
    font-size: 0.9em;
    text-transform: uppercase;
    font-weight: 300;
    font-family: 'Roboto-regular', Arial, sans-serif;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease;
    margin-top: var(--spacing);
}
.second-nav-button.button:hover {
    background: var(--color-text2);
    color: var(--color-white);
}

@media (min-width: 1620px) {
    .main-nav-button.button {
        font-size: 1.0em;
    }
    .second-nav-button.button {
        font-size: 1.0em;
    }
}
@media (max-width: 1400px) {
    .main-nav-button.button {
        font-size: 0.8em;
    }
    .second-nav-button.button {
        font-size: 0.8em;
    }
}
@media (max-width: 768px) { 
    .second-navigate-container {
        display: none;
    }
}

/* ЗОНЫ НАВЕДЕНИЯ */

.hot-zones {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media (max-width: 768px) { 
    .hot-zones {
        display: none;
    }
}

/* Зоны */
.hot-zone {
    position: absolute;
    background: transparent;
    cursor: pointer;
    z-index: 10;
}

.zone-1 {
    top: 14%;
    left: 11%;
    width: 26%;
    height: 23%;
}
.zone-2 {
    top: 23%;
    left: 37%;
    width: 18%;
    height: 32%;
}
.zone-3 {
    bottom: 19%;
    left: 18%;
    width: 21%;
    height: 39%;
}
.zone-4 {
    top: 13%;
    left: 55%;
    width: 12%;
    height: 26%;
}
.zone-5 {
    bottom: 35%;
    left: 55%;
    width: 14%;
    height: 26%;
}
.zone-6 {
    bottom: 11%;
    left: 45%;
    width: 14%;
    height: 24%;
}

.zone-8 {
    bottom: 40%;
    left: 36%;
    width: 12%;
    height: 24%;
}
.zone-9 {
    bottom: 48%;
    left: 48%;
    width: 21%;
    height: 24%;
}


/* ИНФОРМАЦИОННЫЕ БЛОКИ ВСПЛЫВАШКИ*/

/* Блоки */
.static-info-panels, .dinamic-info-panels {
    position: absolute;
    bottom: 15%;
    right: var(--spacing);
    display: flex;
    max-width: 32%;
    min-width: 300px;
    flex-direction: column;
    gap: var(--spacing-mini);
    z-index: 20;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}
@media (max-width: 768px) { 
    .static-info-panels, .dinamic-info-panels {
        display: none;
    }
}




/* Стили панелей */
.info-title-panel,
.info-description-panel {
    color: var(--color-white);
    padding: 15px 20px;
    border-radius: var(--radius-btn);
}

.info-title-panel {
    background: var(--zone-color, var(--color-green));
}
.info-description-panel {
    background: var(--color-text2);
}

h1.static-info-title, .dinamic-info-title {
    font-family: 'Roboto-regular', Arial, sans-serif;
    font-size: 1.0em;
    font-weight: 300;
    text-transform: uppercase;
    color: var(--color-white);
}
.static-info-description, .dinamic-info-description {
    font-family: 'Ubuntu-Regular';
    font-size: 0.85em;
    line-height: 1.6;
}
@media (min-width: 1620px) {
    h1.static-info-title, .dinamic-info-title {
        font-size: 1.2em;
    }
    .static-info-description, .dinamic-info-description {
        font-family: 'Ubuntu-Light';
        font-size: 0.9em;
        line-height: 1.4;
    }
}
@media (max-width: 1200px) {
    h1.static-info-title, .dinamic-info-title {
        font-size: 0.8em;
    }
    .static-info-description, .dinamic-info-description {
        font-family: 'Ubuntu-Light';
        font-size: 0.8em;
        line-height: 1.4;
    }
}
.dinamic-info-panels .info-title-panel,
.dinamic-info-panels .info-description-panel {
    opacity: 0;
}

/* Состояния при наведении */
.interactive-image-container.zone-hover .static-info-panels {
    opacity: 0;
    visibility: hidden;
}
.dinamic-info-panels.visible {
    opacity: 1;
    visibility: visible;
}
.dinamic-info-panels.visible .info-title-panel,
.dinamic-info-panels.visible .info-description-panel {
    opacity: 1;
}





/* БЛОК КОНТАКТОВ */


.contacts-wrapper {
    position: absolute;
    bottom: 15%;
    right: var(--spacing);
    z-index: 10;
}
.circles-container {
    position: relative;
    width: 300px;
    height: 300px;
}

/* Общие стили кнопок */
.circle-btn {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-want-box {
    position: absolute;
    bottom: 0px;
    right: 0px;
}
.main-btn {
    width: 120px;
    height: 120px;
    background: var(--color-yellow);
    color: var(--color-text1);
    font-family: 'Roboto-regular', Arial, sans-serif;
    font-size: 1.8em;
    font-weight: 100;
    text-transform: uppercase;
    bottom: 0;
    right: 0;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}
.main-btn:hover {
    color: var(--color-white);
}
.main-btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.main-btn span {
    position: relative;
    z-index: 1;
}

.email-btn {
    width: 52px;
    height: 52px;
    bottom: 80px;
    right: 140px;
}
.telegram-btn {
    width: 52px;
    height: 52px;
    bottom: 30px;
    right: 190px;
}

/* Иконки */
.circle-btn img {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}
.icon-hover {
    position: absolute;
    opacity: 0;
}
.circle-btn:hover .icon-default {
    opacity: 1;
}
.circle-btn:hover .icon-hover {
    opacity: 1;
}

/* Телефон */
.phone-box {
    position: absolute;
    bottom: -20px;
    right: 140px;
}
.phone-btn {
    position: relative;
    width: 52px;
    height: 52px;
}
.phone-btn label {
    display: flex;
    width: 100%;
    height: 100%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 12;
}
.phone-btn .icon-default,
.phone-btn .icon-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    z-index: 12;
}
.phone-btn .icon-hover {
    opacity: 0;
}
#phone-toggle:checked ~ .phone-btn .icon-default {
    opacity: 0;
}
#phone-toggle:checked ~ .phone-btn .icon-hover {
    opacity: 1;
}
#phone-toggle {
    display: none; 
}

/* Номер телефона всплывашка */
.phone-number {
    position: absolute;
    left: -160px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-text2);
    color: var(--color-white);
    font-family: Arial, sans-serif;
    font-size: 1.0em;
    font-weight: bold;
    padding: 10px 35px 10px 16px;
    border-radius: 20px 0 0 20px;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 11;
}
.phone-number a {
    color: inherit; 
    text-decoration: none; 
    display: block; 
}
#phone-toggle:checked ~ .phone-number {
    opacity: 1;
    left: -175px;
}








