* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "karla", sans-serif;
    overflow-x: hidden;
}

:root {
    --eco-white: #f7f7f7;
    --eco-green: #3d8361;
    --eco-brown: #6b4f4f;
    --eco-black: #1c1c1c;
}

body {
    background: url(img/las.jpg) no-repeat center/cover;
    color: #1c1c1c;
}

nav {
    background-color: #1c1c1c;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}
.logo-img {
    height: 50px; /* Dostosuj wysokość logo */
    width: auto;
    transition: transform 0.3s ease;
}
.logo-img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    color: #f7f7f7;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #6b4f4f;
}

section {
    padding: 4rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero {
    position: relative;
    text-align: center;
    margin-top: 60px;
    overflow: hidden;
}
a {
    color: rgb(89, 89, 223);
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/img/b.jpg) no-repeat center/cover;
    filter: blur(3px);
    z-index: -1;
}

.hero .content-box {
    position: relative;
    z-index: 1;
    background-color: #f7f7f7;
    backdrop-filter: blur(2px);
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0px -1px 50px -3px rgba(0, 0, 0, 2);
}
.hero-list {
    text-align: left;
    margin: 1.5rem auto;
    padding-left: 0; /* Resetujemy domyślny padding */
    list-style: disc inside; /* Kropki wewnątrz kontenera */
}
.hero-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #444;
    padding-left: 1rem; /* Dodajemy przestrzeń przed tekstem */
    text-indent: -0.7rem; /* Wyrównanie tekstu z kropkami */
}
.hero-content ul {
    list-style-type: disc !important;
}
.hero-content li {
    display: list-item !important;
}
h1,
h2 {
    margin-bottom: 1rem;
    text-align: center;
}

h1 {
    font-size: 3.5rem;
    color: #3d8361;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.animated {
    animation-duration: 1.5s;
    animation-fill-mode: both;
}

.fadeIn {
    animation-name: fadeIn;
}
h2 {
    color: #3d8361;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.5rem;
    opacity: 0.9;
    color: black;
}

.section-dark {
    background-color: #4b3832;
    color: black;
}
#biomasa h1 {
    color: #3d8361;
    font-size: 2.5rem;
}
#biomasa h2 {
    color: black;
}

.content-box {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #f7f7f7;
    border-radius: 10px;
    box-shadow: 0px -1px 50px -3px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

footer {
    background-color: #1c1c1c;
    color: #f7f7f7;
    padding: 4rem 2rem;
    text-align: center;
}
footer p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

/*do produkcji*/
.production {
    padding: 4rem 0;
    margin-top: 80px;
}

.production-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 kolumny o równej szerokości */
    gap: 2rem;
    margin-top: 3rem;
}

.production-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.production-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.production-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    background: white;
}

.card-content h3 {
    color: #3d8361;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cta-button {
    color: #3d8361;
    font-weight: bold;
    display: inline-block;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.production-card:hover .cta-button {
    border-bottom-color: #3d8361;
}
/* SKUP */

.skup-section {
    padding: 4rem 0;
    margin-top: 80px;
}

.skup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.info-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-block {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-block h2 {
    color: #3d8361;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.info-block ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1rem 0;
    color: #666;
}

.info-block ul li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.image-column {
    position: relative;
    height: 100%;
}

.skup-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* wspolpraca */

/* Dodaj te style do style.css */

.wspolpraca-section {
    padding: 2rem 0;
    margin-top: 80px;
    text-align: center;
    min-height: auto; /* Usunięto min-height: 100vh */
}

.section-title {
    color: #3d8361;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.wspolpraca-image-container {
    max-width: 800px; /* Zmniejszona maksymalna szerokość */
    height: 300px; /* Stała wysokość */
    margin: 0 auto 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.wspolpraca-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.wspolpraca-image:hover {
    transform: scale(1.03);
}

.text-block {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.text-block h2 {
    color: #3d8361;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.text-block ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1rem 0;
    color: #666;
    columns: 2;
    column-gap: 3rem;
}

.text-block ul li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    break-inside: avoid;
}

.kontakt-section {
    padding: 4rem 0;
    margin-top: 80px;
}

.section-title {
    color: #3d8361;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}
/* kontakt*/
.kontakt-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    width: 1500px;
    margin: 0 auto;
}
.kontakt-container {
    display: flex;
    gap: 3rem;
    align-items: center;
    width: 100%;
}
.kontakt-map {
    margin-top: -250px;
    flex: 2.5;
    height: 600px;
}
.kontakt-info {
    flex: 1.8;
    background: white;
    padding: 3.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 1000px;
    display: flex;
    flex-direction: column;
    font-size: 20px;
}
.kontakt-info h2 {
    color: #3d8361;
    margin-bottom: 1.5rem;
}
@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.5rem;
    }

    nav ul {
        font-size: 13px;
        gap: 0.3rem;
    }

    .logo-img {
        height: 35px;
    }
}
@media (max-width: 768px) {
    nav ul {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 14px;
        margin: 0.5rem 0;
    }
    .nav-container {
        padding: 0 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    nav ul li {
        flex: 1 0 auto;
        text-align: center;
    }

    .logo-img {
        height: 40px;
    }
    h1 {
        font-size: 2.5rem;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .features {
        grid-template-columns: 1fr;
    }

    .feature-item {
        padding: 1rem;
    }

    .feature-item img {
        max-height: 300px;
        width: 100%;
    }
    .footer-content {
        flex-direction: column;
    }
}
@media (max-width: 480px) {
    .feature-item img {
        max-height: 200px;
    }
}
.o-nas-section {
    padding: 4rem 0;
    margin-top: 80px;
}

.o-nas-grid {
    display: grid;
    grid-template-columns: 40% 55%; /* 40% na zdjęcia, 60% na tekst */
    gap: 3rem;
    align-items: start;
}

/* Lewa kolumna - zdjęcia */
.image-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.image-block {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.o-nas-image {
    width: 100%;
    height: 300px; /* Stała wysokość zdjęć */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.o-nas-image:hover {
    transform: scale(1.05);
}

/* Prawa kolumna - tekst */
.text-column {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.text-column ul li {
    font-size: 18px;
}

.text-block h2 {
    color: #3d8361;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.text-block p {
    color: #555;
    line-height: 1.3;
    margin-bottom: 1.3rem;
}

.text-block ul {
    list-style-type: disc !important; /* Wymusza wyświetlanie kropek */
    padding-left: 1.5rem !important; /* Dodaje wcięcie dla kropek */
    margin: 1rem 0 !important; /* Marginesy */
    color: #666 !important;
}

.text-block ul li {
    margin-bottom: 0.75rem !important; /* Odstęp między elementami listy */
    line-height: 2 !important; /* Interlinia */
    display: list-item !important;
}
@media (max-width: 1200px) {
    .o-nas-grid {
        grid-template-columns: 1fr; /* Jedna kolumna na mniejszych ekranach */
    }

    .image-column {
        order: -1; /* Zdjęcia na górze */
    }

    .o-nas-image {
        height: 250px; /* Mniejsza wysokość zdjęć */
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .text-column {
        padding: 2rem;
    }

    .text-block h2 {
        font-size: 1.5rem;
    }

    .text-block p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }

    .text-column {
        padding: 1.5rem;
    }

    .text-block h2 {
        font-size: 1.3rem;
    }

    .text-block p {
        font-size: 0.9rem;
    }
}
@media (max-width: 1024px) {
    .production-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 kolumny na tabletach */
    }
}

@media (max-width: 768px) {
    .production-grid {
        grid-template-columns: 1fr; /* 1 kolumna na mobile */
        max-width: 500px;
        margin: 2rem auto;
    }
}
@media (max-width: 1024px) {
    .skup-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .image-column {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .info-block {
        padding: 1.5rem;
        margin-top: 50px;
    }

    .info-block h2 {
        font-size: 1.5rem;
    }
    .image-column {
        display: none;
    }
}
@media (max-width: 1024px) {
    .wspolpraca-image-container {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .wspolpraca-image-container {
        height: 200px;
        margin-bottom: 1.5rem;
    }

    .text-block {
        padding: 1.5rem;
    }

    .text-block h2 {
        font-size: 1.5rem;
    }

    .text-block ul {
        columns: 1;
    }
    .wspolpraca-image-container {
        display: none;
    }
    .text-block {
        margin-top: 50px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .wspolpraca-image-container {
        height: 150px;
    }

    .text-block {
        padding: 1rem;
    }
}
@media (max-width: 1024px) {
    .kontakt-wrapper {
        width: 90%; /* Zmniejsz szerokość kontenera */
        padding: 2rem; /* Mniejszy padding */
    }

    .kontakt-container {
        flex-direction: column; /* Układ pionowy */
        gap: 2rem; /* Odstęp między mapką a danymi */
    }

    .kontakt-map {
        flex: 1; /* Pełna szerokość */
        height: 400px; /* Zmniejszona wysokość mapy */
    }

    .kontakt-info {
        flex: 1; /* Pełna szerokość */
        padding: 2rem; /* Mniejszy padding */
        height: auto; /* Automatyczna wysokość */
    }

    .kontakt-info h2 {
        font-size: 1.5rem; /* Mniejszy nagłówek */
    }

    .kontakt-info p {
        font-size: 1rem; /* Mniejszy rozmiar tekstu */
    }

    .kontakt-info img {
        width: 100px; /* Mniejsze logo */
    }
}

@media (max-width: 768px) {
    .kontakt-map {
        height: 300px; /* Jeszcze mniejsza wysokość mapy */
    }

    .kontakt-info {
        padding: 1.5rem; /* Jeszcze mniejszy padding */
    }

    .kontakt-info h2 {
        font-size: 1.3rem; /* Mniejszy nagłówek */
    }

    .kontakt-info p {
        font-size: 0.9rem; /* Mniejszy rozmiar tekstu */
    }
    body {
        background: none;
        background-color: #f7f7f7;
    }
}

@media (max-width: 480px) {
    .kontakt-map {
        height: 250px; /* Minimalna wysokość mapy */
    }

    .kontakt-info {
        padding: 1rem; /* Minimalny padding */
    }

    .kontakt-info h2 {
        font-size: 1.2rem; /* Minimalny nagłówek */
    }

    .kontakt-info p {
        font-size: 0.8rem; /* Minimalny rozmiar tekstu */
    }

    .kontakt-info img {
        width: 80px; /* Minimalne logo */
    }
}
/* Sekcja galerii */
.gallery-section {
    padding: 4rem 0;
    margin-top: 80px;
}

.gallery-container {
    display: flex;
    height: 70vh; /* Wysokość galerii */
    max-width: 1700px;
    margin: 0 auto;
    gap: 0.5rem;
    padding: 0 1rem;
    margin-top: 200px;
}

.gallery-item {
    flex: 1;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    flex: 3;
}

.gallery-item:hover img {
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .gallery-container {
        flex-direction: column;
        height: auto;
    }

    .gallery-item {
        height: 300px;
    }

    .gallery-item:hover {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        height: 200px;
    }
}
