/* Property Info Styles */
.property-info-sidebar {
  background: white;
  padding: 10px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

.property-info-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #198754, #25b06a);
}

.property-info-sidebar h2 {
  font-size: 22px;
  margin-bottom: 16px;
  color: #1a1a1a;
  font-weight: 700;
  line-height: 1.2;
}

.property-info-sidebar h3 {
  font-size: 19px;
  margin-top: 16px;
  margin-bottom: 2px;
  color: #008374;
  font-weight: 700;
  line-height: 1.2;
}

.property-info-sidebar .location {
  display: flex;
  align-items: center;      /* vertically center */
  justify-content: center;  /* horizontally center */
  color: #555;
  margin-bottom: 15px;
  font-size: 15px;
}


.property-info-sidebar .location i {
  margin-right: 12px;
  color: #008374;
  font-size: 18px;
}




.amenities-list {
    margin: 0;
    padding: 0;
}

.amenities-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.amenities-list li i {
    margin-top: 4px;
    flex-shrink: 0;
    width: 24px;
}

.amenities-list li > span {
    display: block;
    padding-left: 0;
    line-height: 1.6;
}

.amenities-list li:last-child {
    border-bottom: none;
}

.amenities-list i {
    font-size: 1.2rem;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amenity-name {
    color: #008374;
    font-weight: 500;
}

.property-info-sidebar2 {
  background: white;
  padding: 10px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}


.property-info-sidebar2 h2 {
  font-size: 22px;
  margin-bottom: 16px;
  color: #008374;
  font-weight: 700;
  line-height: 1.2;
}

.property-info-sidebar2 .location {
  display: flex;
  align-items: center;
  color: #555;
  margin-bottom: 30px;
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 12px;
}

.property-info-sidebar2 .location i {
  margin-right: 12px;
  color: #008374;
  font-size: 18px;
}

.price-info {
  background: linear-gradient(145deg, #008374, #25b06a);
  border-radius: 16px;
  padding: 12px;
  margin: 12px 0 12px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(25, 135, 84, 0.15);
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.price-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(25, 135, 84, 0.25);
}

.price-info h3 {
  font-size: 22px;
  color: white;
  margin-bottom: 0;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.price-info h4 {
  font-size: 16px;
  color: white;
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.price-info .price-amount {
  font-size: 22px;
  font-weight: 700;
  margin: 0 8px;
}

.property-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 4px;
  padding-top: 4px;
}

.feature-box {
  background: #dddddd;
  padding: 2px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, #008374, #25b06a);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.feature-box:hover::before {
  opacity: 1;
}

.feature-box i {
  font-size: 28px;
  color: #008374;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.feature-box:hover i {
  transform: scale(1.1);
}

.feature-value {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 8px 0 2px;
}

.feature-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.action-buttons {
  display: grid;
  gap: 12px;
  margin-top: 35px;
}

.schedule-viewing {
  background: linear-gradient(145deg, #198754, #25b06a);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-size: 15px;
  font-weight: 600;
  width: 100%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(25, 135, 84, 0.15);
  white-space: nowrap;
  min-width: max-content;
}

.schedule-viewing:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(25, 135, 84, 0.2);
  background: linear-gradient(145deg, #008374, #198754);
}

.schedule-viewing i {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.schedule-viewing:hover i {
  transform: scale(1.1);
}

/* Property Accordion Styles */
.property-accordion {
  margin: 35px 0;
}

.property-accordion .accordion-item {
  border: none;
  background: transparent;
  margin-bottom: 12px;
}

.property-accordion .accordion-header {
  margin-bottom: 0;
}

.property-accordion .accordion-button {
  background: #dcdcdc;
  border-radius: 12px !important;
  padding: 20px 24px;
  font-weight: 600;
  color: #1a1a1a;
  box-shadow: none;
  transition: all 0.3s ease;
}

.property-accordion .accordion-button:not(.collapsed) {
  background: #008374;
  color: white;
  box-shadow: 0 8px 25px rgba(25, 135, 84, 0.15);
}

.property-accordion .accordion-button::after {
  transition: all 0.3s ease;
}

.property-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(10);
}

.property-accordion .accordion-body {
  padding: 24px;
  background: white;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.property-accordion .list-unstyled li {
  padding: 8px 0;
  border-bottom: none;
}

.property-accordion .list-unstyled li:last-child {
  border-bottom: none;
}

.property-accordion .bi {
  margin-right: 10px;
}

.property-accordion strong {
  color: #008374;
  margin-right: 8px;
}

/* Property Gallery Section */
.property-gallery {
  background-color: var(--white-color);
  padding: 20px 0;
  scroll-margin-top: 68px; /* Adjust scroll position when navigating to this section */
}

/* Navigation Active State */
.navbar-nav .nav-link.active {
  color: #ffffff !important;
  font-weight: bold;
  position: relative;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background-color: #ffffff;
}

/* Property Inclusions Modal - Override Gallery Modal Styles */
.inclusions-modal-dialog {
  max-width: 800px !important;
  margin: 1.75rem auto !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: calc(100vh - 3.5rem) !important;
}

.inclusions-modal-content {
  background: white !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  height: auto !important;
  display: block !important;
  flex-direction: unset !important;
  position: relative !important;
  overflow: visible !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.inclusions-modal-header {
  border-bottom: 1px solid #dee2e6 !important;
  padding: 1rem 1rem !important;
  position: relative !important;
  right: unset !important;
  z-index: unset !important;
  background-color: #f8f9fa !important;
  border-radius: 0.5rem 0.5rem 0 0 !important;
}

.inclusions-modal-header .btn-close {
  background-color: transparent !important;
  opacity: 0.5 !important;
  margin: 0 !important;
  padding: 0.5rem !important;
}

.inclusions-modal-header .btn-close:hover {
  opacity: 0.75 !important;
}

.inclusions-modal-body {
  flex: unset !important;
  display: block !important;
  align-items: unset !important;
  justify-content: unset !important;
  padding: 1rem !important;
  overflow: visible !important;
}

.inclusions-modal-footer {
  border-top: 1px solid #dee2e6 !important;
  padding: 0.75rem !important;
  background-color: #f8f9fa !important;
  border-radius: 0 0 0.5rem 0.5rem !important;
}

/* Property Features List Styles */
.property-features-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8x;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.property-features-list li i {
  margin-right: 8px;
  margin-top: 0px;
  flex-shrink: 0;
}

.property-features-list li span {
  flex: 1;
  line-height: 1.1;
}

.property-features-list li:last-child {
  border-bottom: none !important;
}

/* Accordion specific overrides */
.property-accordion .property-features-list li {
  margin-bottom: 8px !important;
  padding: 0 !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.property-accordion .property-features-list li:last-child {
  border-bottom: none !important;
}

/* Modal Features List Styles */
.modal-features-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
}

.modal-features-list li i {
  margin-right: 8px;
  margin-top: 2px;
  flex-shrink: 0;
}

.modal-features-list li span {
  flex: 1;
  line-height: 1.4;
}

/* Modal Navigation Styles */
.modal-navigation {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
  padding: 0 20px; /* Add some padding from edges */
}

.modal-nav-prev,
.modal-nav-next {
  background: rgba(0, 131, 116, 0.9);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  box-shadow: 0 4px 15px rgba(0, 131, 116, 0.3);
  z-index: 11;
}

.modal-nav-prev {
  margin-left: 0;
}

.modal-nav-next {
  margin-right: 0;
}

.modal-nav-prev:hover,
.modal-nav-next:hover {
  background: rgba(0, 131, 116, 1);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 131, 116, 0.4);
}

.modal-nav-prev:disabled,
.modal-nav-next:disabled {
  background: rgba(0, 131, 116, 0.3);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Modal Content Container */
.modal-content-container {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  touch-action: pan-y;
  padding: 0 60px; /* Add padding to prevent text overlap with nav buttons */
}

/* Category Indicator */
.modal-category-indicator {
  text-align: center;
  margin-top: 15px;
  padding: 8px 16px;
  background: rgba(0, 131, 116, 0.1);
  border-radius: 20px;
  display: block;
  font-weight: 600;
  color: #008374;
  font-size: 14px;
  width: 100%;
}

/* Swipe Animation */
.modal-content-container.swipe-left {
  animation: swipeLeft 0.2s ease-out;
}

.modal-content-container.swipe-right {
  animation: swipeRight 0.2s ease-out;
}

@keyframes swipeLeft {
  0% { transform: translateX(100%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes swipeRight {
  0% { transform: translateX(-100%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modal-content-container {
    padding: 0 50px; /* Reduce padding on mobile */
  }
  
  .modal-navigation {
    padding: 0 15px; /* Reduce navigation padding on mobile */
  }
  
  .modal-nav-prev,
  .modal-nav-next {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .modal-nav-prev {
    margin-left: 0;
  }
  
  .modal-nav-next {
    margin-right: 0;
  }
  
  .property-info-sidebar2 h2 {
    font-size: 20px; /* smaller size for mobile */
  }
}
