/* =========================================
   PODSTRONY – WSPÓLNE STYLE
   ========================================= */

.subpage-content {
    max-width: 820px;
    margin: 0 auto;
}

.subpage-content h1 {
    text-align: center;
    font-size: 32px;
    color: #2c5f3d;
    margin-bottom: 30px;
}

.subpage-content h2 {
    font-size: 26px;
    margin-bottom: 12px;
}

.subpage-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.subpage-content ul {
    margin: 10px 0 20px 22px;
}

.subpage-content li {
    font-size: 17px;
    margin-bottom: 6px;
}

.subpage-divider {
    height: 2px;
    background: #64a04b;
    margin: 35px 0;
    width: 100%;
}

/* =========================================
   KONTAKT
   ========================================= */

.kontakt-page {
    text-align: center;
}

.kontakt-box {
    margin-top: 20px;
    text-align: center;
}

.kontakt-box h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 22px;
}

.kontakt-box p {
    font-size: 24px;
    margin: 4px 0;
    text-align: center;
}

.kontakt-icon {
    font-size: 38px;
    margin-top: 28px;
    margin-bottom: 8px;
    text-align: center;
    color: #111;
}

.kontakt-link {
    display: block;
    width: 100%;
    text-align: center !important;
    color: #000 !important;
    text-decoration: none;
    font-size: 22px !important;
    font-weight: 400;
    margin: 0 0 22px;
}

.kontakt-link a {
    color: #000 !important;
    text-decoration: none;
}

.kontakt-link a:hover {
    text-decoration: underline;
}

.kontakt-bank {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.kontakt-bank ul {
    margin: 0 0 25px 22px;
}

.kontakt-bank li {
    font-size: 18px;
    margin-bottom: 6px;
}

/* =========================================
   APARTAMENTY
   ========================================= */

.apartament-card {
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.apartament-card h2 {
    margin-top: 0;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 800px) {
    .subpage-content {
        max-width: 100%;
    }

    .subpage-content h1 {
        font-size: 26px;
    }

    .kontakt-box p {
        font-size: 20px;
    }

    .kontakt-link {
        font-size: 18px !important;
    }

    .kontakt-bank li {
        font-size: 16px;
    }
}
.regulamin-page {
    text-align: left;
}

.regulamin-page h1 {
    text-align: left;
}

.regulamin-page h2 {
    font-size: 26px;
    color: #222;
    margin: 34px 0 10px;
}

.regulamin-page h3 {
    font-size: 22px;
    color: #222;
    font-weight: 400;
    margin: 18px 0 8px;
}

.regulamin-page p {
    text-align: left;
    margin-bottom: 14px;
}
/* =========================================
   FINANSOWANIE
   ========================================= */

.finansowanie-page {
    text-align: left;
}

.finansowanie-page h1 {
    text-align: center;
}

.funding-banner {
    margin-bottom: 35px;
}

.funding-banner img,
.funding-logos img {
    width: 100%;
    height: auto;
    display: block;
}

.funding-logos {
    margin: 10px 0 35px;
}

.funding-card {
    background: #fff;
    border-left: 4px solid #64a04b;
    padding: 28px 32px;
    box-shadow: 0 4px 18px rgba(0,0,0,.08);
    margin-bottom: 55px;
}

.funding-card p {
    text-align: left;
    margin-bottom: 14px;
}

.funding-card h2,
.funding-gallery h2 {
    color: #2c5f3d;
    font-size: 26px;
    margin: 32px 0 16px;
}

.funding-photo.single img {
    max-width: 620px;
}

.funding-photo img,
.funding-photo-grid img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

.funding-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.funding-gallery {
    margin-top: 20px;
}

.funding-gallery h2 {
    margin-top: 55px;
}

@media (max-width: 800px) {
    .funding-card {
        padding: 22px;
    }

    .funding-photo-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   APARTAMENTY – PREMIUM GRID
   ========================================= */

.apartamenty-page h1 {
    text-align: center;
    margin-bottom: 40px;
}

/* GRID */
.apart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

/* KARTA */
.apart-card {
    display: block;
    border: 2px solid #8bbf6a;
    text-decoration: none;
    overflow: hidden;
    transition: all .35s ease;
    background: #fff;
}

/* OBRAZ */
.apart-img {
    height: 260px;
    overflow: hidden;
}

.apart-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

/* TYTUŁ */
.apart-title {
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    padding: 18px 10px;
    color: #333;
    background: #fff;
}

/* HOVER 🔥 */
.apart-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.apart-card:hover img {
    transform: scale(1.08);
}

.apart-card:hover .apart-title {
    color: #2c5f3d;
}

/* MOBILE */
@media (max-width: 800px) {
    .apart-grid {
        grid-template-columns: 1fr;
    }

    .apart-img {
        height: 220px;
    }

    .apart-title {
        font-size: 22px;
    }
}
/* =========================================
   APARTAMENT SZCZEGÓŁY + GALERIA
   ========================================= */

.apart-detail-page h1 {
    text-align: left;
    font-size: 26px;
    color: #2c5f3d;
    margin-bottom: 14px;
}

.apartment-gallery {
    margin-bottom: 32px;
}

.gallery-main {
    position: relative;
    background: #f4f4f4;
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    display: block;
    transition: opacity .2s ease;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 70px;
    border: 0;
    background: rgba(255,255,255,.65);
    color: #315c3d;
    font-size: 46px;
    cursor: pointer;
    z-index: 3;
}

.gallery-btn:hover {
    background: rgba(255,255,255,.9);
}

.gallery-prev {
    left: 0;
}

.gallery-next {
    right: 0;
}

.gallery-thumbs {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 16px 10px;
    background: #f1f1f1;
    scroll-behavior: smooth;
}

.gallery-thumbs::-webkit-scrollbar {
    height: 8px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: #80b365;
}

.thumb {
    min-width: 135px;
    height: 88px;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    background: #fff;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb.active {
    border-color: #315c3d;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.price-box {
    background: #f4f4f4;
    padding: 26px 32px;
    margin: 16px 0 38px;
    color: #7a8a99;
}

.price-box .hotel-day {
    text-transform: uppercase;
    margin-bottom: 28px;
}

.price-box table {
    width: 100%;
    border-collapse: collapse;
}

.price-box th {
    text-align: left;
    text-transform: uppercase;
    padding-bottom: 12px;
}

.price-box td {
    padding: 5px 0;
}

.price-box td:last-child {
    font-weight: 700;
    color: #6d7b87;
    width: 130px;
}

.apart-detail-page p {
    text-align: left;
}

@media (max-width: 800px) {
    .gallery-main img {
        height: 300px;
    }

    .thumb {
        min-width: 105px;
        height: 70px;
    }

    .price-box {
        padding: 20px;
    }
}