body {
  background: #f8f9fc;
  font-family: "Poppins", sans-serif;
  color: #222;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

/* HERO */

.event-hero {
  position: relative;
  padding: 170px 0 110px;
  background: linear-gradient(135deg, #ec1163 0%, #ff6600 100%);
  color: #fff;
  overflow: hidden;
}

.event-hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  right: -180px;
  top: -220px;
}

.event-hero::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  left: -120px;
  bottom: -120px;
}

.event-title {
  font-size: 3.4rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.15;
  position: relative;
  z-index: 2;
}

.event-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.badge-custom {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.event-hero p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  z-index: 2;
}

/* GALLERY SECTION */

.gallery-section {
  padding: 80px 0;
  background: #f8f9fc;
}

/* Back Button */

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  padding: 12px 22px;
  border-radius: 50px;
  background: #fff;
  color: #ec1163;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.back-btn:hover {
  color: #fff;
  background: #ec1163;
}

/* Gallery Grid */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Gallery Card */

.gallery-card {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: 0.35s;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

/* Images */

.gallery-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: 0.4s;
}

.gallery-card:hover .gallery-image {
  transform: scale(1.05);
}

/* Mobile */

@media (max-width: 768px) {
  
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.35s;
  z-index: 99999;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 88vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  animation: zoomIn 0.35s ease;
}

.close-lightbox {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 55px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  transition: 0.3s;
}

.close-lightbox:hover {
  transform: rotate(90deg);

  color: #ec1163;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* RESPONSIVE */

@media (max-width: 991px) {
  .event-title {
    font-size: 2.6rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-image {
    height: 260px;
  }
}

@media (max-width: 767px) {
  .event-hero {
    padding: 130px 0 70px;
  }

  .event-title {
    font-size: 2rem;
  }

  .event-meta {
    gap: 10px;
  }

  .badge-custom {
    font-size: 13px;
    padding: 8px 14px;
  }

  .gallery-section {
    padding: 60px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-image {
    height: 230px;
  }

  .back-btn {
    width: 100%;
    justify-content: center;
  }

  .close-lightbox {
    font-size: 42px;
    right: 20px;
    top: 20px;
  }
}
