/* =============================================
   Single Project — Klover
   Prefix: project__
   ============================================= */

/* ── Hero Overlay Content ──────────────────── */
.project__hero {
  position: relative;
}

.project__hero-overlay {
  padding: 3em 0 4em;
  position: relative;
  z-index: 2;
  max-width: 100%;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.project__hero-wrap {
  width: 100%;
  height: 100%;
  padding-top: 98px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}



.project__hero-award {
  margin-bottom: 24px;
}

.project__hero-award {
  display: inline-block;
}

.project__hero-award img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.project__hero-title {
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: clamp(32px, 3.5vw + 1rem, 52px);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 16px;
}

.project__hero .project__hero-location {
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: #94BF58;
  margin: 0;
  position: static;
  background: none;
  padding: 0;
  text-shadow: none;
  z-index: auto;
  bottom: auto;
  left: auto;
  right: auto;
}

/* ── Vimeo hero keeps existing style, just add overlay ── */
.page__hero--vimeo {
  position: relative;
}

.page__hero--vimeo .project__hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 3em 8%;
  background: linear-gradient(transparent 40%, rgba(0,0,0,0.8));
  box-sizing: border-box;
}

/* ── Gallery (lightSlider) ─────────────────── */
.project__gallery-wrap {
  margin-top: -208px;
  position: relative;
  z-index: 3;
  padding-bottom: 60px;
}

.project__gallery-wrap .wrap {
  max-width: 1111px;
  margin: 0 auto;
}

.project__images {
  margin: 0;
  padding: 0;
  list-style: none;
}

.project__images li {
  margin: 0;
}

.project__images li img {
  width: 100%;
  max-width: none;
  display: block;
  border-radius: 12px;
}

/* Custom arrow styling for lightSlider */
.lSAction > a {
  background: none !important;
  background-image: none !important;
  width: 51px !important;
  height: 51px !important;
  opacity: 1 !important;
}

.lSAction > a > img {
  width: 51px;
  height: 51px;
  display: block;
}

.lSAction > .lSPrev {
  left: -11px;
}

.lSAction > .lSNext {
  right: -11px;
}

/* ── Video Section (dynamic) ───────────────── */
.project__video {
  padding: 40px 8% 80px;
  font-family: 'Work Sans', Arial, sans-serif;
  text-align: center;
}

.project__video-subtitle {
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #43B02A;
  text-align: center;
  margin: 0 0 30px;
}

.project__video .wrap {
  max-width: 1266px;
  margin: 0 auto;
}

.project__video-row {
  position: relative;
}

.project__video-thumb {
  max-width: 1266px;
  margin: 0 auto;
  cursor: pointer;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.project__video-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.project__video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(67, 176, 42, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.project__video-thumb:hover .project__video-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: #43B02A;
}

.project__video-play-icon {
  width: 0;
  height: 0;
  border-left: 20px solid #ffffff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

/* ── Video Lightbox ──────────────────────────── */
.project__video-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lb-fadein 0.25s ease;
}

.project__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.project__video-container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  z-index: 1;
  animation: lb-scalein 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project__video-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 999999;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.project__video-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.project__video-container video {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Content Section (below gallery) ───────── */
.project__content {
  padding: 0 8% 60px;
  background: #ffffff;
}

.project__content .wrap {
  max-width: 860px;
  margin: 0 auto;
}

.project__content h1 {
  color: #43B02A;
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: 42px;
  font-weight: 700;
}

.project__content h2 {
  color: #43B02A;
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.project__content p,
.project__content li {
  color: #000000;
  font-family: 'Work Sans', Arial, sans-serif;
}

.project__content strong {
  color: #37579E;
}

/* ── Project Details ───────────────────────── */
.project__details h3 {
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #37579E;
  margin-bottom: 24px;
}

.project__details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project__details li {
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  padding: 12px 0;
  border-bottom: 1px solid #eeeeee;
}

.project__details li:last-child {
  border-bottom: none;
}

.project__details li strong {
  color: #37579E;
  font-weight: 700;
  min-width: 160px;
  display: inline-block;
}

.project__details li a {
  color: #1A1A2D;
  text-decoration: none;
  font-weight: 600;
}

.project__details li a:hover {
  color: #43B02A;
}

/* ── 3-Column Blue Section ─────────────────── */
.project__features {
  background: #1A1A2D;
  padding: 80px 8%;
  font-family: 'Work Sans', Arial, sans-serif;
  box-shadow: 0 22px 33px rgba(0, 0, 0, 0.2824);
  position: relative;
}

.project__features .wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.project__features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.project__features-card {
  text-align: center;
  color: #ffffff;
}

.project__features-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project__features-icon-img {
  width: 34px;
  height: 34px;
  display: block;
}

.project__features-card h3 {
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
}

.project__features-card p {
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ── See Other Projects CTA ────────────────── */
.project__cta {
  background: #ffffff;
  padding: 100px 8%;
  text-align: center;
  font-family: 'Work Sans', Arial, sans-serif;
}

.project__cta .wrap {
  max-width: 800px;
  margin: 0 auto;
}

.project__cta h2 {
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 32px;
  line-height: 1.2;
}

.project__cta h2 strong {
  color: #43B02A;
}

.project__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #43B02A;
  color: #ffffff;
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 36px;
  height: 53px;
  border-radius: 11px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.project__cta-btn:hover {
  background: #1a1a2e;
  color: #ffffff;
}

/* ── Responsive ────────────────────────────── */
@media screen and (max-width: 991px) {
  .project__gallery-wrap {
    margin-top: -100px;
  }

  .project__features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project__cta h2 {
    font-size: 32px;
  }
}

@media screen and (max-width: 767px) {
  .project__hero-overlay {
    padding: 2em 0 3em;
  }

  .project__hero-title {
    font-size: 28px;
  }

  .project__hero-award img {
    width: 80px;
    height: 80px;
  }

  .project__gallery-wrap {
    margin-top: -60px;
  }

  .lSAction > .lSPrev {
    left: 10px;
  }

  .lSAction > .lSNext {
    right: 10px;
  }

  .project__video {
    padding: 30px 0 60px;
  }

  .project__video-subtitle {
    font-size: 20px;
  }

  .project__features-grid {
    grid-template-columns: 1fr;
  }

  .project__features {
    padding: 60px 5%;
  }

  .project__cta {
    padding: 60px 5%;
  }

  .project__cta h2 {
    font-size: 28px;
  }
}
