/* Стили для блока оборудования */
.equipment-section {
    position: relative;
    margin-top: 3rem;
}

.equipment-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.equipment-image {
    flex: 0 0 300px;
    position: relative;
}

.equipment-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid rgba(43, 108, 176, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.equipment-img:hover {
    transform: scale(1.02);
    border-color: var(--color-accent);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.equipment-info {
    flex: 1;
}

.equipment-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.equipment-description {
    color: var(--color-light-secondary);
    line-height: 1.6;
}

/* Аннотация при наведении */
.equipment-annotation {
    position: absolute;
    top: 50%;
    left: 110%;
    transform: translateY(-50%);
    background: rgba(45, 55, 72, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(43, 108, 176, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    width: 320px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.equipment-image:hover .equipment-annotation {
    opacity: 1;
    visibility: visible;
    left: 105%;
}

.equipment-annotation::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: rgba(43, 108, 176, 0.5);
}

.annotation-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.annotation-text {
    color: var(--color-light-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 768px) {
    .equipment-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .equipment-image {
        flex: none;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .equipment-annotation {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 320px;
        z-index: 1000;
    }

    .equipment-image:hover .equipment-annotation {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .equipment-annotation::before {
        display: none;
    }
}