/* ============================
   GLOBALNE USTAWIENIA
=============================== */
body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #f7f9fb;
    color: #333;
}

header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    background-color: #003d5c;
    color: white;
    padding: 10px 40px;
}

.naglowek-logo img.ikona-logo {
    height: 50px;
    z-index: 2;
}

nav {
    display: flex;
    gap: 15px;
    margin-left: auto;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 8px;
}

nav a:hover {
    text-decoration: underline;
}

/* ============================
   PRZYCISK + TOOLTIP
=============================== */
.menu-ulatwien-dostepu {
    position: relative;
}

.przycisk-menu-ulatwien {
    width: 50px;
    height: 50px;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    color: #005f8f;
    border: 2px solid #005f8f;
    border-radius: 10px;
    cursor: pointer;
}

.przycisk-menu-ulatwien .ikona-ulatwien {
    font-size: 32px !important;
    line-height: 1;
}

.tekst-podpowiedzi-ulatwien {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #005f8f;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .2s;
}

.tekst-podpowiedzi-ulatwien.visible {
    opacity: 1;
}

.menu-ulatwien-dostepu.menu-open .tekst-podpowiedzi-ulatwien {
    opacity: 0 !important;
}

/* ============================
   RESPONSYWNE MENU
=============================== */

.przycisk-menu-resp {
    display: none;
}

.przycisk-menu-resp img.ikona-menu {
    width: 40px;
    height: 30px;
    display: block;
}

@media (max-width: 900px) {

    header {
        min-height: 55px;
    }

    .przycisk-menu-resp {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 13px;
        background-color: #005f8f;
        color: white;
        border: none;
        padding: 10px 50px;
        border-radius: 1000px;
        font-size: 17px;
        cursor: pointer;
        z-index: 3;
    }

    .naglowek-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
        background-color: #003d5c;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 15px 0;
        z-index: 999;
    }

    .naglowek-menu.open {
        display: flex;
    }
}

/* ============================
   FOOTER
=============================== */
footer {
    background-color: #003d5c;
    color: white;
    padding: 40px 20px 20px;
    font-family: "Segoe UI", Arial, sans-serif;
}

.stopka-kontener {
    display: flex;
    justify-content: center;
    gap: 120px;
    margin: 0 auto;
    padding: 0;
}

.stopka-sekcja {
    flex: 0 25px 0;
}

.stopka-sekcja h4 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.stopka-sekcja p,
.stopka-sekcja a {
    margin: 4px 0;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
}

.stopka-sekcja a:hover {
    text-decoration: underline;
}

.stopka-sekcja.menu a,
.stopka-sekcja.social-media a {
    display: block;
    margin: 4px 0;
}

.stopka-dol {
    text-align: center;
    margin-top: 30px;
    font-size: 15px;
    border-top: 1px solid #005f8f;
    padding-top: 10px;
}

@media (max-width: 900px) {
    .stopka-kontener {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .stopka-sekcja {
        width: 100%;
        margin-bottom: 10px;
    }
}