/* 
   PEŁNA STABILIZACJA I OPTYMALIZACJA - DARIUSZ BISCHOFF
   Wersja poprawiona: usunięto błędy wysokości i dodano wsparcie przeglądarek
*/

:root {
    --primary-red: #d32f2f;
    --text-light: rgba(255, 255, 255, 0.7);
}

* {
    box-sizing: border-box; /* Zapobiega problemom z paddingiem */
}

body, html {
    margin: 0; 
    padding: 0; 
    min-height: 100%; /* Zmieniono z height: 200% */
    font-family: Arial, Helvetica, sans-serif;
    background-color: #222;								
    color: #fff;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.main-wrapper { 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}

/* HERO SECTION */
.hero-fullscreen {
    position: relative; 
    width: 100%; 
    height: 100vh;
    background: #333 url('783815_1154_0034.jpg') no-repeat center center;
    background-size: cover;
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 100%);
    /* Poprawka dla Safari */
    -webkit-backdrop-filter: grayscale(100%);
    backdrop-filter: grayscale(100%); 
    z-index: 1;
}

/* JĘZYKI */
.top-bar-overlay { 
    position: absolute; 
    top: 0; 
    width: 100%; 
    z-index: 10; 
    padding: 90px 0; /* Zmniejszono z 90px dla lepszego balansu */
}

.lang-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 15px; 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.lang-grid a { 
    color: var(--text-light); 
    text-decoration: none; 
    font-size: 0.7rem; 
    font-weight: bold; 
    text-transform: uppercase; 
    transition: color 0.3s ease;
}

.lang-grid a:hover, 
.lang-grid a.active { 
    color: var(--primary-red); 
}

/* LOGO */
.hero-content { 
    position: relative; 
    z-index: 5; 
    display: flex; 
    justify-content: center; 
}

.logo-block-layout { 
    display: flex; 
    align-items: stretch; 
    gap: 10px; 
}

/* OSI PIONOWE */
.logo-line-axis-block { 
    width: 18px; 
    background-color: var(--primary-red); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.v-stack-seo { 
    display: flex; 
    flex-direction: column; 
    line-height: 1.2; 
    font-size: 9.5px; 
    font-weight: 900; 
    color: #fff; 
    text-align: center; 
}

.logo-text-stack { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}

.name-row { 
    display: flex; 
    align-items: baseline; 
    gap: 10px; 
}

.logo-name-main { 
    font-size: clamp(1.8rem, 5vw, 2.8rem); /* Responsywna wielkość czcionki */
    font-weight: 900; 
    letter-spacing: -1.5px; 
    line-height: 0.9; /* Bezpieczniejsza wartość */
    text-transform: uppercase; 
}

.logo-name-main .surname { 
    color: rgba(255, 255, 255, 0.5); 
    font-weight: 300; 
}

.logo-slogan-sub { 
    font-size: 0.8rem; 
    font-weight: bold; 
    letter-spacing: 2px; 
    margin-top: 2px; 					dienstle
    text-transform: uppercase; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.highlight-box { 
    background-color: var(--primary-red); 
    color: #fff; 
    padding: 2px 8px; 
    font-size: 0.7rem; 
}

/* TREŚĆ */
.scroll-indicator { 
    position: absolute; 
    bottom: 30px; 
    font-size: 0.7rem; 
    opacity: 0.6; 
    text-transform: uppercase; 
    letter-spacing: 3px;
    animation: bounce 2s infinite; 										tu ruch
}

}

.container { 
    background-color: #fff; 
    color: #1a1a1a; 
    padding: 80px 20px; 
    flex: 1; 
    text-align: center; 
}

.header-box { 
    background-color: var(--primary-red); 
    color: #fff; 
    padding: 12px 24px; 
    display: inline-block; 
    font-weight: bold; 
    margin-bottom: 40px; 
}

.manifesto p { 
    font-size: 1.15rem; 
    line-height: 1.8; 
    max-width: 800px; 
    margin: 0 auto 25px auto; 
}

.legal-footer { 
    background-color: #222; /* Ciemniejszy dla lepszego kontrastu */
    padding: 40px 0; 
    text-align: center; 
}

.legal-links a { 
    color: #fff; 
    text-decoration: none; 
    font-size: 0.75rem; 
    margin: 0 15px; 
    opacity: 0.7;
    transition: opacity 0.3s;
}

.legal-links a:hover { opacity: 1; }

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
    .logo-block-layout { flex-direction: row; }
    .name-row { flex-direction: column; align-items: flex-start; gap: 0; }
    .hero-fullscreen { height: 100svh; } /* Lepsza obsługa przeglądarek mobilnych */
    .top-bar-overlay { padding: 30px 0; }
}
