/* Стили для страницы ключевых зон лаборатории */

/* Большие отступы между компонентами */
.component-spacing {
    padding-top: 8rem !important;
    padding-bottom: 8rem !important;
}

/* Отступ от шапки для первого компонента */
.component-spacing:first-child {
    padding-top: 12rem !important;
}

/* Отступ перед подвалом для последнего компонента */
.component-spacing:last-child {
    padding-bottom: 12rem !important;
}

/* Анимация появления карточек */
.lab-zones-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.lab-zones-card:nth-child(1) {
    animation-delay: 0.1s;
}

.lab-zones-card:nth-child(2) {
    animation-delay: 0.2s;
}

.lab-zones-card:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для VR-тура */
.vr-tour-placeholder {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.vr-tour-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.vr-tour-placeholder:hover::before {
    transform: translateX(100%);
}

.vr-tour-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.2);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .component-spacing {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }

    .component-spacing:first-child {
        padding-top: 8rem !important;
    }

    .component-spacing:last-child {
        padding-bottom: 8rem !important;
    }

    .vr-tour-placeholder {
        height: 300px !important;
    }
}