:root {
  --accent: #C49A6C;
  --text: #F5F5F5;
  --muted: #B0B0B0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/21.webp');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  animation: bgZoom 20s ease-in-out infinite alternate;
  z-index: 1;
  transform-origin: center center;
}

@keyframes bgZoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.1); }
}

/* --- overlay s dvěma childy --- */
.overlay {
  position: absolute;
  top: 0;
  bottom: 0; /* dynamická výška, žádné 100vh */
  left: 0;
  width: 100%;
  background: rgba(30,20,10,0.6);
  display: flex;
  flex-direction: column;
  justify-content:space-evenly; /* první nahoře, druhý dole */
  align-items: center;
  text-align: center;
  z-index: 2;
}

.content {
  max-width: 90%;
}

.content h1 {
  font-size: 60px;
  color: var(--accent);
  margin-bottom: 16px;
}

.lead {
  font-size: 20px;
  margin-bottom: 20px;
}

.info {
  font-size: 18px;
  margin-bottom: 20px;
}

.details {
  list-style: none;
  font-size: 16px;
  color: var(--muted);
}

.details li {
  margin: 6px 0;
}

.details a {
  color: var(--muted);
  text-decoration: none;
}

.details a:hover {
  text-decoration: underline;
}

/* --- footer credits --- */
.credits {
  font-size: 14px;
  color: var(--muted);
}

.credits a {
  color: var(--muted) !important;           /* fix pro mobilní prohlížeče */
  text-decoration: none !important;
  display: inline;                          /* fix pro Safari / Chrome mobile */
}

.credits a:hover {
  color: var(--muted) !important;
  text-decoration: underline !important;
}

@media (max-width: 600px) {
  .content h1 { font-size: 42px; }
  .lead        { font-size: 18px; }

}
