/* ----- ОБЩІ НАСТРОЙКИ ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
    background-color: #f8f8f6;
    color: #1a1a1a;
    line-height: 1.6;
}

/* ----- НАВІГАЦІЯ ----- */
.navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    padding: 14px 30px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    color: #111;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #444;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.2s;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
    color: #000;
    border-bottom-color: #000;
}

.lang-btn {
    background: none;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.2s;
    color: #444;
    letter-spacing: 1px;
}

.lang-btn:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* ====================================================== */
/* ====== ВИПАДАЮЧИЙ СПИСОК (DROPDOWN) ====== */
/* ====================================================== */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    min-width: 200px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 200;
    list-style: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-content li {
    margin: 0;
    padding: 0;
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: #444;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: background 0.2s;
    border-bottom: none !important;
}

.dropdown-content a:hover {
    background: #f4f4f2;
    color: #000;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* ====================================================== */
/* ====== ГЕРОЙ З ТРИПТИХОМ (ГОЛОВНА) ====== */
/* ====================================================== */

.hero-triptych {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    position: relative;
    background: #000;
    min-height: 80vh;
    overflow: hidden;
}

.hero-triptych img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.6s ease;
}

.hero-triptych img:hover {
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    padding: 20px;
    pointer-events: none;
}

.hero-overlay h1 {
    font-size: 4.5rem;
    font-weight: 300;
    letter-spacing: 10px;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.9);
    word-wrap: break-word;
    max-width: 100%;
}

.hero-overlay .subtitle {
    font-size: 1.3rem;
    color: #eee;
    letter-spacing: 4px;
    font-weight: 300;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
}

.hero-overlay .hero-line {
    width: 60px;
    height: 2px;
    background: #fff;
    margin: 20px auto;
}

.hero-overlay .hero-desc {
    font-size: 1.1rem;
    color: #ddd;
    letter-spacing: 2px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
}

.hero-overlay .hero-themes {
    margin-top: 20px;
    font-size: 1rem;
    color: #ccc;
    letter-spacing: 2px;
}

.hero-overlay .hero-themes span {
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 16px;
    border-radius: 30px;
    margin: 0 4px;
    display: inline-block;
}

/* ====================================================== */
/* ====== ВИТРИНА ПРОЄКТІВ (ГОЛОВНА) ====== */
/* ====================================================== */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 30px 80px;
}

.project-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
}

.project-card a {
    text-decoration: none;
    color: inherit;
}

.project-thumb {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #f0f0f0;
    margin-bottom: 16px;
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-thumb img {
    opacity: 0.92;
}

.project-card h3 {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.project-card p {
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 1px;
}

/* ====================================================== */
/* ====== ABOUT (на головній) ====== */
/* ====================================================== */

.section {
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 30px;
}

.alt-bg {
    background: #f4f4f2;
    border-radius: 0;
    margin: 0;
    padding: 80px 30px;
}

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

.about-wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    font-size: 1.1rem;
    line-height: 2;
    color: #444;
}

.about-wrapper a {
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
}

.about-wrapper a:hover {
    border-bottom-color: #000;
}

/* ====================================================== */
/* ====== ПРОЄКТ "ЧОРНИЙ ЛЕБІДЬ" ====== */
/* ====================================================== */

.project-section {
    padding: 0;
    max-width: 100%;
}

.project-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 30px;
    padding-top: 70px;
    text-align: center;
}

.project-intro h2 {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 6px;
    margin-bottom: 20px;
}

/* ----- МЕТА-ДАНИ ПРОЄКТУ (РІК + КРАЇНА) ----- */
.project-meta {
    font-size: 1rem;
    color: #888;
    letter-spacing: 2px;
    margin-top: -10px;
    margin-bottom: 30px;
    font-weight: 300;
}

.intro-text {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.9;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.film-block h3,
.film-extra h3,
.digital-block h3 {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

/* --- Триптих (сторінка) --- */
.film-block {
    margin-bottom: 60px;
}

.triptych {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.triptych-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8f8f6;
}

.triptych-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.triptych-item img:hover {
    transform: scale(1.02);
}

/* --- Додаткові плівкові --- */
.film-extra {
    margin-bottom: 60px;
}

.film-extra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.film-extra-item {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #f8f8f6;
}

.film-extra-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.film-extra-item img:hover {
    transform: scale(1.02);
}

/* --- Цифрова серія --- */
.digital-block {
    margin-bottom: 60px;
}

.digital-flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.digital-item {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #f8f8f6;
}

.digital-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.digital-item img:hover {
    transform: scale(1.02);
}

/* --- Artist Statement --- */
.statement {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 50px 40px;
    background: #fafafa;
    border-left: 4px solid #111;
}

.statement h4 {
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 15px;
}

.statement p {
    font-size: 1.05rem;
    line-height: 2;
    color: #333;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.credit {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 1px;
    margin-top: 40px;
    padding: 0 20px;
}

/* ====================================================== */
/* ====== MONUMENTAL (СІТКА) ====== */
/* ====================================================== */

.monumental-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.monumental-item {
    overflow: hidden;
    background: #f8f8f6;
}

.monumental-item.vertical {
    flex: 1 1 calc(50% - 20px);
    aspect-ratio: 2 / 3;
}

.monumental-item.horizontal {
    flex: 1 1 calc(33.333% - 20px);
    aspect-ratio: 3 / 2;
}

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

.monumental-item img:hover {
    transform: scale(1.02);
}

/* ====================================================== */
/* ====== СТОРІНКА DISRUPT (СІТКА) ====== */
/* ====================================================== */

.disrupt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.disrupt-item {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #f8f8f6;
}

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

.disrupt-item img:hover {
    transform: scale(1.02);
}

/* ====================================================== */
/* ====== ЗАГАЛЬНА ГАЛЕРЕЯ (PHOTOGRAPHY) ====== */
/* ====================================================== */

.film-photography-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.film-photo-item {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #f8f8f6;
}

.film-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.film-photo-item img:hover {
    transform: scale(1.02);
}

/* ----- ТЕГИ (ХЕШТЕГИ) ----- */
.photo-meta {
    font-size: 0.75rem;
    color: #999;
    letter-spacing: 0.5px;
    text-align: center;
    margin-top: 6px;
    padding: 0 4px;
    font-weight: 300;
}

/* ====================================================== */
/* ====== ВІДЕО (СТОРІНКА ПРОЄКТУ ТА ГОЛОВНА) ====== */
/* ====================================================== */

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 30px auto;
    border-radius: 4px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container.full-width {
    max-width: 100%;
    width: 100%;
    border-radius: 0;
    margin: 20px 0;
}

.video-container.featured {
    max-width: 100%;
    border-radius: 0;
    margin: 20px 0;
}

.video-desc {
    text-align: center;
    color: #666;
    font-size: 1rem;
    letter-spacing: 1px;
    max-width: 700px;
    margin: 0 auto 20px;
}

.video-footer {
    text-align: center;
    margin-top: 20px;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #111;
    padding: 10px 30px;
    border: 1px solid #ccc;
    border-radius: 40px;
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.featured-video {
    padding-top: 40px;
    padding-bottom: 60px;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.featured-video h2 {
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 6px;
    margin-bottom: 10px;
    text-align: center;
}

/* ====================================================== */
/* ====== МОДАЛЬНЕ ВІКНО (ЗБІЛЬШЕННЯ ФОТО) ====== */
/* ====================================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: #ccc;
    transform: scale(1.2);
}

/* ====================================================== */
/* ====== ПІДВАЛ ====== */
/* ====================================================== */

footer {
    text-align: center;
    padding: 40px 20px;
    color: #bbb;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-top: 1px solid #eee;
}

/* ====================================================== */
/* ====== АДАПТАЦІЯ ====== */
/* ====================================================== */

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 10px;
    }
    .nav-menu {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        backdrop-filter: none;
    }
    .dropdown-content a {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    .dropdown:hover .dropdown-content {
        display: none;
    }
    .dropdown-content {
        display: none;
    }
    .dropdown.active .dropdown-content {
        display: block;
    }

    .hero-triptych {
        grid-template-columns: 1fr;
        min-height: 70vh;
    }
    .hero-triptych img {
        height: 70vh;
    }

    .hero-overlay h1 {
        font-size: 2.2rem;
        letter-spacing: 4px;
        word-wrap: break-word;
        max-width: 90%;
        margin: 0 auto;
        line-height: 1.2;
    }

    .hero-overlay .subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 40px 16px 60px;
    }
    .project-card h3 {
        font-size: 1.1rem;
    }

    .section h2 {
        font-size: 2.2rem;
    }
    .about-wrapper {
        text-align: left;
    }

    .project-intro h2 {
        font-size: 2.5rem;
    }
    .intro-text {
        font-size: 1.05rem;
    }
    .project-meta {
        font-size: 0.9rem;
        margin-top: -5px;
        margin-bottom: 20px;
    }
    .triptych {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 10px;
    }
    .film-extra-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    .digital-item {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
    .statement {
        padding: 30px 20px;
    }

    .film-photography-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 10px;
    }

    .monumental-item.vertical {
        flex: 1 1 calc(50% - 10px);
        aspect-ratio: 2 / 3;
    }
    .monumental-item.horizontal {
        flex: 1 1 calc(50% - 10px);
        aspect-ratio: 3 / 2;
    }
    .monumental-grid {
        gap: 12px;
        padding: 0 10px;
    }

    .disrupt-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 10px;
    }

    .modal-close {
        top: 20px;
        right: 30px;
        font-size: 2.5rem;
    }

    .featured-video h2 {
        font-size: 2rem;
    }
    .video-container {
        margin: 20px auto;
    }
    .btn-secondary {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
    .video-desc {
        padding: 0 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-overlay h1 {
        font-size: 1.6rem;
        letter-spacing: 2px;
        max-width: 95%;
    }

    .projects-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 30px 12px 50px;
    }
    .project-thumb {
        aspect-ratio: 1 / 1;
    }
    .project-card h3 {
        font-size: 1rem;
    }
    .project-card p {
        font-size: 0.75rem;
    }

    .film-photography-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .monumental-item.vertical {
        flex: 1 1 100%;
        aspect-ratio: 2 / 3;
    }
    .monumental-item.horizontal {
        flex: 1 1 100%;
        aspect-ratio: 3 / 2;
    }

    .disrupt-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

@media (min-width: 1400px) {
    .triptych {
        max-width: 1400px;
    }
    .film-extra-grid {
        max-width: 1000px;
    }
    .digital-flex-container {
        max-width: 1200px;
    }
    .film-photography-grid {
        max-width: 1400px;
    }
    .monumental-grid {
        max-width: 1400px;
    }
    .disrupt-grid {
        max-width: 1400px;
    }
}
