 /* Make all images same size */
.carousel-indicators img {
    width: 100%;
    height: 120px; /* Adjust to your preferred height */
    object-fit: cover;
}

/* Side thumbnails - show max 5 with scrolling if more */
.carousel-indicators {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 600px; /* 4 thumbnails * 200px + gaps */
    overflow-y: auto;
    padding-bottom:0;
    /* Hide scrollbar for Firefox */
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

/* Hide scrollbar for Chrome, Edge, Safari */
.carousel-indicators::-webkit-scrollbar {
    width: 0; /* removes scrollbar width */
    background: transparent; /* optional: just in case */
}

/* Main carousel images */
.carousel-inner .carousel-item img {
    width: 100%;          /* Fill width of carousel */
    height: 540px;        /* Fixed height for all images */
    object-fit: cover;    /* Crop without deformation */
    border-radius: 20px;  /* keep your existing border */
}

/* Optional: if you want all images fully visible without cropping, use object-fit: contain */
.carousel-inner .carousel-item img.contain {
    object-fit: contain;  
    background-color: #f5f5f5; /* optional background for empty space */
}

.property-feature-list ul li img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.property-feature-list ul li span {
    font-size: 20px;
    color: #000;
}

.property-feature-list ul {
  justify-content: flex-start; /* left aligned */
}

.property-feature-list li.feature-item {
  width: 110px; /* consistent columns */
}

.facility-item {
  font-size: 18px;
  color: #000;
}

.facility-item i {
  font-size: 16px;
}

.interest-btn {
  position: fixed;
  bottom: 10px;
  right: 50px;
  z-index: 999;
  background: #438b7c;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.interest-btn:hover {
  background: rgb(53, 110, 98);
}

.interest-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.interest-modal-content {
  background: #fff;
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  padding: 25px;
  position: relative;
}

.interest-close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.custom-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 360px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    z-index: 9999;
    animation: slideIn .3s ease;
}

.custom-alert.success {
    background: #e6f7f1;
    color: #1f6f5c;
    border-left: 6px solid #2f736c;
}

.custom-alert.error {
    background: #fdeaea;
    color: #8a1f1f;
    border-left: 6px solid #d93025;
}

.custom-alert.hidden {
    display: none;
}

.btn-send-message,
.interest-btn-fixed {
  background: #438b7c;
  color: white;
}

.btn-send-messaged:hover,
.interest-btn-fixed:hover {
  background: rgb(53, 110, 98);
}

.interest-btn-fixed {
  padding: 15px;
  border-radius: 10px;
  float: right;
}

.custom-gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-gallery-modal .modal-content {
  width: 100%;
  height: 100%;
  position: relative;
}

.full-carousel {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.full-image {
  max-height: 90%;
  object-fit: contain;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 10;
}

.prev-slide,
.next-slide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
}

.prev-slide { left: 30px; }
.next-slide { right: 30px; }

.full-thumbnails {
  position: absolute;
  bottom: 20px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  max-width: 90%;
}

.full-thumbnails img {
  height: 70px;
  opacity: 0.5;
  cursor: pointer;
  border-radius: 6px;
}

.full-thumbnails img.active {
  opacity: 1;
  outline: 2px solid white;
}

.price-tag {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 600;
  color: black;
  letter-spacing: 0.5px;
  margin-top: 20px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Cambiar a columna en móviles */
@media (max-width: 768px) {
  #facilities {
    flex-direction: column;
    align-items: flex-start; /* opcional: alinear a la izquierda */
  }

  .carousel-indicators {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

  .carousel-indicators img {
    object-fit: contain;
    height: auto;
  }

  .carousel-inner .carousel-item img {
    height: 300px;           /* smaller height for mobile */
    object-fit: cover;       /* keeps aspect ratio but crops edges */
  }

  .full-image{
    width: 100%;
  }
}