@charset "utf-8";
/* CSS Document */
/* X398CAROUSEL2026 */

    body { font-family: Arial, sans-serif; background:#111; color:#fff; margin:0; }
    h1 { text-align:center; padding:20px; color:#FFF }

    /* Carousel */
    .carousel { position:relative; max-width:800px; margin:20px auto; overflow:hidden; }
    .carousel img { width:100%; height:auto; display:none; cursor:pointer; }
    .carousel img.active { display:block; }
    .nav-btn { position:absolute; top:50%; transform:translateY(-50%); background:rgba(0,0,0,0.5); color:#fff; border:none; padding:10px; cursor:pointer; z-index:2; }
    .nav-btn.left { left:10px; }
    .nav-btn.right { right:10px; }

    /* Thumbnails */
    .gallery { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; padding:10px; }
    .gallery img { width:120px; height:80px; object-fit:cover; cursor:pointer; border:2px solid #444; }
	
	.gallery img {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

	.gallery img:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 10;
}

    body { font-family: Arial, sans-serif; background:#111; color:#fff; margin:0; }
    h1 { text-align:center; padding:20px; color:#FFF }

    /* Carousel */
    .carousel { position:relative; max-width:800px; margin:20px auto; overflow:hidden; }
    .carousel img { width:100%; height:auto; display:none; cursor:pointer; }
    .carousel img.active { display:block; }
    .nav-btn { position:absolute; top:50%; transform:translateY(-50%); background:rgba(0,0,0,0.5); color:#fff; border:none; padding:10px; cursor:pointer; z-index:2; }
    .nav-btn.left { left:10px; }
    .nav-btn.right { right:10px; }

    /* Thumbnails */
    .gallery { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; padding:10px; }
    .gallery img { width:120px; height:80px; object-fit:cover; cursor:pointer; border:2px solid #444; }

  .hover-container {
    position: relative;
    display: inline-block;
    width: 960px; /* Adjust width as needed */
    height: auto;
    cursor: pointer;
  }

  .hover-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease-in-out;
  }

  .hover-container img.imgb {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
  }

  .hover-container:hover img.imgb {
    opacity: 0;
  }

  .hover-container:hover img.imgb {
    opacity: 1;
  }
.gallery1 {display:flex; flex-wrap:wrap; justify-content:center; gap:10px; padding:10px; }

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    transition: height 0.4s ease; /* smooth height animation */
}

.carousel img {
    width: 100%;
    height: auto;
    display: none;
}

.carousel img.active {
    display: block;
}
.carousel-caption {
    text-align: center;
    font-size: 16px;
    color: #fff;
    margin-top: 10px;
    opacity: 0.85;
    font-family: Arial, sans-serif;
}

