/* ============================
   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-top: 60px;
    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 {
    margin-top: 2em;
    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;
}

/* ------------------ */
/* PANEL DQ500        */
/* ------------------ */

.row-panel-dq500 {
    background: #F7F7F7;
    padding: 2.5em;
    margin: 2.5em 0;
    border-radius: 0.75em;
    box-shadow:
        0 6px 14px rgba(0,0,0,0.12),
        0 3px 6px rgba(0,0,0,0.10);
    display: flex;
    align-items: flex-start;
    gap: 2.5em;
    border-left: 6px solid #00BE16;
}

.dq500-img {
    width: 240px;
    height: auto;
    border-radius: 0.5em;
    object-fit: cover;
    flex-shrink: 0;
}

.dq500-content h2 {
    margin: 0 0 0.6em 0;
    font-size: 1.4em;
    font-weight: 700;
    color: #222;
}

.dq500-content h3 {
    margin-top: 1.4em;
    margin-bottom: 0.6em;
    font-size: 1em;
    font-weight: 600;
    color: #333;
}

.dq500-content p.dq500-info {
    font-size: 0.9em;
}


.dq500-content p {
    font-size: 1.05em;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1em;
}

.dq500-content ul {
    margin: 0 0 1.2em 1.2em;
    padding: 0;
    color: #444;
    line-height: 1.6;
}

.dq500-content ul li {
    margin-bottom: 0.4em;
}

.dq500-info {
    background: #fff3cd;
    padding: 1em 1.2em;
    border-left: 4px solid #ff9800;
    border-radius: 0.4em;
    font-size: 1.2em;
    margin-top: 1.5em;
}

/* --- PANEL OBJAWÓW DSG POD DQ500 --- */

.row-panel-dsg-objawy {
    width: 100%;
    margin-top: 30px;
    clear: both;
}

/* Pojedynczy element akordeonu */
.dsg-accordion-item {
    width: 100%;
    margin-bottom: 15px;
    position: relative;
}

/* Nagłówek (klikany) */
.dsg-accordion-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f3f3f3;
    padding: 14px 18px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: background .2s ease;
    line-height: 1.4;
}

/* Ikona ▼ / ▲ */
.dsg-accordion-question::after {
    content: "▼";
    font-size: 18px;
    transition: transform .3s ease;
}

/* Po rozwinięciu zmiana ikony */
.dsg-accordion-item input[type="checkbox"]:checked + .dsg-accordion-question::after {
    content: "▲";
}

/* Ukryta treść */
.dsg-accordion-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
    background: #fff;
    padding: 0 18px;
    border-left: 3px solid #c00;
    border-radius: 0 0 6px 6px;
}

/* Po rozwinięciu */
.dsg-accordion-item input[type="checkbox"]:checked ~ .dsg-accordion-answer {
    padding: 18px;
    max-height: 5000px;
}

/* Nagłówki wewnątrz */
.dsg-accordion-answer h3 {
    margin-top: 20px;
    font-size: 20px;
    color: #333;
}

/* Listy */
.dsg-accordion-answer ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

.dsg-accordion-answer ul li {
    margin-bottom: 6px;
    line-height: 1.5;
}

/* --- WRAPPER NA KARTY --- */
.promo-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin: 40px auto;
    max-width: 1100px;
}

/* --- POJEDYNCZA KARTA --- */
.promo-card {
    flex: 0 0 300px; /* USTAWIA KARTY OBOK SIEBIE */
    background: #0A1A2F;
    color: #ffffff;
    padding: 24px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
    z-index: 2;
}

/* Efekt hover – delikatne podniesienie */
.promo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

/* --- ZDJĘCIA --- */
.promo-img {
    width: 100%;
    max-width: 240px;
    margin: 0 auto 18px;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* --- TYTUŁY --- */
.promo-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
}

.promo-sub {
    font-size: 14px;
    color: #E5E7EB;
    margin-bottom: 18px;
}

/* --- PRZYCISKI --- */
.promo-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #1A73E8;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    transition: background .2s ease;
}

.promo-btn:hover {
    background: #1558B0;
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 768px) {
    .promo-card {
        flex: 0 0 100%;
        max-width: 360px;
    }
}


/* --- MOBILE --- */
@media (max-width: 768px) {

    .dsg-accordion-question {
        font-size: 16px;
        padding: 12px 14px;
    }

    .dsg-accordion-question::after {
        font-size: 16px;
    }

    .dsg-accordion-answer {
        padding: 0 14px;
    }

    .dsg-accordion-item input[type="checkbox"]:checked ~ .dsg-accordion-answer {
        padding: 14px;
        max-height: 6000px;
    }

    .dsg-accordion-answer h3 {
        font-size: 18px;
        margin-top: 15px;
    }

    .dsg-accordion-answer ul {
        margin-left: 15px;
    }

    .dsg-accordion-answer ul li {
        font-size: 15px;
        line-height: 1.45;
    }
}

/* --- MOBILE SMALL (telefony 360px) --- */
@media (max-width: 480px) {

    .dsg-accordion-question {
        font-size: 15px;
        padding: 10px 12px;
    }

    .dsg-accordion-question::after {
        font-size: 15px;
    }

    .dsg-accordion-answer {
        padding: 0 12px;
    }

    .dsg-accordion-item input[type="checkbox"]:checked ~ .dsg-accordion-answer {
        padding: 12px;
        max-height: 7000px;
    }

    .dsg-accordion-answer h3 {
        font-size: 17px;
    }

    .dsg-accordion-answer ul li {
        font-size: 14px;
    }
}

/* Responsywność */
@media (max-width: 768px) {
    .row-panel-dq500 {
        flex-direction: column;
        text-align: left;
        padding: 2em;
    }

    .dq500-img {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }
}

