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

body {
  background-color: #1e1e1e;
  color: #ddd;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header a navigace */
header {
  background-color: #121212;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.7);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-text-wrapper a img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0,0,0,0.6);
  display: block;
}

.logo-text-wrapper span {
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  user-select: none;
}

/* Menu */
.menu {
  list-style: none;
  display: flex;
  gap: 24px;
}

.menu li a {
  color: #ddd;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.menu li a:hover,
.menu li a:focus {
  background-color: #ffcc00;
  color: #1e1e1e;
  outline: none;
}

/* Hamburger menu pro mobil */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: #ffcc00;
  cursor: pointer;
}

/* Nadpisy */
h1, h2 {
  color: #ffcc00;
  margin-bottom: 0.8rem;
}

h1 {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  margin: 2rem 1rem 1.5rem;
}

h2 {
  font-size: 1.8rem;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Kontejner */
.container {
  max-width: 900px;
  padding: 2rem 1rem;
  margin: 0 auto 3rem;
}

/* Link styl */
a {
  color: #ffcc00;
  text-decoration: underline;
  font-weight: 700;
  cursor: pointer;
}

a:hover,
a:focus {
  color: #ffd633;
  outline: none;
}

/* Seznam s ikonami (checklist) */
.checklist {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.checklist li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 0.7rem;
  font-weight: 600;
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #ffcc00;
  font-weight: bold;
}

/* Responsivita */
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
  }

  .menu {
    flex-direction: column;
    width: 100%;
    display: none;
    background-color: #121212;
    padding: 0.5rem 0;
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    padding: 10px 1.5rem;
  }

  .menu-toggle {
    display: block;
  }
}
