/* CSS WALIDATOR CHECKED + */
.sekcja-zawartosc h5 {
    text-align: center;
    color: #333;;
    font-size: 20px;
    margin-bottom: 10px;
}

.sekcja-zawartosc h4 {
    color: #333;;
    font-weight: 600;
    font-size: 22px;
    text-transform: uppercase;
}

.sekcja-zawartosc .button1, .sekcja-zawartosc .button2 {
    background-color: #740000;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 8px 0;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.sekcja-zawartosc .button1:hover, .sekcja-zawartosc .button2:hover {
    background-color: #b40000;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.sekcja-zawartosc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.slideshow-container .zdjecie {
    width: 100%;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.slideshow-container .zdjecie:hover {
    transform: scale(1.05);
}


.sekcja-zawartosc .zdjecie{
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    height: auto;
    min-height: 200px;
}


.sekcja-zawartosc .opis{
    width: 50%;
    padding-left: 20px;
    text-align: left;
    font-size: 18px;
    line-height: 1.6;
}

.sekcja-zawartosc .opis-right {
    text-align: right;
    padding-left: 0;
    padding-right: 20px;
}

.sekcja-zawartosc .zdjecie-right {
    order: 1;
}

#kwiaty, #korzenie, #plantpassport {
    background-color: #ecd7be;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

#kwiaty:hover, #korzenie:hover, #plantpassport:hover {
    transform: scale(1.03);
    transition: transform 0.3s ease-in-out;
}

#kwiaty img, #plantpassport img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

#korzenie img {
    width: 80%;
    height: 60%;
    border-radius: 10px;
}


#kwiaty .content, #korzenie .content, #plantpassport .content {
    width: 50%;
    padding-left: 20px;
    text-align: left;
    font-size: 18px;
    line-height: 1.6;
    color: #ccc;
}

#opis1, #opis2 {
    color: #333;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: large;
    margin-top: 20px;
    margin-bottom: 30px;
    font-weight: 500;
}

.sekcja {
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
    background-color: #1f1f1f;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.sekcja.visible {
    opacity: 1;
    transform: translateY(0);
}

.sekcja:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sekcja:hover {
    background-color: #292929;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.sekcja-zawartosc, #kwiaty, #korzenie, #plantpassport {
    animation: fadeIn 0.8s ease-in-out;
}

@media screen and (max-width: 1000px) {
    .sekcja-zawartosc {
        flex-direction: column;
        gap: 10px;
        display: flex;
    }

    .sekcja-zawartosc{
        width: 100%;
    }


    .sekcja-zawartosc .opis{
        width: 100%;
        text-align: center;
    }

    .sekcja-zawartosc .zdjecie-right {
        order: 0;
}

    .sekcja-zawartosc .opis-right {
        text-align: center;

    }

    #korzenie img {
        width: 100%;
    }
}