/* ============================
   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;
}

/* Linki */
a {
    color: #1565C0;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ============================
   HEADER (BANER)
============================ */

.header-bar {
    width: 100%;
    background: linear-gradient(to bottom, #3372DF, #1565C0);
    padding: 0;
    text-align: center;
}

.header-left img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================
   MENU POD HEADEREM
============================ */

.menu.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.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;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding-bottom: 4px;
}

.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%;
}

/* ============================
   RESPONSYWNOŚĆ MENU
============================ */

@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: 40px 16px 60px;
}

/* Nagłówek strony */

.page-header {
    margin-bottom: 32px;
    text-align: left;
}

.page-header h1 {
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #0D47A1;
}

.page-header .lead {
    font-size: 16px;
    color: #333333;
}

/* Sekcje */

.section {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.section h2 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #0D47A1;
}

.section h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1565C0;
}

.section p {
    margin-bottom: 10px;
    color: #333333;
}

/* Listy */

.list {
    margin-left: 18px;
    margin-top: 8px;
}

.list li {
    margin-bottom: 6px;
}

/* Godziny otwarcia */

.hours-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.hours-box {
    background: #F5F5F7;
    border-radius: 10px;
    padding: 16px 18px;
    border: 1px solid #E0E0E0;
}

.hours-box p {
    margin-bottom: 6px;
}

/* Galeria */

.gallery p {
    margin-bottom: 16px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.gallery-item {
    background: #FAFAFA;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #E0E0E0;
    display: flex;
    flex-direction: column;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
    filter: brightness(1.03);
}

.gallery-item figcaption {
    padding: 8px 10px 10px;
    font-size: 13px;
    color: #555555;
}

/* ============================
   RESPONSYWNOŚĆ TREŚCI
============================ */

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hours-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 24px 12px 40px;
    }

    .page-header h1 {
        font-size: 22px;
    }

    .section {
        padding: 18px 16px 22px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hours-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================
   STOPKA
============================ */

.row-center {
    text-align: center;
    font-size: 12px;
    color: #8E8E93;
    padding: 20px 0;
}

/* ======== TABELKA ==== */

.price-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.price-table th {
    background: #0D47A1;
    color: #ffffff;
    padding: 14px 16px;
    font-size: 16px;
    text-align: center;
}

.price-table td {
    padding: 12px 16px;
    font-size: 15px;
    color: #333333;
    text-align: center;
    border-bottom: 1px solid #E0E0E0;
}

/* Co drugi wiersz inny kolor */
.price-table tbody tr:nth-child(odd) {
    background: #F8F9FA;
}

.price-table tbody tr:nth-child(even) {
    background: #ffffff;
}

/* Efekt hover */
.price-table tbody tr:hover {
    background: #E3F2FD;
}

.price-table td:first-child {
    text-align: left;
}
