html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fefefe;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

.page-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
header {
  width: 100%;
  background-color: #0a3d62;
  color: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.site-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* Galéria */
.gallery-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
}

.gallery-section h1 {
  font-size: 2rem;
  color: #b71540;
  margin-bottom: 20px;
  text-align: center;
}

.intro {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1rem;
  color: #555;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.image-grid img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Spätný odkaz */
.back-link {
  margin-top: 40px;
  text-align: center;
}

.back-link a {
  color: #0a3d62;
  text-decoration: none;
  font-weight: 500;
}

/* Päta */
footer {
  width: 100%;
  background-color: #0a3d62;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: auto;
}
