/* --- MOBILE FIRST --- */
body { 
    background-color: #000; 
    color: #fff; 
    font-family: 'Segoe UI', sans-serif; 
    margin: 0; 
    text-align: center; 
}

/* --- NAWIGACJA (Mobile First) --- */
nav { 
    padding: 15px 20px; 
    background: #333; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    position: relative;
}
nav a {
	text-decoration: none;
}
.brand { display: flex; align-items: center; gap: 10px; }
.nav-logo { width: 35px; height: 35px; }
.brand-name { 
    color: #f5c100; 
    font-weight: bold; 
    font-size: 1.2rem; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Ukrycie checkboxa */
.nav-toggle { display: none; }

/* Hamburger (ikona) */
.hamburger { cursor: pointer; padding: 10px; z-index: 100; }
.hamburger span, .hamburger span::before, .hamburger span::after {
    display: block; width: 25px; height: 3px; background: #f5c100;
    position: relative; transition: 0.3s;
}
.hamburger span::before { content: ""; top: -8px; }
.hamburger span::after { content: ""; top: 5px; }

/* Menu (domyślnie ukryte) */
.nav-links {
    position: absolute; top: 100%; left: 0; width: 100%;
    background: #222; flex-direction: column;
    display: none; /* Ukryte */
    padding: 20px 0; gap: 15px; z-index: 99;
}
.nav-links a { color: #fff; font-size: 1rem; font-weight: bold;}

/* Aktywacja menu po kliknięciu */
#nav-toggle:checked ~ .nav-links { display: flex; }
#nav-toggle:checked ~ .hamburger span { background: transparent; }
#nav-toggle:checked ~ .hamburger span::before { top: 0; transform: rotate(45deg); }
#nav-toggle:checked ~ .hamburger span::after { top: -3px; transform: rotate(-45deg); }

/* --- DESKTOP (od 768px) --- */
@media (min-width: 768px) {
    .hamburger { display: none; } /* Ukryj hamburgera */
    .nav-links { 
        position: static; flex-direction: row; display: flex !important; 
        background: none; padding: 0; width: auto;
    }
    .nav-logo { width: 45px; height: 45px; }
    .brand-name { font-size: 1.5rem; }
}

header { padding: 20px; max-width: 800px;margin:auto;}
h1 { color: #f5c100; font-size: 1.8rem; margin: 10px 0; text-transform: uppercase;}
header p {
	color:#ccc;
}

/* KARUZELA - Mobile First */
.carousel { 
    width: 95%; 
    max-width: 600px; 
    margin: 20px auto; 
    overflow: hidden; 
    border-radius: 8px; 
}

.slides { 
    display: flex; 
    width: 400%; /* 4 slajdy * 100% */
    animation: autoSlide 10s infinite; 
}

.slides img { 
    width: 25%; /* 100% / 4 slajdy */
    display: block; 
}

@keyframes autoSlide {
    0%, 28% { transform: translateX(0%); }
    33%, 61% { transform: translateX(-25%); }
    66%, 94% { transform: translateX(-50%); }
    99%, 100% { transform: translateX(-75%); }
}

.carousel:hover .slides {
    animation-play-state: paused;
}

.content {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: left; /* Tekst wyrównany do lewej jest czytelniejszy */
}

.content h2 {
    color: #f5c100;
    font-size: 2rem;
    text-align: center;
}

.content h3 {
    color: #ffffff;
    margin-top: 30px;
}

.content p {
    line-height: 1.6;
    color: #cccccc; /* Delikatnie szary dla lepszej czytelności */
}

.content ul {
    list-style: none;
    padding: 0;
}

.content ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    border-left: 3px solid #f5c100; /* Żółty akcent przy liście */
}
.content a {
color: inherit;
}
.yellow {
color: #f5c100;
}

/* --- TABLET I DESKTOP --- */
@media (min-width: 768px) {
    h1 { font-size: 2.5rem; }
    nav a { font-size: 1.1rem; }
}
footer {
    background: #222;
    color: #888;
    padding: 5px 20px;
    margin-top: 50px;
    border-top: 2px solid #f5c100; /* Złoty akcent oddzielający */
    font-size: 0.85rem;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-links {
    margin: 10px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover {
    color: #f5c100;
}

footer a {
    color: #f5c100;
}