/* ========================= */
/* RESET I UKŁAD FLEX BODY   */
/* ========================= */

/* Zerowanie marginesów, ustawienie box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 
   Kluczowe dla sticky footer: 
   - html, body zajmują 100% wysokości
   - body jako flex-column
   - min-height:100vh
*/
html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Krub', sans-serif;
    color: #333;
    background-image: url('../img/tlo2.png');
    background-size: cover;
    background-position: left;
    background-attachment: fixed;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* margin i padding już zresetowane wyżej */
}

/* ========================= */
/* HEADER STYLES (NIEZMIENIONE) */
/* ========================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 27%;
    background: none;
    position: relative;
    z-index: 20;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-container .logo-image {
    height: 70px;
}

.logo-container .text-container {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-top: 15px;
}

.logo-container .text-container .brand-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f3710c;
    white-space: nowrap;
}

.logo-container .text-container .brand-subtitle {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.2rem;
    font-weight: 100;
    color: white;
    opacity: 0.9;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 1px;
    cursor: pointer;
        /* Dodajemy większy odstęp między logo a hamburgerem */
        margin-left: 40px;
    }

.hamburger div {
    margin-top: 5px;
    width: 35px;
    height: 5px;
    background: #f3710c;
    border-radius: 1px;
}

.nav-menu {
    display: flex;
    gap: 12px;
    align-items: left;
    margin-top: 5px;
    margin-left: 25px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    font-size: 1.0rem;
    font-weight: 500;
    line-height: 1.0;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #f3710c;
    font-weight: 700;
}

.separator {
    width: 3px;
    height: 20px;
    background-color: #f3710c;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch img {
    width: 16px;
    height: auto;
}

.lang-separator {
    width: 3px;
    height: 20px;
    background-color: #f3710c;
}

/* RESPONSIVE MENU (rozwijane) */
.nav-menu.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80%;
    right: 5%;
    background: rgba(28, 56, 74, 0.9);
    padding: 10px;
    border-radius: 5px;
    gap: 4px;
    z-index: 100;
    width: auto;
    text-align: left;
    line-height: 1.2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.nav-menu.show a {
    color: white;
    font-size: 1.0rem;
    line-height: 1.0;
    padding: 4px 8px;
    text-align: left;
}

.nav-menu.show .lang-switch {
    justify-content: space-evenly;
    margin-top: 10px;
}

.nav-menu.show .separator {
    display: none;
}

.hamburger:hover div {
    background: white;
}

/* ========================= */
/* MIDDLE-SECTION = elastyczna część wypełniająca stronę */
/* ========================= */

/*
   Ustawiamy .middle-section jako flex:1 
   aby stopka "trzymała się" dołu okna,
   kiedy treści jest mało.
*/
.middle-section {
    flex: 1;
    /* kluczowe dla sticky footer */
    display: flex;
    flex-direction: column;
    align-items: center;

    /* Zmniejszamy nieco przerwy (było 30px 0 i gap 80px) */
    padding: 20px 0;
    gap: 60px;
    /* zamiast 80px, by kafelki były bliżej */
}

.middle-section .row {
    display: flex;
    gap: 40px;
    /* zmniejszone z 100px -> 40px, bliżej kafelków */
    justify-content: space-around;
    flex-wrap: wrap;
}

.card {
    text-align: left;
    max-width: 360px;
    position: relative;
    overflow: visible;
    margin: 15px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card img {
    width: 100%;
    border-radius: 15px;
    transition: filter 0.4s ease;
    filter: saturate(70%);
}

.card:hover img {
    filter: saturate(100%);
}

.card .text-overlay {
    position: absolute;
    bottom: 15px;
    left: 170px;
    right: 20px;
    transform: translateX(-80%) translateY(-20px);
    color: white;
    font-family: 'Exo 2', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    z-index: 10;
    transition: color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.card .overlay-logo {
    position: absolute;
    top: 15px;
    right: -50px;
    width: 110px;
    height: auto;
    z-index: 5;
    opacity: 0.9;
    pointer-events: visiblePainted;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

.card:hover .text-overlay {
    transform: translateX(-80%) translateY(-30px);
    color: white;
    font-size: 2.3rem;
}

.card:hover .overlay-logo {
    transform: scale(1.0);
}

/* DESCRIPTION */
.description {
    background-color: rgba(28, 56, 74, 0.62);
    padding: 20px;
    border-radius: 15px;
    color: white;
    max-width: 350px;
    font-family: 'Krub', sans-serif;
    line-height: 1.6;

    text-align: left;
}

.description h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    margin-bottom: 8px;
    padding-left: 15px;
}

.description p {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.4;
    padding-left: 15px;
}

/* ========================= */
/* FOOTER - PRZYKLEJONY DO DOŁU */
/* ========================= */

footer {
    flex-shrink: 0;
    /* nie kurczy się */
    background-color: rgba(0, 44, 76, 0.6);
    color: #fff;
    font-family: 'Exo 2', sans-serif;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 100;
    line-height: 1.4;
    padding: 18px 0;
    width: 100%;
    margin-top: 0;
    /* usuwamy margin-top:4vh; aby stopka była przyklejona */
}

footer a {
    color: inherit;
    text-decoration: none;
}

footer a:hover,
footer a:focus {
    text-decoration: underline;
}

/* ========================= */
/* RESPONSYWNOŚĆ (MOBILE) */
/* ========================= */

@media (max-width: 768px) {

    /* Wyłączamy fixed tło na mobile */
    body {
        background-attachment: scroll;
    }

    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 25px;
    }

    .logo-container {
        margin-right: auto;
    }

    .hamburger {
        display: inline-flex;
        margin-left: 8px;
    }

    .nav-menu {
        display: none;
    }

    /* Zmniejszamy logo w mobile */
    .logo-container .logo-image {
        height: 60px;
    }

    .text-container .brand-title {
        font-size: 1rem;
    }

    .text-container .brand-subtitle {
        font-size: 0.7rem;
    }

}

/* ========================= */
/* RESPONSYWNOŚĆ (DESKTOP >1200px) */
/* ========================= */

@media (min-width: 1200px) {
    .middle-section {
        padding: 50px 0;
    }

    .middle-section .row {
        gap: 60px;
        /* ewentualnie większe przerwy na dużych ekranach */
        max-width: 1400px;
        margin: 0 auto;
    }

}
/* ======================================================== */
/* PROSTA SEKCJA "O NAS" (tekst obok zdjęcia) - NOWE STYLE */
/* ======================================================== */
/* Użyj tych klas w HTML, by mieć "tekst + obrazek" bez kafelków */

.o-nas-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    padding: 20px;
}

.o-nas-text {
    flex: 1;
    color: #fff;
    font-family: 'Krub', sans-serif;
    line-height: 1.6;
}

.o-nas-text h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.o-nas-text p {
    margin-bottom: 10px;
}

.o-nas-text ul {
    list-style-type: disc;
    margin-left: 20px;
}

.o-nas-image img {
    width: 400px;
    height: auto;
    border-radius: 8px;
}

/* RESPONSYWNOŚĆ dla sekcji .o-nas-container */
@media (max-width: 768px) {
    .o-nas-container {
        flex-direction: column;
        align-items: center;
    }

    .o-nas-image img {
        width: 80%;
        margin: 10px 0;

    }

    /* Kontener z ciemnym tłem, ograniczenie szerokości do ~950px */
    .onas-wrapper {
       background-color: rgba(28, 56, 74, 0.7);
    /* Półprzezroczyste tło */
    border-radius: 10px;
    max-width: 1000px;
    /* Możesz dopasować */
    margin: 0 auto 40px auto;
    /* Wyśrodkowanie kontenera + dolny odstęp */
    padding: 20px;
    color: #fff;
    }

    /* Rząd flex: tekst (lewo) + zdjęcie (prawo) na szerokich ekranach */
    .row-o-nas {
        display: flex;
        flex-direction: row;
        gap: 40px;
        align-items: flex-start;
        width: 100%;
    }

    /* Kolumny wewnątrz .row-o-nas */
    .o-nas-text,
    .o-nas-image {
        flex: 1;
    }

    /* Styl tekstu w .o-nas-text */
    .o-nas-text {
        color: #fff;
        font-family: 'Krub', sans-serif;
        line-height: 1.6;

    }

    .o-nas-text h2 {
        font-family: 'Exo 2', sans-serif;
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .o-nas-text ul {
        list-style-type: none;
        /* usuwamy standardowe kropki */
        margin-left: 0;
        padding-left: 0;
    }

    /* Obrazek w .o-nas-image */
    .o-nas-image img {
        width: 100%;
        max-width: 450px;
        border-radius: 8px;
        /* Usuń/zmień paddingi, jeśli nie są potrzebne */
        padding-top: 150px;
    }

    /* Widok mobilny: tekst na górze, zdjęcie na dole */
    @media (max-width: 750px) {
        .row-o-nas {
            flex-direction: column;
            /* tekst -> zdjęcie */
        }

        /* Można zmniejszyć/pobrać padding-top z obrazka na mobile, 
         jeśli chcesz, by nie było za dużo przerwy */
        .o-nas-image img {
            padding-top: 20px;
            padding-left: 0;
        }
    }

    /* Klasa do wyróżnień w tekście (np. kolor pomarańczowy) */
    .accent {
        color: #f3710c;
        font-weight: 600;
    }
}

.krakow-intro {
    color: #fff;
    /* jasny tekst */
    border-radius: 10px;
    /* zaokrąglone rogi */
    max-width: 875px;
    /* szerokość zbliżona do "O nas" */
    margin: 0 auto 40px auto;
    /* wyśrodkowanie + odstęp 40px od dołu */
    padding: 10px;
    text-align: left;
    /* można ustawić 'center', ale "O nas" ma left */
    font-family: 'Krub', sans-serif;
    line-height: 1.6;

}

.krakow-intro h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: left;
    /* ewentualnie wyśrodkowany nagłówek */
}

.krakow-intro blockquote {
    margin: 10px 0;
    padding-left: 10px;
    border-left: 3px solid #f3710c;
    /* pomarańczowy akcent */
    opacity: 0.9;
    font-style: italic;
}

.krakow-wrapper {
    background-color: rgba(28, 56, 74, 0.7);
    /* Półprzezroczyste tło */
    border-radius: 10px;
    max-width: 1000px;
    /* Możesz dopasować */
    margin: 0 auto 40px auto;
    /* Wyśrodkowanie kontenera + dolny odstęp */
    padding: 20px;
    color: #fff;
}

/* Styl wstępu - tak jak .krakow-intro miało */
.krakow-intro {
    font-family: 'Krub', sans-serif;
    margin-bottom: 20px;
    line-height: 1.6;

    /* odstęp od kafelków */
}

.krakow-intro blockquote {
    margin: 10px 0;
    padding-left: 10px;
    border-left: 3px solid #f3710c;
    opacity: 0.9;
    font-style: italic;
}

.accent {
    color: #f3710c;
    font-weight: 600;
}

/* Nowa sekcja subnav – teraz wyrównana do lewej */
.vita-subnav {
    text-align: left;
    margin-bottom: 15px;
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    font-weight: 500;
}

.vita-subnav a {
    color: #fff;
    text-decoration: none;
    padding: 0 5px;
}

.vita-subnav a:hover {
    color: #f3710c;
    font-weight: 700;

}

.vita-separator {
    display: inline-block;
    width: 1px;
    height: 1em;
    background-color: #f3710c;
    vertical-align: middle;
    margin: 0 5px;
}

/* Styl dla logo w nagłówku wstępu */
.krakow-logo {
    max-height: 110px;
    margin-left: 20px;

}

/* Kontener dla tytułu i logo - tytuł po lewej, logo po prawej */
.krakow-intro-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Kontener spaceru z ciemnym, przezroczystym tłem */
.walk-wrapper {
    background-color: rgba(28, 56, 74, 0.7);
    border-radius: 10px;
    max-width: 900px;
    margin: 10px auto 40px auto;
    padding: 30px;
    color: #fff;
    font-family: 'Krub', sans-serif;
    line-height: 1.6;

    font-weight: 100;
}

/* Małe menu subnav z linkami (umieszczone na górze kontenera) */
.vita-subnav {
    text-align: left;
    margin-bottom: 15px;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9rem;
}

.vita-subnav a {
    color: #fff;
    text-decoration: none;
    padding: 0 5px;
}

.vita-subnav a:hover {
    color: #f3710c;
}

.vita-separator {
    display: inline-block;
    width: 1px;
    height: 1em;
    background-color: #f3710c;
    vertical-align: middle;
    margin: 0 5px;
}

/* Nagłówek wstępu – tytuł i logo spaceru */
.walk-header {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    /* elementy będą ułożone pionowo */
    align-items: flex-start;
    margin-bottom: 20px;
}

.walk-header h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.2rem;
    margin: 0;
    margin-bottom: 15px;
}

.walk-duration {
    font-size: 1rem;
    gap: 30px;
    font-style: italic;
    color: #f3710c;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Sekcja z obrazkami spaceru */
.walk-images {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap
}

.walk-img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    margin-right: 15px;
    margin-bottom: 15px;
}

/* Opis spaceru – stylizacja listy */
.walk-description h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.8rem;
    text-align: left;
    margin-bottom: 20px;
}

.walk-description ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
    margin-bottom: 20px;
}

.walk-description li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.walk-description li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f3710c;
    font-weight: 700;
}

/* Kontener z przyciskiem rezerwacji na ciemniejszym tle */
.reservation-button-container {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.reservation-button {
    display: inline-block;
    background-color: #f3710c;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Exo 2', sans-serif;
    font-size: 1.2rem;
    transition: opacity 0.3s;
}

.reservation-button:hover {
    opacity: 0.8;
}

/* Responsywność: na mobile obrazki układają się pionowo */
@media (max-width: 768px) {
    .walk-images {
        flex-direction: column;
        align-items: center;
        text-align: left
    }
    .card .overlay-logo {
    position: absolute;
    top: 15px;
    right: -35px;
    width: 110px;
    height: auto;
    z-index: 5;
    opacity: 0.9;
    pointer-events: visiblePainted;
    transition: transform 0.3s ease;
    }
