:root {
  --color-main: #008036;       /* kolor główny */
  --color-accent: #3164bc;     /* kolor dodatkowy */
}

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

body, html {
    font-family: "Lato", sans-serif;
    overflow-x: hidden;
}

body p {
    margin: 20px 0;
    font-size: 1em;
}

header {
    padding: 10px 0;
    color: white;
    text-align: center;
    background-color: var(--color-main);
    font-weight: 700;
}

header p{
    margin: 0px;
}

header img{
    width: 20px;
    vertical-align: top;
}

header a{
    text-decoration: none;
    color: white;
    margin-left: 15px;
}

nav {
    background-color: #fff; 
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 0 17px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;  
    padding: 30px 18%; 
}

article {
    background-color: white;
}

/*_______MENU_______*/
nav ul{
    display: flex;
}

nav li { 
    margin: 0;
    list-style: none;
    text-transform: uppercase;
    text-align: center;
}


nav li a {
    text-decoration: none; 
    color: var(--color-main);
    padding: 10px 15px;
    display: block;
    transition: color 0.2s ease;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

nav li a:hover {
    color: white;
    background-color: var(--color-main);
}

nav img{
    max-width: 191px;
}

/*_______BANER_______*/
.banner {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: 50vh;
    background-image: url('slider-komputer.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%; */
    z-index: -1;
}

#mainBanner{
    width: 100%;

}




/*_______O_NAS_______*/
.about-us {
    padding: 40px 18% 0;
    box-shadow: 0 -8px 15px -3px rgba(0, 0, 0, 0.1);
}

.about-us h2{
    text-transform: uppercase;
}

.us-shops {
    display: flex;
    justify-content: space-between;
    padding: 20px 18%;
}


.us-shops-element {
    text-align: center; 
    max-width: 24%;
    border: 2px solid white;
    box-shadow: 0 0 5px 0px rgba(0, 0, 0, 0.15);
    padding: 5px 7px;
    border-radius: 10px;
    background-color: white;
}

.us-shops-element:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}


.us-shops-element a{
width: 100%;
height: 100%;
display: block;
}

.us-shops-element img {
    width: 90%;
}

.us-shops-element p {
    margin: 0;
}

.us-shops-element h3 {
    margin-top: 10px;
}

.us-shops-element a {
    text-decoration: none; 
    color: black;
}

/*_______KARUSELA_______*/
.carousel {
    background-color: var(--color-accent);
    display: flex; 
    padding-left: 18%; /* Simplified padding */
    margin-top: 100px;
    position: relative;
    height: 425px;
}

.carousel-numeration {
    padding: 40px 25px 40px 0;
}

.carousel-numeration ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border-left: 1px solid white;
}

.carousel-numeration-element {
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    transform: translateX(-4px);
    position: relative;
}

.carousel-numeration-element p {
    font-size: 8px;
    font-weight: 700;
    text-align: center;
    width: 9px;
    height: 9px;
    opacity: 0;
    margin: 0;
    position: absolute;
    top: -0.5px;
    left: -0.5px;
    line-height: 9px;
}

.carousel-numeration-active {
    color: var(--color-accent);
    background: none;
    z-index: 5;
}

.carousel-numeration-active p {
    background-color: white;
    opacity: 1;
    border-radius: 50%;
    transform: scale(2.5);
    transition: transform 0.3s ease-in-out;
}

/*_______KARUSELA_OPIS_______*/
.carousel-description {
    color: white;
    padding: 30px 50px 10px 20px;
    width: 42%;
    height: 100%;
    
    
}

.carousel-description-elements {
    opacity: 0;
    transform: translateY(10px);
    transition: transform 0.6s ease-in-out, opacity 0.4s ease-in-out;
    position: absolute;
    top: 0;
    left: 30;
    z-index: -1;
    padding-top: 20px;
    width: 100%;
}

.carousel-description-elements.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 1; 
    position: relative;
    
}

.carousel-description-elements .button-carousel {
    width: max-content;
    padding: 7px 20px;
    border-radius: 25px;
    margin-bottom: 30px;
}

.carousel-description-elements .button-carousel a {
    text-decoration: none;
    color: white;
}


.carousel-description-elements-1 .button-carousel {
    background-color: #0b801e;
}

.carousel-description-elements-2 .button-carousel {
    background-color: #59c033;
}

.carousel-description-elements-3 .button-carousel {
    background-color: #65cdf5;
}

.carousel-description-elements-4 .button-carousel {
    background-color: #fbb900;
}



/*_______KARUSELA_ZDJECIA_______*/
.carousel-images {
    width: 55%;
    margin-right: 20px;
    position: relative;
    z-index: 1;
}


.carousel-image-elements {
    position: absolute; 
    top: -100px;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transform: scale(0.8) translateY(100px); 
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    z-index: 0; 
}


.carousel-image-elements.active {
    opacity: 1;
    transform: scale(1) translateY(0); 
    z-index: 1; 
}


/*_______KARUZELA_TLO_______*/
.carousel-statue {
    width: 50%;
    position: absolute;
    height: 100%;
}

.carousel-statue-elements {
    width: 55%;
    height: 100%;
    clip-path: polygon(100% 0%, 100% 100%, 0% 100%, 20% 0%);
    left: 65%;
    position: absolute;
    box-shadow: -12px 0 25px 9px rgba(0, 0, 0, 0.14);
    opacity: 0;
    z-index: 0;
}

.carousel-statue-elements-1 {

    background: #0b801e;
    width: 100%;
}

.carousel-statue-elements-2 {
    background: #59c033;
    width: 100%;
}

.carousel-statue-elements-3 {
    background: #65cdf5;
    width: 100%;
}

.carousel-statue-elements-4 {
    background: #fbb900;
    width: 100%;
}

/*_______KARUSELA_PRZYCISKI_______*/
.carousel-controls {
    transform: skew(-20deg);
    background-color: white;
    position: absolute;
    bottom: 0;
    right: 53%;
    padding: 5px 0;
    z-index: 1;

}

.carousel-controls-elements {
    transform: skew(20deg);
}

.carousel-controls-elements button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 30px;
    margin: 0 20px;
    padding: 0 12px;
    text-transform: capitalize;
    color: var(--color-accent);
}

.carousel-controls-elements button:focus {
    outline: none;
}

.carousel-controls-elements-previous,
.carousel-controls-elements-next {
    position: relative;
}


.carousel-controls-elements-previous::before,
.carousel-controls-elements-next::before {
    border: solid var(--color-accent);
    border-width: 0 3px 3px 0;
    content: '';
    display: inline-block;
    height: 2px;
    padding: 7px;
    width: 2px;    
}

.carousel-controls-elements-previous::before {
    transform: rotate(135deg);
}

.carousel-controls-elements-next::before {
    transform: rotate(-45deg);
}

.carousel-controls-elements-previous:hover,
.carousel-controls-elements-next:hover {
    transition: transform 0.3s ease-in-out;
}

.carousel-controls-elements-previous:hover {
    transform: scale(1.5);
}

.carousel-controls-elements-next:hover {
    transform: scale(1.3);
}

/*_______NASZA_OFERTA_______*/
.our-offer {
    width: 100%;
    padding: 50px 18% 0;
    background-image: url('../img/background-photo.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%; /* Removed duplicate background-size */
}

.products-list {
    padding-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    column-gap: 20px;
    row-gap: 20px;
    padding-bottom: 30px;
}

.products-list p {
    text-align: center;
    padding: 7px 10px;
    list-style: none;
    margin: 20px 0;
    border: 1px solid #dadada;
    background-color: white;
    min-height: 50px;
    border-radius: 10px;
    margin: 0px;
}

.products-list-title {
    font-size: 1.1em;
    display: block;
    text-transform: uppercase;
}


/*_______FORMULARZ_______*/

input[type=text], select, textarea {
    width: 100%;
    padding: 12px; 
    border: 1px solid white; 
    border-radius: 10px; 
    box-sizing: border-box; 
    margin-top: 6px; 
    margin-bottom: 16px; 
    resize: vertical 
}

input[type=email], select, textarea {
    width: 100%;
    padding: 12px; 
    border: 1px solid white; 
    border-radius: 10px; 
    box-sizing: border-box; 
    margin-top: 6px; 
    margin-bottom: 16px; 
    resize: vertical 
}

input[type=tel], select, textarea {
    width: 100%;
    padding: 12px; 
    border: 1px solid white; 
    border-radius: 10px; 
    box-sizing: border-box; 
    margin-top: 6px; 
    margin-bottom: 16px; 
    resize: vertical 
}


input[type=submit] {
    background-color: var(--color-accent);
    color: white;
    border: none;
    padding: 12px 12px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
    border: 1.7px solid white;
    margin-top: 15px;
}

input[type=submit]:hover {
    background-color: #21427a;
}


.formularz-tlo{
    width: 40%;
    height: 100%;
    background-color: rgb(241, 241, 241);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 0px 15px 0px 0px;
}

.formularz {
    padding: 50px 18%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    margin-top: 50px;
}

form{
    background-color: var(--color-main);
    padding: 20px 30px;
    border-radius: 15px;
    flex: 7;
}

form h2{
    text-transform: uppercase;
    color: white;
    margin-bottom: 15px;
}

label {
    font-weight: 500;
}


.dane{
    padding: 0px 0px 0px 70px;
    flex: 3;

}

.dane-logo{
    width: 350px;
    margin-bottom: 15px;
}

.dane-siedziba p{
    margin-top: 0px;
}

.dane-siedziba h2{
    margin-bottom: 7px;
}


/*_______STOPKA_______*/
footer {
    background-color: #2c2c2c;
    padding: 20px 0 30px;
    color: white;
    display: flex;
    flex-wrap: wrap;
    padding: 20px 18%;
}

footer a{
    color: white;
    text-decoration: none;
    
}

.address{
    width: 80%;
    line-height: 30px;
}

footer .address .text-footer span{
    font-size: 1.3em;
    font-weight: 800;
}

.contact{
    width: 20%;
}

.contact img{
    width: 35px;
    margin: 0 7px 0 0;
}

.contact p{
    margin: 5px; 
}

.contact hr{
    border: none;
        height: 1px;
        background-color: white;
}

footer ul{
    list-style: none;
    font-size: 1.3em;
    font-weight: 800;
    margin-bottom: 20px;
}

footer .social-media{
    margin-top: 20px;
    font-size: 1.3em;
    padding-bottom: 0px;
}

footer li{
    margin: 5px;
}


/*_______copyright_______*/
.copyright{
    text-align: center;
    background-color: #2c2c2c;
    margin: 0;
    border-top: 2px solid #474747;
}

.copyright p{
    margin: 0;
    padding: 30px 0;
    color: white;
    display: inline-block;
}


/*_______PRZYCISK_NA_GÓRĘ_______*/
.button-to-top{
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 50;
    background-color: var(--color-accent);
    border: 2px solid white;
}

.button-to-top i{
    font-size: 21px;
    padding: 15px 20px;
    color: white;
    margin: 0;
}

.button-to-top:hover{
    background-color: var(--color-accent);
    font-size: 25px;
    transform: scale(1.1);
}

/*
@media (max-width: 1530px) {
    .carousel-description {
        width: 90%;
        padding-top: 0px;
    }
    .carousel-statue {
        width: 65%;
    }
    .carousel {
        padding-left: 5%;
    }
}

@media (min-width: 1531px) and  (max-width: 1580px) {
    .carousel-description {
        width: 55%;
        padding-top: 10px;
        
    }
    .carousel-image {
        width: 45%;
    }
    .carousel-image-elements {
        position: absolute;
        top: -50px;
    }
    .carousel {
        padding-left: 5%;
    }
}

@media (min-width: 1581px) and (max-width: 1750px) {
    .carousel-statue {
        width: 60%;
    }

    .carousel {
        padding-left: 10%;
    }
}

*/
/*______KARUZELA*/

@media (min-width:1430px) and (max-width: 1600px){
    .carousel{
        padding-left: 8%;
    }

    .carousel-statue{
        right: 32%;
        width: 54%;
    }
}


@media (min-width:1300px) and (max-width: 1429px){
    .carousel{
        padding-left: 12%;
    }

    .carousel-description{
        width: 60%;
    }

    .carousel-statue{
        left: 23%;
        height: 70%;
        top: -56px;
    }

    .carousel-controls{
        right: 43%;
    }
}

@media (min-width:1001px) and (max-width: 1299px){
    .carousel-description{
        width: 65%;
        padding-left: 0px;
        padding-top: 0px;
    }

    .carousel{
        padding-left: 6%;
        height: 400px;
    }

    .carousel-image-elements{
        right: 65px;
        flex: 1;
    }

    .carousel-images{
        width: 40%;
    }

    .carousel-statue{
        width: 50%;
        height: 73%;
        top: -56px;
        left: 28%;
    }

    .carousel-controls{
        right: 43%;
    }
}

@media (min-width:751px) and (max-width: 1000px){
    .carousel{
        padding-left: 2%;
        height: 440px;
        /*top: 50px;*/
        margin-top: 160px;
    }

    .carousel-description{
        width: 100%;
        margin-top: 100px;
    }

    .carousel-images{
        width: 60%;
        position: absolute;
        right: 0px;
        top: -75px
    }
    .carousel-controls{
        right: 15%;
    }

    .carousel-statue{
        width: 80%;
        height: 55%;
        top: -90px;
        right: 40%;
    }
}

@media (min-width:601px) and (max-width: 750px){
    .carousel{
        padding-left: 2%;
        height: 500px;
        /*top: 50px;*/
        margin-top: 160px;
    }

    .carousel-description{
        width: 100%;
        margin-top: 90px;
    }

    .carousel-images{
        width: 60%;
        position: absolute;
        right: 0px;
        top: -75px
    }
    .carousel-controls{
        right: 15%;
    }

    .carousel-statue{
        width: 80%;
        height: 45%;
        top: -90px;
        right: 40%;
    }


}

@media  (max-width: 600px){
    .carousel{
        padding-left: 4%;
        height: 740px;
        margin-top: 160px;
    }

    .carousel-description{
        width: 100%;
        margin-top: 100px;
    }

    .carousel-images{
        width: 90%;
        position: absolute;
        right: -10px;
        top: -30px
    }
    .carousel-controls{
        right: 15%;
    }

    .carousel-statue{
        width: 100%;
        height: 30%;
        top: -90px;
        right: 55%;
    }


    .carousel-numeration{
        margin-top: 100px;
    }

}

/*______O_NAS______*/
@media (min-width:1101px) and (max-width:1480px){
    .about-us{
        padding: 40px 10%;
    }
}

@media (min-width:601px) and (max-width:1100px){
    .about-us{
        padding: 40px 6%;
    }
}

@media (max-width:600px){
    .about-us{
        padding: 40px 6% 0px;
    }
}

/*____NASZE_SKLEPY______*/
@media (min-width:921px) and (max-width:1480px){
    .us-shops{
        padding: 0px 10% 50px;
        
    }
}

@media (min-width:401px) and (max-width:920px){
    .us-shops {
        display: grid;
       