@charset "UTF-8";

/* Основные стили */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #161616;
    margin: 0;
    color: #B3B3B3;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: #8F8F8F;
    text-decoration: none;
}

a:hover {
    color: aqua;
}

/* Шапка */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #161616;
    color: #B3B3B3;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: auto;
}

.site-title-wrapper {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}

.site-title {
    font-size: 28px;
    color: #B3B3B3;
    line-height: 1.1;
}

.artist-name {
    font-size: 20px;
    color: #B3B3B3;
    margin-top: 2px;
    line-height: 1.1;
    text-align: left;
}

.menu {
    display: flex;
    align-items: center;
    padding: 15px 0;
}

.menu a {
    margin: 0 15px;
    font-size: 18px;
}

/* Тонкая полоска */
.thin-line {
    width: 100%;
    height: 0.5px;
    background-color: #3e3e3e;
    margin: 0;
}

/* Контент */
.content {
    margin: 0 auto;
    width: 90%;
    color: #B3B3B3;
    line-height: 1.8;
    flex: 1 0 auto;
}

.divider {
    border-top: 0.5px solid #3e3e3e;
    margin: 40px 0;
}

/* Секции галереи */
.gallery-container {
    width: 90%;
    margin: 10px auto;
    text-align: center;
    flex: 1;
}

.gallery-language {
    text-align: center;
    margin-top: -30px;
    margin-bottom: 10px;
}

.gallery-language a {
    font-size: 18px;
}

.gallery-sections {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.gallery-section {
    width: 30%;
    margin: 20px;
    padding: 20px;
    background-color: #282828;
    border: 0.5px solid #3e3e3e;
    transition: transform 0.3s;
    text-decoration: none;
}

.gallery-section a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.gallery-section a:hover h3,
.gallery-section a:hover p {
    color: aqua;
}

.gallery-section:hover {
    transform: scale(1.05);
}

.gallery-section h3 {
    color: #B3B3B3;
    margin-bottom: 10px;
}

.gallery-section p {
    color: #8F8F8F;
}

/* Футер */
.footer {
    background-color: #161616;
    padding: 20px 0;
    width: 100%;
    position: relative;
    flex-shrink: 0;
}

.footer-container {
    position: relative;
    width: 100%;
    margin-top: auto;
}

.footer-container .thin-line {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 0.5px;
    background-color: #3e3e3e;
    margin: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: auto;
}

.footer-logo img {
    width: 40px;
    height: auto;
}

.footer-logo:hover img {
    filter: brightness(1.5);
}

.footer-menu {
    display: flex;
    gap: 20px;
}

.footer-menu a {
    font-size: 18px;
}

.footer-copyright {
    text-align: center;
    font-size: 14px;
    color: #8F8F8F;
    margin-top: 10px;
    width: 100%;
}

/* Стили для ссылок секций */
.section-link {
    text-decoration: none;
    color: #B3B3B3;
    font-size: 18px;
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.section-link:hover {
    color: aqua;
}

.section-link .square {
    width: 20px;
    height: 20px;
    background-color: darkred;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.section-link:hover .square {
    background-color: red;
}

.pdf-links-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
}

/* Стили для слайдера Swiper */
.swiper-container {
    width: 80%;
    max-width: 800px;
    height: 500px;
    margin: 100px auto;
    border: 0.5px solid #3e3e3e;
    overflow: hidden;
    position: relative;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.swiper-button-next, .swiper-button-prev {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    outline: none;
    user-select: none;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 18px;
}

.swiper-pagination {
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
    position: absolute;
    z-index: 10;
}

.swiper-pagination-fraction {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-pagination-current, .swiper-pagination-total {
    padding: 0 5px;
}

.swiper-button-next,
.swiper-button-prev,
.swiper-slide img {
    outline: none;
    user-select: none;
}

.swiper-button-next:focus,
.swiper-button-prev:focus,
.swiper-slide img:focus {
    outline: none;
}

::-webkit-scrollbar {
    display: none;
}

/* Видео-секция */
.video-container {
    background-color: #282828;
    border: 0.5px solid #3e3e3e;
    padding: 20px;
    margin: 20px auto;
    width: 80%;
    max-width: 800px;
}

.video-container h2 {
    text-align: center;
    color: #B3B3B3;
    margin-bottom: 20px;
}

.video-container .video-item {
    margin-bottom: 20px;
}

.video-title {
    font-size: 20px;
    color: #B3B3B3;
    margin: 10px 0;
    text-align: center;
}

.video-frame {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.video-frame iframe,
.video-frame video {
    width: 100%;
    max-width: 600px;
    height: auto;
}

.video-description {
    font-size: 16px;
    color: #8F8F8F;
    margin-bottom: 20px;
}



/* Слайдер */
.slider-container {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto; /* Центрирование слайдера */
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-slide {
    min-width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

.slider-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.slider-control {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
}

/* Стили для страницы биографии */
.bio-image {
    max-width: 40%;
    height: auto;
    margin: 10px;
    border: 0.5px solid #3e3e3e;
}

.image-left {
    float: left;
    margin-right: 15px;
}

.image-right {
    float: right;
    margin-left: 15px;
}

.bio-container {
    margin: 0 auto;
    width: 80%;
    max-width: 800px;
    padding: 20px 0;
}

.bio-text {
    text-align: justify;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.portrait {
    float: right;
    margin: 10px 0 30px 30px;
}

@media (max-width: 768px) {
    .bio-image, .portrait {
        max-width: 100%;
        float: none;
        margin: 10px 0;
    }
}

/* Секции проектов */
.project {
    margin: 20px 0;
    background-color: #282828;
    border: 0.5px solid #3e3e3e;
    padding: 10px 30px;
}

.project-header {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.project-short-description {
    text-align: center;
    font-size: 16px;
    margin-top: 10px;
}

.project-short-description.italic {
    font-style: italic;
}

.episode-links {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}

.episode-link {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    text-decoration: none;
    color: #B3B3B3;
    font-size: 16px;
}

.episode-link .square {
    width: 10px;
    height: 10px;
    background-color: darkred;
    margin-right: 10px;
}

.episode-link:hover {
    color: aqua;
}

.episode-link .square:hover {
    background-color: red;
}

/* Полное описание */
details {
    margin-top: 20px;
    color: #B3B3B3;
    line-height: 1.6;
}

summary {
    cursor: pointer;
    color: #B3B3B3;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    list-style: none;
}

summary::marker {
    display: none;
}

summary::before {
    content: '▶';
    font-size: 12px;
    margin-right: 5px;
    transition: transform 0.3s;
}

details[open] summary::before {
    transform: rotate(90deg);
}

.image-wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 40px;
}

.image-container {
    max-width: 30%;
    margin: 20px;
    text-align: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border: 0.5px solid #3e3e3e;
}

.image-caption {
    margin-top: 10px;
    font-size: 16px;
    color: #B3B3B3;
    text-align: center;
}

/* PDF ссылки */
.pdf-container {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
    background-color: #282828;
    border: 0.5px solid #3e3e3e;
    padding: 20px;
}

.pdf-title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #B3B3B3;
}

.pdf-title .square {
    width: 20px;
    height: 20px;
    background-color: darkred;
    margin-right: 10px;
}

.pdf-links {
    font-size: 18px;
    color: #B3B3B3;
}

.pdf-links a {
    text-decoration: none;
    color: #B3B3B3;
    font-weight: normal;
    margin: 0 5px;
}

.pdf-links a:hover {
    color: aqua;
}

.pdf-description {
    font-size: 16px;
    color: #8F8F8F;
    margin-top: 10px;
}

/* Список работ */
.gallery-list {
    text-align: center;
    margin: 40px auto;
}

.list-container {
    display: inline-block;
    text-align: left;
}

.list-container ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.list-container li {
    margin: 10px 0;
}

/* Мозаика изображений */
.mosaic-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.mosaic {
    width: 100%;
    max-width: 1200px;
}

.mosaic-item {
    width: 33.333%;
    padding: 10px;
    box-sizing: border-box;
}

.mosaic-item-wide {
    width: 48.3%; 
}

.mosaic-item-small {
    width: 10%; 
}

.mosaic-item-big {
    width: 67%;
}

.mosaic-item-large {
    width: 100%;
}

.mosaic-item img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .mosaic-item {
        width: 50%;
    }

    .mosaic-item-wide {
        width: 100%;
    }

    .mosaic-item-large {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .mosaic-item {
        width: 100%;
    }
}

/* Стили для страницы контактов */
.contact-content {
    width: 90%;
    margin: 20px auto;
    color: #B3B3B3;
}

.contact-section {
    margin-bottom: 40px;
}

.contact-methods {
    list-style-type: none;
    padding: 0;
}

.contact-methods li {
    margin: 10px 0;
}

.contact-methods a {
    color: #8F8F8F;
    text-decoration: none;
}

.contact-methods a:hover {
    color: aqua;
}

/* Стили для мобильных устройств */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu {
        flex-direction: column;
        align-items: flex-start;
    }

    .image-container {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .image-wrapper {
        flex-direction: column;
    }

    .project {
        padding: 10px;
    }

    .project-header {
        font-size: 20px;
    }

    .project-short-description {
        font-size: 14px;
    }
}
