/* Reset a základní nastavení */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Arial', sans-serif;
  color: #f9f9f9;
  overflow-x: hidden;
}

body {
  min-height: 150vh; /* vynutí, že stránka je 2x vyšší než obrazovka */
}


/* Pozadí s obrázkem svíčky */
body {
  background: url("images/bc4.jpg") no-repeat center center fixed;
  background-size: cover;
  position: relative;
}

/* Poloprůhledný černý overlay pro lepší čitelnost textu */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Hlavní kontejner */
.container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  text-align: center;
  padding: 0 20px;
}

/* Text a tlačítko */
.title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  animation: fadeInDown 1.5s ease forwards;
}

.subtitle {
  font-size: 1.4rem;
  color: #ccc;
  margin-bottom: 1rem;
  animation: fadeInUp 1.5s ease forwards;
}

.text {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  animation: fadeIn 2s ease forwards;
}

/* Tlačítko */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: fadeIn 2.5s ease forwards;
}

.btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* Footer */
footer {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.8);
  color: #ccc;
  text-align: center;
  padding: 1.2rem 0;
  font-size: 0.95rem;
}

footer a {
  color: #fff;
  text-decoration: none;
  
}

footer a:hover {
  text-decoration: underline;
}

/* Animace */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responzivita */
@media (max-width: 600px) {
  .title { font-size: 2rem; }
  .subtitle { font-size: 1.2rem; }
  .text { font-size: 1rem; }
  .btn { padding: 0.6rem 1.2rem; }
}


/* Ikony sociálních sítí */
.social-icons {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons svg {
  width: 24px;
  height: 24px;
  fill: #d4af37;
  transition: transform 0.3s, fill 0.3s;
}

.social-icons svg:hover {
  fill: #ffd700;
  transform: scale(1.2);
}

.created {
  color: #d4af37;
  font-size: smaller;
  margin-top: 10px;
}

.created:hover {
  color: #ffd700;
}

hr {
  max-width: 600px;      /* maximální šířka */
  width: 80%;            /* procentuální šířka, nechá prostor od okrajů */
  margin: 20px auto;     /* zarovná doprostřed a přidá svislý prostor */
  border: 1px solid #d4af37;
}

/*obrázek na stránce*/
.image-section {
  display: flex;              /* zarovná obsah (obrázek) */
  justify-content: center;    /* horizontálně na střed */
  align-items: center;        /* vertikálně na střed (pokud má výšku) */
  padding: 20px 0;              /* mezera od okrajů na mobilech */
  max-width: 100%;            /* nikdy nepřesáhne šířku stránky */
  box-sizing: border-box;
  
}

.image-section img {
  max-width: 100%;            /* obrázek se přizpůsobí šířce rodiče */
  height: auto;               /* zachová poměr stran */
  border-radius: 12px;        /* zaoblené rohy (volitelné) */
  box-shadow: 0 4px 15px rgba(0,0,0,0.15); /* jemný stín */
  display: block;             /* odstraní mezery pod obrázkem */
}

/* --- Scroll to Top button --- */
/*#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 22px;
  cursor: pointer;
  display: none; 
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}*/

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999; /* velmi vysoké číslo */
  background-color: rgba(255, 255, 255, 0.9);
  color: black;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 22px;
  cursor: pointer;
  display: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}


#scrollTopBtn:hover {
  background-color: #444;
  transform: scale(1.1);
}





