/* HERO SECTION */
.hero-section {
  position: relative;
  height: 500px;
  background: url("../images/photos/hero-img.webp") center/cover no-repeat;
  overflow: hidden;
  display: flex;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.1));
  z-index: 1;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  margin-top: 200px;
}

/* Subtitle */
.hero-subtitle {
  font-family: "Ysabeau SC", sans-serif;
  letter-spacing: 0%;
  line-height: 100%;
  font-size: 30px;
  margin-bottom: 30px;
  font-weight: 500;
  text-transform: uppercase;
}

/* Main Title */
.hero-title {
  font-family: "Gallient";
  color: #ffffff;
  font-size: 80px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0;
  margin-bottom: 30px;
}

/* Breadcrumb */
.hero-breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  line-height: 22px;
  letter-spacing: 0%;
}

.hero-breadcrumb .arrow {
  color: #ffffff;
}

.hero-breadcrumb .active {
  color: #fdbd10;
}

/* ============
   Video Grid
=============== */
.media-card {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  cursor: pointer;
}

.media-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.media-card:hover img {
  transform: scale(1.05);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, .6);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(255, 0, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

.media-card:hover .play-btn {
  animation: pulse 1.5s infinite;
}

/* Video card overlay */
.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(17, 17, 17, 0.6) 0%,
      rgba(17, 17, 17, 0.35) 50%,
      rgba(17, 17, 17, 0) 100%) !important;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(17, 17, 17, 0.6) 0%,
      rgba(17, 17, 17, 0.35) 50%,
      rgba(17, 17, 17, 0) 100%) !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  /* color: #ffffff !important; */
  /* opacity: 0; */
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-overlay h5 {
  margin-bottom: 4px;
  font-size: 18px;
  z-index: 1;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0%;
  color: #ffffff;
}

.video-overlay p {
  font-size: 12px;
  z-index: 1;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0%;
  color: #ffffff;
}


/* Play button */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 64px;
  height: 64px;
  background: #ff0a0a;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.35s ease;
  cursor: pointer;
  z-index: 2;
}

.play-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  border-radius: 4px;
  width: 0;
  height: 0;
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

/* HOVER STATE */
.media-card:hover .video-overlay {
  opacity: 1;
  visibility: visible;
}

.media-card:hover .play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Pop Up */
.video-modal {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, 0.6) 0%,
    rgba(17, 17, 17, 0.35) 50%,
    rgba(17, 17, 17, 0) 100%) !important
  ;


}


/* Media section */
.modal-media {
  position: relative;
  height: 700px;
}

.modal-img {
  position: relative;
  overflow: hidden;
}

.modal-video {
  width: 100%;
  height: 470px;
  background: #000;
}

.modal-video iframe {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
}

/* Bottom gradient overlay */
.modal-overlay {
  position: static;
  bottom: 0;
  z-index: 10;

  inset: auto 0 0 0;
  padding: 28px;
  color: #fff;
  background: linear-gradient(0deg,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.6) 40%,
      rgba(0, 0, 0, 0) 100%);
}


.modal-title-bar {
  background: transparent;
}

.modal-title-bar h2 {
  color: #fff;
  font-size: 26px;
  margin: 0;
}


.meta {
  color: #f5b400;
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

/* Align category + view details in one line */
.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.meta-left {
  display: flex;
  gap: 30px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0%;
  font-size: 16px;
  color: #fdbd10;
}

.meta span span {
  color: #ffffff !important;
}

.view-details {
  color: #fdbd10;
  background: none;
  border: none;
  font-weight: 600;
  margin-right: 100px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  font-size: 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0%;
  color: #ffffff;
  margin-top: 20px;
}

/* Make details labels yellow */
.details-grid b {
  color: #fdbd10;
}

/* Keep values normal */
.details-grid span {
  color: #ffffff;
}

#modalDescription {
  color: #ffffff;
  /* change to any color you want */
}

/* Ensure hidden blocks are REALLY hidden */
#viewLessBtn {
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0%;
  color: #EEB008;
  margin-right: 100px;
}

#fullView {
  /* margin-top: 0;
  padding-top: 30px;
  animation: fadeInUp 0.4s ease; */
  position: static;
  background: #111;
  padding: 30px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Expanded section */
.full-view {
  padding: 30px;
  background: #111;
  color: #ddd;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

/* Buttons */
.view-details {
  color: #fdbd10;
  background: none;
  border: none;
  font-weight: 600;
}

.view-details-icon,
.view-less-icon {
  width: 44px;
  height: 44px;
  margin-left: 20px;
  border-radius: 50%;
  background: #ffffff;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

/* shared arrow styling */
.view-details-icon i,
.view-less-icon i {
  font-size: 16px;
  line-height: 1;
  color: #fdbd10;
}



/* When details are open */
#fullView:not(.d-none) {
  position: relative;
}

/* Show View Less in top-right */
#fullView:not(.d-none) #viewLessBtn {
  display: inline-block;
  position: absolute;
  top: -100px;
  /* aligns with View Details row */
  right: 0;
}

/* Hide View Details when expanded */
#fullView:not(.d-none)~.meta-row #shortView {
  display: none !important;
}