/* Theatre / venue details — styles from TeamZ Theatre-Buildin-details.html */
.main-banner:after {
  background: #00000099;
}

.about-cinema-container {
}

.about-cinema-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 48px;
  @media screen and (max-width: 1200px) {
    margin-bottom: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .left-side {
    max-width: 650px;
    flex: 1;
    @media screen and (max-width: 1200px) {
      max-width: 100%;
    }
  }
  .right-side {
    flex: 1;
    max-width: 715px;
    @media screen and (max-width: 1200px) {
      max-width: 100%;
    }
  }
}

.about-cinema-desc {
  font-weight: 400;
  font-size: 20px;
  color: #55575a;
  @media screen and (max-width: 1200px) {
    font-size: 16px;
  }
}

.about-cinema-title {
  font-weight: 800;
  font-size: 48px;
  color: #02292d;
  @media screen and (max-width: 1200px) {
    font-size: 32px;
  }
}

.about-cinema-video {
  width: 100%;
  aspect-ratio: 1480 / 544;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.about-cinema-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  z-index: 1;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.about-cinema-video-content {
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(6, 31, 28, 0.8) 100%
  );
}

.about-cinema-play-btn {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  text-decoration: none;
  border-radius: 50%;
  cursor: pointer;
  &:hover {
    transform: scale(1.1);
  }
}

.about-cinema-section {
  padding-bottom: 80px;
  @media screen and (max-width: 1200px) {
    padding-bottom: 30px;
  }
}

.gallery-cinema-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-auto-rows: 276px;
  grid-auto-flow: dense;
  gap: 24px;
}

.gallery-cinema-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  background-color: #121212;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  &::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
  }
  &:nth-child(9n + 1) {
    grid-column: span 1;
    grid-row: span 1;
  }
  &:nth-child(9n + 2) {
    grid-column: span 1;
    grid-row: span 2;
  }
  &:nth-child(9n + 3) {
    grid-column: span 2;
    grid-row: span 1;
  }
  &:nth-child(9n + 4) {
    grid-column: span 1;
    grid-row: span 1;
  }
  &:nth-child(9n + 5) {
    grid-column: span 1;
    grid-row: span 1;
  }
  &:nth-child(9n + 6) {
    grid-column: span 1;
    grid-row: span 1;
  }
  &:nth-child(9n + 7) {
    grid-column: span 1;
    grid-row: span 1;
  }
  &:nth-child(9n + 6) {
    grid-column: span 1;
    grid-row: span 1;
  }
  &:nth-child(9n + 6) {
    grid-column: span 2;
    grid-row: span 1;
  }
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .gallery-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .zoom-icon {
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  }
  &:hover {
    img {
      transform: scale(1.06);
    }
    .gallery-overlay {
      opacity: 1;
    }
    .zoom-icon {
      transform: scale(1);
    }
  }
}

@media (max-width: 767px) {
  .gallery-cinema-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-cinema-item,
  .gallery-cinema-item:nth-child(n) {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
}

.cinema-experience-image {
  width: 100%;
  aspect-ratio: 1480 / 544;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  margin-bottom: 48px;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  &::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
  }
  @media screen and (max-width: 1200px) {
    margin-bottom: 30px;
  }
}

.cinema-experience-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  .left-side {
    max-width: 660px;
  }
  .right-side {
    max-width: 700px;
  }
  @media screen and (max-width: 1200px) {
    flex-direction: column;
    .left-side,
    .right-side {
      max-width: 100%;
    }
  }
}

.cinema-experience-specs-items {
  width: 100%;
  border-top: 1px solid #061f1c1a;
  padding-top: 20px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  @media screen and (max-width: 767px) {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.cinema-experience-specs-item {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  .spec-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }
  }
  .spec-content {
  }
  .spec-value {
    font-weight: 700;
    font-size: 24px;
    color: #000;
    @media screen and (max-width: 1200px) {
      font-size: 18px;
    }
  }
  .spec-label {
    font-weight: 400;
    font-size: 9px;
    color: #55575a;
  }
  .spec-content {
    display: flex;
    flex-direction: column;
  }
}

.gallery-cinema-section {
  background-color: #fff;
}

.cinema-experience,
.gallery-cinema-section,
.new-events-section {
  padding-block: 65px;
  @media screen and (max-width: 1200px) {
    padding-block: 30px;
  }
}

.new-events-section {
  background-color: #fff;
  .red-btn{
    width: fit-content;
    margin-inline: auto;
  }
}

.new-events-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
  padding-bottom: 36px;
  @media screen and (max-width: 1200px) {
    padding-bottom: 20px;
  }
  @media screen and (max-width: 767px) {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 24px;
  }
}

.new-events-card {
  width: 100%;
  height: auto;
  .card-wrapper {
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 10px 59.2px -16px #1500472e;
    transition:
      transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
      box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    @media screen and (max-width: 767px) {
      flex-direction: row;
      align-items: stretch;
      border-radius: 16px;
      box-shadow: 0 8px 28px -14px rgba(21, 0, 71, 0.2);
    }
  }
  .card-poster {
    width: 100%;
    aspect-ratio: 1 / 1;
    line-height: 0;
    display: flex;
    @media screen and (max-width: 767px) {
      width: 36%;
      max-width: 140px;
      flex-shrink: 0;
      aspect-ratio: auto;
      min-height: 128px;
    }
    img {
      width: 100%;
      height: auto;
      object-fit: contain;
      transition:
        transform 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        filter 0.4s ease;
      @media screen and (max-width: 767px) {
        height: 100%;
        object-fit: cover;
      }
    }
  }
  .btn.cyan-btn.book-btn {
    min-width: unset;
    width: fit-content;
    height: auto;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #1e988a;
    background: var(--cyan, #1e988a);
    background-image: none;
    color: var(--white, #fff);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    text-transform: none;
    gap: 10px;
    @media (max-width: 991.98px) {
      width: fit-content;
      height: auto;
    }
    @media screen and (max-width: 767px) {
      padding: 8px 10px;
      font-size: 12px;
      gap: 5px;
      border-radius: 8px;
      img {
        width: 14px;
        height: 14px;
      }
    }
    transition:
      background-color 0.3s ease,
      color 0.3s ease,
      transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
      box-shadow 0.3s ease;
    img {
      transition:
        transform 0.3s ease,
        filter 0.3s ease;
    }
    &:hover {
      background: #fff;
      background-image: none;
      color: #1e988a;
      img {
        filter: invert(49%) sepia(21%) saturate(1637%) hue-rotate(125deg)
          brightness(97%) contrast(85%);
      }
    }
  }
  .card-body {
    flex-grow: 1;
    padding: 20px;
    background-image: url(../img/theatre-details/pattern-1-5.svg);
    background-size: cover;
    border-radius: inherit;
    background-color: #fff;
    margin-top: -24px;
    z-index: 1;
    @media screen and (max-width: 767px) {
      display: flex;
      flex-direction: column;
      justify-content: center;
      flex: 1;
      min-width: 0;
      padding: 12px;
      padding-inline-start: 10px;
      margin-top: 0;
      border-radius: 0;
    }
  }
  .card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    @media screen and (max-width: 767px) {
      flex-direction: row;
      align-items: flex-start;
      gap: 8px;
      margin-bottom: 6px;
    }
  }
  .card-title {
    font-weight: 800;
    font-size: 20px;
    color: #000;
    transition: color 0.3s ease;
    @media screen and (max-width: 1200px) {
      font-size: 16px;
    }
    @media screen and (max-width: 767px) {
      flex: 1;
      min-width: 0;
      font-size: 15px;
      line-height: 1.25;
    }
  }
  .card-description {
    font-weight: 400;
    font-size: 19px;
    color: #000;
    @media screen and (max-width: 1200px) {
      font-size: 14px;
    }
    @media screen and (max-width: 767px) {
      font-size: 13px;
      line-height: 1.4;
      margin: 0;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      overflow: hidden;
    }
  }
  &:hover {
    .card-wrapper{
        transform: translateY(-8px);
    }
    .card-poster img {
      transform: scale(1.07);
      filter: brightness(1.02);
    }
    .card-title {
      color: #1e988a;
    }
    .book-btn {
      transform: scale(1.04);
    }
    .book-btn img {
      transform: translateX(4px);
    }
  }
  @media screen and (max-width: 767px) {
    &:hover {
      .card-wrapper {
        transform: none;
      }
      .card-poster img {
        transform: none;
        filter: none;
      }
    }
    &:active .card-wrapper {
      transform: scale(0.99);
    }
  }
}

.new-events-heading {
  font-weight: 800;
  font-size: 48px;
  text-align: center;
  color: #000;
  @media screen and (max-width: 1200px) {
    font-size: 32px;
  }
  @media screen and (max-width: 767px) {
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.5px;
  }
}

.red-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    border: 1px solid var(--dark-cyan, #ce1126);
        background-color: transparent;
    padding: 8px 16px;
    color: var(--dark-cyan, #ce1126);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    &:hover{
        background-color: #ce1126;
        color: #fff;
    }
}

.about-cinema-desc p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.card-description p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}