html {
  scroll-behavior: smooth;

}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #e0dfdf;
  color: #1a1a1a;
  box-sizing: border-box;
}

header {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url('IMG/polusa3.jpg') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.test {
  background-color: black;
  padding: 10px 20px;
  text-align: center;
}

.test h1 {
  font-size: 2.5rem;
  background: linear-gradient(90deg, rgba(191, 149, 63, 1) 0%, rgba(252, 246, 186, 1) 30%, rgba(179, 135, 40, 1) 48%, rgba(251, 245, 183, 1) 70%, rgba(170, 119, 28, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0.5rem 0;
  word-break: break-word;
}

.test p {
  font-size: 1rem;
  color: white;
  margin: 0.3rem 0;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-group a {
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1rem;
  display: inline-block;
}

.btn-primary {
  background-color: #c8102e;
  color: white;
}

.btn-secondary {
  background-color: white;
  color: #c8102e;
  border: 2px solid #c8102e;
}

.sections {
  color: white;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  background-color: #000000;
  padding: 2rem;
}

.section {
  text-align: center;
  cursor: pointer;
  background-color: #1a1a1a;
  padding: 1rem;
  border-radius: 8px;
}
.section:hover{
  background-color: gray;
}
.section a{
  text-decoration: none;
  color: inherit;
}
.section h3 {
  font-size: 1rem;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 1.2;
}
.section i {
  font-size: 2rem;
  color: #c8102e;
  display: block;
  margin-bottom: 0.5rem;
}

.section.active {
  font-weight: bold;
  color: #c8102e;
  background-color: #e0dfdf;
}

.info-box {
  max-width: 80%;
  margin: 3rem auto;
  padding: 3rem;
  background-color: white;
  border-radius: 12px;
  transition: all 0.3s ease-in-out;
}

.newsletter {
  background: #f0f0f0;
  text-align: center;
  padding: 3rem 1rem;
}

.newsletter input {
  padding: 0.5rem;
  margin-right: 0.5rem;
  width: 250px;
  max-width: 90%;
}

.newsletter button {
  padding: 0.6rem 1.2rem;
  background-color: #c8102e;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
}



@media (max-width: 600px) {
  .test h1 {
    font-size: 1.75rem;
  }

  .btn-group a {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .newsletter input {
    width: 90%;
    margin-bottom: 0.5rem;
  }

  .newsletter button {
    width: 90%;
  }

  .info-box {
    padding: 1.5rem;
  }
}
@media (max-width: 768px) {
  header {
    height: 50vh; /* zmniejszona wysokość dla telefonów */
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .test {
    height: auto;
    padding: 10px;
  }

  .test h1 {
    font-size: 2rem;
  }

  .test p {
    font-size: 1rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .sections {
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem;
  }

  .section {
    padding: 1rem 0.5rem;
  }

  .section h3 {
    font-size: 1rem;
  }

  .section p {
    font-size: 0.875rem;
  }

  .section i {
    font-size: 1.5rem;
  }
  .slides img {
    width: 70%;
    height: auto;
  }
  .image-row {
    flex-direction: column;
    gap: 1rem;
  }
}
.h1 {
  display: flex;
  justify-content: center;
  grid-area: h1; 
  height: fit-content;
  margin: auto;
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.container {
  background-color: black;
  color: white;
  display: flex;
  flex-direction: column;
  margin: auto;
  border-bottom: white 1px solid;
  overflow-x: hidden;
}

.container h1, .container h2{
  background: linear-gradient(90deg, rgba(191, 149, 63, 1) 0%, rgba(252, 246, 186, 1) 30%, rgba(179, 135, 40, 1) 48%, rgba(251, 245, 183, 1) 70%, rgba(170, 119, 28, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.container h2{
  margin: 0;
}
.slideshow-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  margin-bottom: 5vh;
}

.slides-wrapper {
  display: flex;
  transition: transform 1s ease-in-out;
  width: 100%;
}

.slides {
  display: flex;
  flex-direction: column;     /* Poziomy układ zawartości w slajdzie */
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 100%;            /* Ustaw dokładnie na szerokość widoku */
  box-sizing: border-box;
  gap: 2rem;               /* Odstęp między obrazami/nagłówkiem */
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slideshow-container button {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.prev-slide { left: 0; border-radius: 0 5px 5px 0; }
.Next-slide { right: 0; border-radius: 5px 0 0 5px; }

.slideshow-container button:hover {
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 1;
}

.image-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin: auto;
}
.slides img {
  max-width: 300px;
  width: 60%;
  height: auto;
  object-fit: contain;
}
.info {
  display: none;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.info.active {
  display: block;
}
.locked-section {
  position: relative;
  display: inline-block;
}

.locked-section .content {
  display: flex;
  filter: blur(5px);
  pointer-events: none;
  height: 100%;
}

.locked-section .lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.locked-section .lock-icon {
  font-size: 48px;
  color: rgba(0, 0, 0, 0.6);
}
