/* technologies.css - Стили для страницы "Изучаемые технологии" */

/* Основные стили страницы */
.tech-page {
    padding: var(--tech-padding-top, 100px) 0 var(--tech-padding-bottom, 100px);
    background: #ffffff;
}

.tech-page__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовок страницы */
.tech-page__title {
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
    font-size: var(--tech-title-size, 3rem);
}

/* Декоративная полоска */
.tech-page__divider {
    width: 80px;
    height: 4px;
    margin: 0 auto 60px;
    border-radius: 2px;
}

/* Блок технологии */
.tech-block {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: var(--tech-blocks-gap, 80px);
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.tech-block:last-of-type {
    margin-bottom: 60px;
}

/* Блок изображения */
.tech-block__image-wrapper {
    flex: 1;
    min-width: 300px;
}

.tech-block__image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.tech-block__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Блок текста */
.tech-block__content {
    flex: 1.5;
}

.tech-block__title {
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    font-size: var(--tech-block-title-size, 2.5rem);
}

.tech-block__description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: var(--tech-description-size, 1.8rem);
}

/* Теги */
.tech-block__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-block__tag {
    background: #e9ecef;
    color: #495057;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
    font-size: var(--tech-tag-size, 1.4rem);
}

/* Кнопка возврата */
.tech-page__back-button {
    text-align: center;
    margin-top: 60px;
}

.tech-page__back-button-link {
    display: inline-block;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    font-size: var(--tech-button-size, 1.6rem);
}

.tech-page__back-button-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    opacity: 0.9;
}

/* Адаптивность */
@media (max-width: 992px) {
    .tech-page {
        padding: var(--tech-padding-top-mobile, 60px) 0 var(--tech-padding-bottom-mobile, 60px);
    }
    
    .tech-block {
        flex-direction: column !important;
        padding: 30px !important;
        margin-bottom: var(--tech-blocks-gap-mobile, 50px);
    }
    
    .tech-block__image-wrapper,
    .tech-block__content {
        width: 100%;
        flex: none;
    }
    
    .tech-block__title {
        font-size: var(--tech-block-title-size-mobile, 1.7rem) !important;
    }
}

@media (max-width: 768px) {
    .tech-page__title {
        font-size: var(--tech-title-size-mobile, 2rem) !important;
    }
    
    .tech-block__description {
        font-size: var(--tech-description-size-mobile, 1.4rem) !important;
    }
    
    .tech-block__tag {
        font-size: var(--tech-tag-size-mobile, 1.2rem) !important;
    }
    
    .tech-page__back-button-link {
        font-size: var(--tech-button-size-mobile, 1.4rem) !important;
    }
}

@media (max-width: 480px) {
    .tech-block__image-container {
        height: 250px;
    }
}