/* RESET I ZMIENNE GLOBALNE */
:root {
    --bg-main: #080c14;
    --bg-card: rgba(15, 23, 42, 0.65);
    --bg-card-hover: rgba(30, 41, 59, 0.8);
    --accent-blue: #0088ff;
    --accent-cyan: #00f0ff;
    --accent-glow: rgba(0, 240, 255, 0.25);
    --text-white: #ffffff;
    --text-muted: #94a3b8;
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-active: rgba(0, 240, 255, 0.3);
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    padding: 14px 0;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO ZE ZDJĘCIEM I LOGOTYPEM OBOK SIEBIE */
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.logo-name-img {
    height: 22px;
    width: auto;
    object-fit: contain;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-cyan);
}

.btn-header-cta {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: #000;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    box-shadow: 0 0 15px var(--accent-glow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
}

/* PRZYCISK HAMBURGER (DOMYŚLNIE UKRYTY) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
    padding: 4px;
}

.menu-toggle .bar {
    width: 26px;
    height: 2px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ANIMACJA HAMBURGERA -> 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);
}

/* MOBILE NAVIGATION (OFF-CANVAS DRAWER) */
@media (max-width: 868px) {
    .menu-toggle {
        display: flex;
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: rgba(8, 12, 20, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-glass);
        flex-direction: column;
        justify-content: center;
        padding: 40px 24px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.8);
    }

    .nav-container.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 24px;
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .nav-link {
        font-size: 1.2rem;
        display: block;
    }

    .btn-header-cta {
        width: 100%;
        text-align: center;
    }
}