/* ----- Ustawienia Globalne i Kolory ----- */
:root {
    --primary-color: #5a7d9a; /* Stonowany, spokojny niebieski */
    --secondary-color: #eaf0f6; /* Bardzo jasny błękit (tło) */
    --dark-color: #333333;      /* Ciemny tekst */
    --light-color: #ffffff;     /* Biel */
    --highlight-color: #d4e0eb; /* Delikatne wyróżnienie */
    
    --font-main: 'Lato', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; /* Płynne przewijanie */
}

body {
    font-family: var(--font-main);
    line-height: 1.7;
    color: var(--dark-color);
    background-color: var(--light-color);
}

h1, h2, h3 {
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; color: var(--primary-color); }
h3 { font-size: 1.5rem; margin-top: 1rem; }
p { margin-bottom: 1rem; font-size: 1.1rem; font-weight: 300; }
a { text-decoration: none; color: var(--primary-color); }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ----- Pasek Nawigacyjny (Header) ----- */
.navbar {
    background: var(--light-color);
    border-bottom: 1px solid var(--highlight-color);
    padding: 1rem 0;
    position: sticky; /* Przyklejony pasek */
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--dark-color);
}

.phone-button {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 0.6rem 1rem;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.phone-button:hover {
    background-color: #4a6d8a;
}

/* ----- Sekcje ----- */
section {
    padding: 5rem 0;
}

.section-light {
    background-color: var(--light-color);
}

.section-dark {
    background-color: var(--secondary-color);
}

/* ----- Sekcja START (Hero) ----- */
.section-hero {
    background-color: var(--secondary-color);
    padding: 6rem 0;
}
.hero-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}
.hero-text {
    flex: 1;
}
.hero-image {
    flex: 1;
    text-align: center;
}
.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}


/* ----- Sekcja OFERTA ----- */
.oferta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.oferta-item {
    display: flex;
    align-items: center;
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.checkmark-icon {
    color: var(--primary-color);
    width: 32px;
    height: 32px;
    margin-right: 1rem;
    flex-shrink: 0;
}
.oferta-item p {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 1.1rem;
}

/* ----- Sekcja Kontakt ------ */

.kontakt-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.kontakt-info {
    background: var(--secondary-color);
    padding: 2.5rem;
    border-radius: 8px;
}

.kontakt-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.kontakt-info p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.kontakt-dane-item {
    margin-bottom: 1.5rem;
}

.kontakt-dane-item span {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.contact-link {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}
.contact-link:hover {
    color: var(--dark-color);
}

.kontakt-h3-minor {
    font-size: 1.2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--highlight-color);
    padding-top: 1.5rem;
}

.kontakt-mapa {
    min-height: 400px;
}

.mapa {
    margin-top: 0;
    height: 100%;
    width: 100%;
    border-radius: 8px; /* Ładniejsze rogi dla mapy */
    overflow: hidden; /* Wymuszenie ładnych rogów */
}
.mapa iframe {
    height: 100%;
    width: 100%; /* Zapewnienie pełnej szerokości */
    min-height: 450px;
}

/* ---------------------------------- */
/* NOWE STYLE: Strona Polityki Pryw. */
/* ---------------------------------- */

.content-page {
    background-color: var(--light-color);
    padding: 4rem 0;
}
.content-page .container {
    max-width: 900px;
}
.content-page h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 1rem;
}
.content-page h2 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-top: 2.5rem;
}
.content-page p,
.content-page li {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
}
.content-page ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* ----- Przyciski CTA (Call to Action) ----- */
.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-color);
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: transform 0.3s ease;
    border: none;
}
.cta-button:hover {
    transform: scale(1.05);
}

/* ----- Stopka ----- */
footer {
    background: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 3rem 0;
    position: relative; /* Dla pewności, że jest w normalnym przepływie */
    z-index: 10; /* Dla pewności, że jest nad tłem */
}
footer p {
    font-size: 0.9rem;
    font-weight: 300;
}
footer a {
    color: var(--highlight-color);
}


/* ----- Responsywność (Mobile) ----- */
@media(max-width: 900px) {
    /* Nawigacja */
    .navbar-container {
        flex-direction: column;
    }
    .nav-logo { margin-bottom: 1rem; }
    
    .nav-menu {
        margin-bottom: 1rem;
        flex-wrap: wrap; /* Zawijanie linków */
        justify-content: center; /* Centrowanie */
    }
    .nav-menu li {
        margin: 0.3rem 0.5rem; /* Lepsze marginesy przy zawijaniu */
    }

    /* Rozmiary tekstu */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    section { padding: 3rem 0; }
    
    /* Układ kolumnowy -> pionowy */
    .hero-container {
        flex-direction: column;
    }
    .hero-image {
        margin-top: 2rem;
    }

    .oferta-grid {
        grid-template-columns: 1fr; /* 1 kolumna */
    }

    /* Poprawka dla mobilnej sekcji kontaktu */
    .kontakt-container {
        grid-template-columns: 1fr; /* 1 kolumna */
    }
    .kontakt-mapa {
        min-height: 350px;
    }
    .mapa iframe {
        min-height: 350px;
    }
}


/* ---------------------------------- */
/* NOWY BLOK - Justowanie tekstu */
/* ---------------------------------- */
.o-mnie-text p,
#terapia p {
    text-align: justify;
}


/* ---------------------------------- */
/* NOWY BLOK - Style dla Banera Cookie */
/* ---------------------------------- */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2b2b2b; /* Ciemne tło, pasuje do stopki */
    color: #f1f1f1;
    padding: 1.25rem 2rem;
    z-index: 2000; /* Musi być na wierzchu */
    display: none; /* Domyślnie ukryty, JS go pokaże */
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}

#cookie-banner p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.5;
}

#cookie-banner a {
    color: #d4e0eb; /* Jasny link */
    text-decoration: underline;
    font-weight: 400;
}

#cookie-banner button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-color);
    padding: 0.7rem 1.3rem;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    white-space: nowrap; /* Zapobiega łamaniu tekstu */
    transition: background-color 0.3s ease;
}

#cookie-banner button:hover {
    background-color: #4a6d8a;
}

/* Responsywność dla baneru cookie */
@media(max-width: 900px) {
    #cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    #cookie-banner p {
        margin-bottom: 1rem; /* Odstęp od przycisku na mobilce */
    }

}
