/* ======================================================= */
/* 1. Globalne Style i Typografia (FINAL TOUCHES)          */
/* ======================================================= */

:root {
    /* Paleta Kolorów */
    --color-primary: #a78864;         /* ZŁOTY BEŻ: Linki, ikony, subtelne akcenty */
    --color-accent-btn: #F4D7ED;      /* PUDR. RÓŻ: Akcent dla przycisków i wyróżnień */
    --color-secondary: #f7f3ed;       /* JASNY KREM: Subtelne tło sekcji */
    --color-dark: #2a3642;            /* GŁĘBOKA SZAROŚĆ/GRANAT: Do nagłówków i tekstu */
    --color-text-body: #555;          /* Szary tekst główny */
    --color-light: #ffffff;           /* Biały */
    --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Lato", sans-serif;
    line-height: 1.7;
    color: var(--color-text-body);
    background: var(--color-light);
    font-size: 16px;
    overflow-x: hidden; /* Zapobiega poziomemu przewijaniu na małych ekranach */
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: #8a7156;
}

/* KONTAINER GŁÓWNY */
.container {
    width: min(1280px, 92%);
    margin: 0 auto;
    padding: 0;
}


/* ======================================================= */
/* 2. Nawigacja (NAV BAR) - Poprawiona RWD                 */
/* ======================================================= */

.navbar {
    background-color: var(--color-light);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.07);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--color-dark);
    z-index: 1001; /* Logo zawsze na wierzchu */
}

/* Linki nawigacyjne (Desktop) */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.nav-links li a:not(.btn) {
    color: var(--color-dark);
    font-weight: 400;
    padding: 10px 15px;
    font-size: 0.95rem;
    display: block;
}

.nav-links li a:not(.btn):hover {
    color: var(--color-primary);
}

/* Burger Menu (Domyślnie ukryte na PC) */
.burger-menu {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
    z-index: 1001; /* Przycisk zawsze na wierzchu */
    padding: 5px;
}

/* --- LOGIKA MENU MOBILNEGO (KLUCZOWA POPRAWKA) --- */
@media (max-width: 992px) {
    .burger-menu {
        display: block; /* Pokaż burgera na telefonie/tablecie */
    }

    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh; /* Na całą wysokość ekranu */
        width: 80%;    /* Szerokość menu */
        max-width: 320px;
        background-color: var(--color-light);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Wyśrodkowanie linków w pionie */
        gap: 20px;
        transform: translateX(100%); /* Domyślnie ukryte poza prawą krawędzią */
        transition: transform 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1000;
        padding-top: 60px; /* Miejsce na górze, żeby nie wchodziło na logo */
    }

    /* Klasa dodawana przez JavaScript po kliknięciu burgera */
    /* ZMIANA Z .nav-active NA .active */
    .nav-links.active {
        transform: translateX(0%); /* Wsuń menu na ekran */
    }

    /* Styl linków w menu mobilnym */
    .nav-links li {
        opacity: 0; /* Animacja pojawiania się */
        /* animation: navLinkFade 0.5s ease forwards 0.3s; - JS dodaje to dynamicznie */
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .nav-links li a:not(.btn) {
        font-size: 1.2rem;
        padding: 10px;
        display: block;
        width: 100%;
    }

    .btn-nav {
        display: inline-block;
        margin-top: 20px;
        background-color: var(--color-accent-btn);
        color: var(--color-dark);
        padding: 15px 40px;
        border-radius: 30px;
        font-size: 1.1rem;
        font-weight: 700;
        text-transform: uppercase;
        border: none;
        width: auto;
    }
}

/* Animacja wjazdu linków */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ======================================================= */
/* 3. HERO Section & Przyciski (Buttons)                   */
/* ======================================================= */

.hero {
    min-height: 90vh;
    background: url('images/hero.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-light);
    position: relative;
}

/* Ciemna nakładka na zdjęcie */
.hero .overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
}

/* Kontener w Hero musi być nad overlayem */
.hero .container {
    z-index: 2;
    position: relative;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.lead {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.address {
    margin-bottom: 3rem;
    font-weight: 400;
    font-size: 1.1rem;
}

/* PRZYCISKI */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 40px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin: 10px;
    text-align: center;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-accent-btn);
    color: var(--color-dark);
    border: 2px solid var(--color-accent-btn);
}

.btn-primary:hover {
    background-color: #e6a9d9;
    border-color: #e6a9d9;
}

.btn-secondary {
    background: none;
    color: var(--color-light);
    border: 2px solid var(--color-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-text {
    background: none;
    color: var(--color-primary);
    border: none;
    padding: 0;
    margin-top: 15px;
    display: inline-block;
    font-weight: 600;
    cursor: pointer;
}

.btn.btn-outline {
    color: var(--color-dark);
    border-color: var(--color-dark);
    background: none;
}

.btn.btn-outline:hover {
    background: var(--color-dark);
    color: var(--color-light);
    border-color: var(--color-dark);
}


/* ======================================================= */
/* 4. Sekcje Ogólne                                        */
/* ======================================================= */

.section {
    padding: 6rem 0;
}

.pale {
    background: var(--color-secondary);
}

.section h2 {
    font-size: 2.8rem;
    color: var(--color-dark);
    font-weight: 400;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-note {
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 4rem;
}


/* ======================================================= */
/* 5. Sekcja O NAS                                         */
/* ======================================================= */

.about-content {
    display: flex;
    gap: 80px;
    align-items: center;
    padding: 0 40px;
}

.about-text {
    flex: 1;
    max-width: 55%;
}

.about-quote {
    flex: 1;
    max-width: 45%;
}

.about-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--color-dark);
    background-color: var(--color-light);
    border-left: 5px solid var(--color-primary);
    padding: 30px;
    border-radius: 4px;
    box-shadow: var(--shadow-subtle);
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}


/* ======================================================= */
/* 5B. DLACZEGO WARTO NAM ZAUFAĆ                           */
/* ======================================================= */

.why-us-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.why-us-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why-us-item:nth-child(even) .why-us-image {
    order: -1;
}

.why-us-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-us-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.why-us-text p {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    max-width: 90%;
}

.why-us-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    transition: transform 0.5s ease;
}

.why-us-image img:hover {
    transform: scale(1.02);
}


/* ======================================================= */
/* 6. GRID USŁUG (Karty na stronie głównej)                */
/* ======================================================= */

.grid.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.card-service {
    background: var(--color-light);
    padding: 2.5rem 1.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow-subtle);
    border-bottom: 4px solid var(--color-primary);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-service h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.3rem;
    margin-top: 0;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.card-service p {
    min-height: 40px;
    color: var(--color-text-body);
}

.card-link {
    margin-top: 15px;
    font-weight: 600;
    display: inline-block;
}

.accent-card {
    background-color: var(--color-secondary);
}


/* ======================================================= */
/* 7. SZKOLENIA (Sekcja na głównej)                        */
/* ======================================================= */

.training-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 40px;
    text-align: left;
    padding: 0 20px;
}

.training-details,
.bur-info {
    flex: 1;
    padding: 30px;
    border-radius: 4px;
    background-color: var(--color-light);
    box-shadow: var(--shadow-subtle);
    border: 1px solid #eee;
}

.bur-info {
    background-color: var(--color-secondary);
    border-top: 5px solid var(--color-accent-btn);
}

.bur-info h3 {
    color: var(--color-dark);
}

.training-details h3 {
    font-family: 'Playfair Display', serif;
    color: var(--color-dark);
}

.training-list {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.training-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    color: var(--color-dark);
    font-weight: 500;
}

.training-list .list-accent {
    color: var(--color-dark);
    font-weight: 700;
}

.bur-info .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin: 40px auto 0;
}


/* ======================================================= */
/* 8. GALERIA                                              */
/* ======================================================= */

#galeria {
    padding: 6rem 0;
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.3s ease;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    filter: brightness(1.05);
    z-index: 2;
}


/* ======================================================= */
/* 9. OPINIE (Stories & Grid)                              */
/* ======================================================= */

.stories-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.stories-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 5px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.stories-track::-webkit-scrollbar {
    display: none;
}

.story-item {
    flex: 0 0 calc(20% - 16px);
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    scroll-snap-align: start;
    cursor: pointer;
    position: relative;
}

.story-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    z-index: 2;
}

.story-item:hover img {
    transform: scale(1.05);
}

.scroll-hint {
    text-align: center;
    font-size: 0.9rem;
    color: #999;
    margin-top: -10px;
    display: none;
}

.opinions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.opinion-card {
    background: var(--color-light);
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 4px;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
}

.opinion-rating {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.opinion-text {
    font-style: italic;
    color: var(--color-text-body);
    margin-bottom: 20px;
    flex-grow: 1;
}

.opinion-author {
    font-weight: 700;
    color: var(--color-dark);
    text-align: right;
    font-style: normal;
}

.opinion-author::before {
    content: '— ';
}


/* ======================================================= */
/* 10. KONTAKT & STOPKA                                    */
/* ======================================================= */

#kontakt {
    text-align: center;
    padding: 6rem 0;
}

#kontakt p {
    max-width: 500px;
    margin: 10px auto;
}

.map-placeholder {
    margin-top: 3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.footer {
    background: var(--color-secondary);
    color: var(--color-dark);
    padding: 4rem 0;
    border-top: 1px solid #ddd;
    margin-top: 2rem;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 20px;
    gap: 20px;
}

.copyright {
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 1.1rem;
    color: var(--color-dark);
    transition: color 0.3s ease;
    font-weight: 700;
}

.social-links a:hover {
    color: var(--color-accent-btn);
}

.footer a {
    color: var(--color-dark);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--color-accent-btn);
    text-decoration: underline;
}


/* ======================================================= */
/* 11. RESPONSYWNOŚĆ (Pozostałe elementy poza menu)        */
/* ======================================================= */

@media (max-width: 992px) {
    /* (Menu jest obsłużone wyżej w sekcji 2) */
    
    h1 { font-size: 3rem; }
    
    .about-content,
    .training-content,
    .why-us-item {
        flex-direction: column;
        gap: 30px;
        padding: 0 10px;
    }

    .about-text,
    .about-quote,
    .training-details,
    .bur-info,
    .why-us-item {
        max-width: 100%;
    }

    .about-quote blockquote {
        border-right: none;
        border-left: 5px solid var(--color-primary);
    }
    
    /* Reset kolejności dla Why Us na mobile */
    .why-us-item:nth-child(even) .why-us-image {
        order: 0;
    }

    .why-us-text {
        text-align: center;
        padding: 0 10px;
    }

    .why-us-text p {
        max-width: 100%;
    }

    .why-us-image img {
        height: auto;
        max-height: 350px;
        width: 100%;
        aspect-ratio: 4/5;
        border-radius: 12px;
    }

    /* Footer */
    .footer-grid {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .social-links {
        order: 1;
        justify-content: center;
        margin-bottom: 10px;
    }

    .copyright {
        order: 2;
    }

    .small-links {
        order: 3;
        justify-content: center;
        display: flex;
        gap: 15px;
        font-size: 0.9rem;
    }

    /* Galeria tablet */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Stories tablet */
    .story-item {
        flex: 0 0 260px;
        height: 480px;
    }

    .scroll-hint {
        display: block;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .hero {
        min-height: 60vh;
    }

    .hero a.btn {
        margin: 10px 0;
        display: block;
        width: 100%;
    }

    .about-text, .about-quote {
        padding: 0;
    }

    .grid.services {
        gap: 20px;
    }

    .training-details, .bur-info {
        padding: 20px;
    }

    .training-list li {
        font-size: 0.95rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }

    .story-item {
        flex: 0 0 220px;
        height: 400px;
    }
}


/* ======================================================= */
/* 12. STYLE DLA PODSTRON (HERO SMALL ITP)                 */
/* ======================================================= */

.hero.small {
    min-height: 40vh;
    padding: 0;
}

.hero.small .overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.7));
}

.hero.small h1 {
    font-size: 3.5rem;
    margin-bottom: 5px;
}

.hero.small .lead {
    font-size: 1.2rem;
}

/* Inne style dla podstron szkoleniowych */
.intro-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.lead-intro {
    font-size: 1.2rem;
    color: var(--color-dark);
    font-weight: 300;
}

.content-split {
    display: flex;
    gap: 40px;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 50px;
}

.column-left,
.column-right {
    flex: 1;
}

.lesson-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.lesson-list li {
    padding: 10px 0;
    font-size: 1.05rem;
    color: var(--color-dark);
    border-bottom: 1px dashed #e0e0e0;
}

.list-check {
    color: var(--color-accent-btn);
    font-weight: 700;
    margin-right: 10px;
}

.note {
    font-size: 0.9rem;
    color: var(--color-text-body);
    margin-top: 20px;
}

.doszkolenie-card {
    background: var(--color-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--color-accent-btn);
    text-align: center;
}

.doszkolenie-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.doszkolenie-card p {
    margin-bottom: 20px;
}


/* Cennik Podstawowych Szkoleń - Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    text-align: center;
}

.price-offer {
    background: var(--color-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-subtle);
    border-bottom: 3px solid var(--color-primary);
}

.price-offer h3 {
    color: var(--color-dark);
    font-size: 1.5rem;
}

.price-offer .price-box {
    margin: 20px 0;
    padding: 10px;
    background-color: var(--color-secondary);
    border-radius: 4px;
}

@media (max-width: 768px) {
    .hero.small h1 {
        font-size: 2.5rem;
    }

    .content-split {
        flex-direction: column;
    }

    .doszkolenie-card {
        margin-top: 30px;
    }
}


/* ======================================================= */
/* 13. STYLE DLA CENNIKÓW (NOWA, PROFESJONALNA WERSJA)     */
/* ======================================================= */

.pricelist-container {
    max-width: 800px;
    margin: 0 auto;
}

.price-category {
    margin-bottom: 4.5rem;
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    text-align: center;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.category-subtitle {
    text-align: center;
    color: var(--color-text-body);
    margin-bottom: 3rem;
    font-style: italic;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1.2rem 0;
    border-bottom: 1px dashed #ddd;
    transition: background-color 0.2s ease-in-out;
}

.price-item:hover {
    background-color: #fcfaf8;
}

.price-item:last-child {
    border-bottom: none;
}

.service-details {
    padding-right: 1.5rem;
}

.service-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-dark);
}

.service-description {
    display: block;
    font-size: 0.9rem;
    color: #777;
    margin-top: 5px;
}

.price-value {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

.price-value.free {
    color: #5cb85c;
    font-weight: 600;
}

.package-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 1rem;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}

.package-table th, .package-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.package-table th {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    background-color: var(--color-secondary);
}

.package-table td {
    color: var(--color-text-body);
}

.package-table td:not(:first-child) {
    text-align: center;
    font-weight: 500;
}

.package-table tr:hover {
    background-color: #fcfaf8;
}

.package-table tr:last-child td {
    border-bottom: none;
}

.subcategory-title {
    font-family: 'Lato', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-primary);
    text-transform: none;
}


/* ======================================================= */
/* 14. STYLE DLA FORMULARZY                                */
/* ======================================================= */

.reservation-form-container, .form-container {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2.5rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: var(--shadow-subtle);
    border-top: 4px solid var(--color-primary);
}

.reservation-form .form-group {
    margin-bottom: 1.5rem;
}

.reservation-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.reservation-form input, .reservation-form select, .reservation-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #f9f9f9;
    transition: all 0.2s ease-in-out;
}

.reservation-form input:focus, .reservation-form select:focus, .reservation-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(167, 136, 100, 0.2);
    background-color: #fff;
}

.reservation-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    margin-top: 1rem;
}

.message {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 500;
}

.message.error {
    background-color: #d9534f;
    color: white;
}

.message.success {
    background-color: #5cb85c;
    color: white;
}


/* ======================================================= */
/* 15. STYLE DLA PROFILU UŻYTKOWNIKA                       */
/* ======================================================= */

.profile-container {
    padding-top: 4rem;
    padding-bottom: 6rem;
    min-height: 70vh;
}

.welcome-message {
    text-align: center;
    margin-bottom: 2rem;
}

.welcome-message h1 {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

.reservations-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    box-shadow: var(--shadow-subtle);
    border-radius: 4px;
    overflow: hidden;
}

.reservations-table th, .reservations-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.reservations-table th {
    background-color: var(--color-secondary);
    color: var(--color-dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.status {
    padding: 5px 12px;
    border-radius: 20px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status.pending { background-color: #f0ad4e; }
.status.confirmed { background-color: #5cb85c; }
.status.cancelled { background-color: #d9534f; }

.no-reservations {
    text-align: center;
    padding: 3rem;
    background-color: var(--color-secondary);
    border-radius: 4px;
    border: 1px dashed #ddd;
}


/* ======================================================= */
/* 16. STYLE DLA PODSTRONY SZKOLENIA (NOWA SEKCJA)         */
/* ======================================================= */

.training-container {
    max-width: 900px;
    margin: 0 auto;
}

.training-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.training-intro h1 {
    text-transform: uppercase;
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.training-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.training-section {
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    color: var(--color-dark);
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-transform: uppercase;
}

.skills-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    text-align: left;
}

.skills-list li {
    font-size: 1.1rem;
    color: var(--color-dark);
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
}

.skills-list li::before {
    content: '✓';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.training-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.training-card {
    background: var(--color-light);
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-subtle);
}

.training-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.training-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-top: 0;
    color: var(--color-dark);
    text-transform: uppercase;
}

.training-card p {
    color: #555;
    line-height: 1.6;
    flex-grow: 1;
    margin: 1rem 0;
}

.training-price {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .training-options {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}


/* ======================================================= */
/* 17. STYLE DLA SEKCJI FAQ (NOWA SEKCJA)                  */
/* ======================================================= */

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #eee;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-dark);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Lato', sans-serif;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: var(--color-secondary);
}

.faq-question::after {
    content: '\002B'; /* Plus sign */
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '\2212'; /* Minus sign */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--color-secondary);
}

.faq-answer p {
    padding: 1.5rem;
    line-height: 1.7;
    margin: 0;
}


/* ======================================================= */
/* 18. POPRAWKI I STYLE DODATKOWE                          */
/* ======================================================= */

/* Nowy styl dla przycisków "secondary" na jasnym tle */
.btn.btn-outline {
    color: var(--color-dark);
    border-color: var(--color-dark);
    background: none;
}

.btn.btn-outline:hover {
    background: var(--color-dark);
    color: var(--color-light);
    border-color: var(--color-dark);
}


/* ======================================================= */
/* 19. BANER COOKIES (WERSJA PREMIUM - FLOATING CARD)      */
/* ======================================================= */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px; /* Karta, nie pasek */
    width: calc(100% - 40px);
    background-color: rgba(42, 54, 66, 0.95); /* Głęboki granat, lekko przezroczysty */
    color: #fff;
    padding: 25px;
    border-radius: 12px; /* Nowoczesne zaokrąglenie */
    box-shadow: 0 10px 40px rgba(0,0,0,0.3); /* Głęboki cień "premium" */
    z-index: 10000;
    
    /* Efekt szkła (jeśli przeglądarka wspiera) */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Animacja */
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1); /* Bardzo płynny ruch */
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    flex-direction: column; /* Układ pionowy wewnątrz karty */
    gap: 15px;
}

.cookie-header {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--color-accent-btn); /* Różowy akcent w tytule */
}

.cookie-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.cookie-text a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--color-primary);
    text-underline-offset: 3px;
    transition: color 0.3s;
}

.cookie-text a:hover {
    color: var(--color-primary);
}

.cookie-btn {
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    width: 100%; /* Przycisk na całą szerokość karty */
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cookie-btn:hover {
    background-color: #fff;
    color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* RESPONSYWNOŚĆ - NA TELEFONIE ZAMIENIA SIĘ W PASEK */
@media (max-width: 600px) {
    .cookie-banner {
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 12px 12px 0 0; /* Zaokrąglenie tylko góry */
        padding: 20px;
        transform: translateY(100%);
    }
    
    .cookie-text {
        font-size: 0.85rem;
    }
}


/* ======================================================= */
/* 20. MODAL PREFERENCJI COOKIES (RODO PRO)                */
/* ======================================================= */

/* Styl dla drugiego przycisku w banerze (Outline) */
.cookie-btn.outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 10px;
}

.cookie-btn.outline:hover {
    border-color: var(--color-primary);
    background-color: rgba(167, 136, 100, 0.1);
    color: var(--color-primary);
    transform: none;
}

/* Tło modala (przyciemnienie reszty strony) */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: none; /* Domyślnie ukryte */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-modal-overlay.open {
    display: flex;
    opacity: 1;
    justify-content: center;
    align-items: center;
}

/* Okno modala */
.cookie-modal {
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    color: var(--color-dark);
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-modal-overlay.open .cookie-modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.modal-header h3 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
}

/* Lista opcji (suwaki) */
.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.option-text h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.option-text p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
    max-width: 85%;
}

/* Przełącznik (Switch) */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--color-primary);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

input:disabled + .slider {
    background-color: #a78864;
    opacity: 0.5;
    cursor: not-allowed;
}

.modal-footer {
    margin-top: 25px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.modal-btn {
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-save {
    background: var(--color-primary);
    color: white;
}

.btn-save:hover {
    background: #8a7156;
}

.btn-cancel {
    background: #eee;
    color: #333;
}


/* ======================================================= */
/* 21. SEKCJA OPINII "STORIES" (VISUAL REVIEWS) - POPRAWIONA */
/* ======================================================= */

.stories-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

/* Kontener paska przewijania */
.stories-track {
    display: flex;
    gap: 20px; /* Odstęp między zdjęciami */
    overflow-x: auto;
    padding: 20px 5px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.stories-track::-webkit-scrollbar {
    display: none;
}

/* Pojedyncze zdjęcie opinii */
.story-item {
    /* KLUCZOWA ZMIANA: */
    /* Dzielimy ekran na 5 części (20%), odejmując miejsce na odstępy */
    flex: 0 0 calc(20% - 16px);
    
    height: 450px; /* Troszkę niższe, żeby zachować ładne proporcje */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    scroll-snap-align: start; /* Równamy do lewej */
    cursor: pointer;
    position: relative;
}

.story-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Efekt po najechaniu */
.story-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    z-index: 2;
}

.story-item:hover img {
    transform: scale(1.05);
}

.scroll-hint {
    text-align: center;
    font-size: 0.9rem;
    color: #999;
    margin-top: -10px;
    display: none; /* Na komputerze ukrywamy, bo widać wszystkie 5 */
}

/* RESPONSYWNOŚĆ */
/* Na laptopach i tabletach wracamy do przewijania (większe kafelki) */
@media (max-width: 1200px) {
    .story-item {
        flex: 0 0 260px; /* Szersze, żeby było czytelne */
        height: 480px;
    }
    .scroll-hint {
        display: block;
    }
}

/* Na telefonach */
@media (max-width: 768px) {
    .story-item {
        flex: 0 0 220px;
        height: 400px;
    }
}