/* RESET I USTAWIENIA PODSTAWOWE */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --accent-color: #00b4a0;
    --text-color: #ffffff;
}

body {
    font-family: sans-serif;
    background-color: #0c0c0e;
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
}

/* KONTENER GŁÓWNY */
.hero-container {
    position: relative;
    width: 100%;
    height: 100vh; 
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('obraz.jpg') no-repeat center center / cover;
    
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    padding: 0; 
    overflow: hidden; 
}

/* WRAPPER ZAWARTOŚCI (LOGO + NEXT) */
.content-wrapper {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    
    width: 85vw; 
    max-width: 1400px;
    margin: 0 auto; 
    margin-top: -10vh; 
}

/* LEWA SEKCJA: Logo */
.logo-section {
    display: flex;
    justify-content: flex-start; 
}

.logo-image {
    width: 30vw; 
    max-width: 550px; 
    min-width: 200px; 
    height: auto;
    display: block;
}

/* PRAWA SEKCJA: Informacja "NEXT" */
.info-section {
    display: flex;
    justify-content: flex-end; 
}

.info-image {
    width: 42vw;
    max-width: 900px;
    min-width: 250px;
    height: auto;
    display: block;
}

/* DOLNA SEKCJA: Ikony Social Media */
.social-footer {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    
    width: 85vw;  
    max-width: 1400px;
    
    position: absolute;
    bottom: 6vh; 
    left: 50%;
    transform: translateX(-50%); 
    z-index: 10;
}

.social-icon {
    display: inline-block;
    transition: transform 0.2s ease;
}

.social-icon img {
    width: clamp(40px, 5.5vw, 80px); 
    height: auto;
    object-fit: contain;
}

.social-icon:hover {
    transform: scale(1.15);
}

/* ==========================================================================
   RESPONSYWNOŚĆ (MOBILE)
   ========================================================================== */
@media (max-width: 768px) {
    .hero-container {
        display: block; 
        background-position: 60% center; 
    }

    .content-wrapper {
        position: absolute;
        top: 22vh; 
        
        /* ZMIANA: Przysunięcie logo i tekstu bliżej lewej krawędzi (wcześniej 6vw) */
        left: 3vw; 
        
        display: flex;
        flex-direction: column; 
        justify-content: center;
        align-items: flex-start; 
        gap: 6vh; 
        width: auto; 
        margin-top: 0; 
    }

    .logo-section {
        justify-content: flex-start;
        width: 100%;
    }
    
    .info-section {
        justify-content: flex-start;
        width: 100%;
        margin-left: 2vw; 
    }

    .logo-image {
        width: 65vw; 
        max-width: 420px; 
        min-width: 0; 
    }

    .info-image {
        width: 75vw; 
        max-width: 400px;
        min-width: 0; 
    }

    .social-footer {
        position: absolute;
        top: 50%; 
        right: 6vw; 
        bottom: auto;
        left: auto;
        transform: translateY(-50%); 
        
        flex-direction: column; 
        justify-content: center;
        align-items: center; 
        width: auto; 
        gap: 3vh; 
    }

    .social-icon img {
        width: clamp(55px, 14vw, 75px);
        height: auto;
    }
}