/* ============================
   GLOBAL
============================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: #F5F5F7;
    color: #111111;
    font-size: 15px;
    line-height: 1.6;
}

a {
    color: #1565C0;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ============================
   HEADER
============================ */

.header-bar {
    width: 100%;
    background: linear-gradient(to bottom, #3372DF, #1565C0);
    text-align: center;
}

.header-left img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================
   MENU
============================ */

.menu {
    width: 100%;
    background: #111111;
    color: #ffffff;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.8em 1.25em;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    position: absolute;
    left: 1.25em;
    cursor: pointer;
    font-size: 28px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2em;
}

.nav-menu li a {
    color: #ffffff;
    font-weight: 500;
    font-size: 15px;
    padding-bottom: 4px;
    position: relative;
}

.nav-menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #42A5F5;
    transition: width 0.25s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a[aria-current="page"]::after {
    width: 100%;
}

/* ============================
   MENU – RESPONSYWNOŚĆ
============================ */

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #111111;
        padding: 1.25em 0;
        gap: 1.25em;
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }
}

/* ============================
   TREŚĆ
============================ */

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 16px 70px;
}

/* ============================
   PAGE HEADER
============================ */

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 30px;
    margin-bottom: 10px;
    color: #0D47A1;
}

.page-header .lead {
    font-size: 17px;
    color: #333333;
    margin-bottom: 6px;
}

/* ============================
   SEKCJA
============================ */

.section {
    background: #ffffff;
    border-radius: 14px;
    padding: 40px 32px 48px;
    margin-bottom: 50px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.section h2 {
    font-size: 24px;
    margin-bottom: 14px;
    color: #0A4F3C;
}

.section p {
    margin-bottom: 14px;
}

/* ============================
   GALERIA
============================ */

.gallery {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-grid {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.gallery-item {
    width: 320px;
    background: #FAFAFA;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E0E0E0;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-item figcaption {
    padding: 10px;
    font-size: 14px;
    color: #555555;
}

/* ============================
   TABELA CENNIKA
============================ */

.price-table {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto 0;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.price-table th {
    background: #0A4F3C;
    color: #ffffff;
    padding: 18px 16px;
    font-size: 17px;
}

.price-table td {
    padding: 14px 18px;
    font-size: 16px;
    border-bottom: 1px solid #E0E0E0;
}

.price-table tbody tr:nth-child(odd) {
    background: #F8F9FA;
}

.price-table tbody tr:hover {
    background: #E3F2FD;
}

/* ============================
   RESPONSYWNOŚĆ
============================ */

@media (max-width: 1024px) {
    .gallery-item {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 28px 20px 34px;
    }

    .page-header h1 {
        font-size: 26px;
    }

    .gallery-item {
        width: 100%;
    }

    .price-table th,
    .price-table td {
        font-size: 15px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 22px 16px 28px;
    }

    .page-header h1 {
        font-size: 22px;
    }
}
