/* ============================================
   Kafelki social – ciemny, ozdobny styl + hover
   ============================================ */

.social-links-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    width: 320px;
    max-width: 100%;
    gap: 10px;
    margin-top: 24px;
    padding: 0 12px;
}

.social-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 11px 16px;
    min-height: 45px;
    box-sizing: border-box;

    /* Tło – ciemne, pod czarne (bez brązu) */
    background:
        linear-gradient(165deg, #1a1a1a 0%, #0f0f0f 50%, #141414 100%);
    border-radius: 8px;

    /* Ramka – subtelny ciemny szary */
    border: 2px solid rgba(80, 80, 80, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(0, 0, 0, 0.4);

    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.02em;

    transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.social-link:hover {
    border-color: rgba(120, 120, 120, 0.7);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(40, 40, 40, 0.8),
        0 0 20px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.5);

    background:
        linear-gradient(165deg, #222 0%, #181818 50%, #1e1e1e 100%);
}

.social-link:active {
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(0, 0, 0, 0.5);
}

.social-link:visited,
.social-link:focus {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
}

.social-link:focus-visible {
    outline: 2px solid rgba(140, 140, 140, 0.8);
    outline-offset: 2px;
}


/* Ikona */
.img-wrapper {
    width: 32px;
    height: 32px;
    margin-right: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link img {
    width: 100%;
    height: auto;
    max-height: 32px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .social-links-wrapper {
        width: 260px;
        gap: 8px;
        margin-top: 20px;
        padding: 0 10px;
    }

    .social-link {
        padding: 9px 12px;
        min-height: 40px;
        font-size: 0.88rem;
        border-radius: 6px;
    }

    .img-wrapper {
        width: 28px;
        height: 28px;
        margin-right: 10px;
    }

    .social-link img {
        max-height: 28px;
    }
}

/* ============================================
   Footer – pasek jak w headerze, kontakt
   ============================================ */

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    padding: 20px 30px;
    margin-top: auto;
    /* Tylko dół przyciemniony, góra przezroczysty (odwrotnie niż header) */
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.25) 35%,
        rgba(0, 0, 0, 0) 100%
    );
}

.footer-contact {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.footer-contact:hover {
    color: rgba(255, 255, 255, 1);
    text-decoration: underline;
}