/* Reset & Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #f0f0f0;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* FIXED HEADER STRUCTURE */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

/* 1. TOP BAR */
.header-top {
    background-color: #000000;
    color: #ffffff;
    padding: 15px 40px 10px;
    display: flex;
    flex-direction: column;
}

.mid-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.logo-container {
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.logo-fedorok {
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
}
.logo-oleh {
    font-size: 1.7rem;
    font-weight: 800;
    color: #888888;
}

.lang-switch {
    display: flex;
    gap: 15px;
    font-size: 1.7rem;  
    font-weight: 800;   
}
.lang-switch a { color: #666666; transition: color 0.3s; }
.lang-switch a.active { color: #ffffff; }
.lang-switch a:hover { color: #aaaaaa; }

/* 2. BLACK BAND */
.black-band {
    background-color: #ffffff;
    color: #000000;
    width: 100%;
    padding: 10px 40px;
}
.bot-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
}
.media-subtitle {
    font-size: 0.65rem;
    font-weight: 400;
    color: #000000;
    letter-spacing: 2px;
    text-align: left;
}
.main-nav {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}
.main-nav a {
    color: #000000;
    font-size: 0.65rem; 
    font-weight: 400;   
    text-transform: lowercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}
.main-nav a:hover { color: #ffd700; }

/* 3. THIN DIVIDER LINE */
.white-line-band {
    height: 1px;
    background-color: #333333;
    width: 100%;
}

/* 4. BOTTOM BAND */
.white-skills-band {
    background-color: #000000;
    color: #cccccc;
    width: 100%;
    padding: 3px 40px;
}
.skills-content {
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 400;
    text-align: left;
}

/* HERO SECTION */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #050505;
    padding-top: 140px; 
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 1; 
    cursor: pointer;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 15, 15, 0.4); 
    background-image: radial-gradient(rgba(0, 0, 0, 0.75) 1px, transparent 1px);
    background-size: 4px 4px; 
    z-index: 2; 
    pointer-events: none;
}

/* HERO PROJECTS BUTTON */
.hero-projects-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000000;
    color: #ffffff;
    padding: 12px 32px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    z-index: 10;
    transition: all 0.3s ease;
}
.hero-projects-btn:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

/* Sections & Typography */
h3.section-title { 
    font-size: 1.25rem; 
    margin-bottom: 2rem; 
    text-align: left; 
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    color: #888888;
}
section { padding: 8rem 0 4rem; }
.section-bg { background-color: #111; }

.about-grid { 
    display: grid; 
    grid-template-columns: calc(1200px / 3) 1fr; 
    gap: 3rem; 
    align-items: start;
}

.about-photo-container {
    width: 100%;
    aspect-ratio: 3 / 4;
    background-color: #222222;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Вирівнює вміст контейнера по правому краю */
    overflow: hidden;
}

/* Робимо так, щоб зображення заповнювало цей більший простір ідеально */
.about-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* TOOLKIT TAGS: RECTANGULAR, WHITE, DARK GREY TEXT */
.toolkit-section {
    margin-top: 1.5rem;
}
.toolkit-subtitle {
    font-size: 0.85rem;
    font-weight: 400;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    letter-spacing: 1px;
}
.tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
/* Зменшуємо висоту та відступи білих прямокутників інструментарію вдвічі */
.tags span { 
    background: #ffffff; 
    color: #333333; 
    padding: 0.25rem 0.6rem; /* Зменшено вертикальний та горизонтальний padding */
    border-radius: 2px; 
    font-size: 0.75rem; /* Дещо менший шрифт для гармонії */
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
}

.btn { display: inline-block; padding: 1rem 2rem; background: #00ffcc; color: #000; font-weight: 600; border-radius: 4px; }
.btn-outline { background: transparent; border: 1px solid #00ffcc; color: #00ffcc; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.project-card { background: #1a1a1a; border-radius: 8px; padding: 1rem; }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 4px; background: #000; margin-bottom: 1rem;}
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.image-placeholder { width: 100%; height: 250px; background: #333; display: flex; align-items: center; justify-content: center; border-radius: 4px; color: #777; margin-bottom: 1rem;}
#contact, footer { text-align: center; }
footer { padding: 2rem 0; color: #555; }

/* Responsive adjustments */
@media (max-width: 1100px) {
    .mid-row { flex-direction: column; align-items: center; gap: 10px;}
    .bot-row { flex-direction: column; align-items: center; gap: 10px;}
    .main-nav { justify-content: center; flex-wrap: wrap; text-align: center; }
    .skills-content { text-align: center; }
}
/* PROJECTS GRID & CARDS STYLING (12 blocks) */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки в рядок */
    gap: 2.5rem; 
    margin-top: 2rem;
}

.project-item-card {
    background-color: #141414;
    border: 1px solid #222222;
    border-radius: 6px;
    overflow: hidden;
    padding: 1.2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-item-card:hover {
    transform: translateY(-5px);
    border-color: #444444;
}

/* Назва проекту на білому прямокутнику, темно-сірим текстом, великими літерами */
.project-title-box {
    background-color: #ffffff;
    color: #333333;
    padding: 10px 15px;
    border-radius: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-align: center;
}

.project-desc {
    font-size: 0.85rem;
    color: #999999;
    line-height: 1.5;
    margin-top: 1rem;
}

/* Адаптивність */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}
/* Додаємо курсор-лупу та плавний перехід для фото */
.about-photo-container img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Клас, який активує збільшення */
.about-photo-container img.expanded {
    position: fixed;
    /* Висота збільшеного фото на весь екран з невеликими відступами зверху/знизу */
    height: 90vh !important;
    width: auto !important;
    max-width: none !important;
    
    /* Центрування по висоті та вирівнювання по правому краю оригінального місця */
    top: 50% !important;
    left: var(--original-left, 50px); /* JavaScript автоматично підставить точну координату */
    transform: translateY(-50%);
    
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

/* Напівпрозорий чорний фон позаду збільшеного фото */
.photo-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9998;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
/* Стилі для розділу Video & Motion на всю ширину */
.video-motion-wrapper {
    width: 100%;
    margin-top: 2rem;
}

.video-motion-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Пропорція 16:9 */
    background-color: #000000;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #222222;
}

.video-motion-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-motion-desc {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #aaaaaa;
    line-height: 1.6;
    max-width: 900px;
}
/* Стилі для текстового блоку та кнопки ArtStation у секції 3D Art */
.art3d-content-wrapper {
    margin-top: 1.5rem;
    max-width: 900px;
}

.art3d-text {
    font-size: 0.95rem;
    color: #aaaaaa;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

/* Кнопка-посилання на ArtStation у стилі прямокутників інструментарію */
.artstation-btn {
    display: inline-block;
    background: #ffffff;
    color: #333333;
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.artstation-btn:hover {
    background: #00ffcc;
    color: #000000;
}

/* Контейнер для контактних кнопок */
.contact-buttons-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Кнопки контактів у стилі білих прямокутників інструментарію */
.contact-tag-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    color: #333333;
    padding: 0.5rem 1.2rem;
    border-radius: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.contact-tag-btn:hover {
    background: #00ffcc;
    color: #000000;
    transform: translateY(-2px);
}
/* Ефект інверсії для кнопки ArtStation (в стилі projects) */
.artstation-btn {
    display: inline-block;
    background: #ffffff;
    color: #333333;
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
}

.artstation-btn:hover {
    background: #000000; /* Фон стає чорним */
    color: #ffffff;      /* Текст стає білим */
    border-color: #ffffff;
}

/* Ефект інверсії для контактних кнопок (Email, Телефон, LinkedIn) */
.contact-tag-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    color: #333333;
    padding: 0.5rem 1.2rem;
    border-radius: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
}

.contact-tag-btn:hover {
    background: #000000; /* Фон стає чорним */
    color: #ffffff;      /* Текст стає білим */
    border-color: #ffffff;
    transform: translateY(-2px);
}
/* Контейнер 3D ряду: центруємо і робимо єдину фіксовану висоту */
.art3d-media-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    height: 420px; /* Єдина висота для всього ряду */
    gap: 0;        /* Впритул одна до одної */
    margin: 0 auto 2rem auto;
    width: fit-content; /* Ширина ряду дорівнює сумі реальних пропорцій елементів */
    max-width: 100%;
    border: 1px solid #222222;
    border-radius: 4px;
    overflow: hidden;
    background-color: #000000;
}

/* Кожен елемент має висоту 100% (420px), а ширина розраховується автоматично за його пропорціями */
.art3d-media-item {
    height: 100%;
    background-color: #000000;
    border-right: 1px solid #222222; /* Тонка лінія-розділювач */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto; /* Забороняємо стискатися чи розтягуватися самовільно */
}

.art3d-media-item:last-child {
    border-right: none;
}

/* Точні пропорції (ширина до висоти), які визначають ширину блоку на основі висоти 420px */
.item-ash-02 {
    aspect-ratio: 1920 / 3840; /* Вертикальне (ширина буде рівно половині висоти) */
}

.item-ash-01 {
    aspect-ratio: 1626 / 1920; /* Вертикальне */
}

.item-video {
    aspect-ratio: 2560 / 1440; /* Горизонтальне 16:9 */
}

/* Картинки та відео заповнюють свої блоки ідеально без обрізання та чітко по центру */
.art3d-media-item img,
.art3d-media-item video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Адаптивність для планшетів та мобільних пристроїв */
@media (max-width: 1024px) {
    .art3d-media-grid {
        display: flex;
        flex-direction: column;
        height: auto;
        width: 100%;
        border: none;
        gap: 1rem;
        background-color: transparent;
    }
    .art3d-media-item {
        width: 100% !important;
        height: 400px;
        border: 1px solid #222222;
        border-radius: 4px;
    }
    .item-ash-02, .item-ash-01, .item-video {
        aspect-ratio: auto;
    }
}
/* Адаптивність для планшетів та мобільних телефонів (екрани менше 768px) */
@media (max-width: 768px) {
    
    /* Зменшуємо загальні відступи контейнера, щоб контент не прилипав до країв */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Меню навігації: робимо вертикальним або компактнішим */
    .main-nav {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    /* Заголовки секцій робимо меншими */
    .section-title {
        font-size: 1.5rem;
    }

    /* Переводимо сітки проєктів або контактів у вертикальний стовпчик */
    .projects-grid, 
    .contact-grid {
        grid-template-columns: 1fr !important;
    }

    /* Усі відео та зображення розтягуємо на повну ширину екрана */
    img, video {
        max-width: 100%;
        height: auto;
    }
}
/* ==========================================
   МОБІЛЬНА АДАПТАЦІЯ ДЛЯ ЕКРАНІВ МЕНШЕ 768px
   ================================---------- */
@media (max-width: 768px) {

    /* 1. Секція HERO (Відео та кнопка projects по центру) */
    #hero {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        height: 60vh !important;
        overflow: hidden;
        text-align: center !important;
    }

    #hero .hero-video {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    #hero .hero-overlay {
        position: absolute !important;
        inset: 0;
        z-index: 2;
    }

    #hero .hero-projects-btn {
        position: relative !important;
        z-index: 3 !important;
        display: inline-block !important;
        margin: 0 auto !important;
    }


    /* 2. РОЗДІЛ "ABOUT ME" (Фото зверху, текст знизу, все по центру) */
    .about-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 1.5rem !important;
    }

    .about-photo-container {
        width: 100% !important;
        max-width: 320px !important; /* Обмежуємо розумну ширину фото на телефоні */
        height: auto !important;
        aspect-ratio: 3 / 4; /* Або пропорція вашого фото */
        margin: 0 auto !important;
    }

    .about-photo-container img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 4px;
    }

    .about-content-wrapper {
        width: 100% !important;
        text-align: center !important;
    }

    /* Теги/бейджики у секції About теж центруємо */
    .tags {
        justify-content: center !important;
    }


    /* 3. РОЗДІЛ "PROJECTS" (Відео у стовпчик, по центру, на всю ширину) */
    .projects-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 2rem !important;
    }

    .project-item-card {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    .video-container {
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        margin: 0 auto !important;
    }

    .video-container iframe {
        width: 100% !important;
        height: 100% !important;
    }


    /* 4. РОЗДІЛ "VIDEO & MOTION GRAPHICS" (По центру, максимальна ширина) */
    .video-motion-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .video-motion-container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .video-motion-container video {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }


    /* 5. РОЗДІЛ "3D ART" (Фото та відео у стовпчик, по центру, на всю ширину) */
    .art3d-media-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        height: auto !important;
        width: 100% !important;
        border: none !important;
        background: transparent !important;
        gap: 1.5rem !important;
    }

    .art3d-media-item {
        width: 100% !important;
        height: 400px !important; /* Фіксована висота кожного блоку медіа для зручного перегляду */
        border: 1px solid #222222 !important;
        border-radius: 4px !important;
        background-color: #000000 !important;
        margin: 0 auto !important;
    }

    .art3d-media-item img,
    .art3d-media-item video {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important; /* Показує все зображення/відео повністю без обрізання */
        object-position: center !important;
    }
}
/* ==========================================
   ФІНАЛЬНЕ МОБІЛЬНЕ ОФОРМЛЕННЯ (до 768px)
   ========================================== */
@media (max-width: 768px) {

    /* --- 1. ШАПКА ТА РОЛІ --- */
    .black-band,
    .white-line-band {
        display: none !important;
    }

    /* Ім'я та перемикач мови в один рядок */
    .header-top {
        padding: 12px 15px 8px 15px !important;
    }

    .header-top .mid-row {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    /* Чорний блок з ролями під ім'ям */
    .white-skills-band {
        display: block !important;
        background-color: #000000 !important;
        border-bottom: 1px solid #222222 !important;
        padding: 8px 15px 12px 15px !important;
    }

    .skills-content {
        display: block !important;
        font-size: 0 !important;
        text-align: center !important;
    }

    .skills-content::before {
        content: "Director • Broadcast Director\A Motion Designer • Video Editor\A 3D Artist";
        font-size: 0.82rem !important;
        font-weight: 500 !important;
        color: #ffffff !important;
        display: block !important;
        white-space: pre-wrap !important;
        line-height: 1.5 !important;
        letter-spacing: 0.5px !important;
    }

    .skills-content::after {
        content: none !important;
    }


    /* --- 2. СЕКЦІЯ HERO (ВІДЕО ТА ПРИХОВУВАННЯ КНОПКИ) --- */

    #hero {
        position: relative !important;
        height: auto !important;
        min-height: unset !important;
        display: block !important;
        background-color: #000000 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important; /* Прибираємо зайвий відступ унизу */
        overflow: hidden !important;
        text-align: center !important;
    }

    /* Відео йде одразу під чорним фоном ролей на повну ширину без обрізань */
    #hero .hero-video {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important;
    }

    #hero .hero-overlay {
        display: none !important;
    }

    /* Повністю ховаємо кнопку projects для мобільної версії */
    #hero .hero-projects-btn {
        display: none !important;
    }


    /* --- 3. НАСТУПНІ СЕКЦІЇ (Піднімаємо About Me до відео) --- */

    /* Усуваємо стандартні великі відступи секцій на мобільному */
    section {
        padding: 2rem 0 2rem !important;
    }

    #about {
        padding-top: 1rem !important; /* Максимально підтягуємо About Me до відео */
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section-title {
        font-size: 1.3rem !important;
        margin-bottom: 1.2rem !important;
    }

    .about-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 1.5rem !important;
    }

    .about-photo-container {
        width: 100% !important;
        max-width: 280px !important;
        height: auto !important;
        margin: 0 auto !important;
    }

    .tags {
        justify-content: center !important;
    }

    .projects-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .project-item-card {
        width: 100% !important;
    }

    .video-container {
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
    }

    .art3d-media-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        height: auto !important;
        width: 100% !important;
        border: none !important;
        background: transparent !important;
        gap: 1.5rem !important;
    }

    .art3d-media-item {
        width: 100% !important;
        height: 380px !important;
        border: 1px solid #222222 !important;
        border-radius: 4px !important;
        background-color: #000000 !important;
    }

    .art3d-media-item img,
    .art3d-media-item video {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
}
@media (max-width: 768px) {

    /* --- РОБИМО ШАПКУ СТАТИЧНОЮ (щоб вона нічого не перекривала) --- */
    header {
        position: relative !important;
        width: 100% !important;
        top: auto !important;
        left: auto !important;
    }

    /* --- СЕКЦІЯ HERO ОПУСКАЄТЬСЯ ПІД ШАПКУ --- */
    #hero {
        position: relative !important;
        height: auto !important;
        min-height: unset !important;
        display: block !important;
        background-color: #000000 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        overflow: hidden !important;
        text-align: center !important;
    }

    #hero .hero-video {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important;
    }

    #hero .hero-overlay {
        display: none !important;
    }

    #hero .hero-projects-btn {
        display: none !important;
    }
}
.video-container img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Гарантує, що картинка заповнить весь контейнер без спотворень */
    object-position: center !important; /* Центрує картинку всередині рамки */
    z-index: 10 !important;
    display: block !important;
}