/* Sekce: Jak to funguje */
.jak-to-funguje {
  padding: 40px 20px;
  font-family: sans-serif; 
  color: #3b1f19;
  text-align: center;
}

.jakto-nadpis {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 30px;
  text-transform: uppercase;
  font-family: 'Knofedt', sans-serif; 
}

/*
.jakto-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
*/

.jakto-body {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto 30px;
}

/* Každý sloupec se dvěma body */
.jakto-sloupec {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.jakto-blok {
  display: flex;
  align-items: flex-start;
  text-align: left;
  gap: 15px;
}

.jakto-blok .cislo {
  background-color: #5b2b3a;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  flex-shrink: 0;
}

.jakto-blok p {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

/* Info texty */
.jakto-info {
  font-size: 16px;
  margin: 20px auto 10px;
  max-width: 800px;
  font-weight: 500;
}

.jakto-mala {
  font-size: 12px;
  font-style: italic;
  color: #3b1f19;
}

/* Modrý box */
.jakto-box {
  background: #00a9e0;
  border-radius: 20px;
  color: white;
  font-family: 'Knofedt', sans-serif; 
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 30px;
  margin-top: 40px;
  gap: 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.jakto-box-levy {
  flex: 1 1 200px;
  font-size: 28px;
  font-weight: bold;
  color: #fff000;
  text-shadow: 1px 1px #0a0a0a;
}

.jakto-box-pravy {
  flex: 2 1 300px;
  text-align: left;
  font-size: 16px;
}

.jakto-box-pravy strong {
  color: #ffcc00;
}

.jakto-tlacitko {
  display: inline-block;
  margin-top: 10px;
  background: #ff6600;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
}

/* Responzivita */
@media screen and (max-width: 768px) {
  .jakto-body {
    grid-template-columns: 1fr;
  }

  .jakto-box {
    flex-direction: column;
    text-align: center;
  }

  .jakto-box-pravy {
    text-align: center;
  }
}

.faq-chat {
  max-width: 700px;
  margin: 0 auto;
  font-family: 'Bebas Neue', sans-serif;
  color: #3a2a1d;
  padding: 30px 20px;
}

.faq-chat h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 10px;
}

.faq-chat h2 span {
  display: block;
  font-size: 24px;
  background-color: #cafd4c;
  color: #1f1f1f;
  padding: 4px 16px;
  border-radius: 20px;
  margin-top: 10px;
  text-transform: uppercase;
}

.message-row {
  margin: 30px 0;
}

.message {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.message.user {
  flex-direction: row;
}

.message.bot {
  flex-direction: row-reverse;
  text-align: right;
}

.message img {
  width: 30px;
  height: 30px;
  margin: 0 10px;
}

.bubble {
  padding: 12px 18px;
  border-radius: 20px;
  max-width: 85%;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.4;
  position: relative;
}

.purple { background-color: #d7aefc; color: #000; }
.green { background-color: #cafd4c; color: #000; }
.blue { background-color: #31d4f2; color: #fff; }
.brown { background-color: #824a35; color: #fff; }
.yellow { background-color: #ffcb3c; color: #000; }

.faq-footer {
  text-align: center;
  margin-top: 60px;
}

.faq-footer h3 {
  font-size: 24px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.ask-field {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #d7aefc;
  border-radius: 20px;
  padding: 8px 12px;
  width: 80%;
  max-width: 400px;
  margin: 0 auto;
}

.ask-field input {
  border: none;
  background: transparent;
  font-size: 16px;
  color: #333;
  flex: 1;
  padding-left: 10px;
  font-family: 'Open Sans', sans-serif;
}

.ask-field img {
  width: 24px;
  height: 24px;
}

/* Responzivita pro mobilní zařízení */
@media (max-width: 600px) {
  .faq-chat h2 {
    font-size: 28px;
  }

  .faq-chat h2 span {
    font-size: 18px;
    padding: 4px 10px;
  }

  .bubble {
    font-size: 14px;
    padding: 10px 14px;
  }

  .message img {
    width: 24px;
    height: 24px;
    margin: 0 6px;
  }

  .faq-footer h3 {
    font-size: 20px;
  }

  .ask-field input {
    font-size: 14px;
  }
}
