/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* Навигация */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo img{
    width: 120px;
    height: auto;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: #8B4513;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Герой-секция */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://i.pinimg.com/736x/ed/f4/93/edf49307ef95fa3f435e760c4bc86ea3.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: #F1CEAF;
    color: black;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #654321;
}

/* Секция "О дизайнере" */
.about {
    padding: 2rem 0;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 5px;
}

/* Стиль для картинки справа */
.about-image_2 {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Выравнивание по правому краю */
}

.about-image_2 img {
    width: 60%;
    max-width: 350px;
    height: auto;
    border-radius: 5px;
}
.about-image_3 img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 5px;
}
/* Стили для блока с несколькими картинками в одну линию */
.about-image_4 {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

.about-image_4 img {
    width: 250px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-image_4 img:hover {
    transform: scale(1.05);
}

/* Адаптивность для блока с картинками */
@media screen and (max-width: 1024px) {
    .about-image_4 img {
        width: 220px;
        height: 280px;
    }
}

@media screen and (max-width: 768px) {
    .about-image_4 {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .about-image_4 img {
        width: 100%;
        max-width: 300px;
        height: 250px;
    }
}
/* Предпросмотр коллекций */
.collections-preview {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.collections-preview h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.collection-item {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.collection-item:hover {
    transform: translateY(-5px);
}

.collection-item img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.collection-item h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.collection-link {
    display: inline-block;
    margin-top: 1rem;
    color: #8B4513;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #8B4513;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.collection-link:hover {
    background-color: #8B4513;
    color: white;
}

/* Специфичные стили для страниц коллекций */
.collection-hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.winter-hero {
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('img/img1.jpg');
    background-size: cover;
    background-position: center;
}

.spring-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://avatars.dzeninfra.ru/get-zen_doc/271828/pub_66ec2311387eb22201195eff_66ec2bf6b4c6fe60c955df19/scale_1200');
    background-size: cover;
    background-position: center;
}
/* Стили для трехколоночного расположения текстовых блоков */
.about-three-columns {
    padding: 3rem 0;
}

.three-columns-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.about-column {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.about-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.about-column h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

.about-column .about-text {
    flex-grow: 1;
}

.about-column p {
    color: #666;
    line-height: 1.6;
    text-align: justify;
}

/* Вариант с разделителями */
.about-column-with-border {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #8B4513;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* Компактный вариант */
.three-columns-compact {
    gap: 20px;
}

.about-column-compact {
    padding: 20px;
    border-radius: 10px;
}

.about-column-compact h2 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

/* Адаптивность */
@media screen and (max-width: 1024px) {
    .three-columns-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .about-column:nth-child(3) {
        grid-column: 1 / 3;
    }
}

@media screen and (max-width: 768px) {
    .three-columns-container {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-column:nth-child(3) {
        grid-column: 1 / 2;
    }
    
    .about-column {
        padding: 20px;
    }
    
    .about-column h2 {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 480px) {
    .three-columns-container {
        gap: 15px;
    }
    
    .about-column {
        padding: 15px;
    }
    
    .about-column h2 {
        font-size: 1.2rem;
    }
}

/* Дополнительные стили для красоты */
.about-column {
    position: relative;
    overflow: hidden;
}

.about-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8B4513, #F1CEAF);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.about-column:hover::before {
    transform: scaleX(1);
}
.summer-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://i.pinimg.com/736x/61/2b/d5/612bd5b0f23f44fc8c75b785b5656e31.jpg');
    background-size: cover;
    background-position: center;
}

.autumn-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://i.pinimg.com/1200x/0f/13/e2/0f13e2e8116d0308e50e7c2d4175b2e1.jpg');
    background-size: cover;
    background-position: center;
}
/* Стили для секций с трендами */
.trend-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.trend-section:nth-child(even) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.trend-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.trend-reverse .trend-content {
    direction: rtl;
}

.trend-reverse .trend-content > * {
    direction: ltr;
}

.trend-text h2 {
    font-size: 2.2rem;
    color: #8B4513;
    margin-bottom: 1.5rem;
    position: relative;
}

.trend-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8B4513, #F1CEAF);
}

.trend-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.trend-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.trend-image:hover {
    transform: scale(1.02);
}

.trend-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Сетка трендов */
.trends-grid-section {
    padding: 4rem 0;
    background: #f9f9f9;
}

.trends-grid-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
}

.trends-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.trend-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.trend-card:hover {
    transform: translateY(-10px);
}

.trend-card-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    height: 200px;
}

.trend-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trend-card h3 {
    font-size: 1.4rem;
    color: #8B4513;
    margin-bottom: 1rem;
}

.trend-card p {
    color: #666;
    line-height: 1.6;
}

/* Цветовая палитра */
.color-palette-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.color-palette-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.color-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.color-palette {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.color-item {
    height: 100px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.color-item:hover {
    transform: scale(1.1);
}

.color-item:nth-child(5),
.color-item:nth-child(6) {
    color: #333;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

/* Адаптивность */
@media screen and (max-width: 1024px) {
    .trend-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .trends-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .color-palette {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .trend-section {
        padding: 2rem 0;
    }
    
    .trend-text h2 {
        font-size: 1.8rem;
    }
    
    .trend-image img {
        height: 300px;
    }
    
    .trends-grid {
        grid-template-columns: 1fr;
    }
    
    .color-palette {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trends-grid-section h2,
    .color-palette-section h2 {
        font-size: 2rem;
    }
}
.collection-description {
    padding: 3rem 0;
}

.collection-description h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.collection-description p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.looks-gallery {
    padding: 3rem 0;
    background-color: #f9f9f9;
}

.looks-gallery h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.look-item {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.look-item:hover {
    transform: translateY(-5px);
}

.look-item img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
    height: 350px; /* Фиксированная высота для всех картинок */
    object-fit: cover; /* Обрезка картинок для сохранения пропорций */

}

.look-item h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.look-item p {
    color: #666;
    font-size: 0.9rem;
}
/* Стили для галереи в стиле пазл без обрезки */
.puzzle-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 3rem;
    width: 100%;
}

.puzzle-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Выравнивание по верху */
    background: #f8f8f8; /* Фон на случай белых областей */
}

.puzzle-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.puzzle-item img {
    width: 100%;
    height: auto; /* Автоматическая высота */
    object-fit: contain; /* Вместо cover - не обрезает */
    display: block;
    max-height: 400px; /* Максимальная высота */
}

/* Разные размеры контейнеров для эффекта пазла */
.puzzle-item:nth-child(1) {
    grid-column: 1 / 2;
    min-height: 350px;
}

.puzzle-item:nth-child(2) {
    grid-column: 2 / 3;
    min-height: 280px;
    margin-top: 70px;
}

.puzzle-item:nth-child(3) {
    grid-column: 1 / 2;
    min-height: 300px;
    margin-top: -50px;
}

.puzzle-item:nth-child(4) {
    grid-column: 2 / 3;
    min-height: 320px;
}

/* Альтернативный вариант с вертикальным выравниванием */
.puzzle-gallery-alt {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 3rem;
}

.puzzle-item-alt {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    padding: 10px; /* Отступы вокруг картинки */
    background: white;
}

.puzzle-item-alt:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.puzzle-item-alt img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    border-radius: 8px;
}

/* Разные высоты контейнеров */
.puzzle-item-alt:nth-child(odd) {
    min-height: 280px;
}

.puzzle-item-alt:nth-child(even) {
    min-height: 320px;
    margin-top: 40px;
}

/* Вариант с фиксированной шириной и автоматической высотой */
.puzzle-gallery-auto {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 3rem;
}

.puzzle-item-auto {
    border-radius: 15px;
    overflow: visible;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background: white;
    padding: 15px;
}

.puzzle-item-auto:hover {
    transform: translateY(-5px);
}

.puzzle-item-auto img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

/* Естественные размеры с смещениями */
.puzzle-item-auto:nth-child(1) {
    grid-column: 1 / 2;
    margin-top: 0;
}

.puzzle-item-auto:nth-child(2) {
    grid-column: 2 / 3;
    margin-top: 60px;
}

.puzzle-item-auto:nth-child(3) {
    grid-column: 1 / 2;
    margin-top: -30px;
}

.puzzle-item-auto:nth-child(4) {
    grid-column: 2 / 3;
    margin-top: 40px;
}

/* Адаптивность */
@media screen and (max-width: 1024px) {
    .puzzle-gallery,
    .puzzle-gallery-alt,
    .puzzle-gallery-auto {
        gap: 15px;
    }
    
    .puzzle-item,
    .puzzle-item-alt {
        min-height: auto !important;
    }
    
    .puzzle-item img,
    .puzzle-item-alt img {
        max-height: 300px;
    }
}

@media screen and (max-width: 768px) {
    .puzzle-gallery,
    .puzzle-gallery-alt,
    .puzzle-gallery-auto {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .puzzle-item,
    .puzzle-item-alt,
    .puzzle-item-auto {
        margin-top: 0 !important;
        min-height: auto;
    }
    
    .puzzle-item img,
    .puzzle-item-alt img,
    .puzzle-item-auto img {
        max-height: none;
    }
}

/* Улучшенный вариант с контейнерами разного размера но без обрезки */
.puzzle-gallery-perfect {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 3rem;
    align-items: start;
}

.puzzle-item-perfect {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: white;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.puzzle-item-perfect:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.puzzle-item-perfect img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    flex-shrink: 0;
}

/* Разные отступы для эффекта пазла */
.puzzle-item-perfect:nth-child(1) { margin-top: 0; }
.puzzle-item-perfect:nth-child(2) { margin-top: 80px; }
.puzzle-item-perfect:nth-child(3) { margin-top: -40px; }
.puzzle-item-perfect:nth-child(4) { margin-top: 60px; }
/* Секция особенностей коллекции */
.collection-features {
    padding: 3rem 0;
}

.collection-features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 10px;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    margin-bottom: 1rem;
    color: #8B4513;
    font-size: 1.2rem;
}

.feature-item p {
    color: #666;
}

/* Футер */
footer {
    background-color: #333;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: white;
    margin-left: 1rem;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #8B4513;
}

/* Адаптивность */
@media screen and (max-width: 1024px) {
    .nav-links li {
        margin-left: 1rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        background-color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding: 2rem 0;
    }
    
    .nav-links.active {
        transform: translateX(0%);
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
    }
    
    .burger {
        display: block;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image_2 {
        justify-content: center; /* На мобильных центрируем */
    }
    
    .about-image_2 img {
        width: 80%;
    }
    
    footer .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .collections-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Анимация бургер-меню */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}
footer {
            background-color: #333;
            color: #fff;
            padding: 20px 0;
            display: flex;
            align-items: center; /* Центрирует по вертикали */
        }
        .container_footer {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between; /* Разделяет логотип и текст */
            width: 100%;
        }
        .logo img {
            max-width: 150px;
        }
        .footer-text {
            text-align: right; /* Выравнивание текста вправо */
        }
        .footer_tex {
            margin: 5px 0;
        }
        a {
            color: white; /* Цвет ссылок */
            text-decoration: none;
        }
        a:hover {
            text-decoration: underline; /* Подчеркивание при наведении */
        }