/* Style dla rozwijanych list */
.products-dropdown,
.language-dropdown {
    position: relative;
}

.products-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 300px;
    background-color: #2a5a30;
    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: #2a5a30;
    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: #3c7d43;
    padding-left: 1.8rem;
}

.language-list li a:hover {
    background-color: #3c7d43;
    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;
    }
}
/* Fallback dla obrazka jeśli video nie załaduje się */
.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero .container {
    max-width: 1200px;
    padding: 0 20px;
    position: relative;
    z-index: 2; /* Wyższy z-index niż nakładka */
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #2a5a30;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #2a5a30;
}

.btn:hover {
    background-color: #3c7d43;
    border-color: #3c7d43;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: #2a5a30;
    border-color: white;
}

/* Media queries dla responsywności */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 80%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}
/* Styl dla sekcji intro */
.intro-section {
    padding: 100px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/leaf_pater.webp');
    opacity: 0.1;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.intro-section h2 {
    text-align: center;
    font-size: 2.8rem;
    color: #2a5a30;
    margin-bottom: 60px;
    position: relative;
}

.intro-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #8BC34A;
}

.intro-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Timeline styling */
.intro-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 0 auto 40px;
    max-width: 1000px;
}

.intro-timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #d1e7c5;
    z-index: 1;
}

.timeline-marker {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 22%;
}

.timeline-marker::before {
    content: attr(data-year);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: #2a5a30;
    border-radius: 50%;
    color: white;
    font-weight: 700;
    margin: 0 auto 15px;
    border: 5px solid white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-marker:hover::before {
    transform: scale(1.1);
    background-color: #3c7d43;
}

.timeline-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-10px);
}

.timeline-content h3 {
    color: #2a5a30;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Intro text styling */
.intro-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    text-align: center;
}

/* Cards styling */
.intro-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.intro-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #8BC34A;
}

.intro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #f0f7eb;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 30px;
    color: #2a5a30;
}

.intro-card h3 {
    color: #2a5a30;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.intro-card p {
    color: #666;
    line-height: 1.7;
}

/* Numbers styling */
.intro-numbers {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    background-color: #2a5a30;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.number-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.number-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
    line-height: 1;
}

.number-label {
    color: #d1e7c5;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animation classes */
.fade-in-up {
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.active {
    opacity: 1;
    transform: scale(1);
}

/* Media queries */
@media (max-width: 992px) {
    .intro-timeline {
        flex-direction: column;
        gap: 50px;
        margin-bottom: 60px;
    }
    
    .intro-timeline::before {
        width: 4px;
        height: 100%;
        left: 35px;
        top: 0;
    }
    
    .timeline-marker {
        width: 100%;
        display: flex;
        text-align: left;
    }
    
    .timeline-marker::before {
        margin: 0;
        margin-right: 30px;
    }
    
    .timeline-content {
        flex: 1;
    }
    
    .number-item {
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .intro-section {
        padding: 70px 0;
    }
    
    .intro-section h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .intro-text {
        font-size: 1rem;
        text-align: left;
    }
    
    .intro-content {
        gap: 40px;
    }
    
    .intro-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .intro-card {
        max-width: 100%;
    }
    
    .intro-numbers {
        padding: 30px;
    }
    
    .number-item {
        min-width: 100px;
    }
    
    .number-value {
        font-size: 2rem;
    }
    
    .number-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .intro-numbers {
        flex-direction: column;
        gap: 30px;
    }
    
    .number-item {
        width: 100%;
    }
}
/* Styl dla sekcji produktów */
.products-section {
    padding: 80px 0;
    background-color: #f5f9f5;
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('leaf-pater.webp');
    opacity: 0.03;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.products-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2a5a30;
    margin-bottom: 15px;
    position: relative;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Kategorie produktów */
.categories {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.category-card {
    display: flex;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.category-img {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;

    
    color: white;
    padding: 20px; 
}

.category-img i {
    font-size: 4rem;
    transition: transform 0.3s ease;
}

.category-card:hover .category-img i {
    transform: scale(1.1);
}

.category-info {
    padding: 30px 40px;
    flex: 1;
}

.category-info h3 {
    color: #2a5a30;
    font-size: 1.8rem;
    margin-bottom: 15px;
    position: relative;
}

.category-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #8BC34A;
}

.category-info p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #2a5a30;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #2a5a30;
}

.btn:hover {
    background-color: #3c7d43;
    border-color: #3c7d43;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Animacje */
.category-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.category-card.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Media queries */
@media (max-width: 768px) {
    .category-card {
        flex-direction: column;
    }
    
    .category-img {
        min-height: 150px;
        width: 100%;
        min-width: auto;
    }
    
    .category-info {
        padding: 25px;
    }
    
    .category-info h3 {
        font-size: 1.5rem;
    }
    
    .products-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .products-section {
        padding: 60px 0;
    }
    
    .category-img {
        min-height: 120px;
    }
    
    .category-img i {
        font-size: 3rem;
    }
    
    .category-info h3 {
        font-size: 1.3rem;
    }
}
/* Styl dla sekcji galerii */
.gallery-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #555;
    font-size: 1.1rem;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    height: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-caption h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.gallery-caption p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Style dla modalu */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.show {
    opacity: 1;
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2a5a30;
    margin-bottom: 15px;
    position: relative;
}

.gallery-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #8BC34A;
}
.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.gallery-modal.show .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1200;
    transition: color 0.3s ease, transform 0.3s ease;
}

.modal-close:hover {
    color: #f39c12;
    transform: rotate(90deg);
}

.modal-caption {
    text-align: center;
    color: white;
    padding: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-modal.show .modal-caption {
    transform: translateY(0);
}

.modal-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    transform: translateY(-50%);
    z-index: 1200;
}

.nav-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav-button:hover {
    background-color: rgba(42, 90, 48, 0.8);
    transform: scale(1.1);
}

.nav-button i {
    font-size: 1.5rem;
}

.modal-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Animacje dla galerii */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.gallery-item {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

/* Opóźnienia dla elementów galerii */
.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

/* Media queries */
@media (max-width: 992px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .nav-button {
        width: 40px;
        height: 40px;
    }
    
    .modal-controls {
        padding: 0 15px;
    }
    
    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
}
/* Style dla sekcji kontaktowej */
.contact-section {
    padding: 80px 0;
    background-color: #f8f9f8;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('leaf-pater.webp');
    opacity: 0.03;
    z-index: 1;
}

.contact-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2a5a30;
    margin-bottom: 50px;
    position: relative;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #8BC34A;
}

.contact-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 350px;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-form {
    flex: 1;
    min-width: 350px;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-section h3 {
    color: #2a5a30;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f6f0;
}

/* Dane kontaktowe */
.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f6f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #2a5a30;
    transition: all 0.3s ease;
}

.contact-item:hover .icon-wrapper {
    background-color: #2a5a30;
    color: white;
    transform: scale(1.05);
}

.contact-details p {
    margin: 0;
    color: #555;
}

.contact-details a {
    color: #2a5a30;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #8BC34A;
    text-decoration: underline;
}

/* Godziny otwarcia */
.hours-container {
    margin-bottom: 30px;
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hours-item {
    display: flex;
    align-items: center;
}

.hours-details {
    display: flex;
    flex-direction: column;
}

.day {
    font-weight: 600;
    color: #444;
}

.time {
    color: #666;
}

.time.closed {
    color: #666;
    font-weight: 600;
}

/* Social media links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #f0f6f0;
    border-radius: 50%;
    color: #2a5a30;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #2a5a30;
    color: white;
    transform: translateY(-3px);
}

/* Formularz */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e9e0;
    border-radius: 6px;
    font-size: 1rem;
    color: #444;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #8BC34A;
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 3px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #2a5a30;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #3c7d43;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Form message */
.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    display: block;
}

.form-message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
    display: block;
}

/* Media queries */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info,
    .contact-form {
        min-width: 100%;
    }
    
    .contact-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .contact-section h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 20px;
    }
    
    .icon-wrapper {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }
    
    .submit-btn {
        padding: 10px 20px;
    }
}
/* 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-pater.webp');
    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;
    }
}