 /* CSS */
 * {
     box-sizing: border-box;
     margin: 0;
     padding: 0;
 }



 .diaporama-container {
     position: relative;
     width: 100%;
     max-width: 800px;
     height: 500px;
     overflow: hidden;
     border-radius: 0px;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
 }

 .diaporama {
     display: flex;
     width: 100%;
     height: 100%;
     transition: transform 0.5s ease-in-out;
 }

 .slide {
     min-width: 100%;
     height: 100%;
     position: relative;
 }

 .slide img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .slide-content {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     background: rgba(0, 0, 0, 0.5);
     color: white;
     padding: 20px;
     text-align: center;
 }

 .nav-btn {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     width: 50px;
     height: 50px;
     background: rgba(0, 0, 0, 0.3);
     color: white;
     border: none;
     border-radius: 50%;
     font-size: 24px;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     opacity: 0;
     transition: opacity 0.3s, background 0.3s;
     z-index: 10;
 }

 .detail-text {
     position: absolute;
     top: 10%;
     left: 0;
     background: rgba(51, 51, 51, 0.5);
     color: white;
     padding: 10px 30px;
     text-align: left;
 }


 .nav-btn:hover {
     background: rgba(0, 0, 0, 0.7);
 }

 .diaporama-container:hover .nav-btn {
     opacity: 1;
 }

 #prevBtn {
     left: 20px;
 }

 #nextBtn {
     right: 20px;
 }

 .indicators {
     position: absolute;
     bottom: 20px;
     left: 50%;
     transform: translateX(-50%);
     display: flex;
     gap: 10px;
     z-index: 10;
 }

 .indicator {
     width: 12px;
     height: 12px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.5);
     cursor: pointer;
     transition: background 0.3s;
 }

 .indicator.active {
     background: white;
 }

 .play-pause-btn {
     position: absolute;
     top: 20px;
     right: 20px;
     width: 40px;
     height: 40px;
     background: rgba(0, 0, 0, 0.3);
     color: white;
     border: none;
     border-radius: 50%;
     font-size: 16px;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     opacity: 0;
     transition: opacity 0.3s;
     z-index: 10;
 }

 .diaporama-container:hover .play-pause-btn {
     opacity: 1;
 }