
@font-face {
    font-family: 'GolosTextRegular';
    src: url('../fonts/Golos_Text/static/GolosText-Regular.ttf'),
}

@font-face {
    font-family: 'GolosTextSemiBold';
    src: url('../fonts/Golos_Text/static/GolosText-SemiBold.ttf'),
}

@font-face {
    font-family: 'Anticva';
    src: url('../fonts/Anticva/Anticva-Regular.otf'),
}

@font-face {
    font-family: 'BickhamScriptProRegular';
    src: url('../fonts/bickham-script-pro/Bickham Script Pro Regular.ttf'),
}

@font-face {
    font-family: 'DharmaGothicERegular';
    src: url('../fonts/dharma-gothic-e/DharmaGothicE_Bold_R.otf'),
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('../img/cursor.svg'), auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

html {
    scroll-padding-top: 100px;
}

body {
    background-color: #000;
    color: #ffffff;
    font-family: 'GolosTextRegular', Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Запрет перетаскивания для всех изображений */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
}

/* Основная шапка */
.main-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    position: relative;
    width: 100%;
    overflow: hidden;
    transform: translateZ(0);
    will-change: auto;
}

/* Контент шапки с заголовком и полосками */
.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

/* Главный заголовок */
.main-title {
    font-family: 'DharmaGothicERegular', Arial, sans-serif;
    font-size: 35px;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    z-index: 2;
    position: relative;
    padding: 0 30px;
    flex-shrink: 0;
}

/* Полоски слева и справа от заголовка */
.header-line {
    height: 1px;
    position: absolute;
    top: 50%;
    background: #ffffff;
    transform: scaleY(0.5);
    transform-origin: center;
    z-index: -2;
}

.left-line {
    left: 0;
    right: calc(50% + 80px);
}

.right-line {
    right: 0;
    left: calc(50% + 80px);
}

/* Навигация */
.navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-column-gap: 96px;
    align-items: center;
    max-width: 1000px;
    width: 100%;
}

.nav-left {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 80px;
}

.nav-center {
    display: flex;
    align-items: center;
}

.nav-right {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 96px;
}

/* Ссылки навигации */
.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-family: 'GolosTextRegular';
    font-size: 14px;
    padding: 15px 0;
    position: relative;
    transition: all 0.4s ease;
    text-transform: uppercase;
}

/* Подчеркивание при наведении */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #8F1616;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:not(:hover)::after {
    transform: scaleX(0);
    transform-origin: right;
}

/* Адаптивный дизайн */
@media (max-width: 1024px) {
    .main-title {
        font-size: 3rem;
        letter-spacing: 4px;
        padding: 0 30px;
    }
    
    .navigation {
        max-width: 700px;
        grid-column-gap: 40px;
    }
    
    .nav-left,
    .nav-right {
        gap: 96px;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 60px 15px 40px 15px;
    }
    
    .main-title {
        font-size: 2.5rem;
        letter-spacing: 3px;
        padding: 0 20px;
    }
    
    .navigation {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .nav-left,
    .nav-right {
        justify-content: center;
        gap: 40px;
    }
    
    .nav-link {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .navigation {
        gap: 20px;
        flex-direction: column;
    }
    
    .nav-left,
    .nav-right {
        gap: 30px;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 10px 0;
    }
}

/* Обертка для шапки и hero с фоном */
.hero-wrapper {
    min-height: 115vh;
    position: relative;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/bg/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

/* Основной блок */
.hero-section {
    padding-top: 220px;
    transform: translateZ(0);
    will-change: auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    will-change: transform;
    transform: translateZ(0);
    transition: transform 0.1s ease-out;
}

.hero-small-text {
    font-family: 'GolosTextSemiBold';
    font-size: 20px;
    color: #fff;
    margin-bottom: 15px;
}

.hero-main-title {
    font-family: 'Anticva';
    font-size: 170px;
    font-weight: 500;
    color: #fff;
}

.hero-subtitle {
    font-family: 'BickhamScriptProRegular';
    font-size: 180px;
    color: #8F1616;
    margin-bottom: 0;
    margin-top: -220px;
}

/* Адаптивный дизайн для основного блока */
@media (max-width: 1024px) {
    .hero-main-title {
        font-size: 56px;
        letter-spacing: 2px;
    }
    
    .hero-small-text {
        font-size: 15px;
    }
    
    .hero-subtitle {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        padding: 60px 15px;
    }
    
    .hero-main-title {
        font-size: 42px;
        letter-spacing: 1px;
        margin-bottom: 30px;
    }
    
    .hero-small-text {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 50vh;
        padding: 40px 15px;
    }
    
    .hero-main-title {
        font-size: 32px;
        margin-bottom: 25px;
    }
    
    .hero-small-text {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
}

/* Боковые колонки */
.side-column {
    position: absolute;
    top: 0;
    width: 120px;
    height: 2800px;
    background: linear-gradient(180deg, #811414 0%, #000000 100%);
    z-index: 1;
}

.left-column {
    left: 0;
}

.right-column {
    right: 0;
}

/* Паралакс картинки */
.parallax-image {
    position: absolute;
    z-index: 1;
    transition: transform 0.1s ease-out;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.parallax-left {
    left: -210px;
    top: 100px;
}

.parallax-right {
    right: -210px;
    top: -120px;
}

/* Адаптивный дизайн для паралакс картинок */
/* @media (max-width: 1200px) {
    .parallax-image {
        width: 250px;
        height: 350px;
    }
    
    .parallax-left {
        left: -120px;
        top: 180px;
    }
    
    .parallax-right {
        right: -120px;
        top: 350px;
    }
}

@media (max-width: 992px) {
    .parallax-image {
        width: 200px;
        height: 300px;
    }
    
    .parallax-left {
        left: -100px;
        top: 150px;
    }
    
    .parallax-right {
        right: -100px;
        top: 300px;
    }
}

@media (max-width: 768px) {
    .parallax-image {
        display: none;
    }
} */

/* Адаптация для мобильных - скрываем колонки на маленьких экранах */
@media (max-width: 768px) {
    .side-column {
        display: none;
    }
}

/* Секция портфолио */
.portfolio-section {
    padding: 100px 0;
    position: relative;
    z-index: 3;
    overflow: hidden;
}

/* Декоративные фоновые изображения */
.portfolio-bg-spike {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
    max-width: none;
    filter: grayscale(30%);
    transition: opacity 0.3s ease;
}

/* Позиции для каждого spike */
.spike-1 {
    top: 10%;
    left: -50px;
    width: 200px;
    height: auto;
    transform: rotate(-15deg);
}

.spike-2 {
    top: 50%;
    right: -80px;
    width: 240px;
    height: auto;
    transform: rotate(25deg);
}

.spike-3 {
    top: 25%;
    right: -30px;
    width: 180px;
    height: auto;
    transform: rotate(-10deg);
}

.spike-4 {
    bottom: 15%;
    left: -40px;
    width: 220px;
    height: auto;
    transform: rotate(20deg);
}

.portfolio-grid {
    display: flex;
    gap: 83px;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    cursor: pointer;
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    break-inside: avoid;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.portfolio-group {
    display: flex;
    flex-direction: column;
    gap: 80px;
    flex: 1;
}


.portfolio-item-1 {
    height: 739px;
}

.portfolio-item-2 {
    height: 561px;
}

.portfolio-item-3 {
    height: 564px;
}

.portfolio-item-4 {
    height: 736px;
}

.portfolio-item-5 {
    height: 650px;
}

.portfolio-item-6 {
    height: 650px;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(143, 22, 22, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.portfolio-overlay h3 {
    font-family: 'DharmaGothicERegular', Arial, sans-serif;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 8px;
    text-align: center;
    text-transform: uppercase;
}

.portfolio-overlay p {
    font-family: 'GolosTextRegular', Arial, sans-serif;
    font-size: 14px;
    color: #cccccc;
    text-align: center;
    text-transform: uppercase;
}

/* Размеры определяются содержимым изображений */

/* Адаптивный дизайн для портфолио */
@media (max-width: 1024px) {
    .portfolio-grid {
        padding: 0 30px;
        gap: 100px;
    }
}

@media (max-width: 768px) {
    .portfolio-section {
        padding: 60px 0;
    }
    
    .portfolio-grid {
        flex-direction: column;
        gap: 60px;
        padding: 0 20px;
    }
    
    /* Скрываем декоративные элементы на мобильных */
    .portfolio-bg-spike {
        display: none;
    }
    
    .portfolio-overlay h3 {
        font-size: 18px;
    }
    
    .portfolio-overlay p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .portfolio-section {
        padding: 40px 0;
    }
    
    .portfolio-grid {
        padding: 0 15px;
        gap: 40px;
    }
    
    .portfolio-group {
        gap: 40px;
    }
    
    .portfolio-overlay h3 {
        font-size: 16px;
    }
    
    .portfolio-overlay p {
        font-size: 11px;
    }
}