/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Global Body Styles */
/* Combine font-family declarations in order of preference */
body {
  background-color: #F8F6F0;
  line-height: 1.5;
  font-family: "Faculty Glyphic", "Open Sans", Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* --- Navigation Bar --- */
/* --- Navbar Styles --- */

#navbar{
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}

.navbar {
  display: flex;
  justify-content:space-between;
  align-items: center;
  background-color: #1C2933;
  padding: 4rem 1.5rem;
  height: 4rem;
  transition: all 0.3s ease-in-out;
}

/* Shrink Navbar when scrolling */
.navbar.shrink {
  padding: 2rem 1.5rem;
  height: 3rem;
}

/* Shrinking Logo when Navbar Shrinks */
.navbar.shrink .logo {
  width: 65px;
  height: 65px;
  margin-top: 7px;
}

.logo {
  width: 120px;
  height: 120px;
  margin-top:13px;
  background-image: url('media/xy_Logo.png');
  background-size: contain;
  background-repeat: no-repeat;
}

.instagram {
  width: 25px;
  height: 25px;
  margin-top:7px;
  background-image: url('media/icons/instagram.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

.facebook {
  width: 28px;
  height: 28px;
  margin-top:5px;
  background-image: url('media/icons/facebook.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

.tiktok {
  width: 25px;
  height: 25px;
  margin-top:7px;
  background-image: url('media/icons/tiktok.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li:not(:first-child) {
  margin-left: 1rem;
}


.nav-links li a {
  color: whitesmoke;
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  display: flex;
  transition: all 0.3s ease-in-out;
}

.nav-links li a:hover {
  text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.9); 
}

/* Hamburger menu icon */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

/* Hamburger menu icon */
.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: #F8F6F0;
  margin: 4px 0;
  transition: 0.4s;
}

/* --- Mobile hamburger navbar drop down --- */
@media screen and (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    background-color: #1C2933;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 20px;
    overflow: hidden;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .nav-links li{
      margin-left: 1rem;
  }
}

/* Transform bars to 'X' when .change is toggled */
.hamburger.change .bar1 {
  transform: rotate(-45deg) translate(-5px, 10px);
}
.hamburger.change .bar2 {
  opacity: 0;
}
.hamburger.change .bar3 {
  transform: rotate(45deg) translate(-5px, -10px);
}

/* --- Main Section --- */
main {
  min-height: 100vh;
  background-color: #F8F6F0;
}

/* Video Banner & Players */
.video-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}
.store-title-wrapper {
  padding: 50px;
}
.video-banner video {
  z-index: 1;
}
.video-player {
  width: 100%;
  max-width: 300px; /* Prevents it from getting too large */
  height: auto;
  object-fit: cover;
}
/* Combined video players wrapper */
.video-players-wrapper {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 50px;
}

/* Indoor Photo Section */
.indoor-photo {
  position: relative;
  display: flex;
  min-height: 65vh;
  /* background: url(media/main_bg.jpg) center center/cover no-repeat; */
  background: url(media/performers/xiaoMi1.jpg) center center/cover no-repeat;
  background-position: 80% 10%;
  justify-content: flex-start;
  align-items: center;
}
.indoor-text {
  position: absolute;
  top: 25%;
  left: 7%;
  background: rgba(231, 222, 213, 0.88);
  text-align: left;
  padding: 50px;
  border-radius: 2px;
  width: 100%;
  max-width: 550px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Faculty Glyphic", sans-serif;
}
.indoor-text h3 {
  font-size: 28px;
  color: #000;
  text-decoration: underline;
  letter-spacing: 3px;
}
.indoor-text p {
  margin-top: 10px;
  color: #000;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
}

/* Title Description Section */
.title-description{
  height: 500px;
  width: 100%;
  background-color: #FFF5EE;
  display: block;
  flex-wrap: wrap;
  padding: 40px;
  text-align: center;
  place-content:center;
}
.title-description h1 {
  font-size: 3rem;
  font-weight: 500;
  text-decoration: underline;
  margin-bottom: 20px;
}

/* Showcase Section */
.showcase-fullwidth {
  width: 100%;
  background-color: #FFF5EE;
  padding-bottom: 50px;
}
.showcase-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  background-color: #FFF5EE;
  padding: 20px;
  max-width: 90%;
  margin: 0 auto;
}
.showcase-container h2 {
  color: #fff;
}
.showcase-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.showcase-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: right;
}

/* Photo Banner Section */
.photo-container {
  display: flex;
  background-color: #F8F6F0;
  margin-top: 50px;
  min-height: 100vh;
  gap: 50px;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}
.photo-item {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 100px;
  border-radius: 4px;
}
.photo-item img {
  width: 500px;
  height: auto;
  border-radius: 8px;
}
.photo-item h3 {
  margin-left: 20px;
  font-size: 1.5em;
}
@media (max-width: 600px) {
  .photo-item {
    flex-direction: column;
    text-align: center;
  }
  .photo-item h3 {
    margin: 15px 0 0 0;
  }
}

/* Animation Classes */
.slideIn {
  opacity: 0;
  transition: all 1s;
  filter: blur(5px);
  transform: translateX(100%);
}
.show {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}
@media (prefers-reduced-motion) {
  .slideIn {
    transition: none;
  }
}
.autoShow {
  animation: autoShowAnimation both;
  /* Note: 'animation-timeline' is experimental and removed for broader support */
}
@keyframes autoShowAnimation {
  from {
    opacity: 0;
    transform: translateY(200px) scale(0.3);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Scroll Banner */
.scroll-banner {
  width: 100vw;
  height: 100vh;
  /* background: url(media/performers/xiaoMi1.jpg) no-repeat center center; */
  background: url(media/main_bg_crop.jpg) no-repeat center center;
  background-size: cover;
  background-position-y: top;
  position: sticky;
  top: 0;
  z-index: 0;
}

/* Image Slider Section */
.menu-slider-container {
  width: 100%;
  min-height: 80vh;
  background-color: #F8F6F0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}
.slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  background: #fff;
}
.slider img {
  width: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
}
.slider img.active {
  opacity: 1;
  position: relative;
}
.slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, transform 0.3s;
}
.slider button:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.1);
}
.slider .prev {
  left: 20px;
}
.slider .next {
  right: 20px;
}
.dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.dot.active {
  background: rgba(0,0,0,0.8);
}
@media (max-width: 480px) {
  .slider button {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .dots .dot {
    width: 10px;
    height: 10px;
  }
}

/* Footer */
footer {
  background-color: #1C2933;
  color: #fff;
  padding: 80px 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: 50px;
  padding: 50px;
  text-align: center;
}
.footerLogo {
  width: 100px;
  height: 100px;
  background: url('media/xy_Logo.png') center center/contain no-repeat;
  padding-right: 40px;
}

.bookNow{
  border-radius: 0px;
}

.bookNow a {
  text-decoration: none;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 8px;
  padding: 10px 20px;
  display: inline-block;
}

.bookNowNavRow{
  border-radius: 0px;
}

.bookNowNavrow a {
  text-decoration: none;
  color: green;
  border: 2px solid #fff;
  border-radius: 8px;
  padding: 10px 20px;
  display: inline-block;
}

.whatsapp a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
}
.whatsapp img {
  margin-right: 9px;
}
.footer-padding h3 {
  padding-bottom: 10px;
}
@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }
}

/* --- Responsive Adjustments --- */
/********************
store title 
********************/
@media (max-width: 480px) {
  /********************
  store title 
  ********************/
  
  .video-player{
      display: none;
  }
  
  .store-title-wrapper{
      padding: 20px;
  }
  
  .store-title-wrapper h1{
      font-size: 1.2rem;
  }
  
  .title-description h1{
      font-size: 1.5rem;
  }
  
  .title-description p{
      font-size: 0.8rem;
      text-align: c;
  }
  
  }
  
  @media (max-width: 600px) {
  /********************
  store title 
  ********************/
  .store-title-wrapper h1{
      font-size: 1rem;
  }
  
  .video-player{
      display: none;
  }
  }
  
  @media (max-width: 768px) {
  /********************
  mobile video player - all videos combine
  ********************/
  .video-player-mobile {
      width: 100%;
      height: auto; 
  }
  
  
  /********************
  store title 
  ********************/
      .store-title-wrapper h1{
          font-size: 1rem;
      }
  
      .video-player{
          display: none;
      }
  }
  
  @media (max-width: 768px) {
  /********************
  store title 
  ********************/
  .store-title-wrapper h1{
      font-size: 1rem;
  }
  
  .video-player{
      display: none;
  }
  
  /********************
  indoor photo text
  ********************/
  .indoor-text{
      text-align: center;
      background: rgba(0, 0, 0, 0); 
      color: #fff;
      width: 90%;
      padding: 20px;
      /* display: none; */
  }
  
  .indoor-text h3 {
    background: rgba(0, 0, 0, 0.3); 
      font-size: 1rem;
      color: #fff;
      padding: 20px;
  }
  
  .indoor-text p {
    background: rgba(0, 0, 0, 0.3); 
      font-size: 0.8rem;
      color: #fff;
      padding: 20px;
  }
  
  .indoor-photo {
      min-height: 50vh;
      background-position: center; 
      background-position: 80% 50%;
  }
  
  /********************
  title-description
  ********************/
  .title-description h1{
      font-size: 1.5rem;
  }
  
  .title-description p{
      font-size: 0.8rem;

      text-align: center;
  }
  
  /********************
  scroll effect on banner
  ********************/
  .scroll-banner{

      background-position: 55% 100%;
  }
  
  /********************
  showcase-item
  ********************/
  .showcase-fullwidth{
   background-color: #FFF5EE;
   background-color: #000;
   padding: 50px;
  }
  
  .showcase-container {
      display: flex; 
      flex-direction: row;
      flex-wrap: nowrap;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      background-color: #FFF5EE;
      background-color: #000;
      padding: 20px;
      padding: 20px;
      position: relative; 
    }
  
  .showcase-item{
      flex: 0 0 auto;               /* Prevent items from shrinking */
      margin-right: 10px;
  
  }
  
  .showcase-item img {
      width: 300px;   /* Set a fixed width, or use a percentage if preferred */
      height: 500px;
      object-fit: cover;
  }
  
  }
  
  @media (min-width: 769px) {
  /********************
  video player for mobile
  ********************/
  .video-player-mobile {
      display: none;
  }
  }

  @media (min-width: 770px) {
    .bookNowNavRow {
      display: none;
    }
  }