html {
  scroll-behavior: smooth;

}

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

header {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url('IMG/polusa3.jpg') no-repeat center center/cover;
  height: 70vh;
  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;
  font-family: Brush Script MT, Brush Script Std, cursive;
}

.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;
  background-color: black;
  opacity: 1;
  border-radius: 5px;
}

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

a:visited {
  color: inherit; /* albo konkretny kolor */
}

.btn-primary {
  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;
  opacity: 1;
}


footer{
  display: flex;
  color: white;
  background-color: black;
  justify-content: center;
  align-items: center;
  max-height: 40px;
}

.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: #0e0e0e;
  padding: 2rem;

}
#sections2{
  border-bottom: white 1px solid;
}
.section {
  text-align: center;
  cursor: pointer;
  background-color: #1a1a1a;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #333;
}
.section:hover{
  background-color: rgb(70, 70, 70);
  border: 1px solid gold;
  -webkit-box-shadow: 2px 2px 24px 5px rgba(200, 170, 0, 0.8);
  -moz-box-shadow: 2px 2px 24px 5px rgba(200, 170, 0, 0.8);
  box-shadow: 2px 2px 24px 5px rgba(200, 170, 0, 0.8);
}
.section a{
  text-decoration: none;
  color: inherit;
}
.section h3 {
  font-size: 1rem;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 1.2;
  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;
}
.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 {
  color: white;
  max-width: 80%;
  min-width: 80%;
  margin: 3rem auto;
  padding: 3rem;
  background-color: rgb(0, 0, 0);
  border-radius: 12px;
  transition: all 0.3s ease-in-out;
  -webkit-box-shadow: 2px 2px 24px 5px rgba(66, 68, 90, 1);
  -moz-box-shadow: 2px 2px 24px 5px rgba(66, 68, 90, 1);
  box-shadow: 2px 2px 24px 5px rgba(66, 68, 90, 1);
}

.main{
  color: white;
  max-width: 100%;
  border-bottom: white 1px solid;
  padding: 3rem;
  background-color: rgb(0, 0, 0);
}

.info-box h3{
  display: flex;
  justify-self: center;
}
.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 (min-width: 768px) {
  .popupnewyear img{
    max-height: 80%;

  }
}

@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;
  border: 1px solid gold;
  border-radius: 10px;
}
.info {
  display: none;
  padding: 20px;
  border-radius: 10px;
}

.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);
}
.gold-back{
  display: flex;
  width: 100%;
  height: fit-content;
  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%);
}
.gold-back h2{
  width: 100%;
  background-color: rgb(0, 0, 0);
  top: 0;
  margin: 0;
  margin-bottom: 2px;
  padding: 5px;
}
.info-box h3 span{
  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;
  text-align: start;
}

.main 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;
}

#info3 {
  background-color: #000;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
}

.info h2{
  text-align: start;
}

#info2, #info3, #info4 p {
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.info form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  max-width: 80%;
  margin: 0 auto;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

input.small-input,
textarea.message-input {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ab9000;
  border-radius: 6px;
  background-color: #2a2a2a; /* biały background */
  color: #ffffff; /* czarny tekst */
  font-size: 1rem;
  box-sizing: border-box;
}

textarea.message-input {
  min-height: 150px;
  resize: none;
}

.info form .send{
  width: 200px;
  padding: 0.8rem 1.2rem;
  background-color: #10c835;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.info form .send:hover {
  background-color: #0ea52a;
}
.cards-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  width: 100%;
  max-width: 300px;
  cursor: pointer;
}

.popup {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
  flex-direction: column;
}

.popup-content {
  flex-direction: column;
  display: flex;
  max-width: 100%;
  text-align: center;
  color: white;
   align-items: center;
  justify-content: center;
  height: 100%;
}

.popup-card,
.popup-qr {
  display: flex;
  max-width: 60%;
  margin-bottom: 20px;
}

.popup-link {
  display: block;
  color: #00ffcc;
  font-size: 1.2em;
  margin-bottom: 20px;
}

.close-btn {
  background: #ff3333;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
}

.hidden {
  display: none;
}


.opinie-vertical-section {
  background-color: #0e0e0e;
  padding: 60px 20px;
  color: white;
  max-width: 100%;
  margin: 0 auto;
  border-bottom: 1px solid white;
}

.opinie-heading {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

.opinie-scrollbox {
  max-height: 500px; 
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-right: 10px;
  scrollbar-width: thin;
}

.opinie-scrollbox::-webkit-scrollbar {
  width: 6px;
}
.opinie-scrollbox::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}

.opinia-card {
  background-color: #1c1c1c;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 0 10px rgba(255,255,255,0.05);
}

.opinia-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 10px;
}

.autor {
  font-weight: 600;
  font-size: 1rem;
}

.data {
  font-size: 0.85rem;
  color: #bbb;
}

.star-rating {
  display: inline-block;   
  width: fit-content;      
  max-width: 100%; 
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  color: #ccc; 
}

.star-rating span {
  transition: color 0.2s;
  color: #FFD700;
}

.star-rating span.hover,
.star-rating span.selected {
  color: #FFD700;
}



.gwiazdki {
  font-size: 1.1rem;
  color: #FFD700; 
  margin-bottom: 10px;
}



.tekst {
  font-size: 0.95rem;
  color: #ddd;
  line-height: 1.5;
}

.banner-nav {
  background-color: #0e0e0e;
  text-align: center;
  padding: 12px;
  margin-top: -10px; /* lekko przyciąga do banera */
  border-bottom: 1px solid white;
}

.banner-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.banner-nav li {
  padding: 5px;
  display: inline-block;
  border: 1px solid #333;
  background-color: #1a1a1a;
  border-radius: 5px;
}

.banner-nav span{
  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;
}

.banner-nav a {
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1em;
  transition: all 0.3s ease;

}

.banner-nav li:hover {
  background-color: rgb(70, 70, 70);
  border: 1px solid gold;
  -webkit-box-shadow: 2px 2px 24px 5px rgba(200, 170, 0, 0.8);
  -moz-box-shadow: 2px 2px 24px 5px rgba(200, 170, 0, 0.8);
  box-shadow: 2px 2px 24px 5px rgba(200, 170, 0, 0.8);
}

/* Pasek wiadomości */
.news-ticker {
  background-color: #111;
  color: #FFD700;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 35px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #333;
  padding: 10px 0;
}

/* Tekst przewijający się */
.news-content {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 25s linear infinite;
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.5rem;
}

/* Kluczowa animacja */
@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}



.socialmedia{
  border-bottom: 1px solid white;
  display: flex;
  flex-direction: column;
}

.socialmedia h2{
  justify-self: center;
  display: flex;
  align-self: center;
}