/* static/css/technology_process_block.css */

/**
 * БЛОК ТЕХНОЛОГИИ ОБРАБОТКИ ВОДЫ
 * Максимум 200 строк, модульная архитектура
 */

/* Основная секция */
.technology-process-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, 
        rgba(0, 123, 191, 0.05) 0%, 
        rgba(13, 110, 253, 0.08) 100%);
    position: relative;
    overflow: hidden;
}

.technology-process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="tech-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(0,123,191,0.05)"/></pattern></defs><rect fill="url("#tech-pattern#tech-pattern")" width="100" height="100"/></svg>') repeat;
    pointer-events: none;
}

/* Заголовки секции */
.technology-process-section .section-title {
    color: var(--dark-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.technology-process-section .section-subtitle {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

/* Карточки технологии */
.technology-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    border: 2px solid rgba(0, 123, 191, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.technology-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 123, 191, 0.2);
}

/* Заголовок карточки */
.technology-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 123, 191, 0.3);
}

.step-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 123, 191, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.technology-card:hover .step-icon {
    background: var(--primary-color);
    color: white;
    transform: rotate(360deg);
}

/* Контент карточки */
.step-title {
    color: var(--dark-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.step-description {
    color: var(--gray-dark);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Адаптивность */
@media (max-width: 992px) {
    .technology-process-section .section-title {
        font-size: 2rem;
    }
    
    .technology-process-section .section-subtitle {
        font-size: 1.25rem;
    }
    
    .technology-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .technology-process-section {
        padding: 3rem 0;
    }
    
    .technology-process-section .section-title {
        font-size: 1.75rem;
    }
    
    .technology-process-section .section-subtitle {
        font-size: 1.1rem;
    }
    
    .step-number,
    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-title {
        font-size: 1.1rem;
    }
    
    .step-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .technology-card {
        padding: 1rem;
    }
    
    .technology-card .card-header {
        margin-bottom: 1rem;
    }
    
    .step-number,
    .step-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Высокий контраст для accessibility */
@media (prefers-contrast: high) {
    .technology-card {
        background: #ffffff;
        border: 3px solid #000080;
    }
    
    .step-title {
        color: #000000;
    }
    
    .step-description {
        color: #333333;
    }
    
    .step-number {
        background: #000080;
    }
    
    .step-icon {
        background: #f0f0f0;
        color: #000080;
    }
}
