*
{
    box-sizing: border-box;
}
#page-wrapper {
  max-width: 1920px;
  margin: 0 auto;
}

body
{
    margin: 20px 128px;
    padding: 0;
    color: #042435;
    font-family: 'Clash Display', sans-serif;
    font-weight: 500;
}

nav,footer
{
    font-family: 'Clash Grotesk', sans-serif;
    font-weight: 500;
}

nav
{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    .zakladki
    {
        a
        {
            margin: 0 7px;
        }
    }
}

a
{
    text-decoration: none;
    color: #042435;
}

.przycisk-dark
{
    background-color: #E34F00;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    gap: 10px;
}
.przycisk-light
{
    background-color: #E34F00;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 999px;
    border: none;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}
.przycisk-light2
{
    background-color: #00AC14;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.przycisk-orange
{
    background-color: transparent;
    color: #E34F00;
    border: 2px solid #E34F00;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.other-color
{
    color: #E48E36;
    font-weight: 600;
}
.other-color2
{
    color: #00AC14;
    font-weight: 600;
}

.small
{
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 10px;
}


.header
{
    .first-line
    {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        flex-direction: row;
    }
    .left-side
    {
        max-width: 600px;
        font-size: 52px;
        p
        {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
            font-weight: 500;
            letter-spacing: 2px;
        }
    }
    .right-side
    {
        display: flex;
        width: 800px;
        height: 160px;
        flex-wrap: wrap;
        flex-direction: column;
        .buttonsy
        {
            display: flex;
            a
            {
                margin-right: 10px;
            }
        }
        p
        {
            font-size: 18px;
            font-weight: 400;
        }
    }
}

.image
{
    img
    {
        width: 100%;
        border: 20px #00AC14 solid;
        border-radius: 48px
    }
}
.image2
{
    img
    {
        width: 100%;
        border: 20px #F5CBA7 solid;
        border-radius: 48px
    }
}

.sides 
{
    margin-top: 100px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    .text 
    {
        width: 40%;
        h3 
        {
            font-size: 32px;
            font-weight: 500;
            line-height: 1.2;
            margin: 0;
        }
        p
        {
            font-weight: 400;
        }
    }
    .image
    {
        width: 60%;
        img 
        {
            width: 100%;
            height: auto;
            display: block;
        }
    }
    .image2
    {
        width: 60%;
        img 
        {
            width: 100%;
            height: auto;
            display: block;
        }
    }
}


.bottom {
    margin-top: 100px;
    padding: 24px;
    background: #F5CBA7; 
    border-radius: 40px;
    display: flex;
    justify-content: center;
}

.bottom .wrap {
    display: flex;
    flex-direction: row;
    width: 100%;
    overflow: hidden; 
    max-height: 500px;
    gap: 30px;
}

.left-side1 {
    display: flex;
    flex-direction: column;
    padding: 40px;
    width: 45%;
    color: #000;
    background: radial-gradient(#F08E37, #E34F00);
    border-radius: 25px;
    overflow-y: auto;
}

.left-side1 h1 { 
    margin: 0; 
    font-size: 2.5rem; 
}
.left-side1 h3 { 
    margin: 10px 0 25px 0; 
    font-size: 2.5rem; 
}


.time-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    justify-content: space-between;
}

.time-box {
    background: #fff;
    color: #E34F00;
    width: max-content;
    padding: 10px 50px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 19px;
    
}

.divlocation {
    font-size: 24px;
    display: flex;
    color: #000;
    border-radius: 10px;
    justify-content: flex-start;
    align-items: center;
    font-weight: bold;
    height: 30px;
}

.separator {
  width: 50px;
  height: 6px;
  background: #fff;
  border-radius: 999px;
  margin: 20px 0;
}

.bottompprzycisk {
    padding-top: 30px;
    display: flex;
    justify-content: center;
    width: 100%;
        .przycisk-light {
        background: #fff;
        width: 100%;
        text-align: center;
        color: #E34F00;
        text-decoration: none;
        padding: 15px 20px;
        border-radius: 50px;
        font-weight: bold;
        align-self: center;
        margin-top: 20px;
    }
}



.right-side1 {
    width: 55%;
    background: #A5F145;
    border-radius: 25px;
}

#imgwrap {
    width: 100%;
    height: 100%;
}

#imgwrap img {
    width: 100%;
    height: 100%;

    display: block;
    border-radius: 15px;
}

.kontakt 
{
    margin: 100px 0 200px 0;
    width: 100%;
    gap: 40px;
    .kontaktcon 
    {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        .text 
        {
            width: 75%;
            h3 
            {
                font-size: 62px;
                font-weight: 500;
                line-height: 1.2;
                margin: 0;
            }
            p
            {
                font-weight: 400;
            }
        }
        .ikonkikontakt 
        {
            margin-top: 50px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            .ikonaaa 
            {
                display: flex;
                margin-bottom: 10px;
                gap: 10px;
                align-items: center;
            }
        }
        .kreskaikonki
        {
            display: flex;
            align-items: flex-start;
            justify-content: flex-start;
            width: 20%;
            border: 1px solid orange;
            margin-top: 30px;
        }
    }
    .kontaktlewo
    {
        width: 55%;
    }
    .kontaktprawo
    {
        width: 45%;
    }
    .formularz {
        width: 100%;
        form {
            display: flex;
            flex-direction: column;
            justify-content: center;
            background-color: #F5CBA7;
            border-radius: 20px;
            gap: 20px;
            padding: 20px;
        }
        .input
        {
            display: flex;
            flex-direction: column;
           .labelki {
                font-weight: 500;
                font-size: 16px;
                letter-spacing: 0.02em;
                color: #042435;
                margin-bottom: 10px;
            }
            input {
                border-radius: 30px;
                border: none;
                padding: 9px 16px;
                width: 100%;
                height: 38px;
                background: rgba(255, 255, 255, 0.5);
            }
            textarea {
                border: none;
                border-radius: 20px;
                padding: 11px 16px;
                resize: none;
                background: rgba(255, 255, 255, 0.5);
            }
        }
        .form-checkbox 
        {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            cursor: pointer;
            font-family: sans-serif;
            font-size: 14px;
            line-height: 1.4;
            color: #333;
            margin-bottom: 15px;
        }
        .form-checkbox input[type="checkbox"] 
        {
            appearance: none;
            -webkit-appearance: none;
            width: 20px;
            height: 20px;
            border: 2px solid #ff8c00; 
            border-radius: 4px;
            background-color: transparent;
            cursor: pointer;
            position: relative;
            flex-shrink: 0;
            margin-top: 2px;
            transition: all 0.2s ease;
        }
        .form-checkbox input[type="checkbox"]:checked 
        {
            background-color: #ff8c00;
        }
        .form-checkbox input[type="checkbox"]:checked::after 
        {
            content: "";
            position: absolute;
            left: 5px;
            top: 1px;
            width: 6px;
            height: 10px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }
        .form-checkbox span 
        {
            user-select: none;
        }
    }
}

#galeriazdjec {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 0; /* Dodajemy trochę oddechu góra/dół */
}

.galeriawrapper {
    width: 95%; /* Zwiększamy nieco obszar roboczy */
    max-width: 1200px; /* Ograniczamy szerokość na bardzo dużych ekranach */
}

.swiper {
    width: 100%;
    padding-bottom: 50px; /* Miejsce na kropki paginacji */
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: transparent; /* Zmień z #444 na transparent */
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto; /* Pozwól Swiperowi sterować szerokością */
    height: auto; /* Ważne: nie wymuszaj 100% jeśli kontener nie ma stałej wysokości */
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;      /* To zapobiegnie zniekształceniom */
    max-height: 80vh;  /* Opcjonalnie: żeby zdjęcie nie było wyższe niż ekran */
    object-fit: contain; 
}

/* Stylizacja strzałek, żeby nie nachodziły na tekst tak mocno jak na screenie */
.swiper-button-next, .swiper-button-prev {
    color: #333;
    transform: scale(0.7); /* Trochę mniejsze, by nie przytłaczały */
}

.autoplay-progress {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  width: 60px; 
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--swiper-theme-color, #007aff);
}

.autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 4px;
  stroke: var(--swiper-theme-color, #007aff);
  fill: none; /* Upewnij się, że nie ma fill: black! */
  stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}

/* Jeśli kółko nadal jest czarne, wymuś brak wypełnienia */
.autoplay-progress circle {
  fill: none;
  stroke: currentColor;
}

footer
{
    font-size: 14px;
    margin: 70px 0 0 0;
    .footer
    {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .left-side
    {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        .media
        {
            display: flex;
            flex-direction: row;
            gap: 25px;
        }
        p
        {
            color: #354D59;
            font-weight: 400;
        }
    }
    .right-side
    {
        display: flex;
        flex-direction: row;
        .r1,.r2,.r3
        {
            display: flex;
            flex-direction: column;
            gap: 3px;
            p
            {
                margin: 0 70px 10px 0;
                color: #354D59;
                font-weight: 400;
            }
            .r-info
            {
                font-size: 18px;
                color: #E48E36;
                font-weight: 500;
            }
        }
    }
    .fbottom
    {
        display: flex;
        align-items: center;
        justify-content: space-between;
        align-content: center;
        flex-direction: row;
        .right
        {
            img
            {
                margin-left: 10px;
            }
        }
    }
}

@media screen and (min-width: 1921px) 
{
    #page-wrapper
    {
        zoom: 120%;
    }
}
@media screen and (max-width: 768px) {

    body {
        margin: 20px 15px;
    }
    nav {
        flex-direction: column;
        gap: 15px;
    }
    nav .zakladki {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .header .first-line {
        flex-direction: column;
        gap: 30px;
    }
    .header .left-side {
        max-width: 95%;
        font-size: 32px;
        text-align: center;
    }
    .header .right-side {
        width: 100%;
        height: auto;
        align-items: center;
    }
    .header .right-side .buttonsy {
        justify-content: center;
        flex-wrap: wrap;
    }

    .sides {
        flex-direction: column;
        margin-top: 50px;
        gap: 20px;
    }
    .sides .text, 
    .sides .image {
        width: 100%;
    }
    .sides .text h3 {
        font-size: 24px;
        text-align: center;
    }
    .sides .text p {
        text-align: center;
    }
    .time-container .separator
    {
        font-size: 1.5rem;
    }
    .location
    {
        font-size: 10px;
    }
    .bottom .wrap {
        flex-direction: column;
        gap: 20px;
        max-height: none;
    }
    .left-side1, 
    .right-side1 {
        width: 100%;
        padding: 20px;
    }
    .left-side1 h1, 
    .left-side1 h3 {
        font-size: 1.5rem;
        text-align: center;
    }
    .time-container {
        flex-direction: column;
        gap: 10px;
    }
    .time-box {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .kontakt {
        margin: 50px 0;
    }
    .kontakt .kontaktcon {
        display: flex;
        flex-direction: column;
    }
    .kontakt .kontaktcon .text {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
    .kontakt .kontaktcon .text h3 {
        font-size: 32px;
    }
    .kontakt .kontaktcon .ikonkikontakt {
        width: 100%;
        align-items: center;
        margin-top: 20px;
    }
    .kontakt .kontaktcon .kreskaikonki {
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }
    .kontaktlewo, 
    .kontaktprawo {
        width: 100% !important;
    }
    .formularz form {
        padding: 15px;
    }
    footer .footer {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    footer .left-side {
        align-items: center;
    }
    footer .right-side {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    footer .right-side .r1, 
    footer .right-side .r2, 
    footer .right-side .r3 {
        align-items: center;
    }
    footer .right-side p {
        margin: 0 0 10px 0;
    }
    footer .fbottom {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }
}