/*
Theme Name: F2-TEX Clean
Theme URI: https://f2-tex.ru
Author: F2-TEX
Description: Чистая тема для сайта НПО Ф2-ТЕХ. Полноэкранный первый экран с фоновым изображением, логотипом и вертикальным меню.
Version: 6.0
License: GPL v2 or later
Text Domain: f2tex-clean
*/

/* Сброс и база */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: #262a35;
    color: #ffffff;
}

/* Первый экран */
.hero {
    position: relative;
    min-height: 100vh;
    background-image: url('https://f2-tex.ru/wp-content/uploads/2026/12/1.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-brand {
    position: absolute;
    top: 14%;
    left: 18%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Логотип, собранный кодом: красная рамка + белая надпись */
.logo-mark {
    position: relative;
    display: block;
    width: 172px;
    height: 150px;
    text-decoration: none;
}

.logo-frame {
    position: absolute;
    inset: 0;
    border-left: 13px solid #e02b2f;
    border-top: 13px solid #e02b2f;
    border-bottom: 13px solid #e02b2f;
}

/* Правая сторона рамки: два сегмента с разрывом, где проходит надпись */
.logo-frame::before,
.logo-frame::after {
    content: '';
    position: absolute;
    right: 0;
    width: 13px;
    background: #e02b2f;
}
.logo-frame::before { top: -13px; height: 26%; }
.logo-frame::after  { bottom: -13px; height: 26%; }

.logo-text {
    position: absolute;
    left: 42%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 38px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #ffffff;
    white-space: nowrap;
    line-height: 1;
}

.logo-tm {
    font-size: 16px;
    font-weight: 300;
    vertical-align: super;
}

/* Меню под логотипом */
.hero-nav {
    margin-top: 34px;
    padding-left: 6px;
}

.hero-nav ul {
    list-style: none;
}

.hero-nav li {
    margin-bottom: 18px;
}

.hero-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 200;
    letter-spacing: 0.4px;
    opacity: 0.92;
    transition: opacity 0.2s ease;
}

.hero-nav a:hover {
    opacity: 0.6;
}

/* Внутренние страницы */
.inner-page {
    min-height: 100vh;
    background: #262a35;
    padding: 120px 8%;
}

.inner-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
}

.inner-content {
    font-size: 18px;
    line-height: 1.7;
    color: #d7dae2;
}

.inner-content a { color: #e0393e; }
