/* ============================================================
   Cinema Page
   ============================================================ */

/* ── Cinema Detail ── */

.cinema-detail {
  background: var(--color-page-bg);
  padding: 80px 80px 40px 80px;
}

.cinema-detail-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.cinema-detail-content {
  flex: 0 1 661px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cinema-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cinema-detail-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cinema-detail-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 48px;
  line-height: 64px;
  color: var(--color-purple);
  margin: 0;
}

.cinema-detail-desc {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #333333;
  margin: 0;
}

.cinema-detail-desc p {
  margin: 0;
  text-align: justify;
}

.cinema-detail-desc p + p {
  margin-top: 20px;
}

.cinema-detail-level {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 20px;
  color: #6f6b66;
  display: block;
}

.cinema-detail-divider {
  border: none;
  border-top: 1px solid #e1e1e1;
  margin: 0;
}

.cinema-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cinema-detail-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  height: 44px;
  background: #ffffff;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: -0.5px;
  color: #000000;
}

.cinema-detail-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 58px;
  padding: 0 24px;
  background-image: var(--gradient-btn-pill);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  border: 0;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.5px;
  text-decoration: none;
  align-self: flex-start;
}
.cinema-detail-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 2px;
  background: var(--gradient-btn-pill);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.cinema-detail-cta::after {
  content: none;
}

.cinema-detail-cta img {
  width: 13px;
  height: 12px;
}

.cinema-detail-gallery {
  flex: 0 1 603px;
  display: flex;
  align-items: center;
  gap: 19px;
  height: 445px;
}

.cinema-detail-thumbs {
  flex: 0 0 139px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  height: 445px;
}

.cinema-detail-thumbs img {
  width: 139px;
  height: 139px;
  border-radius: 15px;
  object-fit: cover;
  display: block;
}

.cinema-detail-main-img {
  flex: 0 0 445px;
  width: 445px;
  height: 445px;
  border-radius: 15px;
  object-fit: cover;
  display: block;
}

/* ── Hexagon Features ── */

.cinema-features {
  background: var(--color-page-bg);
  padding: 80px 80px 40px 80px;
}

.cinema-features-wrap {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 511px;
  background:
    url("../images/cinema/bg.webp") center / cover,
    var(--color-purple);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  box-sizing: border-box;
}

.cinema-features-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 31px;
}

.cinema-features-row {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.cinema-features-row--centered {
  justify-content: center;
}

.cinema-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 195px;
}

.cinema-feature-hex {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cinema-feature-hex img,
.cinema-feature-hex-svg {
  width: 148px;
  height: 148px;
  object-fit: contain;
  display: block;
}

.cinema-feature-hex-svg * {
  transition:
    fill 0.2s ease,
    stroke 0.2s ease;
}

/* Hover: hexagon fills purple, icon (fill- or stroke-drawn) turns white.
   The hexagon is the only element with stroke-width="8" — key off it so the
   icon's own white-filled shapes are left white instead of going purple. */
.cinema-feature:hover .cinema-feature-hex-svg [stroke-width="8"] {
  fill: var(--color-purple);
}
.cinema-feature:hover .cinema-feature-hex-svg [fill="#9728B8"] {
  fill: #ffffff;
}
.cinema-feature:hover .cinema-feature-hex-svg [stroke="#9728B8"]:not([stroke-width="8"]) {
  stroke: #ffffff;
}

.cinema-feature-label {
  width: 195px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 22px;
  text-align: center;
  color: #ffffff;
}

/* ── Map ── */

.cinema-map {
  background: var(--color-page-bg);
  padding: 80px 80px 0 80px;
}

.cinema-map-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  line-height: 40px;
  color: var(--color-purple);
  text-align: center;
  margin: 0 0 40px;
}

.cinema-map-container {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}

.cinema-map-body {
  position: relative;
}

.cinema-map-img {
  display: block;
  width: 100%;
  height: auto;
}

.cinema-map-marker {
  position: absolute;
  left: 14%;
  top: 52%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cinema-map-pin {
  display: block;
}

.cinema-map-tooltip {
  background: #131211;
  border-radius: 10px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: #ffffff;
  white-space: nowrap;
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .cinema-detail {
    padding: 48px 24px 32px;
  }

  .cinema-detail-wrap {
    flex-direction: column;
    gap: 40px;
  }

  .cinema-detail-content {
    flex: none;
    width: 100%;
    gap: 24px;
  }

  .cinema-detail-meta {
    gap: 16px;
  }

  .cinema-detail-head {
    gap: 16px;
  }

  .cinema-detail-name {
    font-size: 24px;
    line-height: 28px;
    text-align: center;
  }

  .cinema-detail-desc {
    font-size: 16px;
    line-height: 24px;
  }

  .cinema-detail-tags {
    justify-content: center;
  }

  .cinema-detail-tag {
    font-size: 14px;
  }

  .cinema-detail-cta {
    align-self: center;
    width: 225px;
    font-size: 14px;
  }

  .cinema-detail-gallery {
    flex: none;
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 12px;
  }

  .cinema-detail-main-img {
    order: -1;
  }

  .cinema-detail-thumbs {
    flex: none;
    flex-direction: row;
    width: 100%;
    gap: 8px;
    height: auto;
  }

  .cinema-detail-thumbs img {
    width: 100%;
    flex: 1;
    height: 80px;
  }

  .cinema-detail-main-img {
    flex: none;
    width: 100%;
    height: 280px;
    border-radius: 15px;
  }

  .cinema-features {
    padding: 48px 0 0 0;
  }

  .cinema-features-wrap {
    padding: 40px 30px;
    min-height: auto;
    border-radius: 0;
  }

  .cinema-features-inner {
    gap: 24px;
  }

  .cinema-features-row {
    gap: 32px 75px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .cinema-feature {
    width: 154px;
    gap: 8px;
  }

  .cinema-feature-hex img,
  .cinema-feature-hex-svg {
    width: 117px;
    height: 117px;
  }

  .cinema-feature-label {
    width: 154px;
    font-size: 16px;
    line-height: 17px;
  }

  .cinema-map {
    padding: 80px 24px 0 24px;
  }

  .cinema-map-heading {
    font-size: 26px;
    line-height: 32px;
    margin-bottom: 24px;
  }

  .cinema-map-tooltip {
    font-size: 14px;
    line-height: 20px;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .cinema-feature {
    width: 120px;
  }

  .cinema-feature-hex img,
  .cinema-feature-hex-svg {
    width: 90px;
    height: 90px;
  }
}
