/* --- 1. ZMIENNE I RESET --- */
:root {
    --content-width: 90%;
    --max-width: 1100px; 
    --font-main: 'Montserrat', sans-serif;
    --accent-color: #7fb3bd; /* Twój niebieski focus */
    --text-color: #6a6a6a;
}

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

body { 
    font-family: var(--font-main); 
    background-color: #fff; 
    color: var(--text-color); 
    line-height: 1.8; 
    overflow-x: hidden; 
}

/* --- 2. NAWIGACJA (DESKTOP) --- */
.navbar {
    width: 100%; 
    height: 80px; 
    background: #fff; 
    display: flex; 
    align-items: center; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 1px solid #f0f0f0;
}

.nav-container {
    width: var(--content-width); 
    max-width: var(--max-width);
    margin: 0 auto; 
    display: flex; 
    justify-content: flex-end; 
    align-items: center;
}

.nav-links { 
    list-style: none; 
    display: flex; 
}

.nav-links li { 
    margin-left: 35px; 
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.8px;
    padding-bottom: 8px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

/* --- 3. HAMBURGER --- */
.menu-toggle { 
    display: none; 
    flex-direction: column; 
    gap: 5px; 
    cursor: pointer; 
}

.menu-toggle .bar { 
    width: 25px; 
    height: 2px; 
    background-color: var(--text-color); 
    transition: 0.3s; 
}

.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- 4. SEKCJE TŁA I HERO --- */
.fixed-background { 
    position: fixed; 
    top: 80px; 
    left: 0; 
    width: 100%; 
    height: 400px; 
    background: url('butterfly-4326534_960_720-886x350.jpg') center/cover no-repeat; 
    z-index: -1; 
}

.hero { 
    height: 400px; 
    display: flex; 
    align-items: flex-end; 
    justify-content: center; 
    overflow: hidden; 
}

.hero-box { 
    background: rgba(0, 0, 0, 0.4); 
    width: var(--content-width); 
    max-width: var(--max-width); 
    padding: 25px 30px; 
    color: white; 
    text-align: center; 
    backdrop-filter: blur(2px); 
    border-radius: 10px 10px 0 0; 
    transform: translateY(100%); 
    animation: slideUp 1.2s forwards; 
}

@keyframes slideUp { to { transform: translateY(0); } }

.hero-box h1 { font-weight: 200; font-size: 38px; }

.breadcrumb { 
    font-size: 14px; 
    border-top: 1px solid rgba(255,255,255,0.15); 
    padding-top: 10px; 
    margin-top: 5px; 
    opacity: 0.8;
}
.breadcrumb .nav-home-icon {
            height: 14px; /* Nieco mniejsza ikona w breadcrumb */
            margin-right: 3px;
        }

/* --- 5. TREŚĆ GŁÓWNA --- */
.main-content { 
    background: #fff; 
    padding: 60px 0; 
    position: relative; 
    z-index: 10; 
}

article { 
    width: var(--content-width); 
    max-width: var(--max-width); 
    margin: 0 auto; 
    text-align: justify; 
}

article p { padding-top: 20px; }

.clean-link { color: inherit; text-decoration: none; }

/* --- 6. STRONA "O MNIE" --- */
.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}
.points-list li {margin-left: 15px;}

.about-text { width: 100%; text-align: left; margin-bottom: 3rem; }

.name-title { font-weight: 400; font-size: 1.2rem; margin-bottom: 1.5rem; color: #333; }

.profile-list { list-style: none; padding-left: 0; }
.profile-list li { margin-bottom: 0.8rem; position: relative; padding-left: 1.5rem; }
.profile-list li::before { content: "–"; position: absolute; left: 0; }

.about-photo-wrapper {
    width: 350px;
    height: 350px;
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* --- 7. STOPKA --- */
.footer { background: #22272b; padding: 50px 0; color: #7a7e82; font-size: 13px; }
.footer-container { 
    width: var(--content-width); 
    max-width: var(--max-width); 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
}

/* --- 8. RESPONSYWNOŚĆ (MOBILE) --- */
@media (max-width: 600px) {
    /* Menu mobilne */
    .menu-toggle { display: flex; }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 20px 0;
        box-shadow: none; /* Brak cienia zgodnie z prośbą */
        border-bottom: 1px solid #f0f0f0;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
        animation: fadeInDown 0.4s ease forwards;
    }

    .nav-links li {
        margin: 15px 0;
        margin-left: 0;
        text-align: center;
        width: 100%;
    }

    .nav-links a {
        display: inline-block; /* Podkreślenie na szerokość tekstu */
        padding-bottom: 4px;
        border-bottom: 2px solid transparent;
        font-size: 14px;
    }

    .nav-links a:hover, .nav-links a:focus, .nav-links a.active {
        color: var(--accent-color);
        border-bottom: 2px solid var(--accent-color);
        background: transparent;
    }

    /* Animacja wejścia menu */
    @keyframes fadeInDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Inne poprawki mobilne */
    .hero-box h1 { font-size: 26px; letter-spacing: 2px; }
    .footer-container { flex-direction: column; text-align: center; gap: 8px; }
    .footer { font-size: 11px; }
    article p { font-size: 14px; line-height: 1.6; }
    .breadcrumb { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 12px; }
    .breadcrumb .sep { display: none; }
    .about-photo-wrapper { width: 250px; height: 250px; }
}