body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 100%;
  background: #000;
  transition: 1s;
  padding: 0 100px;
  box-sizing: border-box;
  z-index: 2147483647;
  font-family: "Barlow", sans-serif;
}

.message {
    text-align: center;
    margin-top: 10px; /* Odsunięcie tekstu od loga */
}

header.scrolled {
  height: 100px;
}

header img.banner{
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  transition: 1s;
}

header.scrolled img.banner{
  opacity: 0;
}

header .logo{
  position: absolute;
  top: calc(50% - 150px);
  left: calc(50% - 150px);
  transition: 1s;
}

header.scrolled .logo{
  position: relative;
  top: 10px;
  left: -90px;

}

header .logo img {
  width: 300px;
  transition: 1s;
  background: rgba(24, 38, 32, 0.07);
  border-radius: 10px;
}

header.scrolled .logo img {
  width: 80px;
  padding-top: 20px;
}

nav{
  position: relative;
  float: right;
}

nav ul{
  margin: 0;
  padding: 40px 0;
  display: flex;
  transition: 1s;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100px);
}

header.scrolled nav ul{
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

nav ul li{
  list-style: none;
}

nav ul li a {
  color: #fff;
  padding: 5px 10px;
  text-decoration: none;
  transition: 1s;
}

nav ul li a.active{
  background: #fff;
  color:#262626;
  border-radius: 10px;
}

nav ul li a:hover{
  border-bottom: 2px solid white;
}

@media (max-width: 768px) {
  header {
    padding: 5px 10px; /* Zmniejszenie paddingu na mniejszych ekranach */
  }


  nav ul {
    gap: 5px; /* Zmniejszenie odstępów między linkami */
	padding: 30px 0;
  }

  nav ul li a {
    font-size: 14px; /* Mniejsza czcionka */
    padding: 5px 10px;
  }
  
  header.scrolled .logo{
	position: relative;
	top: 5px;
	left: 0;
	}
	
  header.scrolled .logo img {
	width: 80px;
	padding-top: 20px;
	}
  
}

.scroll-arrow {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: transparent;
  border-left: 5px solid white;
  border-bottom: 5px solid white;
  transform: translateX(-50%) rotate(-45deg);
  animation: pulse 1.5s infinite alternate;
  transition: opacity 1s;
}

@keyframes pulse {
  0% {
    transform: translateX(-50%) rotate(-45deg) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translateX(-50%) rotate(-45deg) scale(1.2);
    opacity: 1;
  }
}

/* Ukrywanie strzałki gdy tło banner znika */
header.scrolled .scroll-arrow {
  opacity: 0;
  visibility: hidden;
}


.welcome-section {
    padding: 60px 20px;
    text-align: center;
    color: white;
	
}
.welcome-section .container {
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);

}
.welcome-section h1 {
    font-size: 2.5rem;
}
.welcome-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.carousel {
	background-color: #000000
}
.carousel-item img {
    width: 100%;
    height: 100vh; /* Ustaw maksymalną wysokość */
    object-fit: contain !important; /* Dopasowanie obrazu bez zniekształceń */
}


/* Styl ogólny dla sekcji */
.section {
	padding: 15px 10px;
    display: flex;
    justify-content: center;
	background-color: #ffffff;
	font-family: 'Tinos', serif;
}

/* Styl dla kontenera wewnątrz sekcji */
.content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1000px;
    width: 100%;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
	margin: 10px;
    border-radius: 8px; /* Zaokrąglone rogi dla lepszego efektu */
}

/* Styl dla obrazków */
.all-image {
    width: 50%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

/* Styl dla tekstu */
.text {
    width: 50%;
    text-align: left;
}

/* Sekcje ze zdjęciem po lewej */
.section.left .content {
	padding: 15px 10px;
    display: flex;
    justify-content: center;
	background-color: #D3D3D3;
	font-family: 'Tinos', serif;
    flex-direction: row;
	color: #000000;
}

/* Sekcje ze zdjęciem po prawej */
.section.right .content {
    flex-direction: row-reverse;
	background-color: #000000;
	color: #FFFFFF;
	padding: 30px 20px;
    display: flex;
    justify-content: center;
	font-family: 'Tinos', serif;
}

/* RESPONSYWNOŚĆ dla małych ekranów */
@media (max-width: 768px) {
    .content {
        flex-direction: column !important;
        text-align: center;
    }
    
    .all-image {
        width: 100%;
    }
	
	.text {
        order: -1;
		width: 100%;
    }
}

 .call-button {
    background-color: red;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 20px;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}
  .call-button:hover {
    background-color: darkred;
}


footer {
    text-align: center;
    padding: 20px;
    background: #000000;
    color: white;
}