/* css styles */
.listing-title {
  text-transform: capitalize;
}

/* Photo Album Carousel */
.photo-album {
  margin: 2rem 0;
  overflow: hidden;
}

.photo-album-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1.5rem;
  padding: 1rem 0;
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

.photo-album-container::-webkit-scrollbar {
  height: 8px;
}

.photo-album-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.photo-album-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.photo-album-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.photo-item {
  flex: 0 0 auto;
  width: 400px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
}

.photo-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.photo-item img:hover {
  transform: scale(1.02);
}

.photo-caption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #555;
  text-align: center;
  line-height: 1.4;
}

/* Dark mode styles */
html[data-bs-theme="dark"] .photo-album-container {
  scrollbar-color: #666 #2b2b2b;
}

html[data-bs-theme="dark"] .photo-album-container::-webkit-scrollbar-track {
  background: #2b2b2b;
}

html[data-bs-theme="dark"] .photo-album-container::-webkit-scrollbar-thumb {
  background: #666;
}

html[data-bs-theme="dark"] .photo-album-container::-webkit-scrollbar-thumb:hover {
  background: #888;
}

html[data-bs-theme="dark"] .photo-item img {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

html[data-bs-theme="dark"] .photo-caption {
  color: #aaa;
}

@media (max-width: 768px) {
  .photo-item {
    width: 300px;
  }
  
  .photo-item img {
    height: 225px;
  }
}

@media (max-width: 480px) {
  .photo-item {
    width: 250px;
  }
  
  .photo-item img {
    height: 190px;
  }
  
  .photo-caption {
    font-size: 0.85rem;
  }
}
