/* ---------------------- */
/* RESET                  */
/* ---------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------------------- */
/* GLOBAL                 */
/* ---------------------- */

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #fff;
    color: #222;
    line-height: 1.6em; /* jednostka dodana */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------------------- */
/* HEADER (pełna szerokość) */
/* ---------------------- */

header {
    width: 100%;
}

header img {
    width: 100%;
    height: auto;
    display: block;

    /* Fallback dla starszych przeglądarek */
    /* object-fit: cover; usunięte dla zgodności W3C */
}

.site-header {
    background: #fff;
    padding: 15px 0;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.tagline {
    color: #666;
    font-size: 0.9rem;
}

/* ---------------------- */
/* NAVIGATION             */
/* ---------------------- */

.main-nav {
    background: #f9f9f9;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    text-align: center;
}

.main-nav a {
    color: #333;
    margin: 0 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

.main-nav a:hover {
    color: #b8860b;
}

/* ---------------------- */
/* SECTION                */
/* ---------------------- */

.section {
    padding: 20px 0;
}

/* W3C preferuje :first-child zamiast :first-of-type */
.section:first-child {
    padding-top: 10px;
}

h2 {
    color: #444;
    border-bottom: 2px solid #b8860b;
    padding-bottom: 6px;
    margin-bottom: 20px;
}

/* ---------------------- */
/* PHOTO ROW              */
/* ---------------------- */

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    margin-top: 20px;

    /* gap usunięty — nie wszystkie walidatory W3C go akceptują */
}

.row > * {
    margin: 10px; /* zastępuje gap */
}

/* ---------------------- */
/* PHOTO CARD             */
/* ---------------------- */

.photo-card {
    width: 240px;
    text-align: center;
}

.photo-card img {
    width: 100%;
    max-width: 240px;
    height: auto;
    border-radius: 6px;
    display: block;
}

.photo-card figcaption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #555;
    font-style: italic;
}

/* ---------------------- */
/* TABLES                 */
/* ---------------------- */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

th {
    background-color: #f2f2f2;
    color: #333;
}

tr:nth-child(even) {
    background-color: #fafafa;
}

/* ---------------------- */
/* FOOTER                 */
/* ---------------------- */

.site-footer {
    background: #f9f9f9;
    border-top: 1px solid #ccc;
    padding: 20px 0;
    text-align: center;
    color: #555;
    font-size: 0.9rem;
}

.site-footer p {
    margin: 4px 0;
}

/* ---------------------- */
/* RESPONSYWNOŚĆ          */
/* ---------------------- */

@media (max-width: 600px) {

    .photo-card {
        width: 100%;
    }

    .photo-card img {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .row > * {
        margin: 8px;
    }
}

/* ---------------------- */
/* GOOGLE TRANSLATE       */
/* ---------------------- */
/* W3C zgodne — bez !important i bez ukrywania opcji */

#google_translate_element {
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.goog-te-gadget {
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.goog-te-combo {
    width: 100%;
    margin: 0 auto;
}
header {
    width: 100%;
    display: block;
}

header {
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

header {
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

header img {
    width: 60%;
    max-width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
}

header {
    width: 100%;
    display: block;
    text-align: center;
}

header img {
    max-width: 60%;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}
@media (max-width: 600px) {
    header img {
        max-width: 100%;
    }
}
header img {
    border: 2px solid #ccc;
    border-radius: 6px;
}

header img {
    border: 2px solid #ccc;
    border-radius: 6px;
}
@media (max-width: 600px) {
    header img {
        max-width: 100%;
        width: 100%;
    }
}

header {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 0;
    background: #f8f9fa; /* jasne, nowoczesne tło */
}

header img {
    width: 60%;
    max-width: 60%;
    height: auto;
    border-radius: 14px; /* nowoczesne zaokrąglenia */
    box-shadow: 0 8px 24px rgba(0,0,0,0.15); /* miękki cień */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* animacja */
}

/* Subtelny efekt hover — nowoczesny, elegancki */
header img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0,0,0,0.22);
}

/* Mobile: pełna szerokość */
@media (max-width: 600px) {
    header img {
        width: 100%;
        max-width: 100%;
        border-radius: 10px;
    }
}
header {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 30px 0;
    background: linear-gradient(135deg, #fdfdfd, #e8ecf3); /* premium gradient */
}

header img {
    width: 95%;
    max-width: 95%;
    height: auto;
    display: block;
    margin: 0 auto;

    /* Premium wygląd */
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.25);

    /* Subtelna animacja */
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Premium hover — elegancki, nie przesadzony */
header img:hover {
    transform: scale(1.03);
    box-shadow: 0 18px 48px rgba(0,0,0,0.32);
}

/* Mobile: pełna szerokość */
@media (max-width: 600px) {
    header img {
        width: 100%;
        max-width: 100%;
        border-radius: 14px;
    }
}
/* Mobile: pełna szerokość */
@media (max-width: 600px) {
    header img {
        width: 100%;
        max-width: 100%;
        border-radius: 16px;
    }
.lang-switch button:hover {
    background: #00ffff;
    color: #0f0f1a;
    box-shadow: 0 0 20px rgba(0,255,255,0.7);
    transform: scale(1.05);
}
.lang-switch {
    text-align: center;
    margin: 20px 0;
}

.lang-switch button {
    background: #0f0f1a;
    color: #00ffff;
    border: 2px solid #00ffff;
    padding: 8px 16px;
    margin: 4px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s ease;
    box-shadow: 0 0 12px rgba(0,255,255,0.4);
}
}