.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}
.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
}
.img-fluid {
    width: 100%;
    height: auto;
}
.navbar-brand img {
    height: 80px; /* Zmniejszona wysokość logo */
    width: auto;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-img {
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 8px 8px 12px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    outline: none;
}
/* 
.hero-img:hover {
    transform: scale(1.05);
    box-shadow: 8px 8px 1px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    outline: none;
} */
 /* .picto-img{
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    outline: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 160px;
 }
 .picto-img p {
    margin-top: 2px;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.1;
}
 .picto-img:hover{
    transform: scale(1.05);
    box-shadow: 8px 8px 1px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    outline: none;
 } */

 .picto-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    text-align: center;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}
.picto-box:hover {
    transform: scale(1.05);
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    outline: none;
}



.picto-label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.2;
    text-align: center;
}

.picto-icon {
    width: 100%;
    max-height: 100px;
    object-fit: contain;
    margin-bottom: 2px;
    display: block;
    transition: transform 0.3s ease;
}

.hero-img img {
    outline: none !important;
    box-shadow: none !important;
    border: none;
}
.hero-img img:focus,
.hero-img img:active,
.hero-img img:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none;
}

img:focus {
    outline: none !important;
    box-shadow: none !important;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 1 / 1; /* lub 4/3, jeśli wolisz prostokąt */
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.15);
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Utrzymuje proporcje i wypełnia ramkę */
    transition: transform 0.3s ease;
  }
  
  .gallery-item img:hover {
    transform: scale(1.05);
  }

  @media (max-width: 576px) {
    .gallery-item {
      margin-bottom: 1rem; /* lub np. 16px */
    }
  }



  /* piktogramy */

  .flip-card {
  background-color: transparent;
  width: 100%;
  height: 250px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}


.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
}

.flip-card-front {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.flip-card-back {
  background-color: #f8f8f8;
  transform: rotateY(180deg);
  text-align: center;
  padding: 10px;
}

.flip-card-front .picto-icon {
  width: 60%;
  height: auto;
  margin-bottom: 10px;
}

.flip-card-back img {
  width: 100%;
  height: 60%;
  object-fit: cover;
}

.flip-card-back p {
  margin-top: 10px;
  font-size: 14px;
}