:root {
  --sidebar-bg: #404356b3;
  --btn-hover-bg-color: rgba(255, 255, 255, 0.1);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0px;
  padding: 0px;
}

body {
  background-color: rgb(34, 43, 95);
  font-family: "Plus Jakarta Sans", sans-serif;
  margin: 0px;
  padding: 0px;
  min-height: 100vh;
}

.overlay {
  display: none;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  z-index: 9999;
  backdrop-filter: blur(8px);
}

.overlay.active {
  display: block;
}

.sidebar {
  padding: 15px;
  border: none;
  height: 100vh;
  position: fixed;
  z-index: 9800;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 15px;
  width: 260px;
  background: var(--sidebar-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  color: white;
  box-sizing: border-box;
  top: 0px;
  left: 0px;
  margin: 0px !important;
  color: black;
}

.sidebarHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.sidebarLogo {
  width: 225px;
}

.sidebarContent {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}

.sidebarButton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  background-color: transparent;
  color: white;
  font-size: 1.3rem;
  text-decoration: none;
}

.sidebarButton:hover {
  background-color: var(--btn-hover-bg-color);
}

.sidebarButton img {
  width: 25px;
  height: 25px;
  filter: brightness(0) invert(1);
  transition: 0.2s ease;
}

.homeContent {
  margin-left: 260px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
  flex-direction: column;
}

.promotionCarousel {
  position: relative;
  width: min(100%, 1100px);
  height: 375px;
  padding: 20px 0px 56px;
  overflow: visible;
  border-radius: 24px;
}

.slides {
  width: 100%;
  height: 100%;
  display: flex;
}

.swiper-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.swiper-slide,
.slide1,
.slide2,
.slide3,
.slide4 {
  width: 100%;
  height: 375px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0px 24px 80px rgba(0, 0, 0, 0.35);
  display: flex;
  background: linear-gradient(180deg, #404356b3 0%, #2a5b9b 100%);
}

.movieSlide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: none;
}

.moviePoster {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 255px;
  height: 100%;
  object-fit: cover;
}

.loyaltyClubSlideImage {
  position: absolute;
  right: 30px;
  top: 0px;
  width: 260px;
  height: 100%;
  object-fit: cover;
}

.theaterRentalImage {
  position: absolute;
  right: 30px;
  top: 0px;
  width: 400px;
  height: 100%;
  object-fit: cover;
}

.movieInfo{
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  background: linear-gradient(180deg, rgba(8, 10, 24, 0) 0%, rgba(8, 10, 24, 0.88) 100%);
  color: white;
  max-width: 71.8%;
  width: 100%;
}

.theaterRentalSlideInfo {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  background: linear-gradient(180deg, rgba(8, 10, 24, 0) 0%, rgba(8, 10, 24, 0.88) 100%);
  color: white;
  max-width: 100%;
}

.movieInfo p,
.loyaltyClubSlideInfo p,
.theaterRentalSlideInfo p {
  margin-top: 12px;
  font-size: 1.1rem;
  max-width: 60%;
}

.loyaltyClubSlideInfo {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  background: linear-gradient(180deg, rgba(8, 10, 24, 0) 0%, rgba(8, 10, 24, 0.88) 100%);
  color: white;
  max-width: 100%;
}

.movieText,
.loyaltyClubSlideText,
.theaterRentalSlideText {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.movieTicketBtn,
.loyaltyClubLearnMoreBtn,
.theaterRentalContactUsBtn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 20px;
  border-radius: 999px;
  background-color: #2f3394;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease;
  border: none;
}

.movieTicketBtn:hover,
.loyaltyClubLearnMoreBtn:hover,
.theaterRentalContactUsBtn:hover {
  background-color: #1e1f5c;
  cursor: pointer;
}

.carouselControls {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.carouselPagination {
  bottom: 12px !important;
  color: white !important;
}

.carouselPrevBtn,
.carouselNextBtn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(99, 99, 99, 0.5);
  color: white !important;
  padding: 10px;
  align-items: center;
  justify-content: center;
  transform: translateY(-250%);
}

.carouselPrevBtn:hover,
.carouselNextBtn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.sectionTitle {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  width: 0px;
  height: 0px;
}

.movieCarousel {
  margin: 100px auto;
  width: 90%;
  height: 540px;
  border: none;
  display: flex;
  overflow: hidden;
  z-index: 998;
  margin-bottom: 0px;
}

.movieCarousel::-webkit-scrollbar {
  display: none;
}

.moviesTrack {
  display: flex;
  width: max-content;
}

.nowPlayingTrack {
  animation: slideLeft 40s linear infinite;
}

.comingSoonTrack {
  animation: slideRight 40s linear infinite;
}

@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes slideRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.moviesContainer {
  display: flex;
  align-items: center;
  gap: 1em;
  padding-right: 1em;
}

.movieCard {
  flex: 0px 0px 220px;
  height: 330px;
  font-size: 3rem;
  border-radius: .2em;
  text-align: center;
  align-content: center;
  border-radius: 20px;
  margin: 0px;
  padding: 0px;
  transition: transform 0.3s ease;
  display: flex;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.movieCard::before {
  content: "";
  position: absolute;
  top: 0px; 
  left: 0px; 
  right: 0px; 
  bottom: 0px;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.movieCard > * {
  position: relative;
  z-index: 2;
}

.movieCard:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.movieCard:hover::before {
  opacity: 1;
}

.movieCard:hover .movieCardPoster {
  filter: brightness(60%);
}

.movieCard:hover .movieCardTitle {
  display: block;
}

.movieCardPoster {
  width: 220px;
  height: 330px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  transition: filter 0.3s ease;
}

.movieCardTitle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  display: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
  border-radius: 10px;
  filter: brightness(100%);
}

.footer {
  background-color: #2a2a3d;
  color: white;
  padding: 20px;
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;  
  gap: 20px;
  margin-top: auto;
}

.footerContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footerText {
  font-size: 0.9rem;
}

.address {
  font-size: 0.8rem;
  font-weight: bold;
}

.footerLogo {
  width: 150px;
  height: auto;
}

.footerTheaterSocialMedia {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.socialMediaBtn {
  width: 40px;
  height: 40px;
  background-color: #3b5998;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footerSocialMediaIcon {
  width: 40px;
  height: 40px;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.socialMediaBtn:hover .footerSocialMediaIcon {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.instagramIcon {
  width: 55px;
  height: 55px;
  filter: grayscale(100%);
}

.moviesContent {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.moviesGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  width: 70%;
  padding: 20px;
  box-sizing: border-box;
  justify-items: end;
}

.moviesGridItem {
  flex: 0px 0px 220px;
  height: 330px;
  font-size: 3rem;
  border-radius: .2em;
  text-align: center;
  align-content: center;
  border-radius: 20px;
  margin: 0px;
  padding: 0px;
  transition: transform 0.3s ease;
  display: flex;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.moviesGridItem::before {
  content: "";
  position: absolute;
  top: 0px; 
  left: 0px; 
  right: 0px; 
  bottom: 0px;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.moviesGridItem > * {
  position: relative;
  z-index: 2;
}

.moviesGridItem:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.moviesGridItem:hover::before {
  opacity: 1;
}

.moviesGridItem:hover .moviesGridItem img {
  filter: brightness(60%);
}

.moviesGridItem:hover .movieItemTitle {
  display: block;
}

.moviesGridItem img {
  width: 220px;
  height: 330px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  transition: filter 0.3s ease;
}

.movieItemTitle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  display: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
  border-radius: 10px;
  filter: brightness(100%);
}

.moviesInfo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contactContent {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: fixed;
  color: white;
  background-color: #222B5F;
  padding: 20px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  border-radius: 20px;
  text-align: center;
}

.contactContentHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.closeContactContentBtn {
  background-color: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 20px;
}

.closeContactContentBtn:hover {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.1);
}

.contactContentBody {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.contactPhoneBtn {
  background-color: transparent;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  font-size: 2rem;
}

.contactPhoneBtn:hover {
  color: #ffc107;
  cursor: pointer;
  transform: scale(1.05);
}

.contactEmails {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contactEmailBtn {
  background-color: #2f3394;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.contactAddressBtn {
  display: flex;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.contactAddressLink {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
}

.contactEmailBtn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transform: scale(1.05);
}

.contactAddressBtn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transform: scale(1.05);
}

.movieItemPoster {
  width: 420px;
  height: 520px;
  object-fit: cover;
  border-radius: 20px;
}

.movieItemInfo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: white;
  width: 60%;
  margin-top: 20px;
  margin-bottom: 20px;
}

.movieItemDetailsRight {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding-left: 20px;
}

.movieItemAttributes {
  display: flex;
  padding: 6px 10px;
  padding-left: 0px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  gap: 10px;
}

.movieItemAttribute {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.movieItemActions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.movieItemTicketBtn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 20px;
  border-radius: 999px;
  background-color: #2f3394;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease;
  border: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.movieItemTicketBtn:hover {
  background-color: #1e1f5c;
  cursor: pointer;
  transform: scale(1.1);
}