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

a {
  color: #007BFF;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.hero {
  position: relative;
}
.hero img {
  width: 100%;
  height: auto;
}

.section {
  padding: 40px 20px;
}
.section.white {
  background: white;
}
.container {
  max-width: 1000px;
  margin: 0 auto;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.gallery img:hover {
  transform: scale(1.03);
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  font-size: 16px;
}
button {
  padding: 12px 24px;
  background: #007BFF;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
}
button:hover {
  background: #0056b3;
}

.footer {
  text-align: center;
  background: #e0f0ff;
  padding: 20px;
  font-size: 14px;
  margin-top: 40px;
}
.quick-links {
  list-style: none;
  padding: 0;
}
.quick-links li {
  margin-bottom: 10px;
}

.two-column {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}
.column-image {
  flex: 1;
  max-width: 48%;
  height: auto;
}
.column-text {
  flex: 1;
  max-width: 48%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  line-height: 1.5;
}
.reverse {
  flex-direction: row-reverse;
}

.kontakt {
  background: #f3f3f3;
}
.static-text {
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 30px auto;
  text-align: center;
}

.full-width-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 30px auto;
}

.light-pink {
  background-color: #FBF5F5;
  padding: 40px 20px;
}

.team-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.team-grid.two {
  justify-content: center;
}
.team-member {
  text-align: center;
  width: 120px;
}
.team-member img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ccc;
}
.team-member p {
  margin: 5px 0 0 0;
  font-size: 14px;
}
.team-member .name {
  font-size: 17px;
  font-weight: bold;
  color: #CB5A5C;
}

.tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}
.tile {
  flex: 1 1 300px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.tile h3 {
  margin-top: 0;
  color: #CB5A5C;
}
.tile p {
  font-size: 15px;
  line-height: 1.6;
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}
.text-col {
  flex: 1 1 400px;
}
.image-col {
  flex: 1 1 400px;
}

.section.dark-red {
  background-color: #CB5A5C;
}
.section.dark-red .static-text,
.section.dark-red h2 {
  color: white;
}
.contact-box p {
  margin: 10px 0;
}
.contact-box i {
  width: 20px;
  display: inline-block;
}
.contact-box a {
  color: #222;
  text-decoration: none;
}
.contact-box a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }

  .team-grid {
    flex-direction: column;
    align-items: center;
  }

  .tiles {
    flex-direction: column;
  }

  /* Zmiany tylko dla O NAS i USŁUGI */
  .two-column-o-nas {
    flex-direction: column-reverse;
  }

  .two-column-uslugi {
    flex-direction: column;
  }

  .two-column-o-nas .column-image,
  .two-column-o-nas .column-text,
  .two-column-uslugi .column-image,
  .two-column-uslugi .column-text {
    max-width: 100%;
  }
}
