body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.dropdown-menu .dropdown-item {
  transition: color 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
  color: #e94e1b;
}

.floating-images {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 10px;
  }
  
  .floating-images img {
    height: auto;
    max-height: 50px; /* maksymalna wysokość na desktopach */
  }
  .floating-images .img-1 {
    max-height: 40px; /* maksymalna wysokość na desktopach */
  }
  
  @media (max-width: 768px) {
    .floating-images {
      justify-content: center;
      gap: 5px;
    }
    .floating-images img {
      max-height: 40px; /* zmniejsz obrazki na komórkach */
      width: auto;      /* zachowaj proporcje */
    }
  }

h2 {
  font-weight: 600;
}

.active {
  color: #e94e1b !important;
  font-weight: 600;
}

.nav-link:hover {
  color: #e94e1b;
  transition: color 0.3s ease;
}

.pxxl-rounded,
.pxxl-box-blue {
  border-radius: 18px;
  overflow: hidden;
}

.pxxl-box-blue {
  --bs-bg-opacity: 1;
  background-color: #1d71b8;
}

.pxxl-section-mt {
  margin-top: 6rem;
}

.pxxl-section-mt-info {
  margin-top: 5rem;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(29, 113, 184, 0.5), rgba(29, 113, 184, 0.3));
  border-radius: 18px;
  pointer-events: none;
}

.logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: auto;
  filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.7));
}
@media (max-width: 768px) {
  .logo-overlay {
    width: 230px; /* mniejszy rozmiar na komórkach */
    top: 40%;
  }
}

.slogan-text {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  width: 80%;
}

.bg-image {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#mapa {
  width: 100%;
  height: 400px;
  border-radius: 18px;
}

.custom-marker {
  background-color: #007BFF;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0px 0px 8px rgba(0, 123, 255, 0.8);
}

.pxxl-rounded-start {
  border-bottom-left-radius: 18px;
  border-top-left-radius: 18px;
}

.pxxl-rounded-end {
  border-bottom-right-radius: 18px;
  border-top-right-radius: 18px;
}

#oaza-relaksu .row {
  display: flex;
  flex-wrap: wrap;
}

#oaza-relaksu .col-12 {
  display: flex;
}

#oaza-relaksu .col-12 > div,
#oaza-relaksu .carousel {
  height: 400px;
  width: 100%;
}

#oaza-relaksu .bg-dark {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 991.98px) {
  #oaza-relaksu .row {
    justify-content: center;
  }

  #oaza-relaksu .col-12.col-md-6.col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
  }

  #oaza-relaksu .col-12.col-md-6.col-lg-4 > div,
  #oaza-relaksu .carousel {
    height: auto !important;
  }
}

footer .col-12,
footer .col-md-4 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

@media (min-width: 768px) {
  footer .col-md-4 {
    border-radius: 0; /* usuwa globalne zaokrąglenia, bez !important */
  }

  footer .col-md-4:first-child {
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
  }

  footer .col-md-4:last-child {
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
  }
}
@media (max-width: 767.98px) {
  footer .col-12:last-child {
    padding-top: 0 !important;
  }
}
@media (max-width: 767.98px) {
  .mobile-rounded-top {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
  }

  .mobile-rounded-bottom {
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
  }
}

/* Wyłączenie zaokrągleń powyżej 768px */
@media (min-width: 768px) {
  .mobile-rounded-top,
  .mobile-rounded-bottom {
    border-radius: 0;
  }
}


/* Poprawka koloru menu (tło + linki) na mobile */
@media (max-width: 991.98px) {
  #navbarNav {
    padding: 1rem;
    border-radius: 12px;
  }

  #navbarNav .nav-link {
    font-weight: 500;
    padding: 0.5rem 0;
  }

  #navbarNav .active{
    font-weight: 600;
  }

  #navbarNav .nav-link:hover {
    color: #e94e1b !important; /* np. żółty hover */
    font-weight: 600;
  }

  .mobile-logo {
    width: 180px;
    height: auto;
  }
}

/* Wyśrodkowanie menu na desktopie */
@media (min-width: 992px) {
  .navbar-nav {
    justify-content: center;
    width: 100%;
  }
}

/* Kolor hamburgera */
.navbar-toggler {
  border-color: transparent; /* usuwa ramkę */
  margin-right: 0.5rem;
}

/* Zastąp ikonę burgera własną w kolorze niebieskim */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231d71b8' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* kontakt */
.text-aquablue {
  color: #1d71b8 !important;
}

.btn-orange {
  background-color: #e94e1b;
  color: #fff;
  border: none;
}

.btn-orange:hover {
  background-color: #d64514;
  color: #fff;
}

.link-hover-orange {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.link-hover-orange:hover {
  color: #e94e1b;
}

.link-hover-orange {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.link-hover-orange:hover {
  color: #e94e1b;
}


.link-hover-orange {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.link-hover-orange:hover {
  color: #e94e1b;
}

.link-hover-orange i {
  color: #fff; /* ikona zawsze biała */
}

.text-orange {
  color: #e94e1b;
}

/* Styl ogólny dla boxów */
.pxxl-box-blue {
  background-color: #1d71b8;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  color: white;
}

.pxxl-box-blue i,
.pxxl-box-blue p {
  color: white;
  transition: color 0.3s ease;
}

/* Górna ikona domyślnie biała */
.pxxl-box-blue .top-icon {
  color: white;
}

/* Hover tylko dla boxów bez klasy .no-hover */
.pxxl-box-blue:not(.no-hover):hover {
  background-color: #fff;
  border-color: #1d71b8;
}

.pxxl-box-blue:not(.no-hover):hover .top-icon {
  color: #1d71b8;
}

.pxxl-box-blue:not(.no-hover):hover p,
.pxxl-box-blue:not(.no-hover):hover i:not(.top-icon) {
  color: #e94e1b;
}
