
/* Spioniro Golubiro - Vlastní styl bez Tailwindu */
body {
  background-color: white;
  color: #1f2937;
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 0;
}

main {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

h1 {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-weight: bold;
  margin-top: 1rem;
}

p {
  font-size: 1rem;
  margin: 0.5rem 0;
}

.text-center {
  text-align: center;
}

.subtitle {
  font-size: 1.25rem;
  color: #4b5563;
}

.italic {
  font-style: italic;
}

.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.card {
  border: 1px solid #ddd;
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  background-color: #fff;
}

.card img {
  max-height: 160px;
  object-fit: contain;
  margin-bottom: 1rem;
  max-width: 100%;
}

.image-placeholder {
  height: 160px;
  background-color: #f3f4f6;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

form {
  margin-top: 1rem;
}

input, textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
}

button {
  background-color: #2563eb;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
}

button:hover {
  background-color: #1d4ed8;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.success { color: green; font-weight: bold; }
.error { color: red; font-weight: bold; }

@media screen and (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  main {
    padding: 1rem;
  }
}
