* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  color: aliceblue;
}

body {
  background-color: #000;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-weight: normal;
  text-align: center;
  overflow-x: hidden;
}

#page {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #d1b261;
}

h2 {
  font-size: 1.8rem;
  margin: 20px 0;
  color: #ffffff;
}

.show-section {
  margin-bottom: 40px;
}

/* Default Card Layout */
.show-cards {
  display: grid;
  gap: 40px;
  justify-content: center;
  grid-template-columns: repeat(5, 1fr);
  /* 5 equal columns */
  /* Default single-column layout for smaller screens */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Four columns for desktop */
@media (min-width: 1024px) {
  .show-cards {
    gap: 40px;
    justify-content: center;
    grid-template-columns: repeat(5, 1fr);
    /* 5 equal columns */
    /* 4 cards per row on desktop */
  }
}

/* For mobile (max 480px) */
@media (max-width: 786px) {
  .show-cards {
    grid-template-columns: 1fr;
    /* Flex column for mobile */
  }

  .tabs {
    flex-direction: column;
    gap: 10px;
  }

  .filter-search {
    flex-direction: column;
    justify-content: center;
  }

  .card {
    width: 330px;
    background-color: #000;
    border: 1px solid white;
    border-radius: 10px;
    overflow: hidden;
    /* padding: 20px; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  }

  .card img {
    width: 290px;
    height: 140px;
    object-fit: fill;
    object-position: top;
    border-radius: 8px;
  }
}

.card {
  width: 320px;
  background-color: #000;
  border: 1px solid white;
  border-radius: 10px;
  overflow: hidden;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.card img {
  object-fit: contain;
  width: 280px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

.card h3 {
  margin: 15px 0 10px;
  font-size: 1.5rem;
  color: #ffffff;
}

.card p {
  color: #bbb;
  font-size: 1rem;
}

/* Detail Section */
#details {
  margin: 40px auto;
  max-width: 1200px;
}

.details-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.detail-card {
  background-color: #000;
  border: 2px solid #d1b261;
  border-radius: 12px;
  padding: 30px;
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
}

.detail-card img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.detail-card h2 {
  margin-top: 15px;
  font-size: 2rem;
  color: #ffffff;
}

.detail-card p {
  font-size: 1rem;
  margin: 10px 0;
  color: #bbb;
}

.btn-watch {
  background-color: transparent;
  color: #fff;
  border: 2px solid #d1b261;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.btn-watch:hover {
  background-color: #d1b261;
  color: #000;
}

/* fintersssss */
.filter-search {
  margin-bottom: 30px;
  text-align: center;
}

#search-bar {
  width: 80%;
  max-width: 500px;
  padding: 12px 20px;
  border: 2px solid #d1b261;
  border-radius: 25px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

#search-bar:focus {
  box-shadow: 0 0 10px rgba(209, 178, 97, 0.5);
}

#filter {
  padding: 10px;
  font-size: 1rem;
  background-color: #333;
  color: #fff;
  border: none;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab-button {
  padding: 10px 20px;
  border: 2px solid #d1b261;
  background-color: transparent;
  color: #d1b261;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.tab-button:hover {
  background-color: rgba(209, 178, 97, 0.1);
}

.tab-button.active {
  background-color: #d1b261;
  color: #000;
}

.show-section {
  display: none;
}

.show-section.active {
  display: block;
}

.tab-button:hover {
  background-color: #d1b261;
}

.active-tab {
  background-color: #d1b261;
  color: #fff;
}

/* For mobile (max 480px) */
@media (max-width: 480px) {
  .card {
    width: 330px;
    height: 250px;
    background-color: #000;
    border: 1px solid white;
    border-radius: 10px;
    overflow: hidden;
    /* padding: 20px; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  }

  .card img {
    width: 290px;
    height: 140px;
    object-fit: fill;
    object-position: top;
    border-radius: 8px;
  }
}

/* Media Container Styles */
#media-container {
  width: 100%;
  margin-bottom: 20px;
}

/* Video Container Styles */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin-bottom: 20px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(209, 178, 97, 0.3);
}

#show-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(209, 178, 97, 0.3);
}

/* Detail Card Styles */
.detail-card {
  background-color: #000;
  border: 2px solid #d1b261;
  border-radius: 12px;
  padding: 30px;
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
}

@media (max-width: 768px) {
  .video-container {
    padding-bottom: 56.25%;
  }

  .video-container iframe {
    min-height: 300px;
  }

  .popup-content {
    width: 95%;
    padding: 20px;
  }

  .popup-info h2 {
    font-size: 20px;
  }

  .popup-info p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .tabs {
    gap: 10px;
  }

  .tab-button {
    padding: 8px 15px;
    font-size: 14px;
  }

  .show-cards {
    grid-template-columns: 1fr;
  }

  .card img {
    height: 200px;
  }

  .card.vertical img {
    height: 250px;
  }
}

/* Popup */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background-color: #111;
  width: 90%;
  max-width: 800px;
  border-radius: 10px;
  padding: 30px;
  position: relative;
  box-shadow: 0 0 20px rgba(209, 178, 97, 0.5);
  border: 2px solid #d1b261;
}

.popup-info {
  text-align: center;
  width: 100%;
}

.popup-info h2 {
  color: #d1b261;
  margin-bottom: 10px;
  font-size: 24px;
}

.popup-info p {
  color: #fff;
  margin-bottom: 20px;
  font-size: 16px;
}

/* Buttons */
.btn-gold {
  background-color: #d1b261;
  color: #000;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  margin: 5px;
}

.btn-gold:hover {
  background-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(209, 178, 97, 0.3);
}

/* Back Button */
#mbcbtns {
  z-index: 999;
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: block !important;
}

.btn-back {
  background-color: rgba(0, 0, 0, 0.7);
  border: 2px solid #d1b261;
  color: #d1b261;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(209, 178, 97, 0.5);
}

.btn-back:hover {
  background-color: #d1b261;
  color: black;
  transform: scale(1.1);
}

/* Loader */
.loader {
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #d1b261;
  font-size: 1.2em;
}

.schedule-meeting-row {
  width: 100%;
  padding: 20px 0;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(209, 178, 97, 0.1),
    rgba(209, 178, 97, 0.05)
  );
  margin: 20px 0;
  border-radius: 8px;
}

.schedule-meeting-row h2 {
  color: #d1b261;
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .schedule-meeting-row {
    padding: 15px 0;
    margin: 15px 0;
  }

  .schedule-meeting-row h2 {
    font-size: 20px;
  }
}

/*  Hiding old film cards from Firebase */
.card[data-id="1uH71a356kO4oUqDhYUD"],
.card[data-id="2N5XDvYkcbHkR99If5CH"],
.card[data-id="3IIpu1mzTi4T0oJCjXdk"],
.card[data-id="5GuZDGqLM8QtIAQcpbW1"],
.card[data-id="94nb6ubw6NGAot5FLVTZ"],
.card[data-id="DpTbFa8rZWQqPfuZStKf"],
.card[data-id="IMdybZErUBDUeMlX279W"],
.card[data-id="P1rVokBhPEtn5SaeN2sT"],
.card[data-id="bQUlbFAbPgsaBxv3fzlW"],
.card[data-id="cx7ClAAsITdHD3sRFadi"],
.card[data-id="igL2xtrJjufFt5yNtUJv"],
.card[data-id="jH7YzK0YRRpzcbyQJ3KE"],
.card[data-id="m1svHYWx3pcMiCIGEFIA"],
.card[data-id="ta74ERjWlTwy8h5HEpOo"] {
  display: none !important;
}
/* ✅ Done hiding old content */
