body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-image: url('images/tlo1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 200px; 
}

.kontener {
    position: sticky;
    top: 0;
    z-index: 1000;
    margin: 20px auto;
    max-width: 1100px;
    color: #FFFFFF;
    border-radius: 8px;
    padding: 25px;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.6);
    text-align: left; 
    
    background-image: url('images/tlo1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.logo {
    max-width: 130px;
    height: auto;
    margin-right: 20px;
}

.logo-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.logo-i-tytul {
    display: flex;
    align-items: center;
}

.nazwa-firmy {
    display: block;
    font-size: 3em;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 
        1px 1px 0px rgba(0, 0, 0, 0.7),
        2px 2px 0px rgba(0, 0, 0, 0.6),
        3px 3px 0px rgba(0, 0, 0, 0.5),
        4px 4px 3px rgba(0, 0, 0, 0.4);
    color: #CCCCCC;
}

.podtytul {
    display: block;
    font-size: 1.3em;
    font-weight: 400;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.6);
    color: #ffc400cc;
}

.nawigacja {
    margin-left: 50px;
}

.nawigacja ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nawigacja li {
    margin-left: 10px;
}

.nawigacja a {
    display: block;
    padding: 8px 15px;
    border: 2px solid #000000; 
    background-color: #ffc400b7; 
    border-radius: 5px; 
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nawigacja a:hover {
    background-color: #FFFFFF;
    color: #000000;
    text-shadow: none;
}

main {
    color: white; 
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7); 
    border-radius: 8px;
    text-align: center;
}

main section {
    margin-bottom: 40px;
    position: relative; 
    
    border: 2px solid #ffc400;
    border-radius: 8px; 
    padding: 25px;      
}

main section:last-child {
    margin-bottom: 0;
}

main h1 {
    color: #ffc400;
    font-size: 2.5em;
    margin-top: 0; 
}

main h2 {
    color: #CCCCCC;
    font-size: 1.8em;
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 15px;
}

main p {
    line-height: 1.6;
    font-size: 1.2em;
}

.kolumny-uslug {
    display: flex;
    justify-content: center;
    gap: 40px; 
    text-align: left; 
}

.kolumna {
}

main .lista-uslug {
    list-style: none; 
    padding-left: 0; 
    text-align: left;
    margin-top: 10px;
    margin-bottom: 25px;
}

main .lista-uslug li {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 1.5em;
    position: relative;
}

main .lista-uslug li::before {
    content: '✔';
    color: #ffc400;
    position: absolute;
    left: 0;
    top: 0;
}

.kontakt-kolumny {
    display: flex;
    justify-content: center;
    gap: 60px;
    text-align: left;
}

main .lista-kontakt {
    list-style: none;
    padding-left: 0; 
    text-align: left;
    margin-top: 0;
}

.kolumna-kontakt .lista-kontakt {
    margin-top: 0;
}

main .lista-kontakt li {
    font-size: 1.3em;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #CCCCCC;
}

.kontakt-kolumny .kolumna-kontakt:first-child .lista-kontakt li {
    padding-left: 2em;
    position: relative;
}

main .lista-kontakt li strong {
    color: #FFFFFF;
}

.kontakt-kolumny .kolumna-kontakt:first-child .lista-kontakt li::before {
    content: ''; 
    color: #ffc400;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.1em;
}

.kontakt-kolumny .kolumna-kontakt:first-child .lista-kontakt li:nth-child(1)::before {
    content: '📞';
}
.kontakt-kolumny .kolumna-kontakt:first-child .lista-kontakt li:nth-child(2)::before {
    content: '📧';
}
.kontakt-kolumny .kolumna-kontakt:first-child .lista-kontakt li:nth-child(3)::before {
    content: '💼';
}


.kontakt-kolumny .kolumna-kontakt:last-child .lista-kontakt li a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease;
    display: flex; 
    align-items: center;
}

.kontakt-kolumny .kolumna-kontakt:last-child .lista-kontakt li a i {
    color: #FFFFFF;
    font-size: 1.3em;
    margin-right: 10px;
    width: 25px;
    text-align: center;
    transition: all 0.2s ease;
}

.kontakt-kolumny .kolumna-kontakt:last-child .lista-kontakt li a:hover,
.kontakt-kolumny .kolumna-kontakt:last-child .lista-kontakt li a:hover i {
    color: #ffc400;
}


.map-container {
    margin-top: 20px;
}

#lokalizacja iframe {
    width: 90%;
    height: 450px;
    border: 0;
    border-radius: 8px;
}



.galeria-slider {
    width: 100%;
    max-width: 900px; 
    margin: 20px auto 0 auto;
    position: relative;
    padding-bottom: 40px; 
    overflow: hidden;
}

.swiper-slide {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    height: 350px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.swiper-slide a:hover img {
    transform: scale(1.05);
}

.swiper-button-next,
.swiper-button-prev {
    color: #ffc400;
}

.swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: #ffc400;
    opacity: 1;
}


@media (max-width: 768px) {

    .kontener {
        position: static; /* Wyłącza "lepkość" na telefonach */
    }

    .logo-header {
        flex-direction: column; 
        justify-content: center; 
    }

    .logo-i-tytul {
        flex-direction: column;
        text-align: center;
    }
    
    .tytul {
        text-align: center;
    }
    
    .logo {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .nawigacja {
        margin-left: 0;
        margin-top: 25px;
        width: 100%;
    }

    .nawigacja ul {
        flex-direction: column;
        width: 100%;
    }

    .nawigacja li {
        margin-left: 0;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .nawigacja a {
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    .nazwa-firmy {
        font-size: 2.2em;
    }
    .podtytul {
        font-size: 1.1em;
    }
    main h1 {
        font-size: 1.8em;
    }
    main h2 {
        font-size: 1.4em;
    }

    .kolumny-uslug {
        flex-direction: column;
        gap: 0;
    }
    
    .kontakt-kolumny {
        flex-direction: column;
        gap: 0;
    }
    
    .kolumna-kontakt:last-child {
        margin-top: 30px;
    }
    
    .kontakt-kolumny .kolumna-kontakt:first-child .lista-kontakt li {
        padding-left: 0; 
        text-align: center;
    }
    .kontakt-kolumny .kolumna-kontakt:first-child .lista-kontakt li::before {
        display: none;
    }
    .kontakt-kolumny .kolumna-kontakt:last-child .lista-kontakt li a {
        justify-content: center;
    }

    .galeria-slider {
        width: 100%; 
        overflow: hidden; 
    }
    
    .swiper-slide {
        height: 250px;
    }

    #lokalizacja iframe {
        height: 300px; 
    }
}