/* Resetowanie stylów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    background-color: #f5f5f5;
}

/* Styl nagłówka i nawigacji */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #79033a;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 0.5rem;
    color: #8BC34A;
}

/* Nawigacja */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    transition: all 0.3s ease;
}

nav ul li a:hover, 
nav ul li a.active {
    background-color: #351e08;
}

/* Style dla rozwijanych list */
.products-dropdown,
.language-dropdown {
    position: relative;
}

.products-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 300px;
    background-color: #351e08;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001; /* Powinna być nad innymi elementami nagłówka */
    /* Brak ograniczeń wysokości tutaj — elementy powinny wyświetlać się jeden pod drugim */
    overflow: visible;
}

.language-list {
    position: absolute;
    top: 50px; 
    right: 100%; /* Lista po lewej stronie przycisku */
    display: block; /* Zmiana z grid na block */
    width: 200px; /* Stała szerokość listy */
    max-height: 400px; /* Maksymalna wysokość listy */
    overflow-y: auto; /* Dodajemy scrollowanie w pionie */
    background-color: #351e08;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 1;
    padding: 0; /* Usunięcie paddingu wewnętrznego */
}

/* Specyficzny selektor dla listy języków, aby wyświetlała się po lewej */
.language-dropdown .language-list {
    right: auto; /* Wyłączamy pozycjonowanie od prawej */
    left: 50%; /* Ustawiamy środek listy na środek przycisku */
    transform: translateX(-50%) translateY(10px); /* Centrujemy horyzontalnie i dodajemy przesunięcie w pionie */
}

.language-dropdown:hover .language-list {
    transform: translateX(-50%) translateY(0); /* Centrujemy horyzontalnie bez przesunięcia w pionie */
}

.products-dropdown:hover .products-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown:hover .language-list {
    opacity: 1;
    visibility: visible;
}

.products-list li a {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.language-list li a {
    padding: 0.8rem 1.5rem; /* Zwiększone paddingi */
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Dodanie linii oddzielającej */
    text-align: left; /* Wyrównanie tekstu do lewej */
    display: block; /* Pełna szerokość elementu */
}

.products-list li a:hover {
    background-color: #79033a;
    padding-left: 1.8rem;
}

.language-list li a:hover {
    background-color: #79033a;
    padding-left: 1.8rem; /* Efekt wsunięcia przy hover */
}

/* Hamburger menu dla responsywności */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
}

/* Media queries dla responsywności */
@media (max-width: 992px) {
    .hamburger {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #2a5a30;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }
    
    nav.active {
        /* Usuwamy ograniczenie wysokości, aby menu mogło rozwinąć się w całości */
        max-height: none;
        overflow: visible;
    }
    
    nav ul {
        flex-direction: column;
        padding: 0 1rem;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .products-list,
    .language-list {
        position: static;
        width: 100%;
        max-height: 0;
        padding-left: 1rem;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        box-shadow: none;
        overflow: hidden;
    }
    
    .language-list {
        display: flex;
        flex-direction: column;
        min-width: auto;
        padding: 0;
    }
    
    /* Resetujemy transformacje dla mobilnego widoku */
    .language-dropdown .language-list {
        left: auto;
        transform: none;
    }
    
    .language-dropdown:hover .language-list {
        transform: none;
    }
    
    .language-list li a {
        text-align: left;
        padding: 0.8rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .products-dropdown.active .products-list,
    .language-dropdown.active .language-list {
        /* Po rozwinięciu pokazujemy całą zawartość bez scrolla — elementy jeden pod drugim */
        max-height: none;
        overflow: visible;
    }
    
    .products-list li a,
    .language-list li a {
        padding: 0.8rem 2rem;
    }
    
    .fa-caret-down {
        float: right;
        transition: transform 0.3s ease;
    }
    
    .products-dropdown.active .fa-caret-down,
    .language-dropdown.active .fa-caret-down {
        transform: rotate(180deg);
    }
}

@media (max-width: 576px) {
    header {
        padding: 0.8rem 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
}
/* Styles dla sekcji Hero */
.hero {
    position: relative;
    height: 70vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.hero:hover .hero-image {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(36, 59, 41, 0.9), rgba(36, 59, 41, 0.7), rgba(36, 59, 41, 0.4));
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
    animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: #8BC34A;
    border-radius: 2px;
}

.hero-description {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background-color: #79033a;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid #79033a;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: #3c7d43;
    border-color: #3c7d43;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: #79033a;
    border-color: white;
}

/* Hero features */
.hero-features {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.hero-feature {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 15px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
}

.hero-feature:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    margin-right: 15px;
    font-size: 1.5rem;
    color: #8BC34A;
    background-color: rgba(255, 255, 255, 0.15);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.feature-text h3 {
    font-size: 1.1rem;
    margin: 0 0 5px 0;
}

.feature-text p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
}

/* Media queries */
@media (max-width: 992px) {
    .hero-features {
        flex-wrap: wrap;
    }
    
    .hero-feature {
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .hero-features {
        flex-direction: column;
    }
    
    .hero-feature {
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}
/* Wspólne style */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section h2 {
    color: #79033a;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #8BC34A;
}

/* Intro Section Styles */
.intro-section {
    padding: 100px 0;
    background-color: #f8f9f8;
    position: relative;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/leaf_pater.jpg');
    background-size: cover;
    opacity: 0.05;
    z-index: 1;
}

.intro-content {
    position: relative;
    z-index: 2;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

.intro-columns {
    display: flex;
    gap: 30px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.intro-column {
    flex: 1;
    min-width: 280px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.intro-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.column-icon {
    width: 70px;
    height: 70px;
    background-color: #f0f7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.column-icon i {
    font-size: 30px;
    color: #79033a;
}

.intro-column h3 {
    color: #79033a;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.intro-column p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.intro-badge {
    display: flex;
    align-items: center;
    background-color: #79033a;;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    margin: 40px auto;
    width: fit-content;
    box-shadow: 0 5px 15px rgba(42, 90, 48, 0.2);
}

.badge-icon {
    margin-right: 15px;
    font-size: 1.8rem;
    color: #8BC34A;
}

.badge-text {
    font-size: 1.2rem;
    font-weight: 600;
}

.intro-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-outline-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
    background-color: transparent;
    border: 2px solid #2a5a30;
    color: #2a5a30;
}

.btn-outline-lg:hover {
    background-color: #2a5a30;
    color: white;
}

/* Plant Info Section Styles */
.plant-info {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.plant-info-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/leaf_pater.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.05;
    z-index: 1;
}

.plant-info .container {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: -15px auto 0;
}

.info-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.info-text {
    flex: 1;
    min-width: 500px;
}

.intro-paragraph {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
}

.info-image {
    flex: 1;
    min-width: 400px;
    height: 500px;
    background-image: url('../images/hero/iglaste-about.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.advantages {
    margin: 40px 0;
}

.advantage {
    display: flex;
    margin-bottom: 25px;
}

.advantage-icon {
    min-width: 50px;
    height: 50px;
    background-color: #f0f7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.advantage-icon i {
    color: #79033a;
    font-size: 1.3rem;
}

.advantage-content h3 {
    color: #79033a;
    margin: 0 0 8px 0;
    font-size: 1.3rem;
}

.advantage-content p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.info-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 150px;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2a5a30;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Media Queries */
@media (max-width: 992px) {
    .intro-columns {
        flex-direction: column;
    }
    
    .info-content {
        flex-direction: column-reverse;
    }
    
    .info-text,
    .info-image {
        min-width: 100%;
    }
    
    .info-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .intro-section,
    .plant-info {
        padding: 70px 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .intro-content p,
    .info-text p {
        font-size: 1rem;
    }
    
    .intro-badge {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .badge-icon {
        margin: 0 0 10px 0;
    }
    
    .intro-cta {
        flex-direction: column;
    }
    
    .btn-lg,
    .btn-outline-lg {
        width: 100%;
        text-align: center;
    }
    
    .info-image {
        height: 300px;
    }
    
    .advantage {
        flex-direction: column;
    }
    
    .advantage-icon {
        margin: 0 0 15px 0;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
}
/* Style dla footera */
.site-footer {
    background-color: #243b29;
    color: #f0f6f0;
    position: relative;
}

.site-footer a {
    color: #f0f6f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #8BC34A;
}

.footer-top {
    padding: 70px 0 50px;
    position: relative;
    overflow: hidden;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('leaf-pattern.png');
    opacity: 0.05;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-logo i {
    margin-right: 10px;
    color: #8BC34A;
    font-size: 2rem;
}

.company-info p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #d0e6d0;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #8BC34A;
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #8BC34A;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
}

.footer-col ul li a::before {
    content: '\f105'; /* FontAwesome strzałka w prawo */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 0.9rem;
    color: #8BC34A;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    padding-left: 5px;
}

.footer-col ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.contact-info ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info ul li i {
    margin-right: 12px;
    color: #8BC34A;
    min-width: 20px;
    text-align: center;
    margin-top: 3px;
}

.footer-languages {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.lang-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-link:hover {
    background-color: #8BC34A;
    color: white;
}

.footer-bottom {
    background-color: #1a2c1e;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #d0e6d0;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #2a5a30;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #3c7d43;
    transform: translateY(-3px);
}

/* Media queries */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 50px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
/* Styl dla sekcji produktów */
.products-section {
    padding: 100px 0;
    background-color: #f8f9f8;
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/leaf-pattern.png');
    opacity: 0.03;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Nagłówek sekcji */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2a5a30;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #8BC34A;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 10px auto 0;
}

/* Siatka kategorii */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.category-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.category-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-content h3 {
    color: #2a5a30;
    font-size: 1.8rem;
    margin: 0 0 15px 0;
}

.category-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.category-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    margin-top: auto;
}

.category-examples span {
    background-color: #f0f7eb;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #2a5a30;
}

.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-outline {
    border: 2px solid #2a5a30;
    color: #2a5a30;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #2a5a30;
    color: white;
}

/* CTA Sekcja */
.products-cta {
    background-color: #2a5a30;
    border-radius: 10px;
    display: flex;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-content {
    flex: 1;
    padding: 40px;
    color: white;
    max-height: 15vh;
}

.cta-content h3 {
    font-size: 2rem;
    margin: 0 0 15px 0;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-image {
    flex: 1;
    min-height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-primary {
    background-color: #8BC34A;
    color: white;
    border: 2px solid #8BC34A;
    margin-right: 10px;
}

.btn-primary:hover {
    background-color: #7cb342;
    border-color: #7cb342;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Polecane produkty */
.featured-products {
    margin-top: 70px;
}

.featured-products h3 {
    color: #2a5a30;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.featured-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 120%;
}

.featured-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.featured-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-item:hover .featured-image img {
    transform: scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #8BC34A;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.featured-item:nth-child(2) .featured-badge {
    background-color: #2196F3; /* Niebieski dla nowości */
}

.featured-item:nth-child(4) .featured-badge {
    background-color: #F44336; /* Czerwony dla promocji */
}

.featured-info {
    padding: 20px;
}

.featured-info h4 {
    color: #2a5a30;
    font-size: 1.3rem;
    margin: 0 0 5px 0;
}

.latin-name {
    font-style: italic;
    color: #666;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.featured-desc {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.featured-link {
    color: #2a5a30;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    position: relative;
    padding-right: 20px;
    transition: all 0.3s ease;
}

.featured-link::after {
    content: '\f105'; /* FontAwesome strzałka w prawo */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.featured-link:hover {
    color: #8BC34A;
    padding-right: 25px;
}

.featured-link:hover::after {
    right: -5px;
}

.see-all-products {
    text-align: center;
    margin-top: 30px;
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
    background-color: #2a5a30;
    color: white;
    border: 2px solid #2a5a30;
}

.btn-large:hover {
    background-color: #3c7d43;
    border-color: #3c7d43;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Media Queries */
@media (max-width: 992px) {
    .products-cta {
        flex-direction: column;
    }
    
    .cta-image {
        min-height: 250px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .products-section {
        padding: 70px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .category-content h3 {
        font-size: 1.6rem;
    }
    
    .cta-content {
        padding: 30px;
    }
    
    .cta-content h3 {
        font-size: 1.7rem;
    }
    
    .btn-primary,
    .btn-secondary {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .featured-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-content {
        padding: 20px;
    }
    
    .category-image {
        height: 180px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
}