:root {
  --miodowy: #daa520;
  --miodowy-hover: #ffcc00;
  --tlo-bloku: #ffffff;
  --tlo-sekcji: #fffbee;
}

.o-nas{
  background-color: var(--tlo-sekcji);
  padding: 100px 0px 0px 0px;
  min-width: 280px;
}


.o-nas.edukacja {
  background-color: var(--tlo-sekcji);
  padding: 0px 0px;
  min-width: 280px;
}

.o-nas-edukacja-container,
.o-nas-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;

  justify-content: center;
  align-items: flex-start;
}

.o-nas-edukacja-container {
  flex-direction: column;
  text-align: center;
  padding: 0px 20px;
}

.o-nas-edukacja-container h2 {
  font-size: 2.2rem;
  color: #5d4102;
  margin-bottom: 16px;
  position: relative;
}

.o-nas-edukacja-container p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 40px;
  text-align: justify;
}

/* Bloki edukacyjne */
.edukacja-bloki {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 40px;
}

.blok{
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.edukacja-bloki .blok {
  flex: 1 1 280px;
  background-color: var(--tlo-bloku);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(218, 165, 32, 0.1);
  text-align: left;
}



.blok:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(218, 165, 32, 0.2);
}

.edukacja-bloki .blok h3 {
  color: #5d4102;
  margin-bottom: 10px;
}

.galeria-edukacja {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 60px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 100%;
  padding: 0 0px;
  box-sizing: border-box;
}

.galeria-edukacja .miniatura {
  flex: 1 1 280px;
 
  height: 250px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(218, 165, 32, 0.1);
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: block;
  margin: 0;
}
.galeria-edukacja .miniatura:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(218, 165, 32, 0.2);
}




/* Sekcja o nas */
.o-nas-opis {
  flex: 1 1 300px;
  padding: 30px;
  border-radius: 16px;
  background-color: var(--tlo-bloku);
  box-shadow: 0 8px 24px rgba(218, 165, 32, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 600px;
}

.o-nas-opis:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(218, 165, 32, 0.2);
}

.o-nas-opis h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #5d4102;
  position: relative;
}

.o-nas-opis h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: rgb(28, 27, 27);
  margin-top: 8px;
}

.o-nas-opis p,
.o-nas-opis ul {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1em;
  text-align: justify;
}

.o-nas-opis ul {
  padding-left: 1.2em;
}

.o-nas-opis li {
  margin-bottom: 0.5em;
}

/* Plastry miodu */
.honeycomb-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  flex: 1 1 300px;
  align-self: center;
 
}

.honeycomb-row {
  display: flex;
  justify-content: center;
  gap: 0;
}

.honeycomb-row:nth-child(2) {
  margin-top: -84px;
}

.honeycomb-row:nth-child(2) .honeycomb-cell:first-child {
  margin-right: 0;
}

.honeycomb-cell {
  width: 324px;
  height: 324px;
  padding: 6px;
  background-color: var(--miodowy);
  clip-path: polygon(
    50% 0%, 93% 25%, 93% 75%,
    50% 100%, 7% 75%, 7% 25%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.honeycomb-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  clip-path: polygon(
    50% 0%, 93% 25%, 93% 75%,
    50% 100%, 7% 75%, 7% 25%
  );
  transition: transform 0.8s ease;
}

.honeycomb-cell:hover {
  background-color: var(--miodowy-hover);
}

.honeycomb-cell:hover img {
  transform: scale(1.22);
}

/* Responsywność */
@media (max-width: 1200px) {
  .honeycomb-cell {
    width: 360px;
    height: 360px;
    padding: 6px;
    
  }
  .honeycomb-images{
    margin-top: 40px;
  }

  .honeycomb-row:nth-child(2) {
    margin-top: -72px;
  }
  .o-nas-container {
    flex-direction: column;
    padding: 60px 40px;
    align-items: center;
  }
}

@media (max-width: 768px) {


  .o-nas-opis {
    text-align: center;
    padding: 10px;
 
  }

  .edukacja-bloki {
    flex-direction: column;
    align-items: center;
   
  }

  .galeria-edukacja img {
    width: 90%;
    height: auto;
  }

  .honeycomb-cell {
    width: 240px;
    height: 240px;
    padding: 4px;
  }

  .honeycomb-row:nth-child(2) {
    margin-top: -64px;
  }
}
@media (max-width: 580px) {
  .honeycomb-cell {
    width: 220px;
    height: 220px;
    padding: 3px;
  }

  .honeycomb-row:nth-child(2) {
    margin-top: -60px;
  }

}

@media (max-width: 500px) {
  .o-nas-container {
    flex-direction: column;
    padding: 60px 20px;
    align-items: center;
  }

  .honeycomb-cell {
    width: 200px;
    height: 200px;
    padding: 2px;
  }

  .honeycomb-row:nth-child(2) {
    margin-top: -56px;
  }

  .o-nas-opis h2 {
    font-size: 1.6rem;
  }


}


@media (max-width: 440px) {
  .o-nas-container {
    flex-direction: column;
    padding: 60px 20px;
    align-items: center;
  }

  .honeycomb-cell {
    width: 181px;
    height: 181px;
    padding: 2px;
  }

  .honeycomb-row:nth-child(2) {
    margin-top: -56px;
  }

  .o-nas-opis h2 {
    font-size: 1.6rem;
  }


}


@media (max-width: 390px) {
  .o-nas-container {
    flex-direction: column;
    padding: 60px 15px;
    align-items: center;

  }

  .honeycomb-cell {
    width: 150px;
    height: 150px;
    padding: 2px;
  }

  .honeycomb-row:nth-child(2) {
    margin-top: -50px;
  }

  .o-nas-opis h2 {
    font-size: 1.4rem;
  }

  .o-nas-opis p,
  .o-nas-opis ul {
    font-size: 1rem;
  }
}
@media (max-width: 320px) {
  .o-nas-container {
    flex-direction: column;
    padding: 60px 10px;
    align-items: center;

  }

  .honeycomb-cell {
    width: 135px;
    height: 135px;
    padding: 2px;
  }

  .honeycomb-row:nth-child(2) {
    margin-top: -50px;
  }

  .o-nas-opis h2 {
    font-size: 1.4rem;
  }

  .o-nas-opis p,
  .o-nas-opis ul {
    font-size: 1rem;
  }
}

