/* Reset & base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #e2d8c1;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #22327d;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Header */
header.pasekgorny {
    background-color: #22327d;
    color: #f8d080;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 18px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    font-size: 1.1rem;
}

header .znaczek img {
    vertical-align: middle;
    width: 40px;
    height: 25px;
    margin: 0 6px;
    transition: opacity 0.2s, transform 0.2s;
}

header .znaczek img:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

header .paragraf1 {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Logo */
.logo {
    text-align: center;
    background-color: #22327d;
    padding: 32px 0 24px 0;
}

.logo img {
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(34,50,125,0.09);
}

/* Navigation */
.wybor {
    display: flex;
    justify-content: center;
    gap: 32px;
    background-color: #2b366a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 14px 0;
    margin-bottom: 36px;
    border-radius: 0 0 8px 8px;
}

.wybor a {
    color: #f8d080;
    text-decoration: none;
    font-size: 1.18rem;
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    font-family: 'Playfair Display', serif;
    box-shadow: 0 1px 4px rgba(34,50,125,0.04);
}

.wybor a:hover, .wybor a:focus {
    background-color: #22327d;
    color: #ffd700;
    box-shadow: 0 2px 12px rgba(34,50,125,0.12);
    outline: none;
}

/* Main content */
.strona {
    max-width: 900px;
    margin: 0 auto 36px auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 36px 32px;
}

.strona h1, .strona h2 {
    color: #22327d;
    font-family: 'Playfair Display', serif;
    margin-bottom: 18px;
}

.strona h1 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.strona h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 28px;
}

.strona ul {
    margin-left: 22px;
    margin-bottom: 18px;
}

.strona li {
    margin-bottom: 7px;
}

.strona p, .strona address {
    margin-bottom: 18px;
}

.strona address {
    font-style: normal;
    color: #22327d;
    font-weight: 500;
}

/* Footer */
footer.klasa {
    background-color: #22327d;
    color: #f8d080;
    text-align: center;
    padding: 24px 0 16px 0;
    font-size: 1.1rem;
    border-radius: 0 0 8px 8px;
    margin-top: 48px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.04);
}

footer.klasa small {
    display: block;
    margin-top: 8px;
    font-size: 0.95rem;
    color: #e6c98b;
    letter-spacing: 0.2px;
}

/* Cennik (Pricing) */
.galeria1 {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin-top: 24px;
}

.sekcja {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(34,50,125,0.07);
    padding: 28px 24px;
    max-width: 340px;
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.sekcja:hover {
    box-shadow: 0 4px 24px rgba(34,50,125,0.14);
    transform: translateY(-4px) scale(1.02);
}

.sekcja h2 {
    font-size: 1.18rem;
    color: #22327d;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    font-weight: 700;
}

.sekcja p {
    font-size: 1rem;
    color: #22327d;
    margin-bottom: 12px;
}

.cena {
    margin-top: auto;
    background: #f8f4e7;
    border-radius: 6px;
    padding: 10px 16px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(34,50,125,0.04);
}

.cena p {
    font-size: 1.05rem;
    color: #2b366a;
    margin-bottom: 4px;
}

.cena strong {
    color: #d4a21a;
    font-weight: 700;
}

/* Gallery */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto 40px auto;
    padding: 32px 12px;
}

.galeria-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(34,50,125,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.galeria-item:hover {
    box-shadow: 0 4px 24px rgba(34,50,125,0.14);
    transform: scale(1.03);
}

.galeria-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.galeria-caption {
    padding: 12px 16px;
    text-align: center;
    color: #22327d;
    font-size: 1rem;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Back to main page button */
.back-main {
    text-align: center;
    margin: 32px 0 0 0;
}

.back-main-btn {
    display: inline-block;
    background-color: #22327d;
    color: #f8d080;
    font-size: 1.08rem;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(34,50,125,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    font-family: 'Segoe UI', Arial, sans-serif;
    letter-spacing: 0.5px;
}

.back-main-btn:hover, .back-main-btn:focus {
    background-color: #2b366a;
    color: #ffd700;
    box-shadow: 0 4px 16px rgba(34,50,125,0.14);
    outline: none;
}

/* Responsive styles */
@media (max-width: 700px) {
    body {
        font-size: 0.98rem;
        line-height: 1.5;
    }

    header.pasekgorny {
        flex-direction: column;
        gap: 10px;
        padding: 12px 0;
        font-size: 1rem;
        text-align: center;
    }

    .logo {
        padding: 18px 0 12px 0;
    }

    .logo img {
        max-width: 270px;
    }

    .wybor {
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
        margin-bottom: 18px;
        border-radius: 0 0 6px 6px;
    }

    .wybor a {
        font-size: 1rem;
        padding: 8px 0;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .strona {
        max-width: 98vw;
        padding: 18px 6vw;
        margin: 0 auto 18px auto;
        border-radius: 6px;
    }

    .strona h1 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .strona h2 {
        font-size: 1.08rem;
        margin-top: 18px;
    }

    .strona ul {
        margin-left: 12px;
        margin-bottom: 12px;
    }

    .galeria-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px 4px;
        max-width: 98vw;
    }

    .galeria-item img {
        height: 110px;
    }

    .galeria-item {
        border-radius: 6px;
    }

    .galeria1 {
        flex-direction: column;
        gap: 14px;
        align-items: center;
        margin-top: 12px;
    }

    .sekcja {
        max-width: 340px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 16px 8px;
        margin-bottom: 10px;
        border-radius: 6px;
        box-shadow: 0 1px 8px rgba(34,50,125,0.07);
    }

    .sekcja h2 {
        font-size: 1.08rem;
        margin-bottom: 6px;
    }

    .sekcja p {
        font-size: 0.98rem;
        margin-bottom: 8px;
    }

    .cena {
        padding: 8px 10px;
        font-size: 0.98rem;
    }

    .cena p {
        font-size: 0.98rem;
        margin-bottom: 2px;
    }

    .back-main {
        margin: 18px 0 0 0;
    }

    .back-main-btn {
        font-size: 1rem;
        padding: 10px 18px;
        border-radius: 5px;
    }

    footer.klasa {
        padding: 16px 0 10px 0;
        font-size: 1rem;
        border-radius: 0 0 6px 6px;
        margin-top: 24px;
    }
}