@import url('https://fonts.googleapis.com/css2?family=Proxima+Nova:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;700&display=swap');


body {
    margin: 0;
    font-family: 'Proxima Nova', sans-serif;
    background-color: #000;
    color: #fff;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    color: #fff;
    padding: 10px 0;
    z-index: 1000;
}

a {
    color: inherit; /* Цвет текста как у родителя */
    /*text-decoration: none; /* Убираем подчеркивание */
}
.container {
    padding: 0 100px;
    box-sizing: border-box;
    max-width: calc(100% - 200px);
    margin: 0 auto;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle i {
    color: #fff;
    font-size: 24px;
}

.nav-links {
    display: flex;
    gap: 20px;
}


nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 300;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    font-size: 20px;
}

.social-icons {
    display: flex;
    gap: 30px;
    margin-left: auto;
}

.social-icon {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    font-size: 20px;
}

.logo {
    text-align: center;
    margin: 50px 0;
}

.logo img {
    max-width: 100%;
    height: auto;
}

main {
    padding-top: 100px;
}

.content-section {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
}

.images-container {
    position: relative;
    width: 100%;
}

.fashion-image {
    border-radius: 10px;
}

.fashion-image:first-of-type {
    width: 40%;
    z-index: 1;
}

.fashion-image:nth-of-type(2) {
    width: 38%;
    position: absolute;
    top: 5%;
    right: 15%;
    z-index: 1;
}

.fashion-image:nth-of-type(3) {
    width: 27%;
    position: absolute;
    top: 70%;
    right: 50%;
    z-index: 2;
}

.text-block {
    flex: 1;
    color: #fff;
    padding: 38px;
    margin-left: -165px; /* Смещение влево */
    margin-top: 80px; /* Смещение вниз, чтобы было видно */
    font-size: 24px; /* Размер шрифта для заголовка */
    font-weight: 300; /* Тонкий шрифт */
    min-width: 295px; /* Ограничение ширины для текста */
    position: relative; /* Относительное позиционирование для наложения */
    text-align: right; /* Выравнивание текста по правому краю */
}

/* Дополнительно можно уточнить размеры заголовков внутри text-block */
.text-block h2 {
    font-size: 30px; /* Размер шрифта для h2 */
    font-weight: 300; /* Тонкий шрифт */
}

.text-block h3 {
    font-size: 26px; /* Размер шрифта для h3 */
    font-weight: 300; /* Тонкий шрифт */
}

.additional-text-block {
    flex: 1;
    color: #fff;
    padding: 20px;
    font-size: 20px; /* Размер шрифта */
    margin-top: 180px; /* Смещение вниз, чтобы было видно */
    font-weight: 300; /* Тонкий шрифт */
    min-width: 295px; /* Минимальная ширина для текста */
}

/* Дополнительно можно уточнить размеры заголовков внутри text-block */
.additional-text-block h2 {
    font-size: 30px; /* Размер шрифта для h2 */
    font-weight: 300; /* Тонкий шрифт */
}

.additional-text-block h3 {
    font-size: 26px; /* Размер шрифта для h3 */
    font-weight: 300; /* Тонкий шрифт */
}

.additional-images-container {
    position: relative;
    width: 100%;
}

.additional-fashion-image {
    width: 48%;
    border-radius: 10px;
}

.additional-fashion-image:nth-of-type(1) {
    position: absolute;
    width: 40%;
    left: 9%; /* Смещение влево */
    top: 130px; /* Поднятие вверх */
    z-index: 2; /* Устанавливаем ниже по z-index */
}

.additional-fashion-image:nth-of-type(2) {
    position: relative;
    left: 47%;
    top: -80px; /* Поднятие второго изображения на 40px */
    width: 48%;
    z-index: 1; /* Устанавливаем выше по z-index */
}

/*Бегущая строка*/
.marquee-container {
    width: calc(100% - 400px); /* На больших экранах - ширина с отступами 200px с каждой стороны */
    margin: 20px auto; /* Центрирование контейнера */
    overflow: hidden;
    background-color: #000;
    padding: 10px 0 0;
    box-sizing: border-box;
    position: relative; /* Для позиционирования псевдоэлементов */
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
}

.marquee-container::before {
    top: 0;
}

.marquee-container::after {
    bottom: 0;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
    font-family: 'Comfortaa', sans-serif; /* Шрифт Comfortaa */
}

.marquee-content p {
    display: inline;
    font-size: 32px;
    color: #fff;
    font-weight: 400;
    margin: 0 20px; /* Отступы между элементами */
}

.marquee-image {
    height: 50px; /* Adjust the height as needed */
    vertical-align: middle;
    margin: 0 20px; /* Отступы между элементами */
    margin-bottom: 5px;
}

.separator {
    font-size: 32px;
    color: #fff;
    margin: 0 20px; /* Отступы между элементами */
    vertical-align: middle;
}

@keyframes marquee {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Стили для секции "Коллекции" */
.collections-section {
    margin: 0px 0;
}

.collections-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 10px;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* По умолчанию 3 колонки */
    gap: 20px; /* Расстояние между элементами */
    width: 100%; /* Убедитесь, что сетка занимает всю ширину контейнера */
}

.collection-item {
    text-align: center;
    width: 100%;
}

.collection-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.collection-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.collection-item p {
    font-size: 18px;
    font-weight: 300;
}

/* Контейнер для изображений в блоке коллекции */
.image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    height: 600px;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.5s ease;
}

.image-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 2; /* Верхнее изображение отображается поверх */
}

.image-bottom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0; /* Нижнее изображение скрыто по умолчанию */
}

.image-container:hover .image-top {
    opacity: 0; /* Скрываем верхнее изображение при наведении */
}

.image-container:hover .image-bottom {
    opacity: 1; /* Показываем нижнее изображение при наведении */
}

.collection-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    background-color: #fff; /* Белый фон */
    color: #000; /* Черный текст */
    text-align: center;
    text-decoration: none; /* Убираем подчеркивание */
    border-radius: 25px; /* Скругленные углы */
    font-weight: 700; /* Жирный шрифт */
    font-size: 24px; /* Размер текста */
    transition: all 0.3s ease; /* Плавный переход */
}

.collection-button:hover {
    background-color: #000000; /* Немного более темный цвет при наведении */
    color: #FFFFFF; /* Темный текст при наведении */
    border-width: 1px;
    border-style: solid;
    border-color: #FFFFFF;
}

/* Стили для секции "О нас" */
.about-section {
    margin: 80px 0;
    text-align: center;
}

.about-section h2 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 20px;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Стили для секции "Контакты" */
.contacts-section {
    margin: 80px 0;
    text-align: center;
}

.contacts-section h2 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.contact-item {
    width: 30%;
    margin-bottom: 20px;
}

.contact-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 18px;
    font-weight: 300;
}

/* Адаптивный дизайн для устройств с шириной экрана 1410px и меньше */
@media (max-width: 1650px) {

    .image-container {
        height: 500px;
    }

}

/* Адаптивный дизайн для устройств с шириной экрана 1410px и меньше */
@media (max-width: 1410px) {
    .container {
        padding: 0 20px;
        max-width: 100%;
    }
    .image-container {
        height: 500px;
    }

    .text-block {
        margin-left: -145px; /* Смещение влево */
    }

    .marquee-container {
        width: 100%; /* Ширина на весь экран */
    }
}

/* Адаптивный дизайн для устройств с шириной экрана 1070px и меньше */
@media (max-width: 1070px) {
    .image-container {
        height: 450px;
    }
    .text-block {
        margin-top: 0px;
        padding: 10 25px;
    }

    .additional-text-block {

        padding: 10 25px;
        margin-top: 40px; /* Смещение вниз, чтобы было видно */
        font-weight: 300; /* Тонкий шрифт */
        min-width: 295px; /* Минимальная ширина для текста */
    }

    .collections-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки */
    }
}

/* Адаптивный дизайн для устройств с шириной экрана 768px и меньше */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
        max-width: 100%;
    }

    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
    }

    .menu-toggle {
        display: block;
        order: 1;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0;
        position: absolute;
        top: 50px;
        left: 0;
        background-color: #000;
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    .social-icons {
        order: 2;
        margin-top: 0;
        gap: 10px;
    }

    .logo {
        margin: 10px 0;
    }

    .content-section {
        flex-direction: column;
        align-items: center;
    }

    .images-container {
        position: static;
        width: 100%;
    }

    .fashion-image:first-of-type {
        width: 75%;
        position: relative;
    }

    .fashion-image:nth-of-type(2) {
        width: 60%;
        position: relative;
        margin-top: -45%;
        right: -43%;
    }

    .fashion-image:nth-of-type(3) {
        width: 35%;
        position: relative;
        top: 3%;
        right: 55%;
    }

    .text-block {
        margin: -20px 0;
        padding: 10px;
        margin-left: 0;
        text-align: right; /* Выравнивание текста по правому краю */
    }

    .text-block h2 {
        font-size: 24px; /* Размер шрифта для h2 */
        font-weight: 300; /* Тонкий шрифт */
    }

    .text-block h3 {
        font-size: 20px; /* Размер шрифта для h3 */
        font-weight: 300; /* Тонкий шрифт */
    }

    .additional-text-block {
        margin: -20px 0;
        padding: 10px;
        margin-left: 0;
    }

    .additional-text-block h2 {
        font-size: 24px; /* Размер шрифта для h2 */
        font-weight: 300; /* Тонкий шрифт */
    }

    .additional-text-block h3 {
        font-size: 20px; /* Размер шрифта для h3 */
        font-weight: 300; /* Тонкий шрифт */
    }

    .additional-fashion-image:nth-of-type(1) {
        position: absolute;
        width: 40%;
        left: 3%; /* Смещение влево */
        top: 50px; /* Поднятие вверх */
        z-index: 2; /* Устанавливаем ниже по z-index */
    }

    .additional-fashion-image:nth-of-type(2) {
        position: relative;
        left: 47%;
        top: -20px; /* Поднятие второго изображения на 80px */
        width: 50%;
        z-index: 1; /* Устанавливаем выше по z-index */
    }
}

@media (max-width: 668px) {
    .image-container {
        height: 400px;
    }
}

@media (max-width: 600px) {
    .image-container {
        height: 360px;
    }
}

@media (max-width: 535px) {
    .image-container {
        height: 320px;
    }
}

/* Адаптивный дизайн для устройств с шириной экрана 480px и меньше */
@media (max-width: 480px) {
    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .menu-toggle {
        order: 1;
    }

    .social-icons {
        order: 2;
        margin-top: 0;
        gap: 10px;
    }

    .nav-links {
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        background-color: #000;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    nav ul li a {
        font-size: 16px;
    }

    nav ul li a:hover {
        font-size: 18px;
    }

    .social-icon {
        font-size: 16px;
    }

    .social-icon:hover {
        font-size: 18px;
    }
    .collections-grid {
        grid-template-columns: 1fr; /* 1 колонка */
    }
    .image-container {
        position: relative;
        width: 80%;
        overflow: hidden;
        border-radius: 10px;
        height: 400px;
    }
    .image-container img {
        width: 80%;
        height: auto;
        display: block;
        transition: opacity 0.5s ease;
        margin-left: 70px;
    }
    .contact-item h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .contact-item p {
        font-size: 14px;
        font-weight: 200;
    }
    .contact-item p.small{
        font-size: 10px;
        font-weight: 200;
    }
}

@media (max-width: 445px) {
    .image-container {
        height: 320px;
    }
}

/*CATALOG*/
.header-bar {
    display: flex;
    justify-content: space-between; /* Равномерное распределение пространства */
    align-items: center; /* Вертикальное выравнивание */
    margin: 20px 0;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;

    /*flex-wrap: nowrap; /* предотвращает перенос элементов на новую строку */
}

/* Стили для кнопки Назад */
.back-button a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    background-color: #000;
    padding: 10px 20px;
    border-radius: 15px;
    border: 1px solid #fff;
}

.back-button a:hover {
    text-decoration: underline;
}

/* Стили для фильтров */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Расстояние между фильтрами */
}

.filter-toggle {
    display: none; /* По умолчанию скрыта */
}

.filters h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 300;
    color: #fff;
}

.filters ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.filters ul li {
    margin-right: 10px;
}

.filters ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.filters ul li a.active,
.filters ul li a:hover {
    background-color: #fff;
    color: #000;
}

/* Модификатор для 4 колонок */
.collections-grid.four-columns {
    grid-template-columns: repeat(4, 1fr); /* 4 колонки */
}

.collections-grid.four-columns .image-container {
    height: 520px;
}

.collection-item {
    text-decoration: none; /* Убираем подчеркивание */
    color: inherit; /* Устанавливаем цвет текста как у родителя */
}

.collection-item:hover {
    text-decoration: none; /* Оставляем без подчеркивания при наведении */
    color: inherit; /* Оставляем цвет текста как у родителя при наведении */
}

@media (max-width: 1825px) {
    .collections-grid.four-columns .image-container {
        height: 500px;
    }
}
@media (max-width: 1755px) {
    .collections-grid.four-columns .image-container {
        height: 475px;
    }
}
@media (max-width: 1700px) {
    .collections-grid.four-columns .image-container {
        height: 455px;
    }
}
@media (max-width: 1650px) {
    .collections-grid.four-columns .image-container {
        height: 435px;
    }
}
@media (max-width: 1600px) {
    .collections-grid.four-columns .image-container {
        height: 415px;
    }
}
@media (max-width: 1550px) {
    .collections-grid.four-columns .image-container {
        height: 395px;
    }
}
@media (max-width: 1500px) {
    .collections-grid.four-columns .image-container {
        height: 375px;
    }
}
@media (max-width: 1450px) {
    .collections-grid.four-columns .image-container {
        height: 355px;
    }
}
@media (max-width: 1410px) {
    .collections-grid.four-columns .image-container {
        height: 480px;
    }
}
@media (max-width: 1360px) {
    .collections-grid.four-columns .image-container {
        height: 460px;
    }
}
@media (max-width: 1310px) {
    .collections-grid.four-columns .image-container {
        height: 440px;
    }
}
@media (max-width: 1260px) {
    .collections-grid.four-columns .image-container {
        height: 420px;
    }
}
@media (max-width: 1210px) {
    .collections-grid.four-columns .image-container {
        height: 400px;
    }
}
@media (max-width: 1160px) {
    .collections-grid.four-columns .image-container {
        height: 380px;
    }
}
@media (max-width: 1110px) {
    .collections-grid.four-columns .image-container {
        height: 360px;
    }
}
/* Адаптивный дизайн для каталога */
@media (max-width: 1070px) {
    .collections-grid.four-columns  {
        grid-template-columns: repeat(2, 1fr);
    }

    .collections-grid.four-columns .image-container {
    height: 620px;
    }

    .filters {
        display: none;
        position: fixed;
        right: 0;
        top: 0;
        height: 100%;
        background: rgba(255, 255, 255, 0.5); /* Серый, полупрозрачный фон */
        backdrop-filter: blur(10px); /* Эффект blur */
        -webkit-backdrop-filter: blur(10px); /* Поддержка для Safari */
        z-index: 1000;
        width: 250px;
        padding: 20px;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
        /*display: flex;*/
        flex-direction: column; /* Элементы в столбец */
    }
    .filters.active {
        display: flex; /* Показываем фильтр при активации */
    }

    .filters ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
        display: flex; /* Flexbox для ul */
        flex-direction: column; /* Элементы в колонку */
        align-items: center; /* Центровка по горизонтали */
        width: 100%; /* Занимает всю ширину контейнера */
    }
    .filters ul li {
        margin-bottom: 20px;
    }

    .filters ul li a {
        text-decoration: none;
        color: black; /* Цвет текста ссылок */
        font-weight: bold;
        font-size: 26px;
    }

    .filter-toggle {
        display: inline-block;
        font-size: 18px;
        color: #fff;
        text-decoration: none;
        background-color: #000;
        padding: 10px 20px;
        border-radius: 15px;
        border: 1px solid #fff;
        margin-left: auto; 
        cursor: pointer;
        text-align: center;
    }

    .catalog-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        width: 100%;
    }
    
}
@media (max-width: 890px) {
    .collections-grid.four-columns  {
        grid-template-columns: repeat(2, 1fr);
    }

    .collections-grid.four-columns .image-container {
    height: 600px;
    }
}
@media (max-width: 840px) {

    .collections-grid.four-columns .image-container {
    height: 580px;
    }
}
@media (max-width: 890px) {
    .collections-grid.four-columns .image-container {
    height: 550px;
    }
}      
@media (max-width: 768px) {
    .collections-grid.four-columns .image-container {
    height: 520px;
    }
}
@media (max-width: 740px) {
    .collections-grid.four-columns .image-container {
    height: 490px;
    }
}
@media (max-width: 690px) {
    .collections-grid.four-columns .image-container {
    height: 460px;
    }
}
@media (max-width: 640px) {
    .collections-grid.four-columns .image-container {
    height: 420px;
    }
}
@media (max-width: 590px) {
    .collections-grid.four-columns .image-container {
    height: 380px;
    }
}
@media (max-width: 540px) {
    .collections-grid.four-columns .image-container {
    height: 340px;
    }
}
/* Адаптивный дизайн для устройств с шириной экрана 480px и меньше */
@media (max-width: 480px) {
    .collections-grid.four-columns  {
        grid-template-columns: 1fr;
    }
    .collections-grid.four-columns .image-container {
    height: 400px;
    }
}
@media (max-width: 440px) {
    .collections-grid.four-columns .image-container {
    height: 370px;
    }
}
@media (max-width: 420px) {
    .collections-grid.four-columns .image-container {
    height: 340px;
    }
}
@media (max-width: 400px) {
    .collections-grid.four-columns .image-container {
    height: 310px;
    }
}
@media (max-width: 380px) {
    .collections-grid.four-columns .image-container {
    height: 290px;
    }
}
