/* Ustawienia globalne */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Użycie czcionki Montserrat, która jest bliska stylistycznie do tej na obrazku */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0C0C0C; /* Czarne tło */
    color: #E3E3E3; /* Biały kolor tekstu */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Nawigacja (Menu - Scrollovane) --- */

.header {
    margin-top: 10px; 
    margin-left: 15px; 
    margin-bottom: 50px;
    z-index: 10;
}

.nav-list {
    list-style: none; 
    display: flex;
    flex-direction: column; 
    gap: 15px; 
}

.nav-item a {
    color: inherit; 
    text-decoration: none; 
    font-size: 38px; 
    font-weight: 700; 
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.nav-item a:hover {
    opacity: 0.8;
}

/* --- Sekcja Hero (Centralny tekst + Animacja) --- */

.hero {
    flex-grow: 1;
    display: flex;
    justify-content: center; 
    align-items: center; 
}

/* KONTENER FLEXBOX dla animacji i tekstu */
.hero-display {
    display: flex; 
    align-items: center; 
    gap: 80px; 
    padding-bottom: 50px; 
}

/* Ustawienia dla bloku tekstu */
.hero-content {
    text-align: left; 
}

.hero-title {
    font-size: 50px; 
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 5px;
}

.hero-name {
    font-size: 16px;
    color: #a0a0a0; 
    font-weight: 400;
    margin-bottom: 5px;
}

.hero-slogan {
    font-size: 16px;
    color: #a0a0a0;
    font-weight: 400;
}

/* --- Sekcja Projekty (Interaktywna lista – docelowy układ) --- */

.projekty-section {
    text-align: left;
    padding: 50px 10%;
    padding-bottom: 120px;
}

.projekty-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
    text-align: center;
}

.projekty-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #a0a0a0;
    margin-top: 10px;
    text-align: center;
}

/* Kontener z pionową linią po prawej */
.projects-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 80px auto 0 auto;
}

/* pionowa linia jak na zrzucie */
.projects-container::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.25);
}

/* wspólny rząd dla opisu (lewo) + nazw (prawo) */
.project-item {
    position: relative;
    display: flex;
    justify-content: flex-end;   /* nazwy przy prawej krawędzi */
    padding: 32px 0;
    text-decoration: none;
    color: inherit;
}

/* nazwy projektów w kolumnie przy prawej krawędzi */
.project-name {
    font-size: 40px;
    font-weight: 700;
    min-width: 260px;
    text-align: right;
    padding-right: 24px;          /* odstęp od pionowej linii */
    transition: color 0.3s ease;
    z-index: 1;
}

/* opis – linia tekstu po lewej */
.project-description {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    max-width: 60%;
    font-size: 26px;
    font-style: italic;
    color: #f1f1f1;
    text-decoration: underline;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

/* opis pokazuje się po najechaniu */
.project-item:hover .project-description {
    opacity: 0.5;
}

.project-item:hover .project-name {
    opacity: 0;
}
/* -------------------------------------- */
/* --- KLASY DLA PUSTYCH PRZESTRZENI ( SPACERÓW ) --- */
/* -------------------------------------- */

.spacer {
    width: 100%;
    background-color: transparent; 
}

.spacer.small {
    height: 50px; 
}

.spacer.medium {
    height: 100px; 
}

.spacer.large {
    height: 150px; 
}

.footer {
    padding: 80px 10%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    background-color: #0C0C0C;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-left p {
    margin-bottom: 14px;
    font-size: 14px;
    color: #E3E3E3;
}

.footer-right h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-right p {
    font-size: 13px;
    color: #a0a0a0;
    max-width: 420px;
}

/* wspólne dla linków w stopce */
.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #E3E3E3;
    transition: color 0.25s ease;
}

.footer-icon {
    font-size: 18px;
}

/* LinkedIn – na hover niebieski */
.footer-linkedin:hover {
    color: #0A66C2;   /* kolor LinkedIna */
    text-decoration: underline;
}

/* Mail – na hover czerwony */
.footer-mail:hover {
    color: #FF3B3B;
    text-decoration: underline;
}
