/* Reset i typografia */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
  max-width: 700px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Nagłówek */
.site-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 4rem 1rem;
  color: white;
  background: url('cementownia1.png') no-repeat center center;
  background-size: cover;
  position: relative;
}

.site-header::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* półprzezroczyste przyciemnienie */
  z-index: 1;
}

.site-header h1,
.site-header .subtitle,
.site-header .social-top {
  position: relative;
  z-index: 2;
}
/* Post */
.post {
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ddd;
}
.post-title {
  font-size: 1.8rem;
  color: #003d80;
  margin-bottom: 0.25rem;
}
.post-date {
  font-size: 0.9rem;
  color: #999;
  display: block;
  margin-bottom: 1rem;
}
.post p {
  font-size: 1rem;
  margin-bottom: 1rem;
}
.read-more {
  color: #0055aa;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}
.read-more:hover,
.read-more:focus {
  color: #003d80;
  text-decoration: underline;
  outline: none;
}

/* Stopka */
.site-footer {
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  margin-top: 4rem;
  padding-bottom: 1rem;
}

/* Responsywność */
@media (max-width: 480px) {
  body {
    margin: 1rem;
    padding: 0 0.5rem;
  }
  .site-header h1 {
    font-size: 2rem;
  }
}
.social-top {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-top a img {
  width: 24px;
  height: 24px;
  filter: grayscale(100%) brightness(0.3);
  transition: filter 0.3s ease;
}
.social-top a:hover img {
  filter: none;
}
.main-nav {
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 0.75rem 0;
  text-align: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: #003366;
  font-weight: 600;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #007acc;
}