html,
body {
  width: 100%;
  height: auto;
}
h1 {
  color: white !important;
  text-shadow: red 0.1px 0.1px;
}
ul {
  list-style: none;
}
.top-1 {
  margin-top: 5px;
}
.img-building {
  width: 100%;
  cursor: pointer;
}
.lists {
  background-color: #f5f5f5;
  margin: 0 auto 3px;
  padding: 15px;
  border-bottom: 1px solid lightgray;
  border-top: 1px solid lightgray;
}
.listHeader {
  font-weight: 600;
  text-align: center;
  background-color: #f5f5f5;
  margin: 0 0 3px 0;
  padding: 10px 0px 10px 0px;
  border-bottom: 1px solid lightgray;
}
.menu-top {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0px;
}
.menu-top li {
  display: inline-block;
  /*font-size: 24px;*/
}
.menu-top li h1 {
  /*font-size:18px;*/
}
.menu-filters li {
  display: inline-block;
  /*font-size: 24px;*/
}
#wholePagePhoto {
  background-image: url("../../assets/images/apartment.jpg");
}
/* .cover-image {
  display: none;
} */
.phone {
  background-color: #d8bf9f;
  height: 170px;
}
.icon-container {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding-top: 10px;
  width: 100px;
  font-size: 20px;
  img {
    width: 60px;
    height: 60px;
  }
}
.main-title {
  font-size: 80px;
}
.main-title-phone {
  width: 680px;
  color: #2a241a !important;
  background-color: #d8bf9f;
  font-size: 50px;
  padding: 13px;
  i {
    font-size: 65px;
  }
}
.offer-title {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 5px;
  padding-bottom: 0px;
}
.main-title-container {
  align-items: center;
  display: flex;
  flex-direction: column;
}
.phone-title-cover {
  position: absolute;

  top: 43%;
  z-index: 1000;
  width: 100%;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .cover-image {
    height: 820px !important;
  }
  .phone-title-cover {
    top: 20%;
  }
  .mobile-center {
    text-align: center;
  }
  .offer-card {
    padding-top: 50px;
  }
  .main-title {
    font-size: 65px;
  }
  .main-title-phone {
    width: auto;
  }
  .description-row {
    padding-left: 20px;
    padding-right: 20px;
  }
  .description-title {
    /* padding-left: 20px; */
  }
}

@media screen and (min-width: 768px) {
  .padd-collum-top {
    padding-top: 42px;
  }
}
@media screen and (min-width: 992px) {
  .padd-collum-top {
    padding-top: 42px;
  }
}
.description-row {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #d8bf9f;
  color: white;
  display: flex;
  justify-content: center;
}

#slides_control > div {
  /* height: 200px; */
}
img {
  margin: auto;
  /* width: 71%; */
}
.carousel img {
  width: 100% !important;
  max-width: 400px !important;
}
.carousel {
  height: auto !important;
}
.carousel-inner {
  height: auto !important;
}
.carousel-item {
  height: auto !important;
}
.carousel-inner > .item {
  height: auto !important;
}
.carousel-inner > .item > img {
  width: 100% !important;
  max-width: 400px !important;
}
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  width: 100% !important;
  max-width: 400px !important;
}

/* Nowa prosta karuzela */
.simple-carousel {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel-container {
  position: relative;
  width: 100%;
  height: auto;
}

.carousel-slides {
  display: flex;
  transition: transform 0.3s ease-in-out;
  will-change: transform;
  touch-action: pan-y;
  gap: 0;
  padding: 0;
}

.carousel-slide {
  width: 100%;
  flex: 0 0 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 500px;
  min-height: 400px;
  object-fit: cover
  object-position: center;
  display: block;
  border-radius: 8px;
  aspect-ratio: 16/9;
  background-color: #f5f5f5;
  transition: opacity 0.3s ease;
}

/* Lepsze ładowanie obrazów */
.carousel-slide img[src] {
  opacity: 1;
}

.carousel-slide img:not([src]) {
  opacity: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 10;
}

.carousel-indicators span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-indicators span.active {
  background: white;
}

/* Responsywność dla karuzeli na urządzeniach mobilnych */
@media (max-width: 768px) {
  .carousel-slide img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 70vh !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    background-color: #000;
  }

  .simple-carousel {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-sizing: border-box;
  }

  .carousel-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .carousel-slides {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .carousel-slide {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .carousel-container {
    position: relative;
    width: 100%;
    height: auto;
  }

  .carousel-slides {
    display: flex;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
  }

  .carousel-btn {
    font-size: 20px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carousel-btn.prev {
    left: 5px;
  }

  .carousel-btn.next {
    right: 5px;
  }

  .carousel-indicators {
    bottom: 5px;
  }

  .carousel-indicators span {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 480px) {
  .carousel-slide img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 70vh !important;
    object-fit: contain !important;
    object-position: center center !important;
    background-color: #000;
  }

  .simple-carousel {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 10px;
    box-sizing: border-box;
  }

  .carousel-btn {
    font-size: 18px;
    padding: 6px 10px;
    width: 35px;
    height: 35px;
  }

  .simple-carousel {
    margin: 0 5px;
  }
}

/* Dodatkowe style dla lepszej responsywności */
@media (max-width: 360px) {
  .carousel-slide img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 70vh !important;
    object-fit: contain !important;
    object-position: center center !important;
    background-color: #000;
  }

  .simple-carousel {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 5px;
    box-sizing: border-box;
  }

  .carousel-btn {
    font-size: 16px;
    width: 30px;
    height: 30px;
  }
}
#slides_control {
  position: relative;
  /* width: 95%; */
  /* left:50%; */
  /*					  top:20px;*/
  /* margin-left:-178px; */
}
.photo-tab {
  /* min-height: 300px; */
}

.cover-image {
  z-index: -1000;
  padding: 0px;
  width: 100%;
  height: 900px;
  width: 100%;
  background-image: url("../../assets/images/baner_kwater.jpg");
}

@media screen and (min-width: 480px) {
  .phone {
    height: 150px;
  }
  #slides_control > div {
    /* height: 200px; */
  }
  img {
    margin: auto;
    /* width: 71%; */
  }
  #slides_control {
    position: relative;
    /* width: 95%; */
    /* left:50%; */
    /*					  top:20px;*/
    /* margin-left:-235px; */
  }
}

@media screen and (min-width: 720px) {
  .cover-image {
    display: block;
  }
  .photo-tab {
    min-height: 600px;
  }
  .phone {
    height: 150px;
  }
  #slides_control > div {
    /* height: 200px; */
  }
  img {
    margin: auto;
    /* width: 71%; */
  }
  #slides_control {
    position: relative;
    /* width: 95%; */
    /* left:50%; */
    /*					  top:20px;*/
    /* margin-left:-365px; */
  }
}

@media screen and (min-width: 992px) {
  .cover-image {
    display: block;
  }
  .photo-tab {
    min-height: 600px;
  }
  .phone {
    height: 150px;
  }
  #slides_control > div {
    /* height: 200px; */
  }
  img {
    margin: auto;
    /* width: 71%; */
  }
  #slides_control {
    position: relative;
    /* width: 95%; */
    /* left:50%; */
    /*					  top:20px;*/
    /* margin-left:-260px; */
  }
}
@media screen and (min-width: 1650px) {
  .cover-image {
    display: block;
  }
  .photo-tab {
    min-height: 600px;
  }
  .phone {
    height: 150px;
  }
  #slides_control > div {
    /* height: 200px; */
  }
  img {
    margin: auto;
    /* width: 71%; */
  }
  #slides_control {
    position: relative;
    /* width: 95%; */
    /* left:50%; */
    /*					  top:20px;*/
    /* margin-left:-330px; */
  }
}

@media (min-width: 992px) {
  .carousel-slide img {
    height: 600px !important;
    max-height: 600px !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}
@media (min-width: 1400px) {
  .carousel-slide img {
    height: 700px !important;
    max-height: 700px !important;
  }
  @media (min-width: 1900px) {
    .carousel-slide img {
      height: 820px !important;
      max-height: 820px !important;
    }
}
