
@font-face {
  font-family: 'Poppins';
  src: url('fonty/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonty/Poppins-ExtraBold.ttf') format('truetype');
  font-weight: 800;
}

body {
  background: #18181c;
  color: #ffe679;
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin: 48px 0 20px 0;
  color: #ffe679;
  text-align: center;
  text-shadow: 0 0 7px #ffe67988, 0 1.5px 1.5px #fff3, 0 0 1px #fff6;
}

.panel,
.contact-form,
details.faq-block {
  background: #23232a;
  border-radius: 22px;
  box-shadow:
    0 0 14px 2.5px rgba(255, 215, 0, 0.28),  /* jemná zlatá záře */
    0 8px 36px #ffe67910,
    0 0 0 1.5px #ffe67944;
  padding: 34px 22px 28px 22px;
  max-width: 500px;
  margin: 28px auto 0 auto;
  color: #ffe679;
  font-size: 1.13rem;
  transition: box-shadow 0.35s cubic-bezier(.44,0,.46,1);
  position: relative;
  transform: translateY(46px) scale(.96);
}


.panel h2 {
  color: #ffe679;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 18px;
  margin-top: 0;
  text-align: left;
}

/* FAQ vnitřní bloky */
details.faq-block {
  background: #23232a;
  border-radius: 22px;
  box-shadow: 0 8px 36px #ffe6790e;
  padding: 34px 22px 28px 22px;
  max-width: 500px;
  margin: 28px auto 0 auto;
  color: #ffe679;
  font-size: 1.13rem;
}

details.faq-block[open] {
  background: #2d2d38;
  box-shadow: 0 4px 22px #ffe67922;
}
.faq-q {
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffe679;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 17px 18px;
  cursor: pointer;
  outline: none;
  border: none;
  background: none;
  transition: background 0.18s;
}
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary:focus-visible { outline: 2px solid #ffe679; }
.faq-icon { font-size: 1.26em; margin-right: 6px; opacity: 0.98; }

.faq-a {
  color: #fffde6;
  font-size: 1.03rem;
  padding: 0 18px 18px 50px;
  line-height: 1.66;
}

/* Kontakt formulář - styl */
.contact-form {
  background: #23232a;
  border-radius: 22px;
  box-shadow: 0 8px 36px #ffe6790e;
  padding: 34px 22px 28px 22px;
  max-width: 500px;
  margin: 28px auto 0 auto;
  color: #ffe679;
  font-size: 1.13rem;
}

.contact-form h3 {
  margin-bottom: 14px;
  color: #ffe679;
  font-size: 1.16rem;
  font-weight: 800;
}

.contact-form label {
  color: #ffe679;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1.3px solid #ffe67977;
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 1.08rem;
  background: #1a1a1f;
  color: #ffe679;
  margin-bottom: 10px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.22s, box-shadow 0.22s;
  box-shadow: 0 0px 8px #ffe67918;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ffe679;
  box-shadow: 0 2px 12px #ffe67933;
}

.contact-form button {
  background: linear-gradient(90deg, #ffe679 75%, #fff7b2 100%);
  color: #18181c;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 14px 0;
  font-size: 1.13rem;
  cursor: pointer;
  margin-top: 5px;
  box-shadow: 0 2px 12px #ffe67924;
  transition: background 0.22s, color 0.22s, box-shadow 0.19s, transform 0.18s;
  width: 100%;
}

button,
.cta-btn {
  background: linear-gradient(90deg, #ffe679 75%, #fff7b2 100%);
  color: #18181c;
  font-weight: 700;
  border: none;
  border-radius: 9px;
  padding: 15px 0;
  font-size: 1.13rem;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 2px 12px #ffe67918;
  transition:
    background 0.21s cubic-bezier(.4,0,.4,1),
    color 0.18s cubic-bezier(.4,0,.4,1),
    box-shadow 0.22s cubic-bezier(.4,0,.4,1),
    transform 0.17s cubic-bezier(.4,0,.4,1),
    border 0.22s cubic-bezier(.4,0,.4,1);
  outline: none;
  position: relative;
}

/* Hover/focus efekty – jemná záře a scale */
button:hover,
button:focus,
.cta-btn:hover,
.cta-btn:focus {
  background: linear-gradient(90deg, #ffe679 45%, #fff7b2 100%);
  color: #18181c;
  box-shadow:
    0 0 18px 4px rgba(255,215,0,0.16),
    0 3px 18px #ffe67924;
  border: 1.7px solid #ffe679bb;
  transform: scale(1.035);
  z-index: 2;
}

/* Aktivní (kliknutí) – jemný zatlačený efekt */
button:active,
.cta-btn:active {
  background: linear-gradient(90deg, #ffd900 60%, #ffe679 100%);
  color: #b59b1b;
  box-shadow: 0 1px 7px #ffe67914;
  transform: scale(0.98);
}

.faq-q {
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffe679;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 17px 18px;
  cursor: pointer;
  outline: none;
  border: none;
  background: none;
  transition:
    background 0.21s cubic-bezier(.4,0,.4,1),
    color 0.18s cubic-bezier(.4,0,.4,1),
    box-shadow 0.22s cubic-bezier(.4,0,.4,1),
    transform 0.18s cubic-bezier(.4,0,.4,1),
    border 0.22s cubic-bezier(.4,0,.4,1);
  border-radius: 14px;
  position: relative;
}

/* Efekt při hover/focus na otázku v FAQ */
.faq-q:hover,
.faq-q:focus {
  background: linear-gradient(90deg, #ffe67933 20%, #2d2d38 100%);
  color: #23232a;
  box-shadow: 0 0 9px 1.5px rgba(255, 215, 0, 0.16);
  border: 1.6px solid #ffe679aa;
  transform: scale(1.025);
  z-index: 1;
}

/* Kliknutí (active) – decentní zatlačení */
.faq-q:active {
  background: linear-gradient(90deg, #ffe67955 40%, #e7c50026 100%);
  color: #c3aa23;
  box-shadow: 0 1px 5px #ffe67912;
  transform: scale(0.98);
}

/* Animace pro vstup boxů */
@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(48px) scale(0.97);
    filter: blur(6px) brightness(0.7);
  }
  70% {
    filter: blur(0.5px) brightness(1.04);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.panel {
  background: #23232a;
  border-radius: 22px;
  max-width: 500px;
  margin: 28px auto 0 auto;
  color: #ffe679;
  font-size: 1.13rem;
  opacity: 0;
  transform: translateY(42px) scale(0.97);
  filter: blur(8px) brightness(0.8);
  transition:
    opacity 1.2s cubic-bezier(.44,0,.44,1), transform 1.2s cubic-bezier(.44,0,.44,1), filter 0.9s cubic-bezier(.44,0,.44,1), box-shadow 0.8s cubic-bezier(.44,0,.46,1);
}

.panel.in-view {
  opacity: 1;
  transform: none;
  filter: none;
  box-shadow:
    0 0 18px 3.5px rgba(255, 215, 0, 0.19),
    0 8px 36px #ffe67915,
    0 0 0 2.1px #ffe67955;
}

/* mobil verze */

@media (max-width: 600px) {
  .logo {
    font-size: 1.35rem;
    margin: 30px 0 12px 0;
    padding: 0 10px;
    line-height: 1.2;
    word-break: break-word;
  }
  .panel,
  .contact-form,
  details.faq-block {
    max-width: 98vw;
    margin: 22px 1vw 0 1vw;
    padding: 20px 8px 18px 8px;
    font-size: 0.97rem;
  }
  .panel h2 {
    font-size: 1.09rem;
    margin-bottom: 14px;
  }
  .faq-q {
    padding: 12px 7px;
    font-size: 1.01rem;
    border-radius: 11px;
  }
  .faq-a {
    padding: 0 7px 13px 22px;
    font-size: 0.97rem;
  }
  .contact-form h3 {
    font-size: 1.02rem;
    margin-bottom: 8px;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 1rem;
    padding: 9px 8px;
    border-radius: 8px;
  }
  .contact-form button {
    font-size: 1.03rem;
    padding: 11px 0;
    border-radius: 8px;
  }
  img[alt="Barevný strom"] {
    width: 49px !important;
    top: 7px !important;
    left: 7px !important;
  }
}

@media (max-width: 600px) {
  img[alt="Barevný strom"] {
    width: 44px !important;
    top: 5px !important;
    left: 7px !important;
    z-index: 99 !important;
  }
}

.avatar-logo {
  position: fixed;
  top: 12px;
  left: 12px;
  width: 76px;
  z-index: 1000;
  filter: drop-shadow(0 0 12px #18181c33);
  pointer-events: none; /* aby nevadil klikům na mobilu */
  border-radius: 19px;
  background: #23232a;
  transition: width 0.22s, top 0.22s, left 0.22s;
}

/* Mobilní rozlišení */
@media (max-width: 600px) {
  .avatar-logo {
    width: 42px;
    top: 6px;
    left: 6px;
  }
}

.hero-row {
  display: flex;
  align-items: center;    /* zarovná obrázek i nadpis na střed výšky */
  justify-content: center;/* vystředí celou dvojici na stránce */
  gap: 38px;              /* mezera mezi postavičkou a textem */
  margin-top: 32px;
  margin-bottom: 38px;
  width: 100%;
}

.avatar-hero {
  width: 124px;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  animation: avatar-pulse 3.7s ease-in-out infinite;
}

.main-title {
  font-size: 2.7rem;
  color: #ffe679;
  font-weight: 800;
  text-align: left;
  text-shadow: 0 0 7px #ffe67988, 0 1.5px 1.5px #fff3, 0 0 1px #fff6;
  margin: 0;
  line-height: 1.13;
  letter-spacing: -1.2px;
}

/* Mobilní zobrazení – stack pod sebe */
@media (max-width: 700px) {
  .hero-row {
    flex-direction: column;
    gap: 10px;
    margin-top: 19px;
    margin-bottom: 22px;
  }
  .avatar-hero {
    width: 68px;
  }
  .main-title {
    font-size: 1.37rem;
    padding: 0 8vw;
    text-align: center;
  }
}

@keyframes avatar-pulse {
  0%, 100% {
    transform: scale(1);
  }
  55% {
    transform: scale(1.1);
  }
}

.scroll-top-btn {
  display: none;
  position: fixed;
  right: 14px;
  bottom: 24px;
  z-index: 1100;
  background: #24232aee;
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 18px 4px #ffe67935;
  padding: 10px;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.17s, transform 0.17s;
}
.scroll-top-btn svg { display: block; }
.scroll-top-btn:active { transform: scale(0.94); background: #ffe679; }
@media (max-width: 700px) {
  .scroll-top-btn { display: block; }
}




/* === Stylovaná patička === */
.site-footer{
  position: relative;
  width: 100%;
  text-align: center;
  color: #ffe679cc;
  background: linear-gradient(180deg,#23232a 0%,#18181c 100%);
  padding: 22px 0 18px;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  margin-top: 54px;
  border-top: 1.5px solid #ffe67933;
  box-shadow: 0 -4px 24px #ffe67912, 0 -1px 0 #ffe67944 inset;
  overflow: hidden;
}
.site-footer a{
  color:#ffe679;
  font-weight:600;
  text-decoration:none;
  transition:color .18s, text-shadow .18s;
}
.site-footer a:hover{
  color:#fff;
  text-shadow:0 0 6px #ffe679aa;
}
/* Animovaná světelná linka */
.site-footer::before{
  content:'';
  position:absolute;
  top:0;
  left: -100%;
  width:100%;
  height:2px;
  background:linear-gradient(90deg,transparent 0%,#ffe679aa 50%,transparent 100%);
  animation:footer-glow 6s linear infinite;
}
@keyframes footer-glow{
  0%{left:-100%;}
  50%{left:0;}
  100%{left:100%;}
}

.site-footer {
  position: relative;
  overflow: hidden; /* Zabrání přesahu animace */
}


/* === Styl panelových boxů === */
.panel{
  position: relative;
  background: rgba(35,35,42,0.78);          /* lehké ztmavení s průhledností */
  border-radius: 22px;
  padding: 34px 26px 30px;
  margin: 32px auto 0;
  max-width: 500px;
  color: #ffe679;
  font-size: 1.12rem;
  overflow: hidden;
  backdrop-filter: blur(5px) saturate(120%);
  transition:
    opacity 1.2s cubic-bezier(.44,0,.44,1), transform 1.2s cubic-bezier(.44,0,.44,1), filter 0.9s cubic-bezier(.44,0,.44,1), box-shadow 0.8s cubic-bezier(.44,0,.46,1);
  transform: translateY(46px) scale(.96);
  filter: blur(6px) brightness(.85);
  opacity: 0;
}
/* Vstupní animace (po naběhnutí do viewportu) */
.panel.in-view{
  opacity: 1;
  transform: none;
  filter: none;
  background: rgba(35,35,42,0.92);
  box-shadow:
    0 0 22px 4px rgba(255,215,0,.16),
    0 10px 38px rgba(255,230,121,.10),
    0 0 0 2px rgba(255,230,121,.48);
}
/* Lehký parallax při hoveru/focusu */
@media (hover:hover){
  .panel:hover{
    transform: translateY(-4px) scale(1.005);
    box-shadow:
      0 0 28px 5px rgba(255,215,0,.24),
      0 14px 42px rgba(255,230,121,.12),
      0 0 0 2.4px rgba(255,230,121,.55);
  }
}
/* Dekorativní „zlatá aura“ okolo okraje */
.panel::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding:2px;                      /* tloušťka záře */
  background: linear-gradient(135deg,rgba(255,230,121,.35),rgba(255,215,0,.12) 40%,rgba(255,230,121,.35));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
          mask-composite:exclude;
  filter: blur(6px);
  pointer-events:none;
  opacity:.0;
  transition:opacity .5s;
}
.panel.in-view::before{
  opacity:.9;
}

.blog-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #ffe679;
  background: #1e1e23;
  border: 1.2px solid #ffe67955;
  padding: 8px 18px;
  border-radius: 12px;
  text-decoration: none;
  margin-left: 20px;
  box-shadow: 0 2px 6px #00000055;
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-button:hover {
  background: #ffe67933;
  color: white;
  border-color: #ffe679aa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #ffe67944;
}

/* Linka kolem boxu */
.blog-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: #ffe679;
  transition: left 0.3s ease;
}

.blog-button::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -100%;
  width: 100%;
  height: 2px;
  background: #ffe679;
  transition: right 0.3s ease;
}

.blog-button:hover::before {
  left: 0;
}

.audio-box {
  background: #14284b;
  border-radius: 18px;
  padding: 22px 18px 16px 18px;
  margin: 18px 0 25px 0;
  color: #ffd700;
  box-shadow: 0 3px 14px 0 rgba(0,0,0,0.11);
  max-width: 440px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.audio-box:hover {
  box-shadow: 0 6px 28px 0 #ffd70055;
  transform: scale(1.025);
}
.audio-header {
  display: flex;
  align-items: center;
  margin-bottom: 7px;
  font-weight: bold;
  font-size: 1.15rem;
  color: #ffd700;
  letter-spacing: 0.02em;
}
.audio-icon {
  margin-right: 9px;
  flex-shrink: 0;
  transition: filter 0.22s;
}
.audio-icon.playing {
  animation: headphones-bounce 0.7s infinite cubic-bezier(.4,0,.2,1);
  filter: drop-shadow(0 0 7px #ffd700bb);
}
@keyframes headphones-bounce {
  0%   { transform: rotate(-9deg);}
  50%  { transform: rotate(9deg);}
  100% { transform: rotate(-9deg);}
}
.audio-box audio {
  width: 100%;
  margin-top: 7px;
  border-radius: 8px;
  background: #0c1733;
}
.audio-meta {
  font-size: 0.96rem;
  color: #bbb;
  margin-top: 8px;
}
@media (max-width: 700px) {
  .audio-box {
    max-width: 99vw;
    padding: 14px 2vw 10px 2vw;
  }
}

.audio-icon.playing {
  animation: headphones-bounce 0.7s infinite cubic-bezier(.4,0,.2,1);
  filter: drop-shadow(0 0 7px #ffd700bb);
}
@keyframes headphones-bounce {
  0%   { transform: rotate(-9deg);}
  50%  { transform: rotate(9deg);}
  100% { transform: rotate(-9deg);}
}

.audio-icon:active {
  transform: scale(1.12);
}

.audio-download {
  display: inline-block;
  margin-top: 12px;
  padding: 7px 16px;
  background: #ffd700;
  color: #14284b;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s;
  font-size: 1.05rem;
}
.audio-download:hover {
  background: #ffe25c;
}

.panel {
  opacity: 1;
  transform: none;
  filter: none;
}

.blog-hero-img {
  max-width: 370px;
  width: 95%;
  display: block;
  margin: 20px auto 24px auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 #0002;
}

.scroll-top-btn {
  display: none;
  position: fixed;
  left: 16px;
  bottom: 22px;
  z-index: 1100;
  background: #23232a;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: 0 2px 12px #ffe67945;
  cursor: pointer;
  padding: 0;
  margin: 0;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  color: #ffe679;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top-btn svg {
  width: 24px;
  height: 24px;
  display: block;
}
.scroll-top-btn:hover,
.scroll-top-btn:focus {
  background: #ffe679;
  color: #23232a;
  box-shadow: 0 4px 22px #ffe67988;
  transform: scale(1.13);
  outline: none;
}
@media (max-width: 700px) {
  .scroll-top-btn {
    display: flex;
  }
}
