/* OFERTA - UKŁADY */
.offer-item-lplp {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.offer-item-lplp.reverse {
  flex-direction: row-reverse;
}
.offer-item-lplp .offer-text {
  flex: 1;
  min-width: 250px;
}

/* GŁÓWNE IKONY */
.offer-icon {
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

/* SPECJALNA KLASA DO KATEGORII */
.category-image {
  width: 20vw;
  max-width: 200px;
  height: auto;
  object-fit: contain;
}

/* REALIZACJE */
.realizacje-page .offer-item-lplp .offer-icon {
  height: 60px;
  width: auto;
}

/* PRZYCISK HERO */
.hero-button {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}
.offer-link-btn {
  display: inline-block;
  background-color: #d9534f;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.offer-link-btn:hover {
  background-color: #b02a26;
}

/* FORMULARZ KONTAKTOWY */
.contact-form-section {
  padding: 40px 20px;
  max-width: 800px;
  margin: auto;
}
.contact-form {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-form-left, .contact-form-right {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
}
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  width: 100%;
}
.contact-form textarea {
  height: 180px;
}
.submit-btn {
  padding: 10px 15px;
  border: none;
  background-color: #d9534f;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  width: 100%;
}
.submit-btn:hover {
  background-color: #b02a26;
}

/* MAPKI KONTAKT */
.contact-maps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 40px auto;
}
.contact-maps img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}
.contact-info {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

/* OVERLAY GALERIA */
.gallery-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.gallery-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}
.gallery-overlay .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #d9534f;
  color: white;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
.gallery-overlay .close-btn:hover {
  background-color: #b02a26;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0,0,0,0.9);
  color: #fff;
  padding: 15px 10px;
  text-align: center;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}
.cookie-banner p {
  margin: 0;
  flex: 1;
  padding-right: 10px;
}
.cookie-banner button {
  padding: 8px 12px;
  background-color: #d9534f;
  border: none;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}
.cookie-banner button:hover {
  background-color: #b02a26;
}
.kat-page.drzwi-page .offer-item-lplp {
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.kat-page.drzwi-page .offer-text {
  margin-left: 10px;
  flex: 1;
  min-width: 250px;
}
.kat-page.drzwi-page .offer-icon-wrapper {
  max-width: 300px;
  flex-shrink: 0;
}
.kat-page.drzwi-page .offer-item-lplp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.kat-page.drzwi-page .offer-icon-wrapper {
  max-width: 300px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.kat-page.drzwi-page .offer-icon {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}
.kat-page.drzwi-page .offer-short-desc {
  flex: 1;
  min-width: 250px;
  margin-left: 10px;
}
.kat-page.drzwi-page .offer-link-block {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  flex-wrap: wrap;
}
.kat-page.drzwi-page .drzwi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.kat-page.drzwi-page .drzwi-grid-item {
  background-color: #fff;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.kat-page.drzwi-page .drzwi-grid-item:hover {
  transform: translateY(-4px);
}

.kat-page.drzwi-page .drzwi-grid-item img.drzwi-kat {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}
.offer-item-lplp {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: nowrap;
}

.offer-icon-wrapper {
  flex: 0 0 auto;
  width: 250px;
  max-width: 30vw;
}

.offer-icon-wrapper img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.offer-text {
  flex: 1;
  min-width: 280px;
}
