/* =========================================================
   🌅 HERO SECTION
   ========================================================= */
.hero-section {
  background: linear-gradient(to bottom, #0f3d3e 0%, #2e6f72 40%, rgba(255,255,255,0) 100%);
  position: relative;
  text-align: center;
  padding: 60px 20px;
  color: white;
  overflow: hidden;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  transform: skewX(-40deg);
  z-index: 1;
}

.hero-section::before { right: 80px; background: #ffc107; }
.hero-section::after { right: 40px; background: #b0b0b0; }

.hero-content { position: relative; z-index: 2; }

.hero-section h1 {
  font-size: 2.2rem;
  font-weight: bold;
}

.hero-section .tagline {
  font-size: 1.1rem;
  margin-top: 10px;
  color: #f5f5f5;
  font-weight: 300;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* =========================================================
   🏅 QUALIFIERS / SWIPER CAROUSEL SECTION
   ========================================================= */
.carousel-heading {
  text-align: center;
  font-size: 2rem;
  color: #222;
  font-weight: 600;
  margin: 20px 0 10px;
}

.carousel-subtext {
  color: #555;
  font-size: 1rem;
  max-width: 700px;
  margin: 10px auto 30px;
  line-height: 1.5;
  text-align: center;
}

/* Swiper Container */
.swiper {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  overflow: hidden !important;
}

.swiper-wrapper { overflow: visible !important; }

.swiper-slide {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(10, 143, 71, 0.25);
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Fullscreen modal for Swiper */
.fullscreen-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.85);
  inset: 0;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.fullscreen-modal img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.download-btn {
  margin-top: 16px;
  background: #0a8f47;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* =========================================================
   🎟️ PROGRESS TICKET SECTION
   ========================================================= */
.progress-ticket {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 60px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  margin: 40px 0;
}

.progress-ticket h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 10px;
}

.progress-subtext {
  color: #666;
  font-size: 1rem;
  margin-bottom: 40px;
}

/* Ticket rows */
.ticket-container { margin-top: 10px; border-top: 1px solid #ddd; padding-top: 6px; }
.ticket-row {
  display: flex;
  justify-content: space-between;
  margin: 4px 0;
  font-size: 15px;
}
.badge { padding: 2px 8px; border-radius: 6px; font-weight: 600; }
.badge.qualified { background: #0a8f47; color: white; }
.badge.pending { background: #f4b400; color: white; }
.badge.disabled { background: #ccc; color: #333; }

/* =========================================================
   🏞️ MEMORIES SECTION
   ========================================================= */
.memories-section {
  position: relative;
  padding: 60px 20px;
  color: white;
  text-align: center;
  margin: 40px 0;
  border-radius: 12px;
  overflow: hidden;
}

.memories-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.memories-intro {
  text-align: center;
  color: #eee;
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Background slideshow */
.memories-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.bg-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: blur(6px) brightness(0.5);
  transition: opacity 1.8s ease-in-out;
}

.bg-slide.active { opacity: 1; }

/* Foreground grid */
.memories-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.memories-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.memories-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255,255,255,0.4);
}

/* =========================================================
   🔍 LIGHTBOX MODAL
   ========================================================= */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
  cursor: zoom-out;
}

.lightbox .close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 35px;
  color: white;
  cursor: pointer;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  border-radius: 50%;
  padding: 10px 14px;
  transition: background 0.3s ease;
}
.nav:hover { background: rgba(255,255,255,0.3); }
.nav.prev { left: 25px; }
.nav.next { right: 25px; }

/* =========================================================
   🎥 HIGHLIGHT VIDEO SECTION
   ========================================================= */
.highlight-video {
  text-align: center;
  background: #000;
  padding: 80px 20px 60px;
  position: relative;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  margin-bottom: 30px;
}

.video-heading {
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
}

.video-subtext {
  color: #ddd;
  margin: 10px auto 30px;
  font-size: 1rem;
  max-width: 650px;
  line-height: 1.5;
}

.video-container {
  position: relative;
  width: 90%;
  max-width: 800px;
  margin: auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.video-container video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.video-container video.active { opacity: 1; z-index: 1; }

.mute-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0,0,0,0.6);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 10px;
  z-index: 5;
  transition: background 0.3s ease;
}
.mute-btn:hover { background: rgba(255,255,255,0.2); }

.video-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}
.video-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s ease;
}
.video-dots .dot.active { background: #fff; }

/* =========================================================
   🎬 CINEMATIC GALLERY
   ========================================================= */
.cinematic-gallery {
  position: relative;
  height: 70vh;
  overflow: hidden;
  text-align: center;
  color: #fff;
}

.cinema-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  filter: brightness(0.7);
}
.cinema-slide.active { opacity: 1; }

.overlay-text {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  font-weight: 600;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.closing-text {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.1rem;
  color: #f0f0f0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* =========================================================
   🌐 FOOTER
   ========================================================= */
.footer {
  text-align: center;
  padding: 25px 10px;
  background: #111;
  color: #ccc;
  font-size: 0.9rem;
}

.footer a { color: #0a8f47; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* =========================================================
   📱 RESPONSIVE FIXES
   ========================================================= */
@media (max-width: 600px) {
  .swiper { max-width: 95vw; }
  .progress-ticket { width: 90%; margin: 16px auto; }
  .memories-grid img { height: 180px; }
  .nav { font-size: 22px; padding: 8px 10px; }
}
.video-container {
  position: relative;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.video-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

.video-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.mute-btn {
  position: absolute;
  bottom: 15px;
  right: 20px;
  z-index: 10;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 10px;
  font-size: 22px;
  cursor: pointer;
  transition: 0.3s;
}

.mute-btn:hover {
  background: rgba(0,0,0,0.8);
}

.video-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.video-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.video-dots .dot.active {
  background: #fff;
}
