* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Eleganckie zaznaczanie tekstu */
::selection {
    background-color: #111;
    color: #fff;
}

body {
    background-color: #fafafa;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.top-bar {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 65px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar .logo {
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    color: #111;
}

.tabs {
    display: flex;
    height: 100%;
}

.tabs a {
    text-decoration: none;
    color: #888;
    padding: 0 20px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease-in-out;
}

.tabs a:hover, .tabs a.active {
    color: #111;
}

.tabs a.active {
    border-bottom: 2px solid #111;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-container {
    flex: 1;
    max-width: 680px;
    width: 100%;
    padding: 80px 20px;
    text-align: center;
    /* Dodana animacja wejścia */
    animation: fadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    color: #111;
}

.subtitle {
    color: #888;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 50px;
}

.about-text {
    text-align: left;
    font-size: 1.15rem;
    color: #444;
}

.about-text p {
    margin-bottom: 24px;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.divider {
    border: none;
    height: 1px;
    background-color: #eaeaea;
    margin: 50px 0;
}

.social-links {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    padding: 10px 24px;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.2s ease;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.social-links a:hover {
    background-color: #f5f5f5;
    border-color: #111;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

footer {
    margin-top: 40px;
    padding-bottom: 40px;
    color: #888;
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 600px) {
    .top-bar { padding: 0 20px; }
    .tabs a { padding: 0 10px; font-size: 0.9rem; }
    h1 { font-size: 2rem; }
    .about-container { padding: 60px 20px; }
}

.project-item {
    margin-bottom: 20px;
}

.project-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.project-links a {
    text-decoration: none;
    color: #111;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #111;
    transition: opacity 0.2s;
}

.project-links a:hover {
    opacity: 0.6;
}