body {
    font-family: 'Roboto', sans-serif;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
    transition: background-color 0.5s, color 0.5s;
    max-width: 1600px; /* Zmiana maksymalnej szerokości */
    margin: 0 auto; /* Centrowanie zawartości */
}

/* Navbar */

/* Hero Section */
.about-us {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.about-us h2 {
    font-size: 2em;
    color: #1a73e8;
    margin-bottom: 20px;
    position: relative;
}

.about-us h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #1a73e8;
    margin: 10px auto;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.about-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    text-align: left;
}

.about-text p {
    font-size: 1.3em;
    color: #000;
    line-height: 1.6;
    margin: 20px 0;
    display: flex;
    align-items: center;
}

.about-text p i {
    color: #1a73e8;
    font-size: 1.5em;
    margin-right: 20px; /* Zapewnia równy odstęp między ikoną a tekstem */
    flex-shrink: 0; /* Zapobiega kurczeniu się ikony */
    width: 40px; /* Stała szerokość ikony */
    text-align: center; /* Wyśrodkowanie ikony */
}

.about-image {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/*FULL - LIGHT*/
.hero {
    background: url('images/tlo-full-light.png') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 20vh 20px;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.6);
    max-width: 1920px;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*FULL - DARK */
.dark-theme .hero
{
    background: url('images/tlo-full-dark.png') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 20vh 20px;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.6);
    max-width: 1920px;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*WIĘCEJ NIŻ SZEROKOŚĆ 1600PX - LIGHT AND DARK*/
@media screen and (min-width: 1600px)
{
    .hero {
    background: url('images/tlo-full-light.png') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 20vh 20px;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.6);
    max-width: 1920px;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 2% 2%;
}
   .dark-theme .hero
{
    background: url('images/tlo-full-dark.png') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 20vh 20px;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.6);
    max-width: 1920px;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 2% 2%;
} 
}
/*1070 - LIGHT AND DARK*/
@media screen and (max-width: 1070px)
{
    .hero {
    background: url('images/tlo-1070-light.png') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 20vh 20px;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.6);
    max-width: 1920px;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
   .dark-theme .hero
{
    background: url('images/tlo-1070-dark.png') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 20vh 20px;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.6);
    max-width: 1920px;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
} 
}
/*900 - LIGHT AND DARK*/
@media screen and (max-width: 900px)
{
    .hero {
    background: url('images/tlo-900-light.png') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 20vh 20px;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.6);
    max-width: 1920px;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
    .dark-theme .hero
{
    background: url('images/tlo-900-dark.png') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 20vh 20px;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.6);
    max-width: 1920px;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
}
@media screen and (max-width:650px)
{
        .hero {
    background: url('images/tlo-650-light.png') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 20vh 20px;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.6);
    max-width: 1920px;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
    .dark-theme .hero
{
    background: url('images/tlo-650-dark.png') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 20vh 20px;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.6);
    max-width: 1920px;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
}
.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3em;
    margin: 0;
    animation: Animh1hero 2s linear 0s 1 normal forwards;
}

@keyframes Animh1hero {
    0% {
        animation-timing-function: ease-in;
        opacity: 0;
        transform: translateY(-250px);
    }

    38% {
        animation-timing-function: ease-out;
        opacity: 1;
        transform: translateY(0);
    }

    55% {
        animation-timing-function: ease-in;
        transform: translateY(-65px);
    }

    72% {
        animation-timing-function: ease-out;
        transform: translateY(0);
    }

    81% {
        animation-timing-function: ease-in;
        transform: translateY(-28px);
    }

    90% {
        animation-timing-function: ease-out;
        transform: translateY(0);
    }

    95% {
        animation-timing-function: ease-in;
        transform: translateY(-8px);
    }

    100% {
        animation-timing-function: ease-out;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 1.5em;
    margin: 10px 0 20px;
    animation: Animh1hero 2s linear 0s 1 normal forwards;
}

.hero button {
    background-color: #1a73e8;
    border: none;
    color: white;
    padding: 15px 30px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    border-radius: 5px;
    animation: Animh1hero 2s linear 0s 1 normal forwards;
}

.hero button:hover {
    background-color: #155ab6;
    transform: scale(1.05);
}

/* Container */
.container {
    padding: 20px;
    max-width: 1600px;
    margin: 0 auto;
}

/* Section */
.section {
    margin: 40px 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2em;
    color: #1a73e8;
    position: relative;
}

.section h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #1a73e8;
    margin: 10px auto;
}

.h2-producent:after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: #000;
    margin: 3px 18px 10px;
}

/* Product */
.product,
.service,
.blog-post,
.review,
.gallery-item,
.faq-item {
    margin: 20px 0;
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/*ZALETY WSPÓŁPRACY*/
.zalety {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.zalety h2 {
    font-size: 2em;
    color: #1a73e8;
    margin-bottom: 20px;
    position: relative;
}

.zalety h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #1a73e8;
    margin: 10px auto;
}

.zalety-content {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.zaleta {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.zalety i {
    font-size: 2em;
    color: #1a73e8;
    margin-bottom: 15px;
}

.zalety h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.zalety p {
    font-size: 1.1em;
    color: #666; 
}
/*KONIEC ZALET WSPÓŁPRACY*/
.question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.answer {
    display: none;
    margin-top: 10px;
}

.arrow {
    font-size: 20px;
}

.open {
    display: block;
}
/*OPINIE*/
.testimonials {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.testimonials h2 {
    font-size: 2em;
    color: #1a73e8;
    margin-bottom: 20px;
    position: relative;
}

.testimonials h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #1a73e8;
    margin: 10px auto;
}

.testimonials-content {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.testimonial.active {
    opacity: 1;
    position: relative;
}

.stars {
    color: #ff9800;
    margin-bottom: 15px;
}

.testimonial p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 15px;
}

.testimonial h3 {
    font-size: 1.1em;
    color: #1a73e8;
}
.komentarz-opinie
{
    margin-top: 2rem;
    color:lightgray;
    font-style: italic;
}
/*KONIEC OPINII*/
.gallery-item img {
    max-width: 100%;
    border-radius: 5px;
}

.product button {
    background-color: #1a73e8;
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    border-radius: 5px;
}

.product button:hover {
    background-color: #155ab6;
    transform: scale(1.05);
}
/* Form */
form {
    display: flex;
    flex-direction: column;
}

form label {
    margin: 10px 0 5px;
}

form input,
form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

form button {
    background-color: #1a73e8;
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    border-radius: 5px;
    margin-top: 10px;
}

form button:hover {
    background-color: #155ab6;
    transform: scale(1.05);
}

.formularz-kontaktowy {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.formularz-kontaktowy label {
    font-weight: bold;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.formularz-kontaktowy label i {
    margin-right: 10px;
    color: #1a73e8;
}

.formularz-kontaktowy input,
.formularz-kontaktowy textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.formularz-kontaktowy input:focus,
.formularz-kontaktowy textarea:focus {
    border-color: #1a73e8;
}

.formularz-kontaktowy button {
    background-color: #1a73e8;
    border: none;
    color: white;
    padding: 15px 30px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    border-radius: 5px;
    align-self: center;
}

.formularz-kontaktowy button:hover {
    background-color: #155ab6;
    transform: scale(1.05);
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.rotate {
    transform: rotate(180deg);
}
/*OSTRZEŻENIE BUDOWA*/
.construction-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.construction-content {
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}

.construction-content h1 {
    margin: 0;
    font-size: 2em;
    color: #000;
    padding: 10px;
}

.construction-content p {
    margin: 10px 0;
    font-size: 1.2em;
    color: #000;
}

.construction-content button {
background-color: #1a73e8;
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    border-radius: 5px;
}
.index-site
{
    text-decoration-line: underline;
}
/*COOKIE*/
.cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: #333;
            color: white;
            text-align: center;
            padding: 10px;
            z-index: 999;
        }

        .cookie-banner button {
    background-color: #1a73e8;
            display: inline-block;
    border: none;
    color: white;
    padding: 5px 10px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    border-radius: 5px;
        }

        .cookie-banner button:hover {
            background-color: #155ab6;
        }
/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer nav {
    margin-bottom: 20px;
}

.social-media {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.social-media a {
    margin: 0 10px;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.social-media a:hover {
    color: #1a73e8;
}

/* Produkty */
.product-container-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.product-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
}

.product-container::-webkit-scrollbar {
    display: none; /* Ukryj scrollbar */
}

.product-grid {
    display: flex;
    gap: 20px; /* Odstęp między produktami */
}

.product {
    flex: 0 0 auto;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: 100%; /* Szerokość produktu */
    max-width: 300px;
    box-sizing: border-box; /* Zapewnia uwzględnienie paddingu w szerokości */
    overflow: hidden; /* Ukrywa wszelką zawartość, która wychodzi poza obszar */
    transition: transform 0.3s ease; /* Dodaje płynne przejście */
    position: relative;
}
.product h3
{
    height: 2rem;
}
.product img, .product png {
    width: 100%;
    height: 260px; /* Zapewnia proporcjonalność obrazu */
    border-radius: 5px;
    object-fit: contain; /* Zapewnia, że obraz mieści się w kontenerze bez rozciągania */
}

.product:hover {
    transform: scale(1.05); /* Powiększa produkt o 15% */
}

.product p {
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3em;
    transition: max-height 0.3s;
    margin: 10px 0;
}

.product:hover p {
    max-height: 100em;
}

.product-producent {
    font-size: 18px;
    font-weight: 700;
    color: #666;
    display: inline-block;
    margin-bottom: 10px;
    border-bottom: 2px solid #ddd;
    width: 100%; /* Zmniejszamy szerokość kontenera */
    text-align: right;
    font-style: italic;
    padding-right: 5px;
}
.product button {
    background-color: #1a73e8;
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    border-radius: 5px;
}
/* Stylizacja wstążki */
.wstazka {
    position: absolute;
    top: 20px; /* Odległość od góry */
    left: -25px; /* Odległość od lewej */
    width: 120px; /* Szerokość wstążki */
    background-color: #1abc9c; /* Kolor tła wstążki */
    color: white; /* Kolor tekstu wstążki */
    text-align: center; /* Wyśrodkowanie tekstu */
    transform: rotate(-45deg); /* Obrót wstążki */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); /* Cień wstążki */
    font-size: 12px; /* Rozmiar tekstu */
    font-weight: bold; /* Pogrubienie tekstu */
    padding: 5px 0; /* Wewnętrzne odstępy */
    z-index: 1; /* Z-index dla widoczności */
}

/* Dodatkowe stylizacje, aby tekst był w pełni widoczny */
.wstazka.popularne {
    background-color: #3498db; /* Inny kolor dla popularnych produktów */
}

.wstazka.promocja {
    background-color: #e74c3c /* Inny kolor dla produktów w promocji */
}
/* Styl przewijania produkty */
.scroll-btn {
    position: absolute;
    top: 250px;
    font-size: 1.5rem;
    transform: translateY(-50%);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.scroll-left {
    left: 0;
}

.scroll-right {
    right: 0;
}

/* Zmiana motywu */
.theme-toggle-wrapper {
    position: fixed; /* Ustawienie pozycji na stałą */
    bottom: 30px; /* Odległość od dołu */
    right: 20px; /* Odległość od prawej */
    display: inline-block;
    width: 60px;
    height: 34px;
    z-index: 998; /* Zapewnia widoczność suwaka nad innymi elementami */
}

.theme-toggle-wrapper input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: .4s;
}

.sun-icon {
    left: 8px;
    color: #f39c12;
}

.moon-icon {
    right: 8px;
    color: #2980b9;
    opacity: 0;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:checked + .slider .sun-icon {
    opacity: 0;
}

input:checked + .slider .moon-icon {
    opacity: 1;
}

.section.contact {
    padding: 40px;
    background-color: #f9f9f9;
}

.contact-header {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.contact-content {
    display: flex;
    flex-direction: column;
}

.contact-form {
    width: 100%;
    padding: 20px;
    margin-bottom: 20px;
}

.contact-info-item
{
    background-color: white;
    border-radius: 10px;
    height: 50px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    text-align: center;
    align-items: center;
    margin: 10px;
}
.formularz-kontaktowy {
    display: flex;
    flex-direction: column;
}

.formularz-kontaktowy div {
    margin-bottom: 15px;
}

.formularz-kontaktowy label {
    margin-bottom: 5px;
    font-weight: bold;
}

.formularz-kontaktowy input, .formularz-kontaktowy textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

.formularz-kontaktowy textarea {
    resize: vertical;
    height: 150px;
}

.formularz-kontaktowy button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.formularz-kontaktowy button:hover {
    background-color: #0056b3;
}
.contact-info
{
    display: contents;
    padding: 20px;
}
.contact-info p {
    font-size: 16px;
    margin: 10px 0;
    display:flexbox;
    align-items: center;
    font-weight: 600;
}

.contact-info i {
    margin-right: 10px;
    color: #1a73e8;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    height: 3rem;
    padding: 0.8rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*PARTNERZY*/

.sekcja-partnerzy {
    text-align: center;
    background-color: #fff;
    padding: 50px 20px;
}

.sekcja-partnerzy h2 {
    font-size: 2em;
    color: #1a73e8;
    margin-bottom: 20px;
}
.sekcja-partnerzy h2::after
{
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #1a73e8;
    margin: 10px auto;
}
.slider-partnerzy {
    background: white;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .125);
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%; /* Dostosuj szerokość według potrzeb */
    max-width: 1600px;
}

.slider-partnerzy::before, .slider-partnerzy::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
}

.slider-partnerzy::after {
    right: 0;
    transform: rotateZ(180deg);
}

.slider-partnerzy::before {
    left: 0;
}

.slide-track {
    display: flex;
    animation: scroll 40s linear infinite;
}

.slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px; /* Szerokość każdej z logotypów */
    flex-shrink: 0;
}

.slide img {
    max-height: 100px;
    max-width: 100%;
}
.slide img:hover
{
    transform: scale(1.3);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 6)); } /* Zmodyfikuj zgodnie z liczbą elementów */
}/* Dark theme */
.dark-theme .layer text
{
    fill:lightgray;
}
body.dark-theme, .dark-theme .contact {
    background-color: #333;
    color: #fff;
}
.dark-theme .zalety
{
    background-color: #333;
}
.dark-theme .zaleta, .dark-theme .zaleta h3, .dark-theme .testimonials
{
    background-color: #3a3a3a;
    color: #969696;
}
.dark-theme .contact-info-item, .dark-theme .contact-info-item i
{
    background-color: #3a3a3a;
}
.dark-theme .product,
.dark-theme .faq-item,
.dark-theme .hero,
.dark-theme input,
.dark-theme textarea,
.dark-theme .about-us,
.dark-theme form
{
    background-color: #3A3A3A;
    color: #969696;
    transition: background-color 0.5s, color 0.5s
}

.dark-theme p {
    color: #969696;
}

.dark-theme .product-producent {
    border-bottom: 1px solid dimgray;
    color: #969696;
    transition: background-color 0.5s, color 0.5s;
}

.dark-theme .dane-kontaktowe p:hover {
    color: #fff;
}

.dark-theme .map {
    filter: grayscale(100%) invert(100%) contrast(80%);
}

.dark-theme footer {
    border-top: groove;
}
.dark-theme .zalety, .dark-theme .sekcja-partnerzy
{
    background-color: #3a3a3a;
}
.dark-theme .slider-partnerzy::before, .dark-theme .slider-partnerzy::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(to right, rgba(58, 58, 58, 1) 0%, rgba(58, 58, 58, 0) 100%);
    z-index: 2;
}
.dark-theme .slider-partnerzy {
    background: #3a3a3a;
    box-shadow: 0 10px 20px -5px rgba(255, 255, 255, .125);
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%; /* Dostosuj szerokość według potrzeb */
    max-width: 1600px;
}
.dark-theme .zaleta
{
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
}
.dark-theme .wstazka
{
    box-shadow: 0 3px 6px rgba(255,255, 255, 0.3); /* Cień wstążki */
}
/* Mobilka */
@media screen and (max-width: 936px) {
    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1.2em;
    }

    .hero button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .container {
        padding: 0;
    }
    .product-producent span
    {
        margin-right:1%;
    }
    .about-content {
        flex-direction: column;
        text-align: left;
    }

    .about-text {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .about-text p {
        font-size: 1.1em;
    }

    .about-text p i {
        margin-bottom: 10px;
        width: 40px; /* Przywróć domyślną szerokość na wersji mobilnej */
        flex-shrink: 0; /* Zapobiega kurczeniu się ikony */
        text-align: center; /* Wyśrodkowanie ikony */
        margin-right: 20px;
    }

    .about-image img {
        width: 100%;
        max-width: 100%;
    }

    .about-us h2 {
        font-size: 2em;
    }

    .about-image {
        margin-top: 20px;
        text-align: center;
    }

}
@media screen and (max-width: 585px)
{
            .product-container {
        display: flex;
        flex-wrap: nowrap;
    }
.product-grid
    {
        margin-right:35px;
    }
    .product {
        flex: 0 0 100%; /* Produkty zajmują 100% szerokości kontenera */
        /*width: 100%;
        max-width: none; DO POWIEKSZENIA DIVOW NA MOBILCE */
        margin-right: 20px; /* Zapewnia brak odstępu między produktami */
    }

    .product img, .product png {
        width: 100%;
        height: auto;
        border-radius: 5px;
        object-fit: contain; /* Zapewnia, że obraz mieści się w kontenerze bez rozciągania */
    }
    

    .product:last-child {
        margin-right: 0; /* Ostatni produkt bez marginesu po prawej stronie */
    }
}
@media (min-width: 768px) {
         .contact-content {
        justify-content: space-between;
        align-items: flex-start;
    }

    .contact-form {
        width: 100%;
        margin-bottom: 0;
    }

    .contact-info {
        width: 100%;
        margin-bottom: 0;
        order:2;
        display: flex;
    }
    .contact-info p
    {
        display: grid;
    }
    .contact-info-item
    {
        height: auto;
        gap:20px;
    }
    .contact-info-item:not(:last-child)
    {
        margin-right: 2%;
    }
}
@media screen and (max-width: 1080px)
{
    .hero
    {
        padding: 10vh 20px;
    }
}
/*POWRÓT NA GÓRĘ*/
#back-to-top {
    position: fixed;
    bottom: 20px;
    font-size: 1.5rem;
    left: 20px;
    display: none;
    color: #000;
    border: none;
    padding: 10px;
    background-color: rgba(0,0,0,0);
    cursor: pointer;
    z-index: 1000;
}
#back-to-top:hover {
    background-color: rgba(58,58,58,0.1);
    border-radius: 9999px;
}
.dark-theme #back-to-top
{
    color:#969696;
}

/*PANEL KONTAKT*/
#contact-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 50px;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 1001; /* Ustaw wyższy z-index, aby przycisk był nad panelem */
    display: flex;
    align-items: center;
    transition: width 0.5s ease, background-color 0.5s ease;
    overflow: hidden; /* Ukryj tekst, gdy przycisk jest węższy */
    white-space: nowrap; /* Zapobiega zawijaniu się tekstu */
}

#contact-button i {
    margin-right: 10px;
}

#contact-text {
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateX(-100%);
    display: inline-block; /* Zapewnia, że tekst jest traktowany jako blok inline */
    font-size:1rem;
}

#contact-panel {
    position: fixed;
    bottom: 70px; /* Zmieniono z 20px na 70px, aby panel zaczynał się nad przyciskiem */
    left: 20px;
    background-color: #fff;
    color: #000;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    display: block; /* Ustaw na block, aby element był animowany */
    opacity: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
}

.contact-info-submit p {
    margin: 5px 0;
}

.dark-theme #contact-panel {
    background-color: #333;
    color: #fff;
    border-color: #444;
}

#contact-button:hover {
    background-color: #444;
}

#contact-panel.show {
    max-height: 500px; /* Adjust based on content height */
    opacity: 1;
}

/* Animacja pokazania i schowania tekstu */
#contact-button.show-text {
    width: auto; /* Dopasowuje szerokość do zawartości */
}

#contact-button.hide-text {
    width: 40px; /* Zmniejsza szerokość, gdy tekst jest ukryty */
}

#contact-button.show-text #contact-text {
    opacity: 1;
    transform: translateX(0);
}

#contact-text {
    -webkit-transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
    -moz-transition: opacity 0.5s ease, -moz-transform 0.5s ease;
    -ms-transition: opacity 0.5s ease, -ms-transform 0.5s ease;
    -o-transition: opacity 0.5s ease, -o-transform 0.5s ease;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

