* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: #f8f9fa;
  background-image: url(images/bg.webp);
}


@font-face {
    font-family: custom;
    src: url(gotham-light.ttf);
}



.container {
  max-width: 1500px;
  margin: 0 auto;
}

/* THUMBNAILS GRID  */
.thumbnails-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
}

.thumbnail-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  aspect-ratio: 5/2;
  /* rectangle ratio */
  width: 100%;
  background: #fff;
  border: 2px solid white;
}

.thumbnail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.thumbnail-item:hover img {
  transform: scale(1.1);
}

.video-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  background: red;
  color: white;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
}

/*  SLIDESHOW OVERLAY  */
.slideshow-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slideshow-overlay.active {
  display: flex;
  opacity: 1;
}

/*  SLIDESHOW CONTAINER  */
.slideshow-container {
  position: relative;
  width: 90vw;
  max-width: 1500px;
  height: 100vh;
  aspect-ratio: 5/2;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

/* SLIDES */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img,
.slide iframe {
  width: 100%;
  height: 100%;
  /* object-fit: contain; */
  border: none;
}

/*  CAPTION, LOGO, LINK  */
.captionbox {
  position: absolute;
  top: 15%;
  left: 5%;
  color: #fff;
  font-size: 22px;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 8px;
  text-align:center;
}

/* .logo {
  position: absolute;
  bottom: 11%;
  left: 5%;
  width: 100px;
  height: 75px;
  padding: 5px;
  border-radius: 6px;
} */

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo {
    background-color:white;
    border-radius:5px;
    padding:3px;
    width:150px;
    height:auto;
    
}

/* .link {
  position: absolute;
  bottom: 11%;
  right: 5%;
  width: 180px;
  height: 50px;
  background: goldenrod;
  padding: 13px 8px;
  border: 2px solid black;
  border-radius: 25px;
} */

/* .link a {
  color: #000;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  display: block;
} */


/*  NAVIGATION ARROWS */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 20px;
  cursor: pointer;
  font-size: 24px;
  transition: background 0.3s;
  z-index: 10;
  border-radius: 5px;
}

.prev:hover,
.next:hover {
  background: rgba(255, 255, 255, 0.4);
}

.prev {
  left: 40px;
}

.next {
  right: 40px;
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fff;
  color: #000;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  line-height: 35px;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.close-btn:hover {
  background: #eee;
}

/*   */

.slider-footer {
  margin: 0 5% 0 5%;
  height: 50px;
  position: absolute;
  bottom: 8%;
  display: flex;
  justify-content: space-between;
  z-index: 100;
  align-items: center;
  width: 90%;
  /* background: white; */
}

.link {
  width: 135px;
  background: goldenrod;
  padding: 8px 10px;
  border-radius: 20px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
}

.link a {
  text-decoration: none;
  color: white;
}

.slideshow-container {
  position: relative;
  width: 90vw;
  max-width: 1500px;
  height: auto;
  /* ✅ auto height */
  background: #191919;
  border-radius: 10px;
  overflow: hidden;
}

<!------------------
.slide img,
.slide iframe {
  width: 100%;
  height: auto;
  /* ✅ natural aspect ratio */
  object-fit: contain;
  /* ✅ fit without cropping */
  display: block;
}
------------------>
/* Keep captions/buttons pinned */
.captionbox {

    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 138.3%;
font-family: 'custom', sans-serif;
  position: absolute;
  top: 10%;
  /* always same relative position */
  left: 10%;
  color: #fff;
  font-size: 18px;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px 20px 30px 20px;
  border-radius: 8px;
  z-index: 10;
}

.slider-footer {
  position: absolute;
  bottom: 8%;
  /* stays relative */
  left: 0%;
  right: %;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

<!---------------------------
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

--------------------------------->