@font-face {
  font-family: "Raleway";
  src: url("./fonts/Raleway-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("./fonts/Raleway-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("./fonts/Raleway-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  font-family: "Raleway", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen-sans, ubuntu, cantarell, "Helvetica Neue",
    sans-serif;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: black;
  color: white;
}
h1 {
  font-size: 80px;
  font-weight: 700;
}
h2 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 20px;
}
h3 {
  font-size: 24px;
}
.header {
  width: 100%;
  height: 90vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/header-image.jpg);
  background-size: cover;
  background-position: center;
  padding: 10px 8%;
  position: relative;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.nav-menu {
  display: flex;
  align-items: center;
}
.nav-links {
  position: absolute;
  top: 60px;
  left: 15px;
  background: #333;
  width: 200px;
  border-radius: 5px;
  padding: 10px;
  flex-direction: column;
  display: none;
  list-style: none;
  margin-right: 15px;
}
.nav-links.active {
  display: flex;
}
.nav-links li {
  margin: 10px 0;
}
.nav-links > li > a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  margin-left: 20px;
  transition: color 0.3s;
}
.nav-links > li > a:hover,
.nav-links > li > a:focus,
.nav-links > li > a:active {
  color: #165dfb;
}

/* Ensure it returns to white after tap */
.nav-links > li > a:visited,
.nav-links > li > a:focus-visible {
  color: white;
}
.menu-toggle {
  display: block;
  font-size: 34px;
  cursor: pointer;
}

.text-logo {
  font-weight: 700;
  cursor: pointer;
}
.c-button {
  border: 0;
  outline: 0;
  background-color: #165dfb;
  color: #fff;
  padding: 10px 30px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  margin-left: 10px;
  cursor: pointer;
}

.c-button:hover {
  background-color: #0e4acc;
}

.glow-button {
  margin-top: 20px;
}

.header-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.header-content h1 {
  line-height: 70px;
  font-weight: 700;
  max-width: 650px;
  margin-bottom: 30px;
}

.header-content h3 {
  font-weight: 400;
  margin-bottom: 20px;
}

img {
  max-width: 100%;
}

.main-category.second {
  margin-top: 100px;
}

.main-category > h2 {
  margin-bottom: 30px;
  text-align: center;
}

.box-title {
  background-color: #202132;
  padding: 20px 0;
}

.box {
  display: grid;
  grid-gap: 40px;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  padding: 0 5%;
  margin: 0 50px 50px 50px;
}

.box.tv-director {
  display: block;
  padding: 0 8%;
}

.tv-director-swiper {
  width: 100%;
  overflow: visible;
  padding: 36px 0 42px;
}

.tv-director-swiper .swiper-wrapper {
  align-items: stretch;
}

.tv-poster-slide {
  width: min(86vw, 340px);
}

.tv-poster-slide a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.tv-poster-slide a:hover {
  transform: scale(1.06);
}

.tv-director-swiper .swiper-slide-active a {
  transform: scale(1.32);
  z-index: 5;
}

.tv-poster-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}

.tv-director-swiper .swiper-pagination {
  bottom: -14px;
}

.tv-director-swiper .swiper-pagination-bullet {
  background: #ffffff;
  opacity: 0.4;
}

.tv-director-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: #ffffff;
}

.tv-director-swiper .swiper-button-prev,
.tv-director-swiper .swiper-button-next {
  top: 50%;
  margin-top: -20px;
}

.tv-director-swiper .swiper-button-prev {
  left: -60px;
}

.tv-director-swiper .swiper-button-next {
  right: -60px;
}

@media (min-width: 768px) {
  .tv-poster-slide {
    width: min(33%, 320px);
  }
}

.box a {
  transition: transform 0.3s;
}

.box > a:hover {
  transition: transform 0.3s;
  -ms-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

.box img {
  border-radius: 2px;
}

.features {
  padding: 50px 12%;
  font-size: 22px;
}
.row {
  display: flex;
  width: 100%;
  align-items: center;
  flex-wrap: wrap;
  padding: 50px 0px;
}
.text-col {
  flex-basis: 50%;
  margin-bottom: 20px;
}
.img-col {
  flex-basis: 50%;
  margin-bottom: 20px;
}
.img-col img {
  display: block;
  width: 90%;
  margin: auto;
}

.footer {
  padding: 50px 15% 10px;
  border-top: 6px solid #333;
  color: #777;
}

.footer .row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

.social {
  margin: 0 8px;
}

.copyright-text {
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: center;
}

/**** MEDIA QUERIES ****/
@media only screen and (max-width: 600px) {
  .logo {
    width: 100px;
  }
  nav button {
    padding: 5px 10px;
  }

  .menu-toggle {
    font-size: 26px;
  }
  .header-content {
    position: unset;
    transform: none;
    padding-top: 150px;
  }
  .header-content h1 {
    font-size: 40px;
  }
  .text-col,
  .img-col {
    flex-basis: 100%;
  }
  .img-col img {
    width: 100%;
  }
  h2 {
    font-size: 30px;
  }

  .features p {
    font-size: 15px;
  }
  .row:nth-child(2),
  .row:nth-child(4) {
    flex-direction: column-reverse;
  }
  .features .row {
    padding: 10px 0;
  }
  label::after {
    font-size: 22px;
  }
}

@media (max-width: 900px) {
  .box {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(4, minmax(100px, 1fr));
  }
  .box.tv-director {
    display: block;
  }
}

@media (max-width: 700px) {
  .box {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(2, minmax(100px, 1fr));
  }
  .box.tv-director {
    display: block;
    padding: 0 5%;
  }
}

@media (max-width: 500px) {
  .box {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(1, 1fr);
  }
  .box.tv-director {
    display: block;
    padding: 0 5%;
  }

  .box > a:hover {
    transition: transform 0.3s;
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1.2);
  }
}
.line-div {
  box-sizing: border-box;
  overflow-x: hidden;
  position: relative;
  top: -50px;
  height: 6.25rem;
  z-index: 1;
}

.default-ltr-cache-1f97ztc {
  width: 130%;
  left: -15%;
}

.default-ltr-cache-1f97ztc {
  box-sizing: border-box;
  position: absolute;
  height: 100%;
  top: 0;
  margin: auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: solid 0.25rem transparent;
  border-top-left-radius: 50% 100%;
  border-top-right-radius: 50% 100%;
  border-bottom: none;
  background: radial-gradient(50% 500% at 50% -420%, rgba(64, 97, 231, 0.4) 80%, rgba(0, 0, 0, 0.1) 100%), black;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}

.default-ltr-cache-1f97ztc:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  margin-top: -0.25rem;
  border-radius: inherit;
  background: linear-gradient(
    to right,
    rgba(33, 13, 22, 1) 16%,
    rgba(98, 207, 244, 1),
    rgba(44, 103, 242, 1),
    rgba(98, 207, 244, 1),
    rgba(33, 13, 22, 1) 84%
  );
}
/* ===== Swiper Navigation Arrows ===== */
.swiper-button-prev,
.swiper-button-next {
  background: rgba(0, 0, 0, 1); /* Black background */
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease-in-out;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 24px;
}

/* ===== Close Button ===== */
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  border: none;
  font-size: 20px;
  color: white;
  cursor: pointer;
  background: rgba(0, 0, 0, 1);
  padding: 3px 9px 4px 9px;
  border-radius: 50%;
  transition: transform 0.3s ease-out;
  z-index: 1000;
}

.close-btn:hover {
  transform: scale(1.2);
}

/* ===== Modal Styling ===== */
body.modal-open {
  overflow: hidden; /* Prevents scrolling */
  touch-action: none; /* Fixes swipe issues in Safari */
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
  z-index: 1000;
}

.modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  position: relative;
  width: 700px;
  background: #181818;
  border-radius: 12px;
  overflow: hidden;
  max-height: 90vh;
  transform: scale(0.8);
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.modal.open .modal-content {
  transform: scale(1);
}

.modal.swipe-up {
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===== Modal Header (Static & Slider) ===== */
.modal-header {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.modal-header .swiper {
  width: 100%;
  height: 100%;
}

.modal-header .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.modal-header .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #181818 100%);
  pointer-events: none;
  z-index: 2;
}

/* ===== Modal Body ===== */
.modal-body {
  padding: 20px;
  color: white;
}

.modal-title {
  font-size: 30px;
  margin-bottom: 10px;
}

.metadata {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
}

.button-container {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.modal-btn {
  padding: 10px 20px;
  background: #165dfb;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.modal-btn:hover {
  background: #0e4acc;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .modal-content {
    width: 90%;
  }

  .modal-header {
    height: 250px;
  }

  .modal-title {
    font-size: 20px;
  }
}
/* Modal Background */
#contact-modal-unique {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Show Modal */
#contact-modal-unique.contact-modal-show {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

/* Modal Content */
#contact-modal-unique .contact-modal-content {
  background: white;
  color: #333;
  padding: 20px;
  width: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: scale(0.8);
  transition: transform 0.3s ease;
  z-index: 1001;
}

/* Zoom Effect */
#contact-modal-unique.contact-modal-show .contact-modal-content {
  transform: scale(1);
}

/* Close Button */
#contact-modal-unique .contact-modal-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  background-color: #181818;
  color: white;
  padding: 0px 8px 2px 8px;
  border-radius: 50%;
}

/* Form Styles */
#contact-form-unique {
  display: flex;
  flex-direction: column;
}

#contact-form-unique label {
  margin-top: 10px;
  font-weight: bold;
}

#contact-form-unique input,
#contact-form-unique textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#contact-form-unique .contact-modal-btn {
  margin-top: 15px;
  padding: 10px;
  background: #165dfb;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
}

#contact-form-unique .contact-modal-btn:hover {
  background: #0e4acc;
}

body.contact-modal-open {
  overflow: hidden;
  touch-action: pan-x pan-y; /* Allows pinch-to-zoom */
}

body.contact-modal-open {
  position: fixed;
  width: 100%;
  height: 100%;
  overscroll-behavior: none;
}

@supports (-webkit-touch-callout: none) {
  body.contact-modal-open {
    touch-action: pinch-zoom;
  }
}
