:root {
            /*strona glowna - portfolio*/
    --max-width: 1400px;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;

            /*kolory dla tej strony*/
    --primary-color: #000000;       /* główny kolor */
    --secondary-color: #3498db;     /* drugi kolor */
    --text-1: #000000;           /* jasny tekst */
    --text-2: #2c3e50;           /* ciemny tekst */
    --bg-color: #ffffff;            /* kolor tła */
    --header-color: #ffffff;            /* kolor headera */

            /*szarosci*/
    --bialy: #ffffff;
    --ciemnoszary: #0D0D0D;
    --czarny: #000000;

            /*frutiger-aero-blue*/
    --blue0: #fceef0;           /* blue 0-4 gdzie 0 to bialy */
    --blue1: #9af0f0;           /* blue 0-4 gdzie 0 to bialy */
    --blue2: #60bcd1;           /* blue 0-4 gdzie 0 to bialy */
    --blue3: #36bbde;           /* blue 0-4 gdzie 0 to bialy */
    --blue4: #0f9ac6;           /* blue 0-4 gdzie 0 to bialy */

            /*frutiger-aero*/
    --frut0: #f6673e;           /* pomarancz */
    --frut1: #f3cf5e;           /* zolty */
    --frut2: #03c4c7;           /* jasniniebieski */
    --frut3: #02b2ab;           /* zielonkawy */
    --frut4: #0092d8;           /* niebieski */

}


            /* --- Sekcja "O mnie" --- */
.about-section {

    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 60px;

            /* fullscreen */
    min-height: 100vh;
    width: 100%;
    padding: 100px 30px;
    box-sizing: border-box;

    opacity: 0; /* Początkowo niewidoczne */
    transform: translateY(30px); /* Przesunięcie w dół */
    transition: opacity 0.8s ease, transform 0.8s ease;
}


.about-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.about-content {
    flex: 2;
}

.about-content h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}
            /* --- O mnie / programiki --- */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.skill-item {
    background-color: var(--shadow-color);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

            /* --- Sekcja "foto" --- */
.foto-bigimage {

    display: flex;
    align-items: center;
    flex: 1;
        flex-direction: column;
    text-align: center;
    opacity: 0; /* Początkowo niewidoczne */
    transform: translateY(30px); /* Przesunięcie w dół */
    transition: opacity 0.8s ease, transform 0.8s ease;

    /* fullscreen */
    min-height: 100vh;
    width: 100%;
    padding: 100px 30px;
    box-sizing: border-box;

}

.foto-bigimage img {
    max-width: 70%;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);

}
.foto-bigimage.visible {
        opacity: 1;
        transform: translateY(0);
}


.foto-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 60px;

    /* fullscreen */
    min-height: 100vh;
    width: 100%;
    padding: 100px 30px;
    box-sizing: border-box;

    opacity: 0; /* Początkowo niewidoczne */
    transform: translateY(30px); /* Przesunięcie w dół */
    transition: opacity 0.8s ease, transform 0.8s ease;
}


.foto-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.foto-image {
    flex: 1;
    text-align: center;

}

.foto-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.foto-content {

    flex: 2;
}

.foto-content h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.foto-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}
            /* --- Sekcja "trzyde" --- */
.trzyde-bigimage {

    display: flex;
    align-items: center;
    flex: 1;
    flex-direction: column;
    text-align: center;
    opacity: 0; /* Początkowo niewidoczne */
    transform: translateY(30px); /* Przesunięcie w dół */
    transition: opacity 0.8s ease, transform 0.8s ease;

    /* fullscreen */
    min-height: 100vh;
    width: 100%;
    padding: 100px 30px;
    box-sizing: border-box;

}

.trzyde-bigimage img {
    max-width: 70%;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);

}
.trzyde-bigimage.visible {
    opacity: 1;
    transform: translateY(0);
}
.trzyde-section {

    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 60px;

    /* fullscreen */
    min-height: 100vh;
    width: 100%;
    padding: 100px 30px;
    box-sizing: border-box;

    opacity: 0; /* Początkowo niewidoczne */
    transform: translateY(30px); /* Przesunięcie w dół */
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.trzyde-section.visible {
    opacity: 1;
    transform: translateY(0);
}
.trzyde-image {
    flex: 1;
    text-align: center;

}

.trzyde-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.trzyde-content {

    flex: 2;
}

.trzyde-content h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.trzyde-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}
            /* --- Sekcja "kontakt" --- */

.kontakt-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 60px;
    text-align: center;

            /* fullscreen */
    min-height: 100vh;
    width: 100%;
    padding: 100px 30px;
    box-sizing: border-box;
}


.kontakt-content {

    flex: 2;
}

.kontakt-content h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.kontakt-content p {
    margin-bottom: 20px;
    font-size: 1.5rem;
}
/* --- mobilki) --- */
@media (max-width: 768px) {
    /* Układ kolumnowy dla sekcji */
    .about-section,
    .foto-section,
    .foto-bigimage,
    .trzyde-bigimage,
    .trzyde-section {
        flex-direction: column; /* Zawsze kolumnowy */
        text-align: center;
        min-height: auto; /* Wyłącz minimalną wysokość 100vh */
        padding: 40px 20px;
    }

    /* Obrazy zajmują całą szerokość */

    .about-image {
        margin-top: 110px; /* Odstęp między obrazem a tekstem */

    }
    .about-image,
    .foto-image,
    .trzyde-image {
        width: 70%;
        margin-bottom: 0px; /* Odstęp między obrazem a tekstem */

        align-items: center;
        gap: 60px;
        flex: 1;
        text-align: center;
    }

    .foto-bigimage,
    .trzyde-bigimage {
        width: 100%;
        margin-bottom: 0px; /* Odstęp między obrazem a tekstem */

        align-items: center;
        gap: 60px;
        flex: 1;
        text-align: center;



    }
    .about-image img,
    .foto-image img,
    .trzyde-image img,
    .foto-bigimage img,
    .trzyde-bigimage img {
        width: 100%; /* Obrazy rozciągają się na całą szerokość */
        height: auto; /* Zachowaj proporcje */
        max-height: 60vh; /* Ograniczenie wysokości, aby nie zajmowały całego ekranu */
        object-fit: cover; /* Dopasowanie obrazu do kontenera */
        border-radius: 0; /* Opjonalnie: usuń zaokrąglenie, aby obraz zajmował całą szerokość */
    }

    /* Tekst pod obrazem */
    .about-content,
    .foto-content, {
        width: 100%;
        margin-top: 0;
        padding: 0 10px;
    }
}
