@charset "utf-8";
/* CSS Document */

.top-image-container {
    overflow: hidden;
    width: 100%;
}

.top-image-wrapper {
    display: flex;
    width: 200%;
    animation: move-left 100s linear infinite;
}

.top-image-wrapper img {
    width: 50%;
    height: auto;
}

@keyframes move-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/*----------NAWIGACJA----------*/
.navbar {
    background-image: url("../IMG/tło.jpg");
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    height: 80px;
    width: 100%;
    z-index: 100;
    transition: top 0.2s;
}

.logo {
    padding-left: 5%;
}

.logo img {
    height: 45px;
    transition: transform 0.2s ease-in-out;
}

.logo img:hover {
    transform: scale(1.1);
}

.menu-links {
    display: flex;
    gap: 35px;
    padding: 5%;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-links.active {
    opacity: 1;
    transform: translateY(0);
}

.menu-links h3 {
    font-size: 24px;
    transition: transform 0.2s ease-in-out; 
}

.menu-links a:hover h3 {
    transform: scale(1.1);
}

.menu-links a {
    color: #1D1D1B;
    text-decoration: none;
    padding: 5px 15px 5px 15px;
}

.menu-toggle {
    display: none; 
    color: #1D1D1B;
    font-size: 24px;
    cursor: pointer;
    border: 1px solid black;
    padding: 3px;
    margin-right: 5%;
}

.menu-toggle h3 {
    letter-spacing: 5px;
    padding: 0px 0px 0px 6px;
}

/*----------SEKCJA-PIERWSZA----------*/
#pierwsza {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("../IMG/tło.jpg");
    background-position: center;
    background-size: cover;
    padding-top: 16vw;
}

.section-content {
    display: flex;
    width: 80%;
    margin: auto;
}

.left-side {
    flex: 1;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-top: 5%;
}

.left-side h1 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 10vw;
    color: #1D1D1B;
}

.left-side h2 {
    color: #1D1D1B;
    font-size: 20px;
	transition: transform 0.2s ease-in-out;
}

.left-side h2:hover{
    transform: scale(1.1);
}

.left-side h3 {
    margin-bottom: 25px;
    color: #1D1D1B;
    font-size: 24px;
}

.btn {
    display: inline-block;
    color: white;
    text-decoration: none;
}

.btn:hover {
    transform: scale(1.2);
}

.right-side {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.right-side img {
    max-width: 80%;
    height: auto;
}

/*----------SEKCJA-DRUGA----------*/
#druga {
    background-image: url("../IMG/tło.jpg");
    background-position: center;
    background-size: cover;
    padding: 50px 5%;
}

.top-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.section-title {
    text-align: center;
    font-size: 7vw;
    color: #1D1D1B;
    margin: 10px 0;
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.left-side img {
    width: 100%;
    height: auto;
    display: block;
}

.right-side {
    flex: 1;
    font-size: 20px;
    color: #1D1D1B;
}

/*----------SEKCJA-TRZECIA----------*/
#trzecia {
    background-image: url("../IMG/tło.jpg");
    background-position: center;
    background-size: contain;
    padding: 50px 0;
    color: white;
    text-align: center;
}

.section-title {
    margin-bottom: 40px;
}

.section-title h1 {
    font-size: 7vw;
    color: #1D1D1B;
}

.box-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 5%;
}

.box {
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    border-left: 1px solid #1D1D1B;
    border-bottom: 1px solid #1D1D1B;
}

.box img {
    max-width: 10%;
    height: auto;
    margin-bottom: 20px;
}

.box h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #1D1D1B;
}

.box h2 {
    font-size: 24px;
    color: #1D1D1B;
}

/*----------SEKCJA-CZWARTA----------*/
.section-four {
    background-image: url("../IMG/tło.jpg");
    background-size: contain;
    padding: 5%;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
	font-size: 7vw;
}

.box1 {
    margin-bottom: 80px;
}

.box-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5%;
}

.box-image {
    display: flex;
    justify-content: center;
}

.box-image img {
    width: 90%;
    max-width: 100%;
    height: auto;
}

.box-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.box-text h3 {
	font-size: 20px;
    margin-bottom: 10px;
    color: #1D1D1B;
	width: 70%
}

.box-text h2 {
	font-size: 24px;
    color: #1D1D1B;
}

/*----------SEKCJA-PIATA----------*/
#piata {
    background-image: url("../IMG/tło.jpg");
    background-position: center;
    background-size: cover;
}

#piata h1{
	margin: 0;
	padding-top: 50px;
	font-size: 7vw;
}

.slider-container {
    display: flex;
    margin: auto;
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.slide {
    min-width: 100%;
    display: flex;
}

.slide-content {
    flex: 1;
    padding: 5%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-content h2 {
	padding-bottom: 20px;
	font-size: 24px;
}

.slide-content h3 {
    max-width: 90%;
	font-size: 20px;
}

.slide-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.slide-image img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.controls {
    margin-top: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 80px;
}

button {
    background: none;
    border: none;
    color: #1D1D1B;
    font-size: 48px;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.2s;
    outline: none;
}

button:hover {
    transform: scale(1.2);
}

/*----------SEKCJA-SZOSTA----------*/
#szosta{
	background-image: url("../IMG/tło.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#szosta {
	position: relative;
    text-align: center;
	justify-content: center;
    padding: 5% 0 0 0;
}

#szosta h1 {
    font-size: 32px;
    line-height: 1.4;
    color: #1D1D1B;
    max-width: 80%;
    margin: 0 auto;
	padding-top: 30px;
}

#szosta h3{
	font-size: 20px;
	text-align: right;
	padding: 5% 10% 5% 0;
}

.full-width-image {
    width: 100%;
    height: auto;
    display: block;
	padding-top: 100px;
}

.overlay {
    background-color: #1D1D1B;
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay p {
    color: white;
    font-size: 12px;
}

/*----------MEDIA-DUŻE-EKRANY----------*/
@media all and (min-width: 1199px){
	.left-side h3{
		margin-bottom: 100px;
	}
	
	.right-side h3{
		font-size: 24px;
		line-height: 2rem;
		width: 70%;
	}
	
	.box h2{
		font-size: 24px;
	}
	
	.box h3{
		font-size: 24px;
		line-height: 2.2rem;
	}
	
	.box-text h2{
		font-size: 24px;
	}
	
	.box-text h3{
		font-size: 24px;
		line-height: 2.2rem;
	}
	
	.slide-content h2{
		font-size: 24px;
	}
	
	.slide-content h3{
		font-size: 24px;
		line-height: 2.2rem;
	}
	
}

/*----------MEDIA-TABLET----------*/
@media all and (max-width: 950px){
	.box-container {
		grid-template-columns: 1fr 1fr;
	}
	
	#druga .right-side{
		padding-top: 50px;
	}
	
	#czwarta img{
		width: 90%;
	}
	
	#czwarta .box-text{
		width: 90%;
	}
	
}

/*----------MEDIA-MAŁE-EKRANY----------*/
@media (max-width: 768px) {
    /*----------MENU----------*/
    .menu-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 70%;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.9);
        z-index: 99;
    }

    .menu-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    /*----------SEKCJA-PIERWSZA----------*/
     #pierwsza {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start; /* Zmiana na flex-start */
        background-image: url("../IMG/tło.jpg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    .section-content {
        flex-direction: column;
        text-align: center;
        width: 100%; /* Upewnij się, że szerokość jest 100% */
        height: 100%; /* Ustal wysokość na 100% */
    }

    .left-side {
        margin-bottom: 30px;
        flex: 1; /* Pozwól na elastyczne dopasowanie */
    }

    .right-side {
        flex: 1; /* Zapewnij, że zajmie dostępną przestrzeń */
        display: flex;
        justify-content: center; /* Wyśrodkowanie zdjęcia */
        align-items: flex-end; /* Dociągnięcie do dołu */
        height: 100%; /* Ustal wysokość na 100% */
    }

    .right-side img {
        width: 50%;
        height: auto;
        margin-top: 0;
    }

    .left-side h1 {
        font-size: 20vw;
    }
	
	.left-side h3{
		width: 60%;
	}

    .left-side a {
        display: none;
    }
	
	/*----------SEKCJA-DRUGA----------*/
    .content-wrapper {
        flex-direction: column;
    }

    .section-title {
        font-size: 7vw;
    }
	
	.left-side img{
		width: 70%;
	}
	
	.right-side h3{
		width: 80%;
		transform: translateY(-15%);
	}
	
	/*----------SEKCJA-TRZECIA----------*/
    .box-container {
        grid-template-columns: 1fr;
    }
	
	.box-container {
		margin: 0 auto;
		width: 75%;
	}
	
	

    /*----------SEKCJA-CZWARTA----------*/
	.section-title{
		font-size: 7vw;
	}
	
    .box-content {
        flex-direction: column;
    }

    .box-image img {
        width: 80%;
        height: auto;
    }

    .box-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
	
	.box-text h3{
		width: 130%;
	}

    .reverse .box-content {
        flex-direction: column-reverse;
    }

    /*----------SEKCJA-PIATA----------*/
    .slider-container {
        padding: 10px;
        flex-direction: column;
		width: 80%;
    }

    .slide {
        flex-direction: column;
    }

    .slide-content h2 {
		font-size: 24px;
    }

    .slide-content h3 {
        margin-bottom: 15px;
		font-size: 20px;
    }

    .slide-content,
    .slide-image {
        flex: none;
        width: 100%;
    }

    .slide-image {
        margin: 0 auto;
        width: 100%;
    }

    .slide-image img {
        max-width: 40%;
        height: auto;
		transform: translateY(-30%);
    }
	
	.controls{
		gap: 70%;
	}

	/*----------SEKCJA-SZOSTA----------*/
    .hero-section h1 {
        font-size: 2rem;
    }

    .overlay p {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
	.left-side h3{
		font-size: 18px;
		line-height: 1.3rem;
	}
	
	.section-content{
		padding-top: 10vw;
	}
	
	#druga .section-title {
        font-size: 12vw;
    }
	
	#trzecia .section-title h1 {
    font-size: 12vw;
	}
	
	#czwarta h1{
		font-size: 12vw;
	}
	
	#piata h1{
		font-size: 12vw;
	}
	
	#piata h2{
		font-size: 24px;
	}



    .slide-content h2 {
		font-size: 20px;
    }

    .slide-content h3 {
		font-size: 18px;
    }

    .slide-content,
    .slide-image {
        flex: none;
        width: 100%;
    }

    .slide-image {
        margin: 0 auto;
        width: 100%;
    }

    .slide-image img {
        max-width: 40%;
        height: auto;
		transform: translateY(-30%);
    }
	
	.controls{
		gap: 50%;
	}
	
	.overlay{
		height: 30px;
	}
}




















