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

body {
    background-color: #0c0f14;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, 'Roboto', sans-serif;
    line-height: 1.55;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #eef2f8;
}

/* ---------- GÓRNY PASEK ---------- */
.top-bar {
    background-color: #05070a;
    width: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 100;
    border-bottom: 1px solid #20262e;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 28px;
    min-height: 74px;
    gap: 2rem;
}

.logo-area {
    flex-shrink: 0;
    line-height: 0;
    transition: filter 0.2s;
}
.logo-area:hover {
    filter: brightness(0.92);
}
.logo-area a {
    display: inline-block;
    text-decoration: none;
}
.logo-area img {
    display: block;
    max-height: 54px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}
.nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
    list-style: none;
    align-items: center;
}
.nav-list li {
    margin: 0;
    position: relative;
}
.nav-list a {
    display: inline-block;
    padding: 8px 18px;
    font-weight: 550;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    text-decoration: none;
    color: #e3e9f2;
    background-color: transparent;
    border-radius: 60px;
    transition: all 0.22s ease;
    font-family: inherit;
    white-space: nowrap;
}
.nav-list a:hover {
    background-color: #2a313c;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* DROPDOWN dla języków programowania */
.dropdown {
    position: relative;
}
.dropdown-btn {
    background: transparent;
    border: none;
    font-family: inherit;
    font-weight: 550;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    color: #e3e9f2;
    padding: 8px 18px;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.22s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.dropdown-btn i {
    font-size: 0.75rem;
    transition: transform 0.2s;
}
.dropdown-btn:hover {
    background-color: #2a313c;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.dropdown-content {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background-color: #0f151e;
    backdrop-filter: blur(12px);
    border-radius: 20px;
    min-width: 210px;
    padding: 0.5rem 0;
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.6);
    border: 1px solid #2c3540;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 200;
}
.dropdown.open .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: #e0e8f2;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.15s;
    white-space: nowrap;
    background: transparent;
    border-radius: 0;
}
.dropdown-content a:hover {
    background-color: #1f2a36;
    color: white;
    transform: none;
    box-shadow: none;
}

/* GŁÓWNY BLOK */
.main-content {
    flex: 1;
    max-width: 1300px;
    margin: 2rem auto;
    padding: 2rem 2rem 2.5rem;
    background-color: #13181f;
    border-radius: 44px;
    box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid #242c34;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}
.section-header h2 {
    font-size: 2.3rem;
    font-weight: 650;
    background: linear-gradient(125deg, #eef2fc, #b9c4d1);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.4px;
}

/* SLIDER / KARUZELA */
.slider-shell {
    position: relative;
    margin: 1rem 0 0.8rem;
    border-radius: 2rem;
}
.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    background: #0e131a;
    box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid #2c3540;
    margin: 0 4px;
}
.slides-wrapper {
    overflow: hidden;
    width: 100%;
}
.slides-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.2, 0.85, 0.4, 1);
    will-change: transform;
}
.slide {
    flex: 0 0 100%;
    padding: 2.2rem 3rem;
    background: #10161e;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 1.5rem;
}
.slide h3 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    background: linear-gradient(130deg, #ffffff, #cbdae6);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    border-left: 4px solid #5f7f9e;
    padding-left: 1.2rem;
}
.slide p {
    font-size: 1.05rem;
    line-height: 1.55;
    color: #cfdeed;
    max-width: 92%;
    margin-bottom: 0.2rem;
}

/* przyciski slidera */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #1f2a33dd;
    backdrop-filter: blur(8px);
    border: 1px solid #3a4451;
    width: 44px;
    height: 44px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 12;
    color: #f0f4fa;
    font-size: 2rem;
    font-weight: 400;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    left: 12px;
    right: auto;
}
.slider-btn.btn-next {
    left: auto;
    right: 12px;
}
.slider-btn:hover {
    background: #2c3846;
    transform: translateY(-50%) scale(1.02);
    border-color: #6f8aac;
}
@media (max-width: 700px) {
    .slider-btn { width: 38px; height: 38px; font-size: 1.7rem; left: 6px; }
    .slider-btn.btn-next { right: 6px; }
    .slide { padding: 1.5rem 2rem; }
    .slide h3 { font-size: 1.6rem; }
}
@media (max-width: 550px) {
    .slide { padding: 1.2rem 1.5rem; }
    .slider-btn { width: 34px; height: 34px; font-size: 1.5rem; }
}

.dots-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 1.6rem;
    flex-wrap: wrap;
}
.dot {
    width: 10px;
    height: 10px;
    background-color: #3f4a57;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}
.dot.active {
    background-color: #cbdae9;
    width: 28px;
    border-radius: 20px;
}
.dot:hover {
    background-color: #8fa0b5;
}

/* STOPKA */
footer {
    background: transparent;
    border-top: 1px solid #20262e;
    margin-top: 0.5rem;
    padding: 1.2rem 2rem 1.8rem;
}
.footer-copyright {
    text-align: center;
    font-size: 0.75rem;
    color: #8c9aaa;
    margin-bottom: 1.2rem;
}
.footer-social-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    max-width: 1300px;
    margin: 0 auto;
}
.footer-left, .footer-right {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    align-items: center;
}
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b4c4da;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: 0.2s;
    background: #0f141c60;
    padding: 5px 12px;
    border-radius: 40px;
    backdrop-filter: blur(2px);
}
.social-link i {
    font-size: 1.2rem;
    width: 1.3rem;
    text-align: center;
}
.social-link:hover {
    color: white;
    background: #1f2a36;
    transform: translateY(-1px);
}
@media (max-width: 800px) {
    .footer-social-row {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .footer-left, .footer-right {
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 880px) {
    .navbar-container {
        flex-wrap: wrap;
        padding: 10px 20px;
        gap: 0.8rem;
    }
    .logo-area { margin-right: auto; }
    .nav-menu { flex: 1 1 100%; justify-content: center; }
    .nav-list a, .dropdown-btn { padding: 6px 13px; font-size: 0.85rem; }
    .dropdown-content { left: 0; right: auto; min-width: 180px; }
    .main-content { margin: 1rem; padding: 1.5rem; }
    .section-header h2 { font-size: 1.9rem; }
}
