:root {
    --black: #000;
    --dark: #0b0d10;
    --white: #fff;
    --gray: #9a9a9a;
}

/* RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, sans-serif;
}

body.landing {
    background: var(--black);
    color: var(--white);
}

/* ================= TOPBAR ================= */

.topbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.9rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-brand {
    font-weight: 700;
    letter-spacing: 4px;
    font-size: 0.85rem;
}

/* DELIKATNE LINKI */
.topbar-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.topbar-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray);
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.topbar-link:hover {
    color: var(--white);
}

.topbar-link.outline {
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
}

.topbar-link.outline:hover {
    border-color: var(--white);
}

/* ================= BUTTONS ================= */

.btn {
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn.large {
    padding: 0.9rem 2rem;
}

.btn.primary {
    background: var(--white);
    color: var(--black);
}

.btn.primary:hover {
    transform: translateY(-2px);
}

.btn.ghost {
    border: 1px solid var(--white);
    color: var(--white);
}

.btn.ghost:hover {
    background: rgba(255,255,255,0.1);
}

/* ================= HERO ================= */

.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 90px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/Wojskowe szkolenie w ekstremalnych warunkach.png');
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.6) 40%,
        rgba(0,0,0,0.2) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.hero-text {
    max-width: 560px;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.7rem;
    color: var(--gray);
}

.hero-text h1 {
    font-size: 3.2rem;
    margin: 1rem 0;
    line-height: 1.15;
}

.hero-text p {
    color: #e0e0e0;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ================= FEATURES ================= */

.features {
    background: linear-gradient(180deg, #000 0%, var(--dark) 100%);
    padding: 6rem 2rem;
}

.features-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.feature {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 2.2rem;
}

.feature p {
    color: var(--gray);
    line-height: 1.6;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
    .hero-bg {
        background-image: url('../img/Trening wojskowy z ciemnym humorem.png');
        background-size: contain;
        background-position: top center;
        background-repeat: no-repeat;
        background-color: #000;

        /* 🔥 JEDYNA ZMIANA – ROZJAŚNIENIE */
        filter: brightness(1.35) contrast(1.05) saturate(1.1);
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(0,0,0,0.65) 0%,
            rgba(0,0,0,0.85) 55%,
            rgba(0,0,0,1) 100%
        );
    }

    .hero-text h1 {
        font-size: 2rem;
    }
}
/* ================= DESKTOP HERO FIX ================= */

@media (min-width: 1024px) {
    .hero {
        display: flex;
        align-items: center;
    }

    .hero-container {
        padding-top: 0;
        padding-bottom: 0;
        min-height: calc(100vh - 90px);
        display: flex;
        align-items: center;
    }

    .hero-text {
        max-width: 680px;
    }

    .hero-text h1 {
        font-size: 3.8rem;
        line-height: 1.12;
    }

    .hero-text p {
        font-size: 1.2rem;
        max-width: 620px;
    }
}
