body {
    margin: 0;
    background-color: #050505;
    display: flex;
    flex-direction: column;
}

.panels-container {
    flex-grow: 1; /* zajmuje pozostałą przestrzeń */
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* jeśli panele się nie mieszczą, pojawi się scroll */
}
.panel {
    width: 100vw;
    height: 100vh; /* dla wszystkich poza pierwszym */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.firstPanel {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    color: white;
}

.left-content {
    width: 60vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.logo-container {
    width: 20vw;
    margin-bottom: 2vh;
    margin-left: 0;
}

.logo {
    width: 100%;
    height: auto;
    display: block;
}

.paragraph-container {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    padding-left: 4vw; /* trochę odstępu od lewej krawędzi ekranu */
    margin-bottom: 3vh;
    font-family: 'PP Telegraf', sans-serif;
    font-weight: bold;
    white-space: nowrap;
}
.paragraph-container p {
    display: inline;
}

.paragraph-container p:first-child {
    margin: 0.5rem 0;
    font-size: clamp(1rem, 4vw, 4.5rem);
}

.paragraph-container p:last-child {
    font-size: clamp(0.5rem, 2vw, 2rem);
    margin: 0 1rem;
}

/* Styl przycisku */
.contact-button {
    margin: 5vh 4vw;
    font-family: 'Garet W05 Regular', sans-serif;
    font-size: 1.2rem;
    padding: 1.2rem;
    color: #eb5436; /* pomarańczowy tekst */
    border: 4px solid #eb5436; /* pomarańczowa obwódka */
    background: transparent;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.right-content {
    width: 40vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gradient-bg {
    width: 30vw;  /* 1/3 szerokości ekranu */
    height: 60vh; /* 1/3 wysokości ekranu */
    margin-bottom: 20vh;
    background: linear-gradient(135deg, #365b6d, #f2f1ec, #eb5436);
}

.gradient-bg img.gradient-image {
    width: 100%;
    height: 100%;
    margin-top: 4.5vh;
    object-fit: contain; /* zachowuje proporcje, mieści się w divie */
    pointer-events: none; /* nie przeszkadza w interakcji */
}

.secondPanel {
    background: #ffffff;
    color: #000;
}

.inner-container {
    width: 90%;
    height: 82%;
    background-color: transparent;
    border: 3px solid black;
    border-radius: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.columns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    gap: 2rem;
}

.left-column,
.right-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12vh 4vw 0;
}

.left-column {
    flex: 1.5;

}

.right-column {
    flex: 1;

}

.left-column p {
    font-family: 'PP Telegraf', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    letter-spacing: 0.05em;
    margin: 0;
}

.gradient-box {
    width: 100%;
    height: 45%;
    border-radius: 100px;
    background-color: transparent;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.gradient-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 100px;
    padding: 15px;
    background: linear-gradient(135deg, #365b6d, #f2f1ec, #eb5436);
    -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    box-sizing: border-box;
}

.arrow-img {
    width: 70%;       /* szerokość strzałki względem boxa */
    height: auto;     /* zachowaj proporcje */
    max-height: 80%;  /* max wysokość, żeby nie wychodziła poza box */
    object-fit: contain;
    user-select: none;
    pointer-events: none;
}

.box-description {
    margin-top: 4rem;
    font-family: 'Garet W05 Regular', sans-serif;
    font-size: 1.3rem;
    color: #000;
}

.thirdPanel {
    background-color: #050505;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.thirdPanel-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6rem;
}

.row {
    display: flex;
    gap: 14rem;
    justify-content: center;
    flex-wrap: nowrap;
}

.image-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    text-align: center;
}

.image-box img {
    width: 50%;
    height: auto;
    object-fit: contain;
}

.image-box p {
    margin-top: 1rem;
    font-family: 'Garet W05 Regular', sans-serif;
    font-size: 1rem;
    color: white;
}

.thirdPanel-button {
    margin-top: 8rem;
    padding: 1rem 1.5rem;
    border: 3px solid #eb5436;
    background: transparent;
    color: #eb5436;
    font-family: 'Garet W05 Regular', sans-serif;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.panel4 { background: #e74c3c; }
.panel5 { background: #f39c12; }
.panel6 { background: #34495e; }

#scrollDownBtn {
    position: fixed;
    bottom: 20px;
    left: 20px; /* teraz przycisk znajduje się po lewej stronie */
    width: 120px;
    height: 50px;
    border-radius: 12px; /* zaokrąglone rogi, ale już nie koło */
    border: 3px solid #eb5436;
    background-color: transparent;
    color: #eb5436;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
    z-index: 1000;
    pointer-events: auto;
}

#scrollDownBtn.hidden {
    opacity: 0;
    pointer-events: none;
    transition: none;
}
