@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Yatra+One&display=swap');

#event-page {
  cursor:
    url('../images/HoliPichkari-1.png') 10 10,
    auto; /* Sets the hotspot to 16px from the left and 16px from the top */
  user-select: none;
  position: relative;
  margin-bottom: 10rem;
}
.art {
  position: absolute;
}
.tub-1 {
  left: 30px;
  top: -46px;
}
.tub-2 {
  right: 30px;
  top: -46px;
}
.pot {
  width: 160px;
  right: 0;
  transform: translateX(-50%);
  bottom: -200px;
}
.event-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 3rem auto 5rem;
}
.banner-wrapper {
  margin: auto;
  display: flex;
  justify-content: center;
}
.banner {
  width: 60%;
  border-radius: 0 !important;
}

.event-header h1 {
  text-align: right;
  margin: 0 auto;
  /* width: 16rem; */
  /* font-family: 'Baloo 2', sans-serif; */
  font-family: 'Gotu', sans-serif;
  /* font-family: 'Rozha One', serif; */
  font-size: clamp(2.5rem, 2vw, 3rem);
  font-weight: 500;
  /* color: #fff; */
  color: #da0989 !important;
  /* letter-spacing: 2.5px; */
  /* margin-bottom: 0.5rem; */

  font-family: 'Yatra One', cursive;
  /* font-size: 40px; */
  /* color: #0f6f63; */
  text-shadow: 4px 4px 0 #e6be0c;
  /* color: #0f6f63; */
}
.event-header p {
  font-size: clamp(1rem, 1.8vw, 1.6rem);
  font-weight: 600;
  color: #222;
  /* margin: 0.8rem 0 0; */
  font-family: 'Baloo 2', sans-serif;
  /* opacity: 0.9; */
}
.event-header p::before {
  content: '';
  display: inline-block;
  width: 80px;
  height: 36px;
  background: url('../images/art/art-wing.webp') no-repeat center center;
  background-size: cover;
  margin-right: 10px;
  transform: rotateY(180deg);
}
.event-header p::after {
  content: '';
  display: inline-block;
  width: 80px;
  height: 36px;
  background: url('../images/art/art-wing.webp') no-repeat center center;
  background-size: cover;
  margin-right: 10px;
}

.gallery {
  /* max-width: 1200px; */
  margin: 60px auto;
  padding: 20px;

  columns: 4;
  /* display: grid; */
  /* grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); */

  column-count: 4;
  column-gap: 15px;

  /* display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 20px; */
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: 0.4s ease;
  cursor: pointer;
  break-inside: avoid;
  margin-bottom: 15px;
  border-radius: 14px;
  overflow: hidden;
  background: #f0f0f0;
}

.gallery img:hover {
  transform: scale(1.04);
  cursor:
    url('../images/HoliHandCursors.png') 10 10,
    auto; /* Sets the hotspot to 16px from the left and 16px from the top */
}
/* .gallery img:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery img:nth-child(4),
.gallery img:nth-child(5) {
  grid-row: span 2;
} */
@media (max-width: 992px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 600px) {
  #event-page {
    margin-bottom: 8rem;
  }
  .tub-1 {
    width: 100px;
    left: 20px;
    top: -56px;
  }
  .tub-2 {
    width: 100px;
    right: 20px;
    top: -56px;
  }
  .pot {
    width: 100px;
    right: 0;
    transform: translateX(-50%);
    bottom: -134px;
  }
  .event-header p {
    text-align: center;
    white-space: wrap;
    overflow: hidden;
    max-width: 80%;
  }
  .event-header p::before {
    content: '';
    position: absolute;
    left: 0;
    display: inline-block;
    width: 46px;
    height: 20px;
    background: url('../images/art/art-wing.webp') no-repeat center center;
    background-size: cover;
    margin-right: 0px;
    transform: rotateY(180deg);
  }
  .event-header p::after {
    content: '';
    position: absolute;
    right: 0;
    display: inline-block;
    width: 46px;
    height: 20px;
    background: url('../images/art/art-wing.webp') no-repeat center center;
    background-size: cover;
    margin-right: 0px;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-header {
    gap: 1.8rem;
    margin: 3rem auto 2.5rem;
  }
}
.gallery-wrapper {
  /* background: #f5f5f5; */
  /* padding: 10px; */
  border-radius: 25px;
  max-width: 1600px;
  margin: auto;
}

.particle {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(0.2px);
  animation: spray 800ms ease-out forwards;
}

@keyframes spray {
  to {
    transform: translate(var(--x), var(--y));
    opacity: 0;
  }
}

.video-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 20px;
}

.video-heading {
  font-family: 'Gotu', sans-serif;
  /* font-family: 'Rozha One', serif; */
  font-size: clamp(2rem, 2vw, 3rem);
  font-weight: 600;
  margin-bottom: 40px;
  background: linear-gradient(to right, #f32170, #ff6b08, #cf23cf, #eedd44);

  /* Step 2: Clip the background to the text characters */
  -webkit-background-clip: text;
  background-clip: text;

  /* Step 3: Make the original text color transparent to see the gradient */
  -webkit-text-fill-color: transparent;
  color: transparent;

  /* Optional: Make it bold for better visibility */
  font-weight: bold;
  /* display: inline-block; */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}
.video-icon {
  width: 4.6rem;
}

.video-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  /* display: grid;
  grid-template-columns: repeat(3, 1fr); */
  gap: 20px;
}
.video-card {
  width: 100%;
  max-width: 320px;
  border-radius: 20px;
  overflow: hidden;
  background: #f0f0f0;
}

.video-card video {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.video-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.video-wrapper video {
  width: 100%;
  display: block;
  border-radius: 20px;
  opacity: 0; /* hidden until loaded */
  transition: opacity 0.4s ease;
}

/* Skeleton */
.video-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  border-radius: 20px;
}

/* Shimmer animation */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@media (max-width: 992px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
  .video-icon {
    display: none;
  }
}
