

/* Start:/tech/style.css?177361803712306*/
/* =========================================
   DARK THEME OVERRIDES (Только для /tech)
========================================= */
body {
    background-color: #050505 !important;
    color: #ffffff !important;
}

/* Перекраска шапки и подвала. 
   Если в вашем шаблоне другие классы, добавьте их сюда */

/* Подвал оставляем черным */
footer, .footer, #footer {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #1a1a1a !important;
}

/* Скрываем стандартные хлебные крошки и заголовок на лендинге */
.bx-breadcrumb, .breadcrumb, .breadcrumbs, #navigation,
#pagetitle, .page-title, h1#pagetitle {
    display: none !important;
}

/* Шапку делаем прозрачной (убираем фон), но сохраняем её родную структуру */
header, #header, .header__bottombar:not(.is-show) {
    background-color: transparent !important;
    border-color: transparent !important;
}
header, #header {
    position: relative;
    z-index: 900;
}

/* Цвет шапки при прокрутке (включая стандартные клонированные шапки Битрикса) */
header.scrolled, #header.scrolled,
.header.fixed, .header-fixed, header.fixed-header, #header.fixed,
.header__bottombar.is-show {
    background-color: #050505 !important;
    border-bottom: 1px solid #1a1a1a !important;
}

/* --- Перекраска поля поиска --- */
.header__bottombar #title-search-input {
    background-color: #0f0f0f !important;
    border: 1px solid #333 !important;
    color: #fff !important;
}
.header__bottombar #title-search-input::placeholder {
    color: #888 !important;
}

/* --- Кнопки Каталог и Поиск (убираем синий фон) --- */
.header__bottombar .catalog__btn,
.header__bottombar .search-title-button,
.header__bottombar .btn-primary {
    background-color: transparent !important;
    border: 1px solid #333 !important;
    color: #e0e0e0 !important;
    box-shadow: none !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}
.header__bottombar .catalog__btn:hover,
.header__bottombar .search-title-button:hover,
.header__bottombar .btn-primary:hover,
.header__bottombar .btn-primary:focus,
.header__bottombar .btn-primary:active {
    background-color: #c62828 !important;
    border-color: #c62828 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* Высветлить три черточки (бургер) и иконки на кнопке Каталог и в мобильном меню */
header [class*="catalog"] span, .header [class*="catalog"] span,
header [class*="burger"] span, .header [class*="burger"] span,
header [class*="menu"] span, .header [class*="menu"] span,
.header-fixed [class*="catalog"] span, .header-fixed [class*="burger"] span,
.header__bottombar [class*="catalog"] span, .header__bottombar [class*="burger"] span {
    background-color: #e0e0e0 !important;
}
header [class*="catalog"] i::before, .header [class*="catalog"] i::before,
header [class*="catalog"] i::after, .header [class*="catalog"] i::after,
.header__bottombar [class*="catalog"] i::before, .header__bottombar [class*="catalog"] i::after {
    background-color: #e0e0e0 !important;
}
header [class*="catalog"] svg, .header [class*="catalog"] svg,
header [class*="catalog"] img[src*="burger"], .header [class*="catalog"] img[src*="burger"],
.header__bottombar [class*="catalog"] svg, .header__bottombar [class*="catalog"] img[src*="burger"],
.header__bottombar .catalog__btn img {
    filter: invert(0.9) !important;
}
header a, footer a, .header a, .footer a, .header__bottombar a {
    color: #e0e0e0 !important;
}
header a:hover, footer a:hover, .header a:hover, .footer a:hover, .header__bottombar a:hover {
    color: #c62828 !important;
}

/* Перекраска иконок (Профиль, Корзина и других) внутри шапки */
header a svg, footer a svg, .header a svg, .footer a svg,
.header-profile__icon, header a i, .header a i,
.header__bottombar a svg, .header__bottombar a i {
    color: #e0e0e0 !important;
}
header a:hover svg, footer a:hover svg, .header a:hover svg, .footer a:hover svg,
.header a:hover .header-profile__icon, header a:hover i, .header a:hover i,
.header__bottombar a:hover svg, .header__bottombar a:hover i {
    color: #c62828 !important;
}

/* Перекраска иконок в тегах <img> (Профиль, Корзина) через фильтры */
header a img[src*="icon"], .header a img[src*="icon"], #header a img[src*="icon"],
.header__bottombar a img[src*="icon"], .header__bottombar button img[src*="icon"],
.header__bottombar .catalog__btn img[src*="icon"] {
    filter: invert(0.9) !important; /* Делает чёрные иконки светло-серыми */
    transition: filter 0.2s ease;
}
header a:hover img[src*="icon"], .header a:hover img[src*="icon"], #header a:hover img[src*="icon"],
.header__bottombar a:hover img[src*="icon"] {
    /* Превращает иконки ссылок в красный #c62828 при наведении */
    filter: invert(19%) sepia(96%) saturate(2932%) hue-rotate(348deg) brightness(88%) contrast(92%) !important;
}
/* Иконки в кнопках Каталог и Поиск при наведении делаем чисто белыми */
.header__bottombar .catalog__btn:hover img[src*="icon"],
.header__bottombar .search-title-button:hover img[src*="icon"],
.header__bottombar .btn-primary:hover img[src*="icon"] {
    filter: brightness(0) invert(1) !important;
}

/* Перекраска выпадающего меню в шапке */
header ul li ul, .header ul li ul, #header ul li ul,
header .dropdown-menu, .header .dropdown-menu, #header .dropdown-menu,
header .bx-nav-dropdown, .header .bx-nav-dropdown,
.header__bottombar .dropdown-menu, .header__bottombar .bx-nav-dropdown, .header__bottombar ul li ul {
    background-color: #0f0f0f !important;
    border: 1px solid #1a1a1a !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.8) !important;
}

header ul li ul li a, .header ul li ul li a, #header ul li ul li a,
header .dropdown-menu a, .header .dropdown-menu a, #header .dropdown-menu a,
header .bx-nav-dropdown a, .header .bx-nav-dropdown a,
.header__bottombar .dropdown-menu a, .header__bottombar .bx-nav-dropdown a, .header__bottombar ul li ul li a {
    color: #e0e0e0 !important;
}

header ul li ul li a:hover, .header ul li ul li a:hover, #header ul li ul li a:hover,
header .dropdown-menu a:hover, .header .dropdown-menu a:hover, #header .dropdown-menu a:hover,
header .bx-nav-dropdown a:hover, .header .bx-nav-dropdown a:hover,
.header__bottombar .dropdown-menu a:hover, .header__bottombar .bx-nav-dropdown a:hover, .header__bottombar ul li ul li a:hover {
    background-color: #1a1a1a !important;
    color: #c62828 !important;
}

/* =========================================
   TECH PAGE STYLES
========================================= */
.tech-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #050505;
    color: #fff;
}

.tech-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 0px;
}

.tech-color-red {
    color: #c62828;
}

.tech-section {
    padding: 100px 0;
    border-bottom: 1px solid #1a1a1a;
}

.tech-section__title {
    font-size: 42px;
    margin-bottom: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- HERO SECTION --- */
.tech-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -120px; /* Затягиваем блок под шапку, чтобы не перекрывать админ-панель */
    padding-top: 120px; /* Компенсация высоты прозрачной шапки */
    overflow: hidden;
    background: #000;
    border-bottom: 1px solid #1a1a1a;
}

#tech-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.8;
}

.tech-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    pointer-events: none;
}

.tech-hero__title {
    font-size: 72px;
    margin: 0 0 20px;
    font-weight: 900;
    letter-spacing: 2px;
}

.tech-hero__subtitle {
    font-size: 24px;
    color: #aaa;
    line-height: 1.5;
}

/* --- ABOUT SECTION --- */
.tech-about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.tech-about__card {
    background: #0f0f0f;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #1a1a1a;
    transition: border-color 0.3s;
}

.tech-about__card:hover {
    border-color: #c62828;
}

.tech-about__icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.tech-about__card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.tech-about__card p {
    color: #888;
    line-height: 1.6;
}

/* --- TECH STACK --- */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.tech-stack__item {
    padding: 15px 30px;
    background: #0f0f0f;
    border: 1px solid #1a1a1a;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-stack__item:hover {
    background: #c62828;
    color: #fff;
    border-color: #c62828;
    transform: translateY(-3px);
}

/* --- TEAMS --- */
.tech-teams__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tech-team__card {
    padding: 30px;
    background: linear-gradient(145deg, #111, #050505);
    border-left: 4px solid #c62828;
}

.tech-team__card h3 {
    margin-top: 0;
    font-size: 20px;
    margin-bottom: 15px;
}

.tech-team__card p {
    color: #aaa;
    line-height: 1.5;
}

/* --- CAROUSEL --- */
.tech-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tech-carousel {
    flex-grow: 1;
    overflow: hidden;
}

.tech-carousel__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}
.tech-carousel__track::-webkit-scrollbar {
    display: none; /* Chrome */
}

.tech-carousel__item {
    flex: 0 0 350px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.tech-carousel__btn {
    background: #1a1a1a;
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s;
}

.tech-carousel__btn:hover {
    background: #c62828;
}

/* --- NEWS OVERRIDE --- */
.tech-news-wrapper .news-item {
    background: #0f0f0f;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #1a1a1a;
}
.tech-news-wrapper .news-item a {
    color: #c62828;
    text-decoration: none;
}
.tech-news-wrapper .news-date {
    color: #666;
}

/* =========================================
   АДАПТИВ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ
========================================= */
@media (max-width: 768px) {
    .tech-hero {
        height: 75vh;
        min-height: 400px;
        margin-top: -80px;
        padding-top: 80px;
    }
    .tech-hero__title {
        font-size: 38px;
        letter-spacing: 1px;
    }
    .tech-hero__subtitle {
        font-size: 16px;
    }
    .tech-section {
        padding: 50px 0;
    }
    .tech-section__title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .tech-about__grid, .tech-teams__grid {
        grid-template-columns: 1fr;
    }
    .tech-carousel__item {
        flex: 0 0 280px;
        height: 200px;
    }
    /* Перекраска выезжающего мобильного меню (если используется стандартное) */
    .mobile-menu, #mobile-menu, .mobile-menu-wrapper, .bx-nav-mobile {
        background-color: #0f0f0f !important;
    }
    .mobile-menu a, #mobile-menu a, .bx-nav-mobile a {
        color: #e0e0e0 !important;
    }
}

/* End */
/* /tech/style.css?177361803712306 */
