* {
  padding: 0;
  margin: 0;
}

@font-face {
  font-family: font1;
  src: url(fonty/Roboto-VariableFont_wdth\,wght.ttf);
}

body {
  background-color: #fff;
}

nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background-color: #aaafb3;
      font-size: 120%;
      font-family: sans-serif;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 30%;
      height: 100px;
    }

    .nav-left a {
      color: #fff;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.2em;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .nav-left img {
      height: 50px;
      width: auto;
    }

    .menu-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
    }

    .menu-toggle span {
      width: 25px;
      height: 3px;
      background-color: #fff;
    }

    .nav-right {
      list-style-type: none;
      display: flex;
      gap: 30px;
      align-items: center;
    }

    .nav-right li {
      position: relative;
    }

    .nav-right li a {
      display: block;
      color: #fff;
      text-decoration: none;
      padding: 10px 15px;
      transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .nav-right li a:hover {
      background-color: #bdc0c4;
      border-radius: 5px;
      transform: scale(1.1);
    }

    .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #aaafb3;
      list-style: none;
      padding: 0;
      margin: 0;
      display: none;
      flex-direction: column;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .dropdown:hover .dropdown-menu {
      display: flex;
    }

    .dropdown-menu li a {
      padding: 10px 15px;
      color: #fff;
      text-decoration: none;
    }

    .dropdown-menu li a:hover {
      background-color: #bdc0c4;
    }

    /* RESPONSYWNOŚĆ */
    @media (max-width: 768px) {
      nav {
        flex-wrap: wrap;
        padding: 15px 20px;
        height: auto;
      }

      .menu-toggle {
        display: flex;
      }

      .nav-right {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #aaafb3;
        margin-top: 10px;
      }

      .nav-right.show {
        display: flex;
      }

      .nav-right li {
        width: 100%;
      }

      .nav-right li a {
        padding: 15px;
        border-top: 1px solid #ccc;
      }

      .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
      }

      .dropdown.open .dropdown-menu {
        display: flex;
      }

      .dropdown-menu li a {
        padding-left: 30px;
      }
    }



header, .podstrona {
  background-image: url(zdjecia/bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 600px;
  position: relative;
}

.header-content {
  position: absolute;
  bottom: 10%;
  right: 15%;
  text-align: right;
  color: black;
}

.title {
  font-size: 400%;
}

.name {
  font-size: 150%;
}

main {
  width: 80%;
  margin: 0 auto;
  padding: 70px 0;
  font-family: font1;
}

/* Zmienione tła tabel w <main> */
main table,
main th {
  background-color: #f8f9fa !important;
}

.flex {
  display: flex;
  gap: 5%;
  align-items: flex-start;
}

.portret {
  width: 40%;
  padding-left: 5% auto;
}

.portret img {
  width: 70%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.tekst1 {
  width: 55%;
  padding-right: 5% auto;
  color: black;
}

.tekst1 h2 {
  font-size: 150%;
  margin-bottom: 20px;
  text-align: center;
}

.tekst1 p {
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 100%;
  text-align: justify;
}

.article1 {
  margin: 40px;
  text-align: center;
}

.wyksztalcenie {
  margin: 40px;
  line-height: 1.7;
  text-align: justify;
  width: 70%;
  margin: 0 auto;
}

.szkoly {
  width: 60%;
  margin: 5% auto;
  font-family: font1;
}

.szkoly table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid black;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.szkoly th {
  color: black;
  padding: 20px;
  font-size: 1.5em;
  text-align: center;
  border: 1px solid black;
}

.szkoly td {
  padding: 25px;
  vertical-align: top;
  font-size: 1.05em;
  color: #333;
  border: 1px solid black;
}

.szkoly ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

.szkoly li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.stowarzyszenia {
  text-align: center;
  line-height: 1.7;
}

.stowarzyszenia h2 {
  font-size: 200%;
  padding-bottom: 40px;
}

footer {
  background-color: #aaafb3;
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: center;
  gap: 5%;
  font-family: font1;
  flex-wrap: wrap;
}

footer .info,
footer .info1 {
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

footer .info h2,
footer .info1 h2 {
  margin-bottom: 15px;
}

footer .info p {
  margin: 0 0 20px 0;
  line-height: 1.4;
}

footer .info a {
  margin: 0 10px;
  display: inline-block;
  vertical-align: middle;
}

footer .info a img {
  width: 40px;
  height: 40px;
}

footer .info1 table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
}

footer .info1 table tr {
  border-bottom: 1px solid #fff;
}

footer .info1 table tr:last-child {
  border-bottom: none;
}

footer .info1 th {
  padding: 8px 10px;
  text-align: center;
  vertical-align: middle;
  font-weight: normal;
  color: #fff;
}

footer .info1 th:first-child {
  width: 50px;
}

footer .info1 img {
  width: 36px;
  height: 36px;
  vertical-align: middle;
}

footer .info-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}
footer .info-center {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 320px;
}

footer .info-center h2 {
  background-color: #95969A; 
  padding: 10px 20px;
  border-radius: 8px;
  color: #fff;
  font-family: font1;
  text-align: center;
}

footer .info-center {
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

footer .info-center h2 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

footer .info-center h2 a {
  color: #f0f0f0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

footer .info-center h2 a:hover {
  color: #dddddd;
}



.kontakttabela {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  line-height: 1.7;
  background-color: white;
}
.kontakttabela th{
  background-color: white;
}

.social {
  display: flex;
  justify-content: center;
  gap: 5%;
}

.social a img {
  width: 40px;
  height: auto;
  margin: 0 auto;
  margin: 30px;
}

.social a {
  display: inline-block;
}

.miejsce h2 {
  margin: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.miejsce iframe {
  width: 80%;
  height: 600px;
  display: flex;
  margin: 0 auto;
}

.zabiegi {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 50px;
}

.kafelek{
  width: 300px;
  height: 380px;
  background-color: white;
  border: 2px solid black;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.kafelek1{
  width: 300px;
  height: 500px;
  background-color: white;
  border: 2px solid black;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.kafelek1:hover {
  transform: translateY(-5px);
}

.kafelek1 a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.kafelek1 img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.kafelek1 h3 {
  flex-grow: 1;
  margin: 0;
  padding: 20px 10px;
  font-size: 1.2em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kafelek11 a:link,
.kafelek1 a:visited,
.kafelek a:hover,
.kafelek1 a:active {
  text-decoration: none;
  color: inherit;
}

.kafelek1 p{
  margin: 0 auto;
  padding-bottom: 20px;
}

.kafelek:hover {
  transform: translateY(-5px);
}

.kafelek a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.kafelek img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.kafelek1 img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.kafelek h3 {
  flex-grow: 1;
  margin: 0;
  padding: 20px 10px;
  font-size: 1.2em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kafelek a:link,
.kafelek a:visited,
.kafelek a:hover,
.kafelek a:active {
  text-decoration: none;
  color: inherit;
}

.zabiegityt {
  display: flex;
  justify-content: center;
}
.aku2 {
  margin: 0 auto;
  width: 60%;
}

.aku2 table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid black;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.aku2 th {
  color: black;
  padding: 20px;
  font-size: 1.5em;
  text-align: center;
  border: 1px solid black;
}

.aku2 td {
  padding: 25px;
  vertical-align: top;
  font-size: 1.05em;
  color: #333;
  border: 1px solid black;
}

.aku2 ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

.aku2 li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.aku2 th,
.aku2 td {
  width: 50%;
}



.title1 {
  display: flex;
  justify-content: center;
  margin: 40px 0 30px 0;
}

.title1 h2 {
  font-size: 2.8em;
  text-align: center;
  color: #2c3e50;
  font-family: 'font1', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  max-width: 900px;
}

.content {
  display: flex;
  gap: 70px;
  width: 80%;
  max-width: 1000px;
  margin: 0 auto 80px auto;
  align-items: center;
  font-family: 'font1', sans-serif;
  color: #34495e;
  justify-content: center;
}

.image {
  flex: 0 0 45%;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  overflow: hidden;
}

.image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
}

.tekst {
  flex: 0 0 60%;
  background-color: #f8f9fa;
  border-radius: 15px;
  padding: 25px 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: justify;
  font-size: 1.15em;
  line-height: 1.8;
  color: #2c3e50;
}

.content1 {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.content1 .tekst {
  flex: 1 1 600px;
  min-width: 400px;
}

.content1 .tekst p {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #333;
  text-align: justify;
}

.content1 .tekst ul {
  list-style-type: disc;
  padding-left: 25px;
  margin: 0;
  color: #444;
  font-size: 1.05em;
  line-height: 1.6;
}

.content1 .tekst ul li {
  margin-bottom: 12px;
}

.content1 .tekst ul li b {
  color: #222;
  font-weight: 700;
}




.carousel-container {
  position: relative;
  width: 90%;
  max-width: 1000px;
  overflow: hidden;
  padding: 10px 0;
  margin: auto;
}

/* Kontener przesuwanych obrazów */
.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Pojedynczy obrazek */
.carousel-item {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-item img {
  width: 90%;
  max-height: 600px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}


.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 2.8rem;
  color: #555;
  cursor: pointer;
  padding: 0 12px;
  transition: color 0.3s ease, transform 0.2s ease;
  user-select: none;
  z-index: 20;
}

.arrow:hover {
  color: #111;
  transform: translateY(-50%) scale(1.2);
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}




.review-carousel {
  width: 50%; /* szerokość karuzeli */
  margin: 40px auto;
  position: relative;
  font-family: font1;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px 25px;
  overflow: hidden; /* ważne, żeby przycinać zawartość */
}

.review-carousel .reviews {
  display: flex;
  transition: transform 0.4s ease;
  /* usuń padding tutaj */
}

.review-carousel .review {
  min-width: 100%; /* opinia zajmuje cały widoczny obszar */
  box-sizing: border-box;
  padding: 10px 40px 0 40px; /* padding po bokach żeby nie nachodził tekst pod strzałki */
  color: #333;
}

.review-carousel .header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}

.review-carousel .author {
  font-weight: 600;
  color: #222;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.review-carousel .stars {
  color: #f5a623;
  font-size: 1.1rem;
  user-select: none;
  flex-shrink: 0;
}

.review-carousel p {
  font-size: 1rem;
  font-style: normal;
  line-height: 1.5;
  color: #444;
  margin: 0;
}

.review-carousel .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  padding: 0 10px;
  user-select: none;
  transition: color 0.3s;
  z-index: 10;
}

.review-carousel .arrow:hover {
  color: #444;
}

.review-carousel .arrow.left {
  left: 10px;
}

.review-carousel .arrow.right {
  right: 10px;
}
.wellness-section {
  background-color: #f5f5f5;
  padding: 50px 20px;
  width: 60%;
  font-family: font1, sans-serif;
  color: #333;
  text-align: center;margin: 0 auto;
}

.wellness-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #222;
}

.wellness-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.wellness-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.wellness-links {
  list-style-type: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.wellness-links li {
  margin: 8px 0;
}

.wellness-links a {
  color: #336699;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.wellness-links a:hover {
  color: #1a3d5f;
  text-decoration: underline;
}
.wellness-content p {
  font-size: 1.1em; /* zmienione z 1rem na 1.1em */
  line-height: 1.6;
  margin-bottom: 20px;
}


.content1 a {
  color: #1a73e8;           /* ładny niebieski */
  text-decoration: none;    /* bez podkreślenia na start */
  font-weight: 600;         /* lekko pogrubione */
  transition: color 0.3s ease, text-decoration 0.3s ease;
  word-break: break-word;   /* łamanie długich linków */
}

.content1 a:hover,
.content1 a:focus {
  color: #155ab6;           /* ciemniejszy niebieski na hover */
  text-decoration: underline; /* podkreślenie na hover */
  outline: none;
}


.kontakttabela a:link,
.kontakttabela a:visited,
.kontakttabela a:hover,
.kontakttabela a:active {
  text-decoration: none;
  color: inherit;
}


/* Responsywność */
@media (max-width: 850px) {
  .content {
    flex-direction: column;
    width: 90%;
    gap: 30px;
  }

  .image,
  .tekst {
    flex: none;
    width: 100%;
  }

  .tekst {
    padding: 20px 15px;
  }

  .title1 h2 {
    font-size: 2em;
    max-width: 100%;
  }
}


@media (max-width: 480px) {

  /* Zmniejszenie rozmiarów nagłówków */
  .title {
    font-size: 2em;
  }

  .name {
    font-size: 1.1em;
  }

  /* Header content na mniejszych ekranach */
  .header-content {
    right: 5%;
    bottom: 5%;
    text-align: right;
  }

  /* Review carousel */
  .review-carousel {
    width: 90%;
    padding: 15px;
  }

  .review-carousel .review {
    padding: 10px 15px 0 15px;
  }

  /* Content i teksty */
  .content,
  .content1 {
    flex-direction: column;
    width: 95%;
    gap: 20px;
  }

  .content1 .tekst {
    min-width: unset;
    width: 100%;
    padding: 10px;
  }

  .tekst {
    font-size: 1em;
    padding: 15px;
  }

  /* Obrazki */
  .image,
  .image img {
    width: 100%;
    height: auto;
  }

  /* Zabiegi */
  .zabiegi {
    padding: 20px 10px;
    gap: 20px;
  }

  .kafelek,
  .kafelek1 {
    width: 100%;
    height: auto;
  }

  .kafelek img,
  .kafelek1 img {
    height: auto;
    max-height: 300px;
  }

  .kafelek1 h3,
  .kafelek h3 {
    font-size: 1.1em;
    padding: 15px 10px;
  }

  /* Tabele */
  .aku2,
  .szkoly {
    width: 100%;
    overflow-x: auto;
  }

  .aku2 table,
  .szkoly table {
    font-size: 0.9em;
  }

  /* Miejsce iframe */
  .miejsce iframe {
    width: 95%;
    height: 300px;
  }

  /* Wellness section */
  .wellness-section {
    width: 90%;
    padding: 30px 10px;
  }

  .wellness-section h2 {
    font-size: 1.5rem;
  }

  .wellness-content p {
    font-size: 1em;
  }

  /* Footer */
  footer {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  footer .info,
  footer .info1,
  footer .info-center {
    width: 100%;
    max-width: 90%;
  }

  footer .info1 table th {
    font-size: 0.9em;
  }

  /* Kontakt */
  .kontakt {
    flex-direction: column;
    font-size: 1em;
    gap: 15px;
  }

  /* Nav menu */
  nav {
    padding: 10px 15px;
  }

  .nav-right li a {
    padding: 10px;
    font-size: 1em;
  }

  .nav-left a {
    font-size: 1em;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
  }
}

@media (min-width: 481px) and (max-width: 888px) {
  .title {
    font-size: 2.5em;
  }
  .name {
    font-size: 1.3em;
  }
  .header-content {
    right: 8%;
    bottom: 8%;
    text-align: right;
  }
  .review-carousel {
    width: 85%;
    padding: 20px;
  }
  .review-carousel .review {
    padding: 15px 20px 0 20px;
  }
  .content,
  .content1 {
    flex-direction: column;
    width: 90%;
    gap: 25px;
  }
  .content1 .tekst {
    min-width: unset;
    width: 100%;
    padding: 15px;
  }
  .tekst {
    font-size: 1.1em;
    padding: 20px;
  }
  .image,
  .image img {
    width: 100%;
    height: auto;
  }
  .zabiegi {
    padding: 30px 15px;
    gap: 25px;
  }
  .kafelek,
  .kafelek1 {
    width: 100%;
    height: auto;
  }
  .kafelek img,
  .kafelek1 img {
    height: auto;
    max-height: 350px;
  }
  .kafelek1 h3,
  .kafelek h3 {
    font-size: 1.3em;
    padding: 20px 15px;
  }
  .aku2,
  .szkoly {
    width: 100%;
    overflow-x: auto;
  }
  .aku2 table,
  .szkoly table {
    font-size: 1em;
  }
  .miejsce iframe {
    width: 90%;
    height: 350px;
  }
  .wellness-section {
    width: 85%;
    padding: 40px 15px;
  }
  .wellness-section h2 {
    font-size: 1.8rem;
  }
  .wellness-content p {
    font-size: 1.1em;
  }
  footer {
    flex-direction: column;
    align-items: center;
    gap: 35px;
  }
  footer .info,
  footer .info1,
  footer .info-center {
    width: 100%;
    max-width: 85%;
  }
  footer .info1 table th {
    font-size: 1em;
  }
  .kontakt {
    flex-direction: column;
    font-size: 1.1em;
    gap: 20px;
  }
  nav {
    padding: 15px 20px;
  }
  .nav-right li a {
    padding: 12px;
    font-size: 1.1em;
  }
  .nav-left a {
    font-size: 1.1em;
  }
  .menu-toggle span {
    width: 22px;
    height: 2.5px;
  }
}