/*guzik umopw wizyte*/

.cta-button {
    display: inline-block !important;
    visibility: visible !important;
    background-color: #76B7CB !important;
    color: white !important;
}

/* LOGO */

.logo img {
    max-height: 60px; /* Możesz dostosować tę wysokość do swojego menu */
    display: block;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05); /* Delikatne powiększenie po najechaniu */
}

/* Usuwamy domyślne stylowanie tekstu dla linku w logo, jeśli jeszcze tam jest */
.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}




/* ==========================================================================
   1. FUNDAMENTY I ZMIENNE
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400;500;700&display=swap');

:root {
    --color-main: #76B7CB;      /* Błękitny */
    --color-accent: #EDB39B;    /* Brzoskwiniowy */
    --color-bg-light: #F2F5F7;  /* Jasnoszare tło */
    --color-text: #393632;      /* Grafitowy tekst */
    --font-main: 'Red Hat Display', sans-serif;
    
    /* Aliasy dla kompatybilności */
    --dark: #393632;
    --accent: #76B7CB;
    --light: #F2F5F7;
    --orange: #EDB39B;
    --white: #ffffff;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.7;
    background-color: var(--light);
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   2. NAWIGACJA (Taby Szefa)
   ========================================================================== */
.nav-tabs {
    background: var(--dark);
    display: flex;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-tabs a {
    color: #bbb;
    padding: 18px 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}

.nav-tabs a:hover { color: white; }

.nav-tabs a.active {
    color: white;
    border-bottom: 3px solid var(--accent);
    background: rgba(255,255,255,0.05);
}

.main-container {
    padding: 20px;
    max-width: 1600px;
    margin: 0 auto;
}

/* ==========================================================================
   3. STYLIZACJA CZATU (BĄBELKI) - DOKŁADNIE JAK NA SCREENIE
   ========================================================================== */
.chat-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-bubble {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    word-wrap: break-word;
    margin-bottom: 5px;
}

/* Pacjent / Ktoś inny (Lewa strona - szary) */
.bubble-left {
    background-color: #E9E9EB;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

/* Ty / Terapeuta (Prawa strona - błękit) */
.bubble-right {
    background-color: var(--color-main);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* ==========================================================================
   4. STYLIZACJA NOTATEK (BEŻOWE BLOKI) - DOKŁADNIE JAK NA SCREENIE
   ========================================================================== */
.note-box {
    background-color: #FFF9E7 !important; /* Jasny beż */
    border-left: 5px solid var(--color-accent) !important; /* Brzoskwiniowa linia */
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    color: var(--color-text);
}

.note-box strong {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.note-box small {
    display: block;
    margin-top: 8px;
    color: #888;
    font-size: 11px;
}

/* Nagłówki sekcji (Czarne belki) */
.section-header {
    background-color: var(--dark);
    color: white;
    padding: 12px 15px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Ogólne alerty */
.alert {
    background: #d1e7dd;
    color: #0f5132;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #badbcc;
}

/* ==========================================================================
   NAGŁÓWEK (HEADER)
   ========================================================================== */
.site-header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-main);
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: 0.3s;
}

.main-nav a:hover {
    color: var(--color-main);
}

/* ==========================================================================
   STOPKA (FOOTER) - WERSJA JASNA
   ========================================================================== */
.site-footer {
    background-color: #ffffff; /* Zmiana na biały */
    color: var(--color-text);  /* Zmiana tekstu na ciemny grafit */
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid #eee; /* Dodanie delikatnej linii oddzielającej, bo tło jest białe */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #666; /* Ciemniejszy kolor linków dla lepszej czytelności na białym */
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--color-main); /* Kolor błękitny przy najechaniu */
}

.admin-link {
    border: 1px solid #ddd; /* Szara ramka zamiast jasnej */
    padding: 2px 10px;
    border-radius: 4px;
}

/* ==========================================================================
   STRONA GŁÓWNA - SEKCJE TREŚCI
   ========================================================================== */
.section-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px;
}

.text-center { text-align: center; }

.description-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 20px auto 0;
    color: #555;
}

/* Siatka usług */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 32px;
    color: var(--color-main);
    margin-bottom: 15px;
    display: block;
}

/* Kontakt Box */
.contact-box {
    background: var(--color-main);
    display: inline-block;
    padding: 20px 40px;
    border-radius: 50px;
    margin-top: 30px;
}

.contact-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}





/* Fioletowe/Ciemne tło dla sekcji "O gabinecie" */
.bg-gray {
    background-color: #cfb9f0; /* Głęboki fioletowy/grafitowy odcień */
    color: #ffffff; /* Zmiana tekstu na biały dla kontrastu */
    padding: 100px 0; /* Większy odstęp góra-dół */
}

/* Naprawienie koloru nagłówka wewnątrz fioletowej sekcji */
.bg-gray h2 {
    color: #ffffff !important;
    margin-bottom: 30px;
}

/* Naprawienie koloru tekstu opisu wewnątrz fioletowej sekcji */
.bg-gray .description-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}




/* ==========================================================================
   UZUPEŁNIENIE STRONY GŁÓWNEJ (HERO & LAYOUT)
   ========================================================================== */

/* 1. Kontener dla sekcji Hero */
.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-text);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 35px;
    max-width: 500px;
}

/* 2. Stylizacja przycisku CTA (Umów spotkanie) */
.cta-button {
    display: inline-block;
    padding: 16px 35px;
    background-color: var(--color-main);
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(118, 183, 203, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(118, 183, 203, 0.5);
    background-color: #5da3b8;
}

/* 3. Ilustracja po prawej stronie */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.balloons-illustration {
    width: 100%;
    max-width: 550px;
    height: 450px;
    background-image: url('../images/hero-bg.png'); /* Upewnij się, że plik jest w tym folderze */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 4. Poprawki dla nagłówków sekcji */
h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--color-text);
}

/* 5. Responsywność (Telefony) */
@media (max-width: 992px) {
    .hero-flex {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }
    
    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
    }

    .hero-image {
        justify-content: center;
    }
}