
body {
    font-family: system-ui, Arial;
    margin: 0;
    padding: 0;
    background: #f4f9fd;
    color: white;
    background-color: #C8FAFF;
  }

  header {
background-color: #f4f9fd;
color: white;
padding: 2rem;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-image: url('/plywak.webp');
background-size: cover;
background-position: center;

}

.row {
display: flex;
align-items: center;
justify-content: center;
gap: 20px;
flex-wrap: wrap;
text-align: center;
}

.row .content {
flex: 1 1 60%;
}

.row img {
flex-shrink: 0;
width: 200px;
height: 200px;
object-fit: contain;
}

main a {
text-decoration: none;
color: white;
}
main a:hover{
  color: #e7fe65;

}

  header h1 {
    margin: 0;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px black;
  }

  header p {
      font-size: 1.4rem;
    margin-top: 10px;
    text-shadow: 2px 2px 4px black;
  }

  .logo img {
    height: 150px;
    width: auto;
    margin-bottom: 10px;
  }

  .header-text {
    text-align: center;
  }

  nav {
    background-color: #023e8a;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 100%;
  }
  
  nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 15px 20px;
    margin: 0.3rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
  }
  
  nav a:hover {
    background-color: #e7fe65;
    color: #023e8a;
  }
  
  nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 8px;
    left: 50%;
    background-color: #e7fe65;
    transition: 0.3s ease;
    transform: translateX(-50%);
  }
  
  nav a:hover::after {
    width: 60%;
  }
  

  nav a.active {
    background-color: #e7fe65;
    color: #023e8a;
  }
  

  

  
section#dzieci,
section#dorosli,
section#panie {
position: relative;
margin-bottom: 2%;
overflow: hidden;
text-shadow: 4px 4px 4px black;
}

.sponsors-section {
  background-color: #f0f8ff;
  padding: 40px 20px;
  text-align: center;
  color: #333;
}

.sponsors-container h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.sponsors-container p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.sponsors-logos {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.sponsors-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 100px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 10px;
  transition: transform 0.3s ease;
}

.sponsors-logos a:hover {
  transform: scale(1.05);
}

.sponsors-logos img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}



section#dzieci::before,
section#dorosli::before,
section#panie::before {
content: "";
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
background-size: cover;
background-position: center;
filter: blur(0);
transition: filter 0.2s ease;
z-index: 0;
}



.slide {
display: flex;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #023e8a;
  align-items: center;
  line-height: 1.6rem;
  background-color: #f0f9ff;
  justify-self: center;
  width: 100%;
  justify-content: center;
}

a.slide {
  text-decoration: none;
  text-align: center;
}

.slide p:hover{

  color: #0077cc;


}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.oferta-section {
  background-color: #f0f9ff;
  text-align: center;
  color: #003049;
}

.oferta-container {
  max-width: 1200px;
  margin: 0 auto;
}

.oferta-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #006d77;
  margin-bottom: 20px;
}
.oferta-kategoria {
font-size: 2rem;
font-weight: 600;
color: #006d77;
margin-bottom: 20px;
}

.oferta-intro {
  font-size: 1.2rem;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #264653;
}

.oferta-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.oferta-card {
  flex: 1 1 calc(33.333% - 40px);
  max-width: 250px;
  text-decoration: none;
  background-color: white;
  border: 1px solid #e1e1e1;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding-bottom: 20%;
  font-weight: bold;
}


.oferta-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.oferta-card-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  background-color: transparent;
}


.card-icon {
  font-size: 2rem;
  text-align: center;
}

@media (max-width: 1024px) {
  body{
font-size:1.4rem;

  }
  .oferta-cards {
    flex-wrap: wrap;
    justify-content: center;
  }

  .oferta-card {
    flex: 1 1 calc(45% - 20px);
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .oferta-cards {
    flex-direction: column;
    align-items: center;
  }

  .oferta-card {
    flex: 1 1 100%;
    max-width: 90%;
  }

  .oferta-title {
    font-size: 2rem;
  }

  .oferta-intro {
    font-size: 1rem;
    padding: 0 10px;
  }

}

@media (min-width: 920px) {

  .oferta-card{
max-height: 150px;

  }

  .oferta-card:nth-child(1) {
    background-image: url('/web/images/icons/dzieciuczacesieplywac.jpg');
    background-repeat: round;
  }
  
  
  .oferta-card:nth-child(2) {
    background-image: url('/web/images/icons/grupaplywaniadlapan.jpg');
    background-repeat: round;
  }
  
  
  .oferta-card:nth-child(3) {
    background-image: url('/web/images/icons/naukaplywaniadladoroslych.jpg');
    background-repeat: round;
  }
  
  .oferta-card:nth-child(4) {
    background-image: url('/web/images/icons/uks.jpg');
    background-repeat: round;
  }
  
}
@media (max-width: 919px) {
.oferta-card {

  background-image:  url(/web/images/icons/p5.webp);
}

  
}
@media (max-width: 992px) {
  .oferta-card {
    flex: 1 1 calc(50% - 40px);

  }
  .oferta-cards {
    flex-wrap: wrap;
    height: auto;
    justify-self: center;

  }
}

@media (max-width: 600px) {
  .oferta-card {
    flex: 1 1 100%;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-icon {
    font-size: 1.6rem;
  }
  .oferta-cards {
    width: 300px;


  }
  body{
    font-size:1rem;
    
      }
}


.card-icon {
  font-size: 3rem;
  color: #006d77;
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.6rem;
  font-weight: lighter;
  color: #e7fe65;
  margin-bottom: 15px;
  text-shadow: 3px 3px 4px black;
}

.oferta-card-content p {
  font-size: 1rem;
  color: #e7fe65;
  line-height: 1.5;
  margin-bottom: 20px;
  text-shadow: 2px 2px 3px black;
  font-weight: lighter;
}


.swiper-button-prev,
.swiper-button-next {
  color: #0d47a1;
  transform: scale(0.5); 
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 20px !important;
}


section#dzieci::before {
background-image: url('Nauka_Plywania_Dla_Dzieci_I_Mlodziezy_Wadowice.svg');
}
section#dorosli::before {
background-image: url('Grupa_dla_kobiet_plywanie_wadowice.svg');
}
section#panie::before {
background-image: url('pw1.png');
}

#faq {
  padding: 20px;
  background-color: #f1f9ff;
  margin-top: 30px;
  color: black;
  margin-top: 20px;
  text-align: center;
}

#faq h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: black;
}

#faq .question {
  background-color: #f1f9ff;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
  color: black;
}

#faq .question h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: black;
}

#faq .question p {
  font-size: 1rem;
  line-height: 1.5;
  color: black;
}

#faq .question:hover {
  background-color: #f1f9ff;
  cursor: pointer;
  color: black;
}



section#dzieci:hover::before,
section#dorosli:hover::before,
section#panie:hover::before {
filter: blur(2px);
}


section#dzieci > *,
section#dorosli > *,
section#panie > * {
position: relative;
z-index: 1;
}

div#Grupy {
padding: auto;
}

div#oferta {
color: black;
}
#kontakt {
  background-image: url('/web/images/icons/p5.webp');
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  color: #023e8a;
}

.kontakt-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
  justify-content: center;
}


.kontakt-info,
.kontakt-mapa {
  flex: 1 1 100%;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
}

.kontakt-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #005f99;
}

.kontakt-info p {
  margin: 12px 0;
  font-size: 1.1em;
  line-height: 1.6;
}

.kontakt-info a {
  color: #023e8a;
  text-decoration: none;
  font-weight: 600;
}

.kontakt-info a:hover {
  color: #0077cc;
  text-decoration: none;
}

.kontakt-mapa iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .kontakt-info {
    flex: 1 1 40%;
  }

  .kontakt-mapa {
    flex: 1 1 55%;
  }
}


#dzieci-content {
  background-color: #6aafe0de; 
  color: black;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 1%;
}

#dzieci-content .container-flex {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

#dzieci-content .tekst-blok {
  flex: 1 1 60%;
}

#dzieci-content .zdjecie-blok {
  flex: 1 1 35%;
  max-width: 450px;
}

#dzieci-content .zdjecie-blok img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

#dzieci-content .btn-zapisy {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #517fff;
  color: black;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

#dzieci-content .btn-zapisy:hover {
  background-color: #0088cc;
}

#galeria-content {
  background-color: #e3f2fd;
  padding: 60px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 1%;
}

#galeria-content .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.galeria-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden; 
}


.galeria-slide {
  display: flex;
  width: 100%; 
  transition: transform 1s ease; 
}


.galeria-slide img {
  width: 100%;
  height: 300px; 
  object-fit: cover; 
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-right: 20px; 
}


@keyframes galeria-slide-animation {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.galeria-slide {
  animation: galeria-slide-animation 16s infinite linear; 
}


#galeria-content h2 {
  margin-bottom: 30px;
  font-size: 2rem;
  font-weight: bold;
  color: #1c6b85;
}






.btn-social {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-social.fb {
  background-color: #3b5998;
  text-decoration: none;
  color: white;
}

.btn-social.fb:hover {
  background-color: #2d4373;
  text-decoration: none;
  color: white;
}

.btn-social.gmaps {
  background-color: #56ad4e;
  text-decoration: none;
  color: white;
}

.btn-social.gmaps:hover {
  background-color: #1a9916;
  text-decoration: none;
  color: white;
}

  .instruktor-section {
    background-color: #f1f9ff;
    padding: 60px 20px;
  }
  
  .instruktor-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .instruktor-container.reverse {
    flex-direction: row-reverse;
  }
  
  .instruktor-img-wrapper {
    flex: 1 1 40%;
    text-align: center;
     }
  
  .instruktor-img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .instruktor-content {
    flex: 1 1 55%;
    text-align: left;
  }
  
  .instruktor-content.right-text {
    text-align: right;
  }
  
  .instruktor-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #023e8a;
  }
  
  .instruktor-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #023e8a;
  }
  
  .instruktor-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #0077cc;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
  }
  
  .instruktor-btn:hover {
    background-color: #005fa3;
  }
  
  
  


  main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    background: linear-gradient(to bottom, #d1edff, #b5e2ff);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  }

  main h2 {
text-align: center;
  }

  section {
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .hero-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
  }

  footer {
    background-color: #023e8a;
    color: white;
    text-align: center;
    padding: 1rem;
  }

  footer p {
    margin: 0;
    font-weight: lighter;
  }

 .sekcja-przewaga {
  padding: 40px 20px;
  background-color: #f1f9ff;
  padding-bottom: 20px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}

.text-content {
  flex: 1 1 60%;
}
.image-content {
  flex: 1 1 35%;
  max-width: 400px;
}
.image-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.sekcja-przewaga {
  padding: 40px 20px;
  background-color: #f1f9ff;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  color: black;
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}
.text-content {
  flex: 1 1 60%;
}
.image-content {
  flex: 1 1 35%;
  max-width: 400px;
}
.image-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.sekcja-przewaga h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.sekcja-przewaga ul {
  list-style: none;
  padding: 0;
}
.sekcja-przewaga ul li {
  margin-bottom: 10px;
  padding-left: 1.2em;
  position: relative;
}
.sekcja-przewaga ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #0077cc;
}
.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #0077cc;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 1px dotted black;
}
.cta-button:hover {
  background-color: #e7fe65;
  color: #023e8a;
}

.aqua-dzieci-content {
  background: linear-gradient(to right, #60bfce, #44b1bd);
  color: black;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 1%;
}

.aqua-dzieci-content .aqua-container-flex {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.aqua-dzieci-content .aqua-tekst-blok {
  flex: 1 1 60%;
}

.aqua-dzieci-content .aqua-zdjecie-blok {
  flex: 1 1 35%;
  max-width: 450px;
  margin-top: 5%;
}

.aqua-dzieci-content .aqua-zdjecie-blok img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.aqua-dzieci-content .aqua-btn-zapisy {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #517fff;
  color: black;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.aqua-dzieci-content .aqua-btn-zapisy:hover {
  background-color: #0088cc;
}



  

  @media (min-width: 1000px) {
    header {
   background-position-y: -100px;
    }

    div#Grupy {
      font-size: 150%;
      padding: 20px;
    }
    .slide {
height: 1.6rem;


    }

  }
  @media (max-width: 950px) {
body {
font-size: 1.5rem;

}

.text-content {
  text-align: center;
}

.cta-button {
  justify-self: center;
  display: flex;
}
  }



  @media (max-width: 768px) {
    body {
      font-size: 1rem;
      
      }
    header {
      flex-direction: column;
      text-align: center;
    }
    .galeria-slide img {
      height: 200px; 
    }
    .logo img {
      margin-bottom: 10px;
      height: 100px;
    }

    .header-text h1 {
      font-size: 2rem;
    }

    .header-text p {
      font-size: 1rem;
    }

    .oferta-title {
      font-size: 2rem;
    }
  
    .oferta-intro {
      font-size: 1rem;
    }
  
    .card-title {
      font-size: 1.4rem;
    }
  
    .oferta-card {
      padding: 15px;
      height: 300px;
    }

    .content-wrapper {
font-size: 1.4rem;
    }
    .instruktor-container,
    .instruktor-container.reverse {
      flex-direction: column;
      text-align: center;
    }
  
    .instruktor-content,
    .instruktor-content.right-text {
      text-align: center;
    }
    nav {
      align-items: center;
      padding: 0.5rem;
    }
  
    nav a {
      font-size: 0.95rem;
      padding: 10px 12px;
      width: 100%;
      text-align: center;
      margin: 0.2rem 0;
    }
  
    nav a::after {
      bottom: 4px;
    }

  }

  @media (max-width: 480px) {
    header h1 {
      font-size: 1.8rem;
    }
    .content-wrapper {
      font-size: 1rem;
    }
    header p {
      font-size: 1rem;
    }

    .logo img {
      height: 100px;
    }

    section {
      padding: 1rem;
    }
  }
