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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('background.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HLAVIČKA */
header {
  background-color: rgba(0, 0, 0, 0.6);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 15px 30px;
}

.logo {
  height: 60px;
}

/* MENU */
nav,
.centered-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 1.1rem;
  background-color: rgba(255, 102, 0, 0.2);
  transition: all 0.3s ease;
}

nav a:hover {
  background-color: #ff6600;
  color: white;
  box-shadow: 0 0 10px #ff6600;
}

/* HLAVNÍ OBSAH */
main {
  padding: 60px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 1s ease-in;
}

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

section {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  padding: 40px 30px;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ff6600;
}

section p {
  font-size: 1.3rem;
  line-height: 1.6;
}

/* KONKRÉTNÍ OBSAHY */
.member {
  margin-bottom: 30px;
}

.member h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #ff6600;
}

.member p {
  font-size: 1.2rem;
}

/* DISKUZE - STYL */
.forum-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.forum-form input,
.forum-form textarea {
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  resize: vertical;
  font-family: inherit;
  background-color: rgba(255, 255, 255, 0.9);
  color: #222;
}

.forum-form textarea {
  min-height: 100px;
}

.forum-form button {
  align-self: flex-start;
  padding: 10px 20px;
  background-color: #ff6600;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.forum-form button:hover {
  background-color: #ff8533;
}

.forum-messages {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.forum-post {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.3);
  font-size: 1rem;
  white-space: pre-wrap;
  word-break: break-word;
}

/* PATIČKA */
footer {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* RESPONSIVITA */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .logo {
    height: 50px;
  }

  nav, .centered-menu {
    justify-content: center;
    gap: 10px;
  }

  nav a {
    font-size: 0.9rem;
    padding: 8px 12px;
  }

  section h1 {
    font-size: 2rem;
  }

  section p,
  .member p {
    font-size: 1.1rem;
  }
}
