.photo-container {
    width: 100%;
    height: 250px; /* Adjust height for larger screens */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
  
.photo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}
  
/* Reduce height on smaller screens */
@media (max-width: 768px) {
    .photo-container {
      height: 150px;
}
}

/* Modal for slideshow */
.image-slideshow-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.carousel-inner {
    max-width: 90%;
    max-height: 90%;
    margin: 0 auto;
}

.carousel-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#closeSlideshow {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #ffa500 !important;
    border: none;
    outline: none !important;
    color: white;
    padding: 10px;
    cursor: pointer;
}

#closeSlideshow:focus {
    outline: none !important;
}


.fullscreen-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.fullscreen-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

#viewMorePhotosBtn {
    background-color: #ffa500 !important;
    border: none;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    border-radius: 50%;
    border: 2px solid #fff;
    width: 40px;
    height: 40px;
    background-size: 100%;
}

.carousel-control-prev,
.carousel-control-next {
    padding: 10px;
}