/* Custom readability + aesthetics (keeps SEO changes, improves layout) */

/* HERO: consistent contrast over bright images */
.main-slider .slider-item{
  position: relative;
}
.main-slider .slider-item::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.40) 55%, rgba(0,0,0,0.18) 100%);
  z-index: 1;
}
.main-slider .banner-content{
  position: relative;
  z-index: 2;
}

.banner-subtitle{
  margin-top: 12px;
  max-width: 56ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 8px 24px rgba(0,0,0,0.55);
}

/* Buttons in hero: keep style, add subtle separation */
.btn-with-line.secondary{
  margin-left: 16px;
  opacity: 0.98;
}
.btn-with-line.secondary:after{
  opacity: 0.85;
}

/* Highlights section under hero */
.dab-highlights{
  background: #f7f7f7;
  padding: 22px 0;
}
.dab-highlight{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 14px 16px;
  height: 100%;
  box-shadow: 0 10px 26px rgba(0,0,0,0.05);
}
.dab-highlight-title{
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: rgba(0,0,0,0.78);
}
.dab-highlight-text{
  font-size: 0.98rem;
  color: rgba(0,0,0,0.72);
}

/* Portfolio captions – readable and consistent */
#portfolio .portfolio-item{
  display: flex;
  flex-direction: column;
}
#portfolio .portfolio-item img{
  border-radius: 14px;
}
.realizacja-caption{
  margin-top: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
}
.realizacja-place{
  font-size: 0.85rem;
  opacity: 0.82;
  color: rgba(255,255,255,0.88);
}
.realizacja-title{
  font-size: 1.05rem;
  line-height: 1.35;
  color: #ffffff;
}

/* Services "Zakres" chips – lighter and cleaner */
.services-subtitle{
  margin-top: 4px;
  font-size: 1.1rem;
}
.services-tags{
  list-style: none;
  padding-left: 0;
  margin: 10px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.services-tags li{
  padding: 8px 12px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 999px;
  background: rgba(0,0,0,0.02);
  font-size: 0.95rem;
  line-height: 1.2;
}

/* Small mobile tweaks */
@media (max-width: 576px){
  .btn-with-line.secondary{ margin-left: 0; margin-top: 10px; display: inline-block; }
  .banner-subtitle{ font-size: 1rem; }
}



/* --- Fixes: hero title color + CTA overlap --- */
.main-slider .banner-content .banner-title{
  color: #fff;
  text-shadow: 0 10px 30px rgba(0,0,0,0.60);
}
.main-slider .banner-content h1.banner-title{
  font-family: var(--heading-font);
  font-size: 4.6em;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0;
}
@media (max-width: 992px){
  .main-slider .banner-content h1.banner-title{ font-size: 3.2em; }
}
@media (max-width: 576px){
  .main-slider .banner-content h1.banner-title{ font-size: 2.4em; }
}

/* Keep CTA readable, avoid line pseudo-element collisions */
.main-slider .banner-content .btn-wrap{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.main-slider .banner-content .btn-with-line{
  display: inline-block;
  border-bottom: 2px solid rgba(255,255,255,0.55);
  padding-bottom: 4px;
}
.main-slider .banner-content .btn-with-line:after{
  display: none;
}
.main-slider .banner-content .btn-with-line:hover{
  border-bottom-color: rgba(255,255,255,0.90);
}

/* Override earlier spacing that could force overlap */
.btn-with-line.secondary{
  margin-left: 0;
}


/* Desktop: keep hero subtitle in one line */
@media (min-width: 992px){
  .banner-subtitle{ white-space: nowrap; max-width: none; }
}

/* stopka: nie kapitalizuj adresu e-mail */
#footer a.mail-id {
  text-transform: none !important;
}
