@charset "utf-8";

/* 1. CZCIONKA - Nowy Import */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&display=swap');

/* 2. BAZA */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: #ffcb05;
    font-family: 'Oswald', sans-serif;
    color: #000;
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.no-scroll { overflow: hidden; }

/* 3. MENU */
.menu {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffcb05;
    padding: 15px 0;
    z-index: 2000;
}

.menu-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-logo {
    display: none;
    font-weight: 700;
    text-decoration: none;
    color: #000;
    font-size: 22px;
    text-transform: uppercase;
}

.menu-inner {
    display: flex;
    gap: 30px;
    list-style: none;
}

.menu-inner a {
    text-decoration: none;
    color: #000;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 400;
    transition: opacity 0.3s;
}

.menu-parent {
    display: flex;
    align-items: center;
    gap: 6px;
}

.menu-parent::after {
    content: "";
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #000;
    margin-top: 2px;
}

.dropdown { position: relative; }
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    background: #ffcb05;
    padding: 15px;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    list-style: none;
}

.dropdown:hover .dropdown-content { display: block; }

.dropdown-content a {
    font-size: 16px;
    padding: 8px 0;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* 4. OKRUSZKI */
.breadcrumbs {
    margin-top: -20px;
    margin-bottom: 40px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumbs a {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.breadcrumbs span:last-child { font-weight: 700; }
.breadcrumbs span { padding: 0 5px; color: rgba(0,0,0,0.4); }

/* 5. TREŚĆ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 140px 40px 60px;
}

h1 {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 40px;
    min-height: 1.2em;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

h2 {
    font-size: 34px;
    margin: 60px 0 30px;
    text-transform: uppercase;
    font-weight: 700;
}

p {
    font-size: 19px;
    margin-bottom: 20px;
    max-width: 800px;
}

/* --- SEKCJA FAQ / GRUPY (Pionowa linia) --- */
.group-title {
    font-size: 24px;
    font-weight: 700;
    border-left: 6px solid #000; /* Pionowa kreska */
    padding: 0 0 5px 15px;
    margin-bottom: 20px;
    display: block;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Odpowiedź pod pytaniem z wcięciem, żeby pasowała do linii */
section div p {
    padding-left: 21px; 
    margin-bottom: 50px;
}

/* 6. PRZYCISKI */
.button {
    display: inline-block;
    border: 2px solid #000;
    padding: 12px 28px;
    margin: 6px 6px 6px 0;
    border-radius: 40px;
    font-size: 17px;
    background: transparent;
    cursor: pointer;
    text-transform: uppercase;
    color: #000;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.button:hover {
    background: #000;
    color: #ffcb05;
}

/* 7. KURSOR TEKSTOWY */
.cursor { 
    display: inline-block;
    margin-left: 2px;
    animation: blink 1s steps(2, start) infinite; 
}

@keyframes blink { to { visibility: hidden; } }

/* 8. ANIMACJE WEJŚCIA */
.js-fade-in { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: 0.7s ease-out; 
}
.js-fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* 9. HAMBURGER */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 3000;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease;
}

/* 10. MOBILE (POWIĘKSZONE I PRZEWIJALNE) */
@media (max-width: 900px) {
    .menu-container {
        justify-content: flex-end;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-inner {
        display: none; 
        flex-direction: column;
        position: fixed;
        top: 51px; /* wysokość belki menu */
        left: 0;
        width: 100%;
        height: auto;
        max-height: calc(100vh - 51px); /* Zapobiega wychodzeniu poza ekran */
        overflow-y: auto; /* To pozwala przewijać menu góra-dół */
        background: #ffcb05;
        padding: 30px 40px;
        z-index: 2999;
        gap: 15px;
        border-bottom: 2px solid #000;
    }

    .menu-inner.active {
        display: flex;
    }

    /* Wymuszamy, by podmenu było od razu rozwinięte na mobile */
    .dropdown-content { 
        display: block !important; 
        position: static; 
        box-shadow: none; 
        padding: 10px 0 10px 20px;
    }

    /* Ukrywamy strzałki na mobile, bo wszystko jest już pokazane */
    .menu-parent::after { display: none; }

    .menu-toggle.is-active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.is-active span:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .container { padding-top: 100px; }
}

/* 11. BARDZO MAŁE EKRANY */
@media (max-width: 600px) {
    .button { width: 100%; text-align: center; }
    h1 { font-size: 38px; }
}

/* 12. WYMUSZENIE KOLORÓW */
a, a:visited, a:hover, a:active {
    color: #000 !important;
    text-decoration: none;
}

a:hover { text-decoration: underline; }

main p, article p, section p, .js-fade-in p {
    text-align: left !important;
    line-height: 1.6;
    margin-bottom: 20px;
}