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

body {
    background: #fefaf5;
    font-family: 'Inter', sans-serif;
    color: #2c2b28;
    line-height: 1.4;
    scroll-behavior: smooth;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Хедер */
.hero {
    text-align: center;
    padding: 80px 0 48px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.artist-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 8vw, 5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #2c2b28 0%, #5f4c3b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 400;
    color: #7b6e64;
    max-width: 600px;
    margin: 0 auto;
    border-top: 1px solid #e9dfd7;
    padding-top: 20px;
    letter-spacing: 0.2px;
}

/* Вкладки */
.tabs-container {
    margin: 56px 0 48px 0;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    list-style: none;
    border-bottom: 1px solid #f0e4da;
    padding-bottom: 16px;
}

.tab-btn {
    background: transparent;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 28px;
    cursor: pointer;
    border-radius: 40px;
    transition: all 0.25s ease;
    color: #6b5b50;
    background: #fff6f0;
}

.tab-btn i {
    margin-right: 8px;
}

.tab-btn:hover {
    background: #ede3da;
    color: #3f2e24;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: #2c2b28;
    color: #fefaf5;
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

/* Галерея сетка */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    margin-top: 20px;
    margin-bottom: 60px;
}

/* Карточка с каруселью */
.art-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.08);
    transition: all 0.35s cubic-bezier(0.2, 0, 0, 1);
    transform: translateY(0);
}

.art-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 36px -14px rgba(0, 0, 0, 0.18);
}

/* Контейнер слайдера */
.swiper-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    background: #f0e6df;
}

.swiper-slide {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* Навигация слайдера (стрелки) */
.swiper-button-next,
.swiper-button-prev {
    width: 36px;
    height: 36px;
    background: rgba(44, 43, 40, 0.7);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    color: white;
    transition: all 0.2s;
}
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(44, 43, 40, 0.9);
    transform: scale(1.05);
}

/* Пагинация (точки) */
.swiper-pagination {
    position: absolute;
    bottom: 10px !important;
}
.swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
}
.swiper-pagination-bullet-active {
    background: #2c2b28;
    opacity: 1;
}

/* Информация под слайдером */
.art-info {
    padding: 18px 20px 22px;
    border-top: 1px solid #f5ede7;
}

.art-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: #2c2b28;
    letter-spacing: -0.2px;
}

.art-medium {
    font-size: 0.8rem;
    color: #9b8c80;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

.photo-count {
    font-size: 0.7rem;
    color: #b8a99d;
    margin-top: 8px;
    display: inline-block;
}

/* Модальное окно для просмотра полноэкранного изображения (с возможностью листать) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.92);
    backdrop-filter: blur(12px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.modal-slider-container {
    width: 90vw;
    max-width: 1200px;
    height: 85vh;
    position: relative;
}

.modal-swiper {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
}

.modal-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.3);
}

.modal-swiper .swiper-slide img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 20px 35px -10px black;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 2010;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 60px;
    transition: 0.2s;
}

.modal-close:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.05);
}

.footer {
    text-align: center;
    padding: 48px 24px 56px;
    border-top: 1px solid #f0e4da;
    margin-top: 20px;
    color: #9b8c80;
    font-size: 0.85rem;
}
.footer a,
.footer a:visited,
.footer a:active {
    color: #9b8c80;
    font-weight: bold;
    text-decoration: none;
}
.footer a:hover {
    color: #9b8c80;
    font-weight: bold;
    text-decoration: underline;
}

@media (max-width: 680px) {
    .container {
        padding: 0 18px;
    }
    .hero {
        padding: 48px 0 32px;
    }
    .tab-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    .gallery-grid {
        gap: 20px;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    .swiper-button-next,
    .swiper-button-prev {
        width: 28px;
        height: 28px;
    }
}

.empty-message {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    color: #b8a99d;
    background: #fffaf5;
    border-radius: 48px;
}

/* Анимация карточек */
.art-card {
    opacity: 0;
    animation: cardAppear 0.4s forwards;
}
@keyframes cardAppear {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}