/* -------------------- ZÁKLAD -------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  color: #fff;
  background: #000;
  line-height: 1.6;
  font-size: 1.15rem;
}

/* -------------------- POZADÍ -------------------- */
.hero-bg {
  position: fixed;
  inset: 0;
  background-image: url('pozadi.png');
  background-size: cover;
  background-position: center bottom;
  background-attachment: fixed;
  z-index: -2;
}

.hero-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.22));
  z-index: -1;
}

/* -------------------- NAVIGACE -------------------- */
header {
  padding: 28px 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.90);
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 24px;
  opacity: 0.9;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 1.15rem;
  transition: 0.2s;
}

nav a:hover {
  opacity: 1;
  background: rgba(255,255,255,0.18);
}

/* -------------------- BUBLINY -------------------- */
section,
.hero {
  width: 90%;
  margin: 4vh auto;
  padding: 6vh 6vw;
  background: rgba(0,0,0,0.75);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
}

/* -------------------- PRVNÍ BUBLINA -------------------- */
section.hero:first-of-type {
  padding-top: 12vh;
  padding-bottom: 8vh;
}

/* -------------------- HERO -------------------- */
.hero h2 {
  font-size: clamp(2.1rem, 3.4vw, 2.8rem);
  margin-bottom: 16px;
  color: #ffffff;
}

.hero p {
  font-size: 1.35rem;
  max-width: 850px;
  margin-bottom: 26px;
  line-height: 1.6;
}

/* -------------------- SEKCE -------------------- */
section h2 {
  font-size: 2.0rem;
  margin-bottom: 16px;
  color: #f4b000;
}

section p {
  max-width: 850px;
  margin-bottom: 16px;
  opacity: 0.96;
  font-size: 1.20rem;
  line-height: 1.6;
}

/* -------------------- TLAČÍTKA -------------------- */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  margin-right: 12px;
  transition: 0.2s;
}

.btn-primary {
  background: #f4b000;
  color: #3b2600;
}

.btn-primary:hover {
  background: #ffca2b;
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
}

/* -------------------- BLOG -------------------- */
.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.blog-item {
  background: rgba(255,255,255,0.05);
  padding: 22px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
}

.blog-item h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  color: #f4b000;
}

.blog-item p {
  opacity: 0.9;
  font-size: 1.20rem;
}

/* -------------------- POPUP -------------------- */
#oslik-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#oslik-popup .popup-content {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 30px 40px;
  border-radius: 18px;
  max-width: 420px;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #fff;
  backdrop-filter: blur(6px);
  animation: fadeIn 0.4s ease-out;
}

/* -------------------- ANIMACE -------------------- */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* -------------------- PATIČKA -------------------- */
footer {
  padding: 20px 6vw;
  text-align: center;
  opacity: 0.8;
  font-size: 1.1rem;
}

/* -------------------- RESPONSIVE – TABLET -------------------- */
@media (max-width: 992px) {
  nav a {
    margin-left: 14px;
    font-size: 1.05rem;
    padding: 6px 10px;
  }

  .hero p {
    font-size: 1.2rem;
  }

  section p {
    font-size: 1.1rem;
  }
}

/* -------------------- RESPONSIVE – MOBIL -------------------- */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  nav a {
    margin: 6px;
    display: inline-block;
    font-size: 1rem;
  }

  .hero h2 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  section h2 {
    font-size: 1.6rem;
  }

  section p {
    font-size: 1rem;
  }

  .btn {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 14px 0;
    font-size: 1.05rem;
  }
}

/* -------------------- DESKTOP – VĚTŠÍ TYPOGRAFIE -------------------- */
@media (min-width: 1024px) {
  html {
    font-size: 125%;
  }
}
.yellow-title {
  color: #f4b000;
}
.highlight {
  color: #f4b000;       /* stejná žluť jako nadpisy */
  font-weight: 700;     /* tučné */
  font-size: 1.1rem;    /* o chlup větší */
  text-align: center;   /* hezky uprostřed */
  line-height: 1.6;
  margin: 20px 0;
}
/* -------------------- CTA ŘÁDEK -------------------- */
.cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* -------------------- HLAVNÍ ŽLUTÉ TLAČÍTKO -------------------- */
.btn-yellow {
  background: #f4b000;
  color: #3b2600;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.15rem;
  display: inline-block;
  transition: 0.2s ease;
}

.btn-yellow:hover {
  background: #ffca2b;
  transform: translateY(-2px);
}

/* -------------------- OSTATNÍ CTA TLAČÍTKA -------------------- */
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 15px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  transition: 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* -------------------- ZVÝRAZNĚNÝ TEXT -------------------- */
.highlight {
  color: #f4b000;
  font-weight: 700;
  font-size: 1.25rem;
  text-align: center;
  line-height: 1.7;
  margin: 28px auto;
  max-width: 900px;
}
.answer-block {
  position: relative;
  z-index: 10;
}
input {
  position: relative;
  z-index: 5;
}
