
/* =========================================
1. ZMIENNE I RESET
========================================= */
:root {
/* Kolory */
--primary-color: #5D7B93;
--accent-color: #5d7b93;
--accent-hover: #4a6375;
--bg-light: #f8f9fa;
--text-dark: #333;
--text-muted: #444;
--white: #ffffff;
--border-color: #eeeeee;
--section-summary: #A67C52;

/* Odstępy i zaokrąglenia */
--radius-standard: 10px;
--radius-button: 5px;
--radius-sticky: 8px;
--section-padding-mobile: 40px;
--section-padding-desktop: 60px;
}

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

html {
scroll-behavior: smooth;
scroll-padding-top: 90px;
}

body {
font-family: 'Inter', sans-serif;
color: var(--text-dark);
line-height: 1.6;
}

.container {
max-width: 1140px;
margin: 0 auto;
padding: 0 20px;
}

/* =========================================
2. TYPOGRAFIA
========================================= */
h1 {
font-size: 2.2rem;
color: var(--primary-color);
margin-bottom: 20px;
line-height: 1.2;
}

h2 {
font-size: 1.8rem;
color: var(--primary-color);
margin-bottom: 25px;
}

h3 {
font-size: 1.4rem;
margin-bottom: 15px;
color: var(--primary-color);
}

p {
font-size: 1.1rem;
line-height: 1.8;
margin-bottom: 1.5rem;
color: var(--text-muted);
}

.hero p {
font-size: 1.3rem; /* Większy rozmiar dla podtytułu */
font-weight: 400; /* Standardowa grubość, żeby nie krzyczał */
max-width: 800px; /* Żeby tekst nie rozlewał się za szeroko */
margin-left: auto;
margin-right: auto;
}

/* Wyróżnione słowo "online" */
.highlight {
color: #A67C52; /* Twój błękit #5D7B93 */
font-weight: 700; /* Tylko pogrubienie */
}

.section-summary {
margin-top: 40px;
font-size: 1.2rem;
color: var(--section-summary);
}

/* =========================================
3. KOMPONENTY (Przyciski, Linki, Listy)
========================================= */
.btn-primary {
display: inline-block;
padding: 14px 30px;
background-color: var(--primary-color);
color: var(--white);
text-decoration: none;
border-radius: var(--radius-button);
font-weight: 600;
margin-top: 10px;
transition: opacity 0.3s;
}

.btn-primary:hover {
opacity: 0.9;
}

.contact-link {
color: var(--section-summary);
text-decoration: none;
transition: opacity 0.2s;
}

.contact-link:hover {
text-decoration: underline;
opacity: 0.8;
}

/* Listy pomocowe (help-list) */
.help-list {
list-style: none;
padding: 0;
}

/* Styl dla elementu listy */
/* Kontener listy - usuwamy domyślne marginesy przeglądarki */
.help-list {
list-style: none;
padding: 0;
margin: 1.5rem 0; /* Odstęp całej listy od tekstu powyżej */
}

/* Pojedynczy punkt z pionową kreską slim */
.help-list li {
list-style: none;
font-size: 1.05rem;
line-height: 1.6;
color: var(--text-dark);
margin-bottom: 12px;
padding: 8px 0 8px 18px; /* Stały padding, którego nie ruszamy */
/* Zamiast border-left, używamy cienia, który udaje kreskę */
/* Parametry: przesunięcie X (2px), Y (0), rozmycie (0), kolor */
box-shadow: inset 1px 0 0 0 rgba(93, 123, 147, 0.4);
text-align: left;
transition: box-shadow 0.2s ease, color 0.2s ease;
}

.help-list li:hover {
/* Przy najechaniu tylko zmieniamy "grubość" cienia na 3px i pełny kolor */
box-shadow: inset 3px 0 0 0 var(--primary-color);
color: var(--primary-color);
}

/* Pływający przycisk */
.sticky-booking {
position: fixed;
bottom: 30px;
right: 30px;
z-index: 9999;
pointer-events: none;
}

.btn-sticky {
/* --- WYGLĄD (Twoje oryginalne style) --- */
display: inline-block;
padding: 14px 24px;
background-color: var(--accent-color);
color: var(--white);
text-decoration: none;
border-radius: 12px; /* Zmniejszone zaokrąglenie zgodnie z ustaleniami */
font-family: inherit;
font-weight: 600;
font-size: 14px;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
transition: transform 0.2s, background-color 0.3s, bottom 0.3s, right 0.3s;
pointer-events: auto;

/* --- POZYCJONOWANIE DESKTOP --- */
position: fixed;
bottom: 40px;
/* Trzyma się prawej strony kontenera (przy założeniu 1200px szerokości strony) */
right: calc(50% - 600px + 20px);
z-index: 9999;
}

/* Gdy ekran jest węższy niż kontener (np. laptopy, tablety) */
@media (max-width: 1240px) {
.btn-sticky {
right: 30px; /* Wraca do krawędzi ekranu z bezpiecznym odstępem */
}
}

/* Gdy ekran jest mały (TELEFONY) */
@media (max-width: 768px) {
.btn-sticky {
bottom: 25px; /* Podskakuje do góry, żeby odsłonić linki w stopce */
right: 20px;
padding: 12px 20px;
}
}

/* --- EFEKT HOVER --- */
.btn-sticky:hover {
background-color: var(--accent-hover);
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* =========================================
4. SEKCJE I UKŁAD - POPRAWIONA NAWIGACJA
========================================= */
.main-header {
position: sticky;
top: 0;
background-color: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(8px); /* Efekt rozmycia tła */
padding: 15px 0;
border-bottom: 1px solid var(--border-color);
z-index: 10000;
}

/* To sprawia, że logo i menu są w jednej linii */
.header-flex {
display: flex;
justify-content: space-between;
align-items: center;
}

.logo {
font-weight: 700;
font-size: 1.3rem;
text-decoration: none;
color: var(--primary-color);
}

/* Menu linki */
.nav-menu ul {
display: flex;
list-style: none;
gap: 30px;
margin: 0;
padding: 0;
}

.nav-menu a {
text-decoration: none;
color: var(--text-dark);
font-size: 0.95rem;
font-weight: 500;
transition: color 0.3s ease;
}

.nav-menu a:hover {
color: var(--primary-color);
}

.section {
padding: var(--section-padding-mobile) 0;
}

.section-alt {
background-color: var(--bg-light);
}

.hero {
padding: 80px 0;
background-color: var(--bg-light);
}

.hero h1,
.hero p {
text-align: center;
margin-left: auto;
margin-right: auto;
}

/* 1. Styl dla Twojego wstawionego zdjęcia (3.jpg) */
.hero-photo {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 50px auto 0;
    border-radius: var(--radius-standard);
}

/* --- Styl dla zdjęcia w kółku (Sekcja O mnie) --- */
.about-profile-wrapper {
    width: 200px;
    height: 200px;
    margin: 50px auto 50px; 
    position: relative;
}

.about-profile-img {
    width: 200px;
    height: 200px;
    object-fit: cover; 
    border-radius: 50%; 
    /* Używamy Twojego koloru ze zmiennej */
    border: 0.2px solid var(--primary-color); 
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Responsywność dla zdjęcia w kółku */
@media (max-width: 768px) {
    .about-profile-wrapper, .about-profile-img {
        width: 160px;
        height: 160px;
    }
}

.main-footer {
padding: 30px 0;
background-color: #f9f9f9;
border-top: 1px solid #eee;
text-align: center;
}

.footer-content {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 12px;
font-size: 0.85rem;
color: #777;
margin: 0;
}

.footer-divider {
color: var(--primary-color);
opacity: 0.4;
font-weight: 300;
}

.main-footer a {
color: #777;
text-decoration: none;
transition: all 0.2s ease;
}

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

@media (max-width: 480px) {
.footer-divider {
display: none;
}
.footer-content {
flex-direction: column;
gap: 5px;
}
}

@media (max-width: 480px) {
.footer-divider {
display: none;
}
.footer-content {
flex-direction: column;
gap: 5px;
}
}

/* --- TĘ CZĘŚĆ WKLEJ TERAZ --- */
@media (max-width: 600px) {
.header-flex {
flex-direction: row; /* Przywraca układ poziomy */
justify-content: space-between; /* Rozpycha: Logo lewo, Hamburger prawo */
align-items: center;
/* KLUCZOWA POPRAWKA: */
padding: 0 25px; /* 0 góra/dół, 25px lewo/prawo */
width: 100%; /* Upewniamy się, że zajmuje całą szerokość */
}

.nav-menu ul {
flex-direction: column; /* Linki wewnątrz menu nadal pionowo */
align-items: flex-start; /* Tekst w wysuwanym menu do lewej */
padding-left: 40px; /* Odstęp tekstu od krawędzi ekranu */
}
}

/* =========================================
   5. RESPONSYWNOŚĆ (WERSJA FINALNA)
   ========================================= */

/* --- STYLE TYLKO DLA DESKTOPU (Powyżej 768px) --- */
@media (min-width: 769px) {
    .content-narrow {
        max-width: 750px;
        margin-left: auto;
        margin-right: auto;
    }

    .section {
        padding: var(--section-padding-desktop) 0;
    }

    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    p, .help-list li { font-size: 1.2rem; }

    .help-list li {
        padding: 25px 40px;
    }

    /* Ukrywamy hamburgera na desktopie */
    .menu-toggle {
        display: none;
    }
}

/* --- STYLE TYLKO DLA MOBILE (Do 768px włącznie) --- */
@media (max-width: 768px) {
    
    /* Mniejsze czcionki na telefon - dla lepszej czytelności */
    h1 { 
        font-size: 1.85rem !important; 
        margin-bottom: 15px; 
    }
    h2 { font-size: 1.5rem !important; }
    p, .help-list li { 
        font-size: 1rem !important; 
        line-height: 1.6; 
    }

    h3 { 
        font-size: 1.25rem !important; /* Wyraźnie mniejsze imię i nazwisko */
        margin-top: 0 !important;
        margin-bottom: 15px !important;
    }

    .hero p { font-size: 1.1rem !important; }
    
    .section { 
        padding: 35px 0 !important; /* Mniejsze odstępy sekcji */
    }

    /* Hamburger */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10001;
    }

    .menu-toggle .bar {
        width: 25px;
        height: 3px;
        background-color: var(--primary-color);
        transition: all 0.3s ease;
    }

    /* Kompaktowe Okienko Menu */
    .nav-menu {
        position: absolute;
        top: 100%;
        right: 20px;
        width: 130px;
        padding: 8px 10px;
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.12);
        border: 1px solid #eee;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-5px);
        transition: all 0.25s ease-out;
        z-index: 10002;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(8px);
    }

    .nav-menu ul {
        display: flex;
        flex-direction: column;
        gap: 2px;
        align-items: flex-start;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav-menu a {
        font-size: 0.88rem;
        width: 100%;
        display: block;
        padding: 6px 8px;
        border-radius: 6px;
        color: var(--text-dark);
        text-decoration: none;
        transition: background-color 0.2s;
    }

    .nav-menu a:active,
    .nav-menu a:hover {
        background-color: #f5f5f5;
        color: var(--primary-color);
    }

    /* Animacja hamburgera w 'X' */
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Małe poprawki dla najmniejszych ekranów (Stopka) */
@media (max-width: 480px) {
    .footer-divider {
        display: none;
    }
    .footer-content {
        flex-direction: column;
        gap: 5px;
    }
}
