.bio-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../images/photos/BIO_PHOTOS.jpg');
    background-size: cover !important;
    background-position: center !important;
    z-index: 1;
    transition: background-image 0.8s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
}
.bio-overlay {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    opacity: 1 !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bio-background-fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    transition: none;
    pointer-events: none;
    display: none;
}
.bio-box {
    position: relative;
    z-index: 3;
    border: none !important;
    padding: 20px !important;
    border-radius: 8px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    margin-top: 1cm !important;
}
.contact-info-full {
    margin-top: 7cm;
    border: none !important;
    padding: 20px !important;
    border-radius: 8px !important;
    background: rgba(0, 0, 0, 0.3) !important;
}
.contact-info-full h2[data-i18n="contact_header"] {
    margin-top: 0;
    margin-bottom: 0.3cm;
}
.contact-details {
    margin-top: 0;
}
.contact-details p {
    line-height: 0.2;
    margin-bottom: -16px;
}
.bio-box h2[data-i18n="about"], .contact-info-full h2[data-i18n="contact_header"] {
    text-transform: lowercase !important;
    letter-spacing: 1px;
}
.bio-box h2[data-i18n="about"] {
    margin-bottom: 0.5cm;
}
/* Bio language select custom style */
.bio-lang-select {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    padding: 4px 16px;
    background: transparent;
    color: #fff;
    border: none;
    outline: none;
    border-radius: 0;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: auto;
    min-width: 120px;
    max-width: 200px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: opacity 0.3s, transform 0.3s, color 0.3s;
    font-weight: 400;
}
.bio-lang-select:hover, .bio-lang-select:focus {
    color: #FFD700;
    background: transparent;
    outline: none;
    opacity: 0.7;
    transform: scale(1.15);
}
/* Special: do not crop Szczury video */
.film-preview-contain {
    object-fit: contain !important;
    background: #000 !important;
}
/* List view for WORKS section */
/* ...existing code... */
/* Usunięcie ramki ze stilli w galerii filmu */
.gallery-item {
    border: none !important;
}
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Manrope', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
.contact-page, .contact-page body {
    background: transparent !important;
}
.navbar { position: fixed; top: 0; width: 100%; background-color: rgba(0, 0, 0, 0.95); padding: 20px 50px; display: flex; justify-content: space-between; align-items: center; z-index: 9999; pointer-events: auto; }
.contact-page .navbar { background-color: transparent; box-shadow: none; }
.fullscreen-video-wrapper .navbar { background-color: transparent; }
.fullscreen-video-wrapper .logo { color: #fff; text-decoration: none; display: inline-block; cursor: pointer; }
.fullscreen-video-wrapper .logo:hover { opacity: 0.6; transform: scale(1.15); color: #FFD700; }
.fullscreen-video-wrapper .nav-links { margin-right: 1cm; }
.logo { color: #fff; text-decoration: none; font-size: 20px; letter-spacing: 1px; display: inline-block; cursor: pointer; transition: opacity 0.3s, transform 0.3s, color 0.3s ease; z-index: 99999; position: relative; margin-left: 1cm; }
.logo:hover { opacity: 0.6 !important; transform: scale(1.15) !important; color: #FFD700 !important; }
.nav-links { display: flex; list-style: none; gap: 40px; flex: 1; justify-content: center; margin-left: -6cm; }
.nav-links a { color: #fff; text-decoration: none; font-size: 14px; letter-spacing: 1px; transition: opacity 0.3s, transform 0.3s, color 0.3s ease; }
.nav-links a:hover { opacity: 0.6; transform: scale(1.15); color: #FFD700; }
.language-selector {
    display: flex;
    gap: 10px;
    align-items: center;
    position: static;
    background: #111;
    border-radius: 10px;
    padding: 10px 12px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.12);
    margin-top: 8px;
    z-index: 1000;
}
.lang-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s, transform 0.3s;
    padding: 5px;
}
.language-dropdown {
    position: relative;
}
.language-dropdown > a {
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.2s;
}
.language-dropdown > a:hover {
    background: #222;
}
.language-dropdown .language-selector {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 140px;
    flex-direction: column;
    background: #111;
    border-radius: 10px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.12);
    padding: 10px 12px;
    z-index: 1000;
}
.language-dropdown.open .language-selector {
    display: flex !important;
}
.lang-btn:hover {
    opacity: 1;
    transform: scale(1.2);
}
.lang-btn.active {
    opacity: 1;
    border-bottom: 2px solid #fff;
}
.fullscreen-video-wrapper .language-selector .lang-btn {
    opacity: 0.7;
}
.fullscreen-video-wrapper .language-selector .lang-btn:hover {
    opacity: 1;
}
/* Fullscreen video background for homepage */
.fullscreen-video-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}
.fullscreen-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
    opacity: 1;
}
.fullscreen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
}
.fullscreen-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    z-index: 3;
    background: transparent;
    border: none;
    pointer-events: none;
}
.fullscreen-content h1 {
    font-size: 64px;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 20px;
    line-height: 1.2;
    width: 100%;
    text-align: center;
}
.fullscreen-content p {
    font-size: 18px;
    letter-spacing: 2px;
    opacity: 0.7;
}
@media (max-width: 768px) {
    .navbar { padding: 15px 30px; padding-left: calc(30px - 1cm); }
    .logo { font-size: 16px; }
    .nav-links { gap: 20px; }
    .nav-links a { font-size: 12px; }
    .fullscreen-content h1 { font-size: 18px !important; letter-spacing: 2px; }
    .fullscreen-content p { font-size: 14px; }
    .fullscreen-video-wrapper .nav-links { margin-right: 0.5cm; }
    .fullscreen-video-wrapper .logo { margin-left: 0.5cm; }
    .fullscreen-footer { padding: 15px; font-size: 10px; }
    
    /* Przesunięcie nawigacji tylko na podstronach */
    .subpage .nav-links { 
        margin-left: 0cm !important;
    }
    
    /* Contact page - skondensowane bio dla mobile */
    .contact-page .bio-box {
        padding: 12px !important;
        margin-top: 0.3cm !important;
        background: rgba(0, 0, 0, 0.2) !important;
        width: 100%;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .contact-page .bio-box h2[data-i18n="about"] {
        font-size: 15px !important;
        margin-bottom: 6px !important;
        margin-top: 0 !important;
    }
    .contact-page .bio-box .bio-text p {
        font-size: 12px !important;
        line-height: 1.3 !important;
        margin-bottom: 5px !important;
    }
    /* Minimal: hide all bio paragraphs when collapsed (show only heading + button) */
    .contact-page .bio-box.collapsed .bio-text p { display: none !important; }
    .contact-page .bio-box.collapsed h2[data-i18n="about"] { display: block !important; }
    .bio-lang-select {
        font-size: 11px !important;
        padding: 4px 8px !important;
        min-width: 80px !important;
    }
    /* Show bio toggle on all mobile widths up to 768px - centered in viewport */
    .bio-toggle {
        display: block !important;
        position: fixed !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        background: transparent !important;
        border: none !important;
        color: #FFD700 !important;
        font-size: clamp(14px, 4vw, 18px) !important;
        padding: 6px 10px !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        z-index: 10002 !important;
        cursor: pointer !important;
    }
    /* Position language selector below the Show bio button */
    .bio-lang-select {
        position: fixed !important;
        left: 50% !important;
        top: calc(50% + 44px) !important;
        transform: translateX(-50%) !important;
        z-index: 10002 !important;
    }
    .contact-page .bio-box .bio-text {
        margin: 0 !important;
    }
    
    /* Contact info - skondensowane dane kontaktowe dla mobile */
    .contact-page .contact-info-full {
        margin-top: 0.8cm;
        padding: 12px !important;
        background: rgba(0, 0, 0, 0.2) !important;
        width: 100%;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .contact-page .contact-info-full h2[data-i18n="contact_header"] {
        font-size: 15px !important;
        margin-bottom: 6px !important;
        margin-top: 0 !important;
    }
    .contact-page .contact-info-full .contact-details {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .contact-page .contact-info-full .contact-details p {
        font-size: 12px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }
    .contact-details p strong {
        display: inline;
        margin-right: 3px;
    }
}
@media (max-width: 480px) {
    .navbar { padding: 10px 20px; padding-left: 20px; justify-content: center; }
    .logo {
        font-size: 19px;
        letter-spacing: 1px;
        margin-left: 0 !important;
        margin-right: 0 !important;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 1cm;
        z-index: 10001;
        text-align: center;
        width: max-content;
        transition: font-size 0.3s, color 0.3s, opacity 0.3s;
    }
    .logo {
        position: absolute;
        left: 50%;
        top: 1cm;
        transform: translateX(-50%) !important;
        font-size: 19px;
    }
    .logo:hover, .logo:active, .logo:focus {
        opacity: 0.6 !important;
        color: #FFD700 !important;
        transform: translateX(-50%) !important;
    }
    .nav-links {
        gap: 3px;
        flex-direction: column;
        margin-left: 0;
        position: relative;
        top: 4cm;
    }
    .nav-links a { font-size: 7px; }
    .language-dropdown {
        width: 100%;
        display: block;
    }
    .language-dropdown > a {
        width: 100%;
        text-align: left;
        font-size: 7px;
        padding: 8px 0 8px 0;
        color: #fff;
        background: none;
        border: none;
        border-radius: 6px;
        margin: 0;
        transition: background 0.2s;
    }
    .language-dropdown > a:hover {
        background: #222;
    }
    .language-dropdown .language-selector {
        left: 0 !important;
        transform: none;
        min-width: 140px;
    }
    
    /* Podstrony - pozioma nawigacja */
    .page-section + .back-link .navbar .nav-links {
        flex-direction: row;
        gap: 8px;
        top: 0;
        position: relative;
    }
    
    /* Przesunięcie nawigacji tylko na podstronach - mobile 480px */
    .subpage .nav-links {
        margin-left: 0cm !important;
    }
    
    /* Zmniejszenie całego tekstu w sekcji about - mobile 480px */
    .contact-page .bio-box {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        background: rgba(0, 0, 0, 0.2) !important;
        padding: clamp(6px, 2vw, 8px) !important;
        transform: none !important;
    }
    .contact-page .bio-box h2[data-i18n="about"] {
        font-size: clamp(11px, 3vw, 13px) !important;
        margin-bottom: clamp(2px, 1vw, 3px) !important;
        margin-top: 0 !important;
    }
    .contact-page .bio-box .bio-text p {
        font-size: clamp(8px, 2vw, 9px) !important;
        line-height: 1.1 !important;
        margin-bottom: clamp(1px, 0.5vw, 2px) !important;
    }
    /* Ukryj dodatkowe akapity gdy bio jest zwiniete na mobile */
    .contact-page .bio-box.collapsed .more-bio { display: none !important; }
    .bio-toggle { display: none; }
    .bio-lang-select {
        font-size: clamp(8px, 2vw, 9px) !important;
        padding: clamp(1px, 0.5vw, 2px) clamp(2px, 1vw, 4px) !important;
        min-width: 50px !important;
        margin-top: clamp(1px, 0.5vw, 2px) !important;
    }
    
    /* Sekcja contact - mobile 480px */
    .contact-page .contact-info-full {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        top: auto !important;
        transform: none !important;
        background: rgba(0, 0, 0, 0.2) !important;
        padding: clamp(6px, 2vw, 8px) !important;
        max-width: 100% !important;
        margin-top: clamp(0.2cm, 2vw, 0.3cm);
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .contact-page .contact-info-full h2[data-i18n="contact_header"] {
        font-size: clamp(11px, 3vw, 13px) !important;
        margin-bottom: clamp(2px, 1vw, 3px) !important;
        text-align: center !important;
        margin-top: 0 !important;
    }
    .contact-page .contact-info-full .contact-details {
        display: flex;
        flex-direction: column;
        gap: clamp(0px, 0.5vw, 1px);
    }
    .contact-page .contact-info-full .contact-details p {
        font-size: clamp(8px, 2vw, 9px) !important;
        line-height: 1 !important;
        margin-bottom: 0 !important;
        white-space: normal !important;
    }
    
    /* Ultra małe ekrany - iPhone SE i poniżej (≤375px) */
    @media (max-width: 375px) {
        .contact-page .bio-box {
            padding: 4px !important;
        }
        .contact-page .bio-box h2[data-i18n="about"] {
            font-size: 10px !important;
            margin-bottom: 2px !important;
        }
        .contact-page .bio-box .bio-text p {
            font-size: 7.5px !important;
            line-height: 1.05 !important;
            margin-bottom: 1px !important;
        }
        .bio-lang-select {
            font-size: 7px !important;
            padding: 1px 3px !important;
            min-width: 50px !important;
        }
        .bio-toggle { display: block !important; }
        
        /* Hide the 'about' heading on mobile (we show only button) */
        .contact-page .bio-box h2[data-i18n="about"] { display: none !important; }
        /* Center the Show bio button in viewport and remove oval border */
        .bio-toggle {
            position: fixed !important;
            left: 50% !important;
            top: 50% !important;
            transform: translate(-50%, -50%) !important;
            background: transparent !important;
            border: none !important;
            color: #FFD700 !important;
            font-size: clamp(14px, 4vw, 18px) !important;
            padding: 6px 10px !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            z-index: 10002 !important;
            cursor: pointer !important;
        }
        /* Make language selector still available but slightly above bottom (hidden by default on SE) */
        .bio-lang-wrap { display: none !important; }
        .bio-lang-select { position: fixed !important; bottom: 60px !important; left: 50% !important; transform: translateX(-50%) !important; }
        /* Nudge the Show-bio text a bit to the right on iPhone SE using transform (keeps it visually centered) */
        .bio-toggle { left: 50% !important; transform: translate(calc(-50% + 6px), -50%) !important; }
        /* Shift contact info a bit to the left on mobile to avoid overflow */
        .contact-page .contact-info-full { padding-left: 6vw !important; padding-right: 6vw !important; }
        .contact-page .contact-info-full {
            padding: 4px !important;
            margin-top: 0.2cm;
        }
        .contact-page .contact-info-full h2[data-i18n="contact_header"] {
            font-size: 10px !important;
            margin-bottom: 2px !important;
        }
        .contact-page .contact-info-full .contact-details p {
            font-size: 7.5px !important;
            line-height: 1.05 !important;
        }
        /* Minimal view: hide all bio paragraphs when collapsed, show only heading + button */
        .contact-page .bio-box.collapsed .bio-text p {
            display: none !important;
        }
        .contact-page .bio-box.collapsed h2[data-i18n="about"] {
            display: block !important;
        }
    }

/* Bio modal */
.bio-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
}
.bio-modal.open { display: flex; }
.bio-modal-inner {
    width: min(92vw, 720px);
    max-height: 90vh;
    overflow: auto;
    background: rgba(10,10,10,0.95);
    padding: 18px;
    border-radius: 8px;
    color: #fff;
}
.bio-modal-close {
    display: inline-block;
    background: transparent;
    color: #FFD700;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 8px;
}
.bio-modal-body p { font-size: 14px; line-height: 1.5; color: #fff; }
    
    /* WORKS zakładka - mobile */
    .film-synopsis,
    .film-tile .film-synopsis,
    .film-tile:hover .film-synopsis {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: none !important;
    }
    .film-info,
    .film-tile .film-info,
    .film-tile:hover .film-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2px !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transition: none !important;
        width: 100%;
        text-align: center !important;
    }
    .film-info h3 {
        font-size: 15px !important;
        margin-bottom: 2px !important;
        font-weight: 700 !important;
        line-height: 1.1 !important;
    }
    .film-info p {
        font-size: 10px !important;
        margin: 0 0 2px 0 !important;
        line-height: 1.2 !important;
        font-weight: 400 !important;
    }
    .film-tile,
    .film-tile:hover {
        transition: none !important;
        transform: none !important;
    }
    .film-overlay h3 {
        font-size: 12px;
    }
    .film-overlay p {
        font-size: 6px;
    }
    
    .fullscreen-content h1 { font-size: 28px; letter-spacing: 1px; }
    .fullscreen-content p { font-size: 12px; }
    .fullscreen-video-wrapper .nav-links { margin-right: 0; }
    .fullscreen-video-wrapper .logo { margin-left: 0; }
}
@media (max-width: 768px) {
    .contact-container { grid-template-columns: 1fr; gap: 40px; }
    .bio-content { flex-direction: column; }
    .portrait { width: 100%; height: auto; }
}
section h2 { font-size: 36px; font-weight: 300; letter-spacing: 3px; margin-bottom: 60px; text-align: center; }
.films-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}
.film-tile {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    border: none;
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}
.film-tile:hover { transform: scale(1.02); }
.film-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    display: block;
}
.film-tile-3x2 {
    aspect-ratio: 3 / 2;
    background: #000;
}
.film-preview-3x2 {
    object-fit: contain;
    background: #000;
}
.film-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
}
.film-info {
    text-align: center;
    transition: color 0.3s ease, opacity 0.3s ease;
}
.film-tile:hover .film-info h3,
.film-tile:hover .film-info p {
    color: #FFD700;
    opacity: 0.6;
}
.contact-page .bio-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    pointer-events: auto;
    opacity: 1 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0 60px 100px;
}
.film-overlay h3 { font-size: 24px; font-weight: 400; letter-spacing: 1px; }
.film-synopsis {
    color: #fff;
    font-size: 18px;
    opacity: 0;
    text-align: right;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
    width: 100%;
    background: none;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    transition: opacity 1.2s cubic-bezier(0.4,0,0.2,1);
    z-index: 2;
    padding: 0 32px 32px 0;
    box-sizing: border-box;
}
.film-synopsis p {
    max-width: 340px;
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    background: rgba(0,0,0,0.82);
    padding: 18px 24px;
    border-radius: 14px;
    box-shadow: 0 2px 24px 0 rgba(0,0,0,0.25);
    text-align: left;
}
.film-tile .film-info {
    transition: opacity 1.2s cubic-bezier(0.4,0,0.2,1);
}
.film-tile:hover .film-synopsis {
    opacity: 1;
    pointer-events: auto;
}
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 20px; }
.photo-item { aspect-ratio: 3/2; overflow: hidden; border: 1px solid #333; background: #111; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.photo-item:hover img { transform: scale(1.1); }
.photo-item.no-border { border: none !important; background: transparent; }
.showreel-container { max-width: 800px; margin: 0 auto; }
.showreel-video { width: 100%; height: auto; }
.contact-section { text-align: center; }
.showreel-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 120px);
    background: #000;
}
.showreel-section iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
}
.contact-info { font-size: 16px; line-height: 2; }
.contact-info a { color: #fff; text-decoration: none; }
.page-section { padding-top: 120px; min-height: 100vh; padding-bottom: 100px; }
.contact-page .page-section {
    padding-top: 0;
    padding-bottom: 0;
    background: transparent !important;
}
.back-link { text-align: center; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 100; }
.back-link a { color: #fff; text-decoration: none; font-size: 16px; letter-spacing: 1px; opacity: 0.7; transition: opacity 0.3s, transform 0.3s, color 0.3s ease; }
.back-link a:hover { opacity: 0.6; transform: scale(1.15); color: #FFD700; }
.contact-full {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100vh;
    overflow: visible;
    background: transparent !important;
}
.bio-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover !important;
    background-position: center !important;
    background-color: #000;
    z-index: 1;
    pointer-events: none;
}
.bio-overlay {
    position: relative;
    padding: 60px 0 60px 100px;
    min-height: auto;
    z-index: 2;
}
.bio-box {
    background: transparent;
    border: none;
    padding: 30px 35px;
    max-width: 450px;
    border-radius: 0;
    color: #fff;
    margin-left: 0;
}
.bio-box h2 {
    color: #fff;
    margin-bottom: 30px;
}
.bio-box .bio-text {
    display: block;
}
.bio-box .bio-text p {
    color: #fff;
    margin-bottom: 20px;
}
.contact-container { display: block; position: static !important; }
.contact-info-full {
    position: fixed !important;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 5;
    background: rgba(0,0,0,0.85);
    padding: 30px 35px;
    border-radius: 12px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18);
    min-width: 320px;
    max-width: 90vw;
}

@media (max-width: 900px) {
    .contact-info-full {
        position: static !important;
        transform: none;
        right: auto;
        top: auto;
        margin: 40px auto 0 auto;
        min-width: unset;
        width: 90vw;
        max-width: 100vw;
    }
}
.contact-info-full h2 { 
    color: #fff;
    margin-bottom: 30px; 
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-details p {
    color: #fff;
}
.contact-details a {
    color: #fff;
}
.back-link { 
    position: fixed; 
    bottom: 20px; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 100;
}
.contact-page footer {
    position: fixed;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 6;
    pointer-events: none;
}
.contact-bio, .contact-info-full { display: flex; flex-direction: column; }
.contact-bio h2, .contact-info-full h2 { text-align: left; margin-bottom: 30px; text-transform: none; }
.bio-content { display: flex; gap: 40px; align-items: flex-start; }
.portrait { width: 250px; height: 250px; object-fit: contain; filter: grayscale(100%); }
.bio-text { flex: 1; }
.bio-text p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
}
.contact-details p { margin-bottom: 20px; font-size: 18px; }
.contact-details a { color: #fff; text-decoration: none; }
.contact-details a:hover { opacity: 0.7; }
@media (max-width: 768px) {
    .contact-container { grid-template-columns: 1fr; gap: 40px; }
    .bio-content { flex-direction: column; }
    .portrait { width: 100%; height: auto; }
    
    /* Zmniejszenie całego tekstu w sekcji about */
    .contact-page .bio-box {
        max-width: 75% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        background: transparent !important;
        padding: 0 !important;
        transform: translate(-3cm, -2cm) !important;
    }
    .contact-page .bio-box h2[data-i18n="about"] {
        font-size: 12px !important;
        margin-bottom: 5px !important;
    }
    .contact-page .bio-box .bio-text p {
        font-size: 14px !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }
    
    /* Sekcja contact w prawym dolnym rogu */
    .contact-page .contact-info-full {
        position: fixed !important;
        right: 1.5cm !important;
        bottom: 3cm !important;
        top: auto !important;
        transform: none !important;
        background: transparent !important;
        padding: 0 !important;
        max-width: 45% !important;
    }
    .contact-page .contact-info-full h2[data-i18n="contact_header"] {
        font-size: 10.8px !important;
        margin-bottom: 5px !important;
        text-align: center !important;
    }
    .contact-page .contact-info-full .contact-details p {
        font-size: 12.6px !important;
        line-height: 1.2 !important;
        margin-bottom: 3px !important;
        white-space: nowrap !important;
    }
}
footer { text-align: center; padding: 40px; font-size: 12px; opacity: 0.5; }
.contact-page footer { border-top: none; }
.fullscreen-video-wrapper footer { border: none; background: transparent; }
.fullscreen-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 20px;
    font-size: 12px;
    opacity: 0.5;
    background: transparent;
    border: none;
    z-index: 4;
}

/* Lightbox modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.3s;
    z-index: 10001;
}

.lightbox-close:hover {
    opacity: 0.7;
}
