
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /* Твой фон с текстурой */
    background-image: url('back_textyre.png');
    background-repeat: repeat;
    background-size: 300px 300px;
    background-attachment: fixed;
    font-family: Arial, sans-serif;
    /* Убираем центрирование всего сайта, чтобы хедер был на всю ширину */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* КРАСНЫЙ HEADER (Обложка) */
.header-zone {
    background-image: url('tail.png');
    background-repeat: no-repeat;
    background-size: cover;
    /* Если нужна текстура поверх красного, добавь сюда background-image с прозрачностью */
    height: 200px; /* Высота шапки */
    padding: 20px 40px; /* Отступы внутри */
    /* Выстраиваем элементы в ряд: лого - текст - лого */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ЗЕЛЕНЫЕ ЛОГОТИПЫ */
.logo-box {
    background-image: url('logoForSite_black.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 170px;
    height: 170px;
}

.logo-right {
    background-image: url('logo-portret.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 170px;
    height: 170px;
}

/* Текст в центре хедера (чтобы читался поверх красного) */
.header-center {
    color: #FFFFFF;
    text-align: center;
}

    .header-center h1 {
        font-size: 36px;
        margin-bottom: 5px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Тень для читаемости */
    }

    .header-center p {
        font-size: 18px;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    }

/*БЕЛАЯ ЗОНА (Контент) */
.main-container {
    max-width: 1200px; /* Ширина листа */
    margin: 10px auto; /* Центрируем по горизонтали и даем отступ сверху/снизу */
    /* Если у тебя есть белый лист с текстурой, оставь это: */
    background-repeat: repeat-y;
    background-size: 100% auto;
    background-color: rgba(255, 255, 255, 0.9); /* Белая подложка на всякий случай */
    background-size: cover;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/*ЖЕЛТЫЕ КНОПКИ */
.buttons-row {
    display: flex;
    justify-content: space-between; /* Распределяем кнопки равномерно */
    gap: 20px;
    margin-bottom: 40px; /* Отступ до синего блока */
}

.btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    background: url('button.png') no-repeat center;
    background-size: 100% 100%;
    background-color: transparent;
    border: none;
    color: var(--color-primary);
    padding: 30px 75px;
    font-size: 34px;
    font-family: var(--main-font);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
    transform: rotate(var(--rot, 0deg));
}

.btn-icon {
    width: 30px;
    height: 30px;
    object-fit: contain; /* не искажает пропорции */
}

.btn:hover {
    filter: drop-shadow(0 0 25px var(--color-primary)) brightness(1.4);
    transform: rotate(var(--rot, 0deg)) scale(1.15);
}

/*СИНЯЯ ЗОНА (Текст) */
.text-zone {
    background-color: #000000; /* Синий */
    color: #FFFFFF; /* Белый текст, чтобы читался */
    min-height: 500px; /* Высота зоны */
    padding: 40px;
    border-radius: 5px;
    /* Выстраиваем текст в колонку с отступами */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .text-zone h2 {
        font-size: 32px;
    }

    .text-zone p {
        font-size: 18px;
        line-height: 1.6;
    }
