html {
  scroll-behavior: smooth;
}
/* google */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #222;
  color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 14px;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}
#cookie-banner button {
  background: #128572;
  border: none;
  padding: 8px 14px;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 8px;
}#cookie-banner button:hover {
  background: #0a6354;
  color: black;
}
#cookie-banner button#cookie-decline {
  background: #555;
}
.cookie-banner .choose{
  background-color: transparent;
}
/* google end */
body{
    background: linear-gradient(rgb(255, 255, 255),#d4d4d4);
    font-family: 'Nunito-Regular';
    margin: 0 auto;
}
.title-section {
  padding-top: 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.title {
  position: relative;
  font-size: 4rem;
  color: #128572;
  font-weight: 800;
  z-index: 99;
  font-family: 'ClashDisplay-SemiBold';
  margin: 0 auto;
}


/* ------------------------------------------------------- */

    #myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #12907c;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}
#myBtn i{
  background-color: transparent;
  font-family: 'ClashDisplay-Bold';
}
#myBtn:hover {
  background-color: #555;
}




.mobile-container {
  margin: 0 auto;
  color: white;
  border-radius: 10px;

}
.mobile-container .topnav .active img{
  background-color: transparent;
}
.mobile-container .topnav .myLinks a button{
  padding: 0;
  text-align: center;
}
.mobile-container .topnav .myLinks .cta{
  text-align: left;
}
.topnav {
  overflow: hidden;
  background-color: white;
  position: relative;
}
.topnav li{
  list-style: none;
}
.topnav #myLinks {
  display: none;
  text-align: center;
}

.topnav a {
  color: black;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
  background-color: white;
}
.topnav .cta{
    background-color: #12907c;
    border-radius: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    color: white;
}
.topnav .cta:hover{
    background-color: #128572;
    color: black;
}
.topnav a.icon {
  display: block;
  position: absolute;
  right: 2%;
  top: 0;
}

/* ----------------------------------------------------- */
.topnav a{
  text-decoration: none;
}
.cta{
  color: #414141;
}
li, a, button{
    font-weight: 500;
    font-size: 16px;
    color: black;
    text-decoration: none;
}
header{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 25px 15%;
}

.logo{
    cursor: pointer;
    margin-right: auto;
}
.nav_links{
    list-style: none;
}
.nav_links li{
    display: inline-block;
    padding: 0px 20px;
}
.nav_links li a{
    transition:  all 0.3s ease 0s;
}
.nav_links li a{
  color: #414141;
  display: inline-block;
  padding-bottom:2px;
  background-image: linear-gradient(#128572 0 0);
  background-position: 0 100%; /*OR bottom left*/
  background-size: 0% 2px;
  background-repeat: no-repeat;
  transition:
    background-size 0.3s,
    background-position 0s 0.3s; /*change after the size immediately*/
}
.nav_links li a:hover{
  color: black;
  background-position: 100% 100%; /*OR bottom right*/
  background-size: 100% 2px;
}
button{
  color: white;
    margin-left: 30px;
    padding: 9px 25px;
    background-color: #12907c;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}
button:hover{
  color: black;
    background-color: #128572;
}

/* BLOG */
.breadcrumb {
  display: flex;
  justify-content: center; /* wyśrodkowanie */
  align-items: center;
  gap: 10px; /* odstępy między elementami */
  font-size: 12px;
  margin-top: 20px;
  margin-bottom: 20px;
  font-family: 'ClashDisplay-SemiBold';
  letter-spacing: 2px;
}

.breadcrumb a {
  color: #12907c; /* np. pomarańczowy */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
  font-size: 12px;
}

.breadcrumb a:hover {
  color: #128572;
}

.breadcrumb .current {
  color: black;
  font-weight: 700;
}

.breadcrumb span {
  color: #414141;
}
.gallery {
  max-width: 55%;
  justify-self: center;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
@media (max-width: 550px) {
  .gallery{
    max-width: 80%;
  }
}
.hidden2{
    opacity: 0;
  transform: translateY(100%);
  transition: all 0.7s;
}
.show{
  opacity: 1;
  transform: translateY(0);
}
@media(prefers-reduced-motion){
  .hidden{
    transition: none;
  }
}
.show:nth-child(1) { transition-delay: 0s; }
.show:nth-child(2) { transition-delay: 0.2s; }
.show:nth-child(3) { transition-delay: 0.4s; }
.show:nth-child(4) { transition-delay: 0.6s; }
.show:nth-child(5) { transition-delay: 0.8s; }
.show:nth-child(6) { transition-delay: 1s; }

.card {
  background: #f0efef;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;

}


.card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  transition: transform 0.4s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  cursor: pointer;
}
.card img:hover {
  transform: scale(1.1);
}

.content {
  padding: 1rem;
  position: relative;
  z-index: 2;
  background: #f0efef;
}
.card:hover img,
.card:has(.content:hover) img {
  transform: scale(1.1);
}
.card .category{
  cursor: pointer;
  font-family: 'ClashDisplay-SemiBold';
}
.card h3{
  cursor: pointer;
  font-family: 'Nunito-Regular';
}
.card h3:hover{
  color: #128572;
}
.category {
  display: inline-block;
  color: #128572;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  font-weight: bold;
}
.category:hover{
  color: #003a30;
}
h3 {
  font-size: 1.1rem;
  line-height: 1.3;
}
/* pod blog */

.accordion {
  max-width: 55%;
  margin: 40px auto;
  font-family: sans-serif;
  font-family: 'Nunito-Regular';
}
@media (max-width:1100px) {
  .accordion{
      max-width: 80%;
  }
}
@media (max-width:762px) {
.accordion-item.active .accordion-content {
  max-height: 850px;
}
  .accordion{
      max-width: 100%;
  }
}
@media (max-width:600px){
  .accordion-item.active .accordion-content {
  min-height: 710px;
}
}
@media (max-width:530px){
  .accordion-item.active .accordion-content {
  min-height: 770px;
}
}
@media (max-width:480px){
  .accordion-item.active .accordion-content {
  min-height: 800px;
}
}
@media (max-width:480px){
  .accordion-item.active .accordion-content {
  min-height: 830px;
}
}
@media (max-width:440px){
  .accordion-item.active .accordion-content {
  min-height: 930px;
}
}
@media (max-width:390px){
  .accordion-item.active .accordion-content {
  min-height: 950px;
}
}
.accordion-item {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background: #ffffff;
}

.accordion-header {
  width: 100%;
  text-align: left;
 background: white;
 color: black;
  border: none;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.accordion-header:hover {
  background: #eee;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 20px;
  
}

.accordion-content p {
  margin: 15px 0 20px;
  line-height: 1.6;
  color: #444;
}
.accordion-content h3 {
  margin: 15px 0 20px;
  line-height: 1.6;
  color: #128572;
    font-family: 'ClashDisplay-SemiBold';
    letter-spacing: 2px                     ;
}

/* aktywne */
.accordion-item.active .accordion-content {
  max-height: 680px; /* wystarczająco duża wartość dla treści */
  padding: 0 20px 15px;
}
.accordion-header {
  display: flex;
  justify-content: space-between; /* tekst po lewej, strzałka po prawej */
  align-items: center;
}

/* strzałka */
.accordion-header .arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: rotate(45deg);
  transition: transform 0.3s;
  margin-left: 10px;
  margin-right: 20px;
}

/* gdy aktywne — obracamy strzałkę w dół */
.accordion-item.active .accordion-header .arrow {
  transform: rotate(225deg);
}

/* footer */
    footer {
    margin-top: 4rem;
      color: #fff;
      padding: 20px 10px;
      text-align: center;
      background-color: #003a30;
      font-family: 'Nunito-Regular';
      width: 100%;
    }
.cytat{
  color: white;
  background-color: #003a30;
  font-family: 'Nunito-ExtraLightItalic';
  margin-bottom: 3px;
}
    .footer-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
      margin-bottom: 10px;
      background-color: #003a30;
    }

    .footer-links a {
      color: #fff;
      text-decoration: none;
      font-size: 14px;
      transition: color 0.3s;
      background-color: #003a30;
    }

    .footer-links a:hover {
      color: #dbdbdb;
      
    }

    .footer-copy {
      font-size: 12px;
      color: #fff;
      background-color: #003a30;
    }
    @media (max-width: 600px) {
      .footer-links {
        flex-direction: column;
        gap: 10px;
      }
    }
    /* end footer */
     .page-swipper{
      display: flex;
      flex-direction: row;
      justify-self: center;
      margin-top: 2rem;
     }
     .page1{
      margin-left: 2rem;
     }
     .page1 a{
      font-weight: 700;
      color: black;
     }
     .page2{
      margin-left: 2rem;
      color: #555;
     }


.upper-accordion{
  margin-top: 3rem;
  justify-self: center;
}