     

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Inter', sans-serif;
            color: white;
        }

  /* --- HEADER: Прозрачный и Статичный --- */
.header {
    position: absolute; /* Лежит поверх контента, не двигается при скролле */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent; /* Полная прозрачность */
    padding: 10px 40px 10px 50px; /* Больше воздуха сверху и снизу */
}

.header-container {
    margin: 0 auto;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Логотип --- */
.brand {
    display: flex;
    align-items: center;
    z-index: 1002;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

/* --- Навигация и Языки (Правая часть) --- */
.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 50px; /* Большой отступ между меню и языками */
}

.nav-desktop {
    display: flex;
    gap: 35px;
}

/* Общий стиль для ссылок и кнопок языков */
.nav-link, .lang-btn {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #ffffff; /* Если у тебя темный фон, замени на #fff (белый) */
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    text-shadow: 2px 2px 4px rgb(151, 151, 151);
}

/* --- ЭФФЕКТ НАВЕДЕНИЯ (Линия снизу) --- */
/* Применяем и к меню, и к языкам для идеального дизайна */
.nav-link::after, .lang-btn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%; /* Линия растет из центра */
    background-color: #ffffff; /* Цвет линии (черный или твой фирменный) */
    transition: width 0.3s ease, left 0.3s ease;
}

/* Hover эффект */
.nav-link:hover::after, .lang-btn:hover::after {
    width: 100%;
    left: 0;
}

/* Активное состояние языков (Линия всегда видна) */
.lang-btn.active {
    color: #ffffff;
    font-weight: 800;
}

.lang-btn.active::after {
    width: 100%;
    left: 0;
    background-color: #ff0000;
}

/* Разделитель перед языками убрал, чтобы было чисто */
.lang-switcher {
    display: flex;
    gap: 15px;
}

/* --- Бургер (Скрыт на ПК) --- */
.burger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1002;
}

.burger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #ffffff; /* Цвет полосок бургера */
    transition: .25s ease-in-out;
}

.burger span:nth-child(1) { top: 0px; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { top: 18px; }

/* Анимация крестика */
.burger.active span:nth-child(1) { top: 9px; transform: rotate(135deg); background-color:rgb(43, 43, 43); }
.burger.active span:nth-child(2) { opacity: 0; left: -60px; background-color:rgb(43, 43, 43);}
.burger.active span:nth-child(3) { top: 9px; transform: rotate(-135deg); background-color:rgb(43, 43, 43);}

/* --- Адаптив --- */
@media (max-width: 900px) {
    .nav-desktop, .lang-switcher { display: none; }
    .burger { display: block; }
}

/* Мобильное меню остается прежним по стилю, но нужно скрыть overflow */
.nav-mobile {
    position: fixed;
    top: 0; right: 0; width: 100%; height: 100vh;
    background: #fff;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1001;
}
.nav-mobile.active { transform: translateX(0); }
.mobile-links { display: flex; flex-direction: column; gap: 20px; text-align: center; margin-bottom: 30px; }
.nav-mobile a { font-size: 22px; color: #333; text-decoration: none; font-weight: 500; }
.mobile-lang { display: flex; gap: 20px; }
.lang-btn-mob { font-size: 18px; color: #999; cursor: pointer; }
.lang-btn-mob.active { color: #000; text-decoration: underline; }

/* --- КНОПКА НАВЕРХ --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 0, 0, 0.88); /* Ваш фирменный красный */
    color: white;
    border: none;
    border-radius: 5px; /* Слегка скругленные углы в стиле кнопок Hero */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0; /* Скрыта по умолчанию */
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: rgba(255, 0, 0, 1);
    transform: translateY(-5px); /* Небольшой прыжок вверх при наведении */
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}
.hero{
    background-image:linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/jimmy-chang-hDOnQGPofuU-unsplash.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 400px;
    display: flex;
    align-items: end;
    justify-content: left;  
    padding-left: 50px;
    padding-bottom: 20px;  
}
.hero p{
    font-size: 130px;
    color: #ffffff;
    font-weight: 600;
    font-family: Alegreya;
}
.hero b{
    font-weight: 600;
}
/* --- СЕКЦИЯ ПОРТФОЛИО --- */
.portfolio-section {
    padding: 120px 5%;
    background-color: #fff;
    color: #1a1a1a;
    overflow: hidden;
}
.meta-label{
    font-size: 17px;
    color: #453434;
}
.section-header {
    text-align: left;
    margin-bottom: 120px;
}

.section-title {
    font-family: 'Spectral', serif;
    font-size: clamp(32px, 5vw, 56px); /* Адаптивный размер шрифта */
    font-weight: 300;
    margin-top: 15px;
}

/* --- КАРТОЧКА --- */
.project-card {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(100px, 15vw, 200px);
    position: relative;
    width: 100%;
}

/* Изображение */
.project-image-wrapper {
    flex: 0 0 70%;
    position: relative;
    z-index: 2;
    overflow: hidden;
    transition: clip-path 0.6s ease;
}

.project-img {
    width:100%;
    height: 600px;
    object-fit: cover;
    display: block;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.286);

}

.project-card:hover .project-img {
    transform: scale(1.08);
}

/* Контентный блок */
.project-content {
    flex: 0 0 45%;
    background: #fff;
    padding: clamp(30px, 4vw, 60px);
    z-index: 3;
    position: relative;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.286);
    margin-left: -10%; /* Наложение */
    border-top: 4px solid #ff0000;
}

/* Реверсивный вид */
.style-reverse { flex-direction: row-reverse; }
.style-reverse .project-content {
    margin-left: 0;
    margin-right: -10%;
    text-align: right;
    border-top: none;
    border-bottom: 4px solid #ff0000;
}

/* Типографика */
.project-category {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 15px;
}

.project-name {
    font-family: 'Spectral', serif;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.1;
    margin-bottom: 20px;
}

.project-location {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.5;
}

.project-divider {
    height: 1px;
    background: #eee;
    width: 80px;
    margin-bottom: 30px;
}
.style-reverse .project-divider { margin-left: auto; }

/* КНОПКА ПОДРОБНЕЕ (ШИКАРНЫЙ ЭФФЕКТ) */
.btn-more {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-more svg {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    stroke: #ff0000;
    stroke-width: 2;
    fill: none;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.btn-more span {
    position: relative;
}

.btn-more span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff0000;
    transition: width 0.3s ease;
}

.btn-more:hover {
    color: #ff0000;
}

.btn-more:hover span::after {
    width: 100%;
}

.btn-more:hover svg {
    transform: translateX(10px);
}

/* --- ДЕКОРАЦИИ --- */
.project-decoration {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}
.decoration-solid { width: 300px; height: 300px; background: #f9f9f9; top: -30px; left: -30px; }
.decoration-outline { width: 50%; height: 110%; border: 1px solid #eee; right: -5%; top: -5%; }
.decoration-line { width: 2px; height: 100%; background: #ff0000; left: -10px; opacity: 0.3; }
.decoration-circle { width: 400px; height: 400px; border-radius: 50%; background: #fdfdfd; border: 1px solid #f0f0f0; left: 10%; top: -10%; }
.decoration-dots { width: 400px; height: 200px; background-image: radial-gradient(#939393 1px, transparent 1px); background-size: 20px 20px; bottom: -40px; right: 10%; }

/* --- ШИКАРНАЯ АДАПТАЦИЯ (RESPONSIVE) --- */

@media (max-width: 1100px) {
    .project-image-wrapper { flex: 0 0 60%; }
    .project-img {
    height: 500px;
    }
    .project-content { flex: 0 0 55%; padding: 40px; }
}

@media (max-width: 850px) {
    .portfolio-section { padding: 80px 20px; }
    
    .project-card, .style-reverse {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 120px;
    }

    .project-image-wrapper {
        width: 100%;
        height: 350px; /* Фиксированная высота для мобильных */
        flex: none;
    }

    .project-content, .style-reverse .project-content {
        width: 90%;
        margin: -60px auto 0 auto; /* Наезд на фото снизу по центру */
        padding: 40px 30px;
        text-align: left;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        border: none;
        border-left: 4px solid #ff0000; /* Боковой акцент на мобильных */
    }

    .style-reverse .project-divider { margin-left: 0; }
    
    .project-decoration {
        display: none; /* Убираем лишний шум на мобильных */
    }
}

@media (max-width: 500px) {
    .section-title { font-size: 32px; }
    
    .project-image-wrapper { height: 400px; object-position: center; }
    
    .project-content, .style-reverse .project-content {
        width: 100%;
        margin-top: -30px;
        padding: 30px 20px;
    }
    
    .project-name { font-size: 26px; }
    
    .project-meta .meta-value { font-size: 13px; }
}

/* БЛОК CTA */
.cta-section {
    background-color: #1a1a1a;
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
     padding: 70px 100px 0 100px;
    justify-content: center;
    background-size: cover;
    background-position: bottom;
    background-image:linear-gradient(rgba(0, 0, 0, 0.265), rgba(0, 0, 0, 0.833)), url('../img/detail-shot-skyscrapers.jpg');
}

.cta-section h2 {
    font-family: 'Spectral', serif;
    font-size: 32px;
    margin-bottom: 20px;
    color: #ffffff;
}
.atc{
    color: #ffffff;
    font-size: 18px;
    font-weight: 300;
}
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #ff0000;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    margin-top: 30px;
    transition: 0.3s;
}

.cta-button:hover {
    background-color: #cc0000;
    transform: translateY(-3px);
}
.cdiv{
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 20px 5px;
    border-top: 1px solid rgb(255, 255, 255);
}
.cdiv a{
    color: red;
}

/* --- КНОПКА НАВЕРХ --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 0, 0, 0.88); /* Ваш фирменный красный */
    color: white;
    border: none;
    border-radius: 5px; /* Слегка скругленные углы в стиле кнопок Hero */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0; /* Скрыта по умолчанию */
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: rgba(255, 0, 0, 1);
    transform: translateY(-5px); /* Небольшой прыжок вверх при наведении */
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 900px){
        .cta-section div{
        flex-direction: column;
        gap: 10px;
    }
}
@media (max-width: 750px){
    .cta-section{
        padding: 50px;
    }
}
@media (max-width: 630px){
        .cta-section{
        padding: 50px 10px;
        background-position: bottom;
    }
}
@media (max-width: 600px){
    .hero p{
        font-size: 60px;
    }
    .hero{
        justify-content: center;
        padding: 0;
        align-items: center;
    }
    .portfolio-section{
        padding: 50px 20px;
    }
    .section-title{
        font-size: 50px;
        line-height: 1;
    }
    .section-tag{
        font-size: 22px;
        font-weight: 300;
    }
    .section-header{
        margin-bottom: 50px;
    }
    .cta-section h2{
        font-size: 40px;
    }
}
@media (max-width: 500px){
        .hero{
        margin-bottom: 40px;
        height: 300px;
        justify-content: left;
        align-items: end;
        padding: 10px;
    }
    .hero p{
        font-size: 70px;
    }
}
@media (max-width: 382px){
    .section-title{
        font-size: 45px;
    }
}