/* Ogólne style */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f8f9fa;
    color: #333;
}

/* Kontener dla wyśrodkowania treści i nadania maksymalnej szerokości */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: #1a523c;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

/* Nagłówek */
header {
    background-color: #ffffff;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Styl dla klikalnego obszaru nagłówka */
header a.header-link {
    text-decoration: none; /* Usuń podkreślenie linku */
    color: inherit; /* Dziedzicz kolor tekstu */
    display: block; /* Link jako blok, żeby otaczał zawartość */
}

header .header-content {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     gap: 0;
     padding: 0 20px;
}

header .logo {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto 10px; /* Odstęp pod logo */
    border-radius: 8px;
    /* --- Style utrudniające pobranie --- */
    -webkit-user-drag: none;
    user-drag: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    /* ----------------------------------- */
}

header h1 {
    color: #1a523c;
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
}

/* Sekcja "O nas", "Aktualne Okazy" i Polityka Prywatności */
.about-section, .offer-section, .policy-content-section {
    margin: 30px auto;
    max-width: 960px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 40px 20px;
    text-align: center; /* Centralne wyrównanie dla nagłówków w sekcjach */
}

/* Specyficzne style dla tekstu w sekcjach (wyrównanie do lewej) */
.about-section p, .offer-section p, .policy-content-section p,
.policy-content-section ul, .policy-content-section li { /* Dodano style dla list */
    margin-bottom: 20px;
    text-align: left; /* Wyrównanie akapitów i list do lewej */
    line-height: 1.8; /* Zwiększona wysokość linii dla czytelności w długim tekście */
}

/* Style dla podtytułów w sekcji polityki */
.policy-content-section h3, .policy-content-section h4 {
    color: #1a523c;
    text-align: left; /* Wyrównaj podtytuły do lewej */
    margin-top: 30px; /* Odstęp nad podtytułem */
    margin-bottom: 15px; /* Odstęp pod podtytułem */
}


/* Buttony ogólne */
.button {
    display: inline-block;
    background-color: #198754;
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #157347;
}

/* Styl dla przycisku powrotu na stronę główną */
.return-button-container {
    text-align: center; /* Centrowanie przycisku */
    margin-top: 30px; /* Odstęp nad przyciskiem */
    margin-bottom: 40px; /* Odstęp pod przyciskiem */
}


/* Stopka */
footer {
    background-color: #2f7b5b;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

footer h3 {
    color: #e0e0e0;
    margin-bottom: 15px;
}

.social-links {
    margin-bottom: 15px;
}

footer .social-links a {
    display: inline-block;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 2.5rem;
    color: #fff;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
     color: #a5d6a7;
}

/* Style dla dolnych linków w stopce (np. Polityka Prywatności, Copyright) */
.footer-bottom-links {
    margin-top: 20px;
    font-size: 0.9rem;
}

.footer-bottom-links a {
    color: #e0e0e0;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom-links p {
    margin: 10px 0 0;
    color: #e0e0e0;
}


/* Style dla mniej inwazyjnego baneru cookie (nie używany na tej podstronie, ale style są w tym samym pliku) */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: auto;
    max-width: 320px;
    background-color: #ffffff;
    color: #333;
    text-align: left;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-banner p {
    margin: 0 0 15px 0;
}

.cookie-banner a {
    color: #1a523c;
    text-decoration: underline;
}

.cookie-banner .accept-button {
    background-color: #198754;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    align-self: flex-end;
}

.cookie-banner .accept-button:hover {
    background-color: #157347;
}

/* Media Queries - responsywność */
@media (min-width: 768px) {
    header .logo {
        max-width: 200px;
    }

    header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    header .logo {
        max-width: 100px;
    }

    header h1 {
         font-size: 1.8rem;
    }

    .button {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

     .about-section, .offer-section, .policy-content-section {
        padding: 30px 15px;
        margin: 20px auto;
    }

     .container {
         padding: 0 15px;
     }

     footer .social-links a {
        font-size: 2rem;
     }

     .footer-bottom-links a, .footer-bottom-links p {
         margin: 0 5px;
         display: block;
     }
}