header {
  text-align: center;
  padding: 4rem 1rem;
  background-image: url('tlo-header.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}

..workshops {
  padding: 4rem 1rem;
  text-align: center;
  background-color: #fff;
}

.workshops .section-title {
  font-size: 2.2rem;
  color: #ff4b4b;
  margin-bottom: 0.5rem;
}

.workshops .section-subtitle {
  color: #333;
  margin-bottom: 2.5rem;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  max-width: 1100px; /* ogranicza szerokość sekcji, by były max 3 w rzędzie */
  margin: 0 auto;
  gap: 1.5rem;
  justify-items: center;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #f9f9f9;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
  max-width: 360px;
}

.card:hover {
  transform: scale(1.03);
}

.card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.card h3 {
  margin: 1rem 0;
  color: #222;
  font-size: 1.1rem;
}

/* Dymek (overlay) */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.96);
  color: #333;
  opacity: 0;
  visibility: hidden;
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  box-shadow: inset 0 0 15px rgba(0,0,0,0.05);
  font-size: 1rem;
  line-height: 1.5;
}

/* Kolorowe ramki dla dymków */
.card:nth-child(1) .overlay { border: 3px solid #ffca28; } /* żółty */
.card:nth-child(2) .overlay { border: 3px solid #00bcd4; } /* turkusowy */
.card:nth-child(3) .overlay { border: 3px solid #ff7043; } /* pomarańczowy */
.card:nth-child(4) .overlay { border: 3px solid #66bb6a; } /* zielony */
.card:nth-child(5) .overlay { border: 3px solid #42a5f5; } /* niebieski */
.card:nth-child(6) .overlay { border: 3px solid #ab47bc; } /* fioletowy */

/* Efekt pojawiania po najechaniu */
.card:hover .overlay {
  opacity: 1;
  visibility: visible;
}

/* Wersja mobilna – po kliknięciu */
.overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Sekcja O mnie */
.o-mnie {
  padding: 4rem 1rem;
  background-color: #fff;
  text-align: center;
}

.o-mnie .section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.o-mnie-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.o-mnie-text {
  flex: 1 1 500px;
  text-align: left;
}

.o-mnie-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.o-mnie-list li {
  display: flex;
  align-items: flex-start;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.bullet {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 10px;
  margin-top: 6px;
  flex-shrink: 0;
}

.o-mnie-img {
  flex: 1 1 350px;
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.o-mnie-img::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at top left,
    #ffcc00 0%,
    #ff922b 20%,
    #ff6b6b 40%,
    #1dd3b0 70%,
    #4dabf7 100%);
  opacity: 0.25; /* delikatny efekt */
  z-index: 0;
}

.o-mnie-img img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 350px;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.o-mnie-img img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsywność */
@media (max-width: 768px) {
  .o-mnie-img::before {
    width: 300px;
    height: 300px;
  }

  .o-mnie-img img {
    max-width: 280px;
  }
}


/* Sekcja Dla kogo */
.dla-kogo {
  padding: 4rem 1rem;
  text-align: center;
  background-color: #fff;
}

.dla-kogo .section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.dla-kogo .cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  justify-items: center;
}

.color-card {
  color: #333;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.color-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.color-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.color-card p {
  font-size: 1rem;
  line-height: 1.5;
}
