/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
    background-color: #f4f4f4;
}

header {
    background: linear-gradient(to top, #4CAF50, #ffffff 65%);
    color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
}

header .logo img {
    max-width: 150px;
    margin: 0 auto;
    display: block;
}

header .tagline {
    font-size: 1.2rem;
    color: #fff;
    margin-top: 15px;
    font-weight: 300;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
}

nav ul li a:hover, nav ul li a:focus {
    color: #ff9800;
    border-bottom: 2px solid #ff9800;
}

main {
    padding: 20px;
}

section {
    margin-bottom: 40px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Blog Posts */
.blog-posts {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-posts article {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.blog-posts article:hover {
    transform: scale(1.05);
}

.blog-posts article img {
    width: 100%;
    height: auto;
}

.blog-posts article h3 {
    margin: 15px 0 10px;
}

.blog-posts article p {
    padding: 0 15px 15px;
}

/* Blog Previews */
#blog-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-preview {
    flex: 1 1 calc(33.333% - 20px);
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-preview:hover {
    transform: scale(1.05);
}

.blog-preview img {
    width: 100%;
    height: auto;
}

.blog-preview h3 {
    margin: 10px;
    font-size: 1.2em;
    color: #333;
}

.blog-preview p {
    margin: 10px;
    color: #666;
}

/* FAQ */
#faq {
    margin: 20px 0;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-item h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.faq-item p {
    margin-left: 20px;
}

#show-more {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1em;
}

#show-more:hover {
    background-color: #45a049;
}

/* Forms */
form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
}

form label {
    margin-bottom: 5px;
    font-weight: bold;
}

form input, form textarea, form button {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

form button {
    background: #4CAF50;
    color: #fff;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

form button:hover {
    background: #45a049;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer .socials a {
    margin: 0 10px;
    display: inline-block;
}

footer .socials img {
    width: 30px;
    height: auto;
}

footer a {
    color: #FFD700;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Media Queries */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .blog-posts {
        flex-direction: column;
    }

    .blog-posts article, .blog-preview {
        width: 100%;
    }
}
#blog-previews {
    display: grid; /* Używamy układu siatki */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Kolumny dopasowują się do szerokości */
    gap: 20px; /* Odstępy między elementami */
    margin-bottom: 40px;
}

.blog-preview {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center; /* Wyrównanie treści */
}

.blog-preview:hover {
    transform: scale(1.05); /* Powiększenie przy najechaniu */
}

.blog-preview img {
    width: 100%;
    height: auto;
}

.blog-preview h3 {
    margin: 10px;
    font-size: 1.2em;
    color: #333;
}

.blog-preview p {
    margin: 10px;
    color: #666;
}
#current-offer {
    margin: 40px 0;
    text-align: center;
}

#current-offer h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.offer-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.offer-highlight:hover {
    transform: scale(1.05);
}

.offer-highlight img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.offer-highlight h3 {
    font-size: 1.5rem;
    color: #4CAF50;
    margin-bottom: 10px;
}

.offer-highlight p {
    font-size: 1rem;
    color: #666;
    margin: 0 20px;
}
.featured-image {
    max-width: 80%;
    margin: 20px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.promotions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.promotion {
    background: #ffffff; /* Zmieniono na biały dla lepszego kontrastu */
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(50% - 20px);
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.promotion h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #4CAF50; /* Kolor pasujący do stylu strony */
}

.promotion-image {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.promotion ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    color: #333; /* Ustawiono ciemny kolor tekstu */
}

.promotion ul li {
    margin: 5px 0;
    font-size: 1rem;
}

.promotion ul li::before {
    content: "🎁 ";
    margin-right: 5px;
}

@media (max-width: 768px) {
    .promotion {
        flex: 1 1 100%; /* Karty na pełnej szerokości dla mniejszych ekranów */
    }
}
#kontakt {
    background: linear-gradient(to bottom, #ffffff, #f4f4f4);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

#kontakt h2 {
    font-size: 2rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.kontakt-intro {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
}

.kontakt-options {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.kontakt-option {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    max-width: 300px;
    flex: 1 1 calc(50% - 20px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.kontakt-option:hover {
    transform: scale(1.05);
}

.kontakt-option p {
    font-size: 1rem;
    color: #333;
    margin: 10px 0;
}

.kontakt-option a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

.kontakt-option a:hover {
    text-decoration: underline;
}

.kontakt-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .kontakt-options {
        flex-direction: column;
    }

    .kontakt-option {
        max-width: 100%;
    }
}
#cookie-banner {
    position: fixed; /* Pasek będzie przypięty do dołu strony */
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8); /* Ciemne tło */
    color: #fff;
    padding: 20px;
    z-index: 1000; /* Wyższy priorytet, aby zawsze był na wierzchu */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#cookie-banner .cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#cookie-banner .cookie-buttons {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}
.cookie-buttons button {
    background: #4CAF50; /* Zielony kolor */
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cookie-buttons button:hover {
    background: #45a049; /* Ciemniejszy zielony przy najechaniu */
}

.cookie-buttons button#manage-cookies {
    background: #ff9800; /* Pomarańczowy kolor dla przycisku "Zarządzaj" */
}

.cookie-buttons button#manage-cookies:hover {
    background: #e68a00; /* Ciemniejszy pomarańczowy przy najechaniu */
}
#cookie-preferences {
    display: none; /* Domyślnie ukryty */
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #333;
    text-align: left;
    width: 80%; /* Dopasowany do szerokości */
    max-width: 600px; /* Maksymalna szerokość */
    position: fixed;
    bottom: 20px; /* Wyświetlany tuż nad paskiem cookies */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001; /* Wyższy niż pasek cookies */
}

#cookie-preferences h3 {
    color: #4CAF50;
    margin-bottom: 15px;
}

#cookie-preferences form div {
    margin-bottom: 10px;
}

#cookie-preferences form label {
    margin-left: 10px;
    font-size: 0.9rem;
    color: #666;
}

#cookie-preferences .cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}
