body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fdfdfd;
  color: #333;
}

/* Header */
header {
  background-color: #121212;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.7);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  margin: 0;
  font-weight: 700;
  font-size: 1.8rem;
}

nav a {
  margin: 0 1em;
  color: #FFD700;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #fff8dc;
}

/* Hero section - zwiększona wysokość i lepsze skalowanie tła */
.hero {
  height: 100vh;
  background-image: url('images/BokCzarneDrewno.jpeg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 20%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 1em;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 0.5em;
}

.hero-text p {
  font-size: 1.5rem;
  margin-bottom: 1em;
}

.btn {
  background-color: #f39c12;
  color: white;
  padding: 0.75em 1.5em;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #d88e0a;
}

/* Welcome section */
.welcome {
  max-width: 800px;
  margin: 3em auto;
  padding: 2em 2.5em;
  background-color: #f9f9f9;
  border-left: 6px solid #2c3e50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2c3e50;
}

.welcome h2 {
  font-size: 2.2em;
  margin-bottom: 1em;
  font-weight: 700;
}

.welcome p {
  line-height: 1.7;
  font-size: 1.15em;
  margin-bottom: 1.2em;
}

/* Gallery project sections */
.project {
  margin-bottom: 3em;
}

.project h3 {
  font-size: 1.6rem;
  margin-bottom: 1em;
  color: #2c3e50;
  border-left: 5px solid #f39c12;
  padding-left: 0.5em;
}

.project .images {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em;
  justify-content: center;
}

.image-item {
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.image-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-bottom: 0.5em;
}

.image-item p {
  font-size: 0.95em;
  color: #555;
  margin: 0;
}

.image-item video {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-bottom: 0.5em;
}

/* Footer */
footer {
  text-align: center;
  padding: 1em;
  background-color: #eee;
  margin-top: 2em;
}

/* Responsive */
@media (max-width: 900px) {
  .image-item {
    max-width: 100%;  /* na mniejszych ekranach zdjęcia biorą całą szerokość */
    height: auto;
  }
}

@media (max-width: 600px) {
  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.map {
  margin: 3em auto;
  max-width: 800px;
  padding: 0 1em;
  text-align: center;
}

.map-container {
  margin-top: 1em;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact {
  text-align: center;
  padding: 2em 1em;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 1em;
  color: #2c3e50;
}

.contact-box {
  display: inline-block;
  background-color: #f9f9f9;
  border-left: 6px solid #f39c12;
  padding: 1.5em 2em;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: #2c3e50;
  text-align: left;
}

.contact-box p {
  margin: 0.7em 0;
}

.contact-box a {
  color: #f39c12;
  text-decoration: none;
  font-weight: 600;
}

.contact-box a:hover {
  text-decoration: underline;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin: 2em 0 1.5em;
  color: #2c3e50;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #f39c12;
  margin: 0.5em auto 0;
  border-radius: 4px;
}