/* ============================================
   NAWIGACJA (HEADER)
   ============================================ */
header {
    background-color: rgba(7, 7, 10, 0.95);
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid var(--accent-purple);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo-group {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: -1px;
    transition: all 0.3s;
}

.logo span {
    color: var(--accent-purple);
}

.logo:hover {
    text-shadow: 0 0 15px var(--glow-purple);
    transform: scale(1.05);
}

/* NOWY PRZYCISK OGSIEC W NAGŁÓWKU */
/* NOWY PRZYCISK OGSIEC W NAGŁÓWKU - STYL JAK SKLEP */
/* Styl .nav-btn-ogsiec usunięty / zastąpiony przez .nav-btn */

nav ul {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
}

nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 0;
}

nav a:not(.nav-btn)::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-lavender));
    transition: width 0.4s;
}

nav a:hover {
    color: var(--text-white);
    text-shadow: 0 0 10px var(--accent-lavender);
}

nav a:hover::before {
    width: 100%;
}

/* PRZYCISK SKLEP */
.nav-btn {
    background: rgba(123, 63, 228, 0.15);
    border: 2px solid var(--accent-purple) !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: 8px;
    transition: all 0.3s !important;
}

.nav-btn::before {
    display: none !important;
}

.nav-btn:hover {
    background: var(--accent-purple) !important;
    color: white !important;
    box-shadow: 0 0 20px var(--glow-purple);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    nav ul {
        gap: 1rem;
    }

    nav a {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
}

/* ============================================
   LANGUAGE SELECTOR (FLOATING)
   ============================================ */
.hero .lang-selector {
    position: absolute;
    top: 7rem;
    right: 5%;
    z-index: 900;
    opacity: 0;
    animation: fadeInLang 0.5s ease 0.3s forwards;
    width: 120px;
    /* Fixed width for better consistency */
}

@keyframes fadeInLang {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-btn {
    background: rgba(15, 15, 21, 0.95);
    border: 1px solid var(--accent-purple);
    color: var(--text-white);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    /* Slightly more rounded */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align contents to left */
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    backdrop-filter: blur(15px);
    width: 100%;
    /* Match container width */
}

/* Vertical alignment for items in button */
.lang-btn i {
    margin-left: auto;
    /* Push arrow to the right */
    font-size: 0.75rem;
}

.lang-selector:hover .lang-btn {
    background: var(--accent-purple);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.lang-btn img {
    width: 22px;
    height: auto;
    border-radius: 2px;
    display: block;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    /* Match button width exactly */
    background: #0f0f15;
    border: 1px solid var(--accent-purple);
    border-top: none;
    border-radius: 0 0 6px 6px;
    padding: 5px 0;
    /* Vertical padding only */
    display: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    z-index: 1001;
}

.lang-selector:hover .lang-dropdown {
    display: block;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 1.2rem;
    /* Increased padding left as requested */
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.lang-item:hover {
    background: rgba(123, 63, 228, 0.3);
    color: var(--text-white);
    /* Pure white on hover */
}

.lang-item img {
    width: 18px;
    border-radius: 1px;
}

/* ============================================
   STOPKA (FOOTER)
   ============================================ */
footer {
    background-color: #050508;
    padding: 5rem 5% 2rem;
    border-top: 2px solid var(--accent-purple);
}

.footer-content {
    display: flex;
    flex-wrap: nowrap;
    gap: 3rem;
    justify-content: flex-start;
    margin-bottom: 4rem;
}

.footer-section {
    flex: 0 1 auto;
    min-width: 140px;
}

.footer-section:last-child {
    max-width: 400px;
    margin-left: auto;
}

@media (max-width: 1024px) {
    .footer-content {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .footer-section {
        min-width: 200px;
    }

    .footer-section:last-child {
        margin-left: 0;
    }
}

.footer-section h3 {
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
    color: var(--accent-lavender);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-logo-row .logo {
    display: block;
}

/* STOPKA PRZYCISK OGSIEC (jeden styl dla wszystkich) */
/* STOPKA PRZYCISK OGSIEC - STYL JAK SKLEP */
.footer-btn-ogsiec {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 2rem;
    background: rgba(123, 63, 228, 0.15);
    border: 2px solid var(--accent-purple);
    color: white;
    text-decoration: none;
    font-weight: 800;
    border-radius: 10px;
    font-size: 1.2rem;
    transition: all 0.4s;
    box-shadow: 0 0 20px var(--glow-purple);
    width: fit-content;
}

.footer-btn-ogsiec:hover {
    background: var(--accent-purple);
    box-shadow: 0 0 35px var(--accent-purple);
    transform: translateY(-5px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.footer-links a:hover {
    color: var(--accent-lavender);
    transform: translateX(8px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(194, 181, 214, 0.5);
    font-size: 0.95rem;
}