/* ====================================================
   EVENT DETAIL PAGE – Matching Reference Design
   ==================================================== */

/* ——— NAVBAR: solid white from the start on event pages ——— */
.navbar {
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  padding: 6px 0 !important;
}

.navbar .navbar-logo {
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}


/* ——— HERO SECTION ——— */
.ev-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 480px;
  max-height: 760px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  margin-top: 70px;
}

.ev-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: transform 10s ease;
}

.ev-hero:hover .ev-hero-bg {
  transform: scale(1.05);
}

.ev-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 35%,
    rgba(0, 0, 0, 0.45) 60%,
    rgba(0, 0, 0, 0.85) 80%,
    rgba(0, 0, 0, 0.95) 100%
  );
  z-index: 1;
}

.ev-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  color: #fff;
  width: 100%;
  max-width: 880px;
  padding: 0 7% 50px;
  text-align: left;
}

.ev-hero-content h1 {
  font-size: clamp(34px, 6vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 14px;
  font-family: "Poppins", sans-serif;
  letter-spacing: -0.5px;
}

.ev-hero-sub {
  font-size: clamp(15px, 2.2vw, 20px);
  font-weight: 400;
  opacity: 0.92;
  margin: 0 0 22px;
  font-style: italic;
  letter-spacing: 0.3px;
}

.ev-hero-desc {
  font-size: clamp(13px, 1.6vw, 16px);
  line-height: 1.65;
  opacity: 0.82;
  margin: 0 auto;
  max-width: 700px;
}


/* ——— ABOUT THE EVENT ——— */
.ev-about {
  padding: 80px 7%;
  background: #fff;
  font-family: "Poppins", sans-serif;
}

.ev-about-inner {
  max-width: 900px;
  margin: 0 auto;
}

.ev-about h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px;
  line-height: 1.2;
}

.ev-about-bar {
  width: 50px;
  height: 4px;
  background: #ad2223;
  border-radius: 2px;
  margin-bottom: 36px;
}

.ev-about p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 24px;
  text-align: justify;
}

.ev-about p:last-child {
  margin-bottom: 0;
}


/* ——— MOMENTS FROM THE EVENT (Gallery Swiper) ——— */
.ev-moments {
  padding: 70px 0 80px;
  background: #111;
  font-family: "Poppins", sans-serif;
  overflow: hidden;
}

.ev-moments h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: #fff;
  text-align: left;
  margin: 0 0 40px;
  padding: 0 7%;
}

.ev-moments .swiper {
  padding: 0 7% 50px;
}

.ev-gallery-slide {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.ev-gallery-slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  transition: transform 0.5s ease;
}

.ev-gallery-slide:hover img {
  transform: scale(1.04);
}

.ev-gallery-caption {
  margin-top: 12px;
  font-size: 13px;
  color: #aaa;
  line-height: 1.5;
  padding: 0 4px;
}

/* Swiper pagination for moments */
.ev-moments .swiper-pagination {
  bottom: 0 !important;
}

.ev-moments .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #555;
  opacity: 1;
  transition: all 0.3s ease;
}

.ev-moments .swiper-pagination-bullet-active {
  width: 32px;
  border-radius: 999px;
  background: #fff;
}


/* ——— KEY TAKEAWAYS ——— */
.ev-takeaways {
  padding: 70px 7% 80px;
  background: #fff;
  font-family: "Poppins", sans-serif;
  overflow: hidden;
}

.ev-takeaways h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: #1a1a1a;
  text-align: left;
  margin: 0 0 40px;
}

.ev-takeaways .swiper {
  padding-bottom: 50px;
}

.ev-takeaway-card {
  background: #f9f9f9;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #eee;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ev-takeaway-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.ev-takeaway-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px;
  line-height: 1.3;
}

.ev-takeaway-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

/* Swiper pagination for takeaways */
.ev-takeaways .swiper-pagination {
  bottom: 0 !important;
}

.ev-takeaways .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
  transition: all 0.3s ease;
}

.ev-takeaways .swiper-pagination-bullet-active {
  width: 32px;
  border-radius: 999px;
  background: #222;
}


/* ——— ANIMATIONS ——— */
.ev-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.ev-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ——— RESPONSIVE ——— */
@media (max-width: 768px) {
  .ev-hero {
    height: 60vh;
    min-height: 360px;
    margin-top: 60px;
  }

  .ev-hero-content {
    padding: 0 5%;
  }

  .ev-about {
    padding: 50px 5%;
  }

  .ev-about h2 {
    font-size: 28px;
  }

  .ev-moments {
    padding: 50px 0 60px;
  }

  .ev-moments h2 {
    padding: 0 5%;
    font-size: 24px;
    margin-bottom: 28px;
  }

  .ev-moments .swiper {
    padding: 0 5% 40px;
  }

  .ev-takeaways {
    padding: 50px 5% 60px;
  }

  .ev-takeaways h2 {
    font-size: 24px;
    margin-bottom: 28px;
  }
}
