:root {
  --primary-color: #ff4786;
  --background-color: #141414;
  --text-color: #ffffff;
  --secondary-color: #564d4d;
}

::-webkit-scrollbar {
  width: 18px;
}
::-webkit-scrollbar-track {
  background: var(--comment-box);
}
::-webkit-scrollbar-thumb {
  background: var(--comment);
}

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

body {
  width: 100%;
  font-family: Arial, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
}



.featured-movie {
  height: 80vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.featured-content {
  max-width: 50%;
  margin-bottom: 5rem;
}

.featured-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.featured-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.mySwiperOne {
  width: 100vw;
  height: 88vh;
  margin: 0;
  padding: 0;
}

.swpslideone {
  background-position: center;
  background-size: cover;
  position: relative;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.354);
  height: 100%;
  width: 100%;
}

.overlayText {
  position: absolute;
  top: 50%;
  left: 10%;
}

.overlayTextChild {
  font-size: 0.6rem;
}

.fa-star {
  font-size: 0.8rem;
  margin-left: -4px;
}

.movie-btn-1,
.movie-btn {
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  border: none;
}

.movie-btn-1 {
  background-color: #ff4786;
}
.movie-btn {
  background-color: rgba(0, 0, 0, 0.354);
}

.fa-play {
  font-size: 0.8rem;
}

.swpslideone img {
  display: block;
  width: 100%;
}

@media (max-width: 768px) {
  .swpslideone img {
    height: 100vh;
  }

  .mySwiperTwo {
    width: 100%;
    margin-top: 2rem;
  }

  .overlayText {
    top: 35%;
  }

  .overlayText h2 {
    font-size: 0.8rem;
  }

  .fa-play {
    font-size: 0.6rem;
  }

  .overlayText p {
    font-size: 0.6rem;
    margin-bottom: 0;
  }

  .movie-btn-1 {
    padding: 3px 5px;
    border-radius: 20px;
    font-size: 0.6rem;
    border: none;
  }
}

@media (max-width: 925px) {
  .overlayText {
    top: 30%;
  }
}



/* sm cards */

.mySwiperTwo {
  width: 100%;
}

.swpslidetwo {
  background-position: center;
  background-size: cover;
  width: 174px;
  height: 174px;
}

.swpslidetwo img {
  display: block;
  width: 100%;
  object-fit: contain;
  border-radius: 30px;
}

.swipercustomcontainer {
  max-width: 700px;
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.movie-list {
  padding: 2rem 4%;
}

.movie-list h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}



    /* Promo Card Styles */
    .promo-image{
      height: 600px;
      width: 40vw;
      object-fit: center;
    }

    .promo-card {
      width: 100% !important;
      display: flex;
      justify-content: space-around;
      align-items: center;
      padding: 80px 0;
    }
    
    .promo-description {
      background: linear-gradient(135deg, white, rgb(90, 18, 167));
      color: black;
      padding: 20px;
      text-align: center;
    }
    
    .promo-highlights {
      display: flex;
      flex-wrap: wrap;
      padding: 20px;
    }
    
    .highlight-item {
      flex: 1;
      min-width: 120px;
      text-align: center;
      padding: 10px;
    }
    
    
    .view-packages{
      background-color: rgb(90, 18, 167);
      color: white;

    }
    
    /* Modal Styles */
    /* .promo-modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0,0,0,0.5);
    } */
    
    .modal-content {
      background-color: #fefefe;
      margin: 5% auto;
      padding: 25px;
      border-radius: 12px;
      width: 80%;
      max-width: 800px;
      max-height: 80vh;
      overflow-y: auto;
      box-shadow: 0 4px 20px rgba(0,0,0,0.2);
      animation: modalFadeIn 0.3s;
    }
    
    @keyframes modalFadeIn {
      from {opacity: 0; transform: translateY(-20px);}
      to {opacity: 1; transform: translateY(0);}
    }
    
    /* .close-modal {
      color: #aaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }
    
    .close-modal:hover {
      color: #333;
    } */
    
    .modal-header {
      text-align: center;
      padding: 10px 0 20px;
      border-bottom: 1px solid #eee;
    }
    
    .modal-title{
      font-size: 1.5em;
      font-weight: bold;
      color: rgb(90, 18, 167);
      /* color: #ff4786; */
    }

    .btn-close{
      color: white;
    }
    .package-title{
      font-size: 1.2rem;
      color: white;
      /* color: rgb(90, 18, 167); */
    }

    .modal-body {
      padding: 20px 0;
    }
    
    
    .package-card {
      border: 1px solid #eee;
      border-radius: 10px;
      padding: 15px;
      margin-bottom: 15px;
      background: white;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .package-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }
    
    .package-price {
      font-weight: bold;
      color: rgb(90, 18, 167);
      font-size: 1.2em;
    }
    
    .package-inclusions {
      padding-left: 20px;
      color: black;
      font-family: bold;
      margin: 15px 0;
    }
    
    .package-inclusions li {
      margin-bottom: 8px;
    }
    
    .add-to-cart {
      width: 100%;
      padding: 10px;
      background: rgb(90, 18, 167);
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      transition: background 0.3s;
    }
    
    .add-to-cart:hover {
      background: #ff4786;
    }
    
    .modal-footer {
      text-align: center;
      padding-top: 20px;
      border-top: 1px solid #eee;
    }
    
    .btn-secondary {
      padding: 10px 20px;
      background: #f0f0f0;
      color: #333;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

    

.view-cart{
  background-color: rgb(90, 18, 167);
  color: white;
  /* padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer; */
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.movie-card {
  background-color: var(--secondary-color);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s;
}

.movie-card:hover {
  transform: scale(1.05);
}

.movie-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.movie-card-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.movie-card-content h3 {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.movie-card-content a {
  width: 60%;
  text-decoration: none;
  text-align: center;
  padding: 8px 12px;
  background-color: var(--primary-color);
  color: var(--text-color);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* .book-btn a{
  text-decoration: none !important
} */
.movie-card-content a:hover {
  background-color: #ff0a16;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.snack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem 0;
}

.snack-card {
  background-color: var(--secondary-color);
  border-radius: 4px;
  overflow: hidden;
  padding: 1rem;
  text-align: center;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.snack-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  margin-bottom: 0.5rem;
  border-radius: 4px;
}

.snack-card input[type="checkbox"] {
  margin-top: 0.5rem;
}

.modal-content {
  background-color: var(--background-color);
  margin: 10% auto;
  padding: 2rem;
  border: 1px solid var(--secondary-color);
  width: 80%;
  max-width: 600px;
}

.close {
  color: var(--text-color);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: var(--primary-color);
}

#datePicker {
  display: flex;
  justify-content: space-between;
  margin: 1rem 0;
}

.date-btn {
  padding: 0.5rem;
  background-color: var(--secondary-color);
  color: var(--text-color);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.date-btn.active {
  background-color: var(--primary-color);
}

#showtimes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 1rem 0;
}

.time-btn {
  padding: 0.5rem;
  background-color: var(--secondary-color);
  color: var(--text-color);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.time-btn:hover {
  background-color: var(--primary-color);
}

footer {
  background-color: var(--background-color);
  color: var(--text-color);
  padding: 2rem 4%;
  text-align: center;
  border-top: 1px solid var(--secondary-color);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-color);
}

footer p {
  font-size: 0.9rem;
  color: var(--secondary-color);
}



@media (max-width: 768px) {

  .nav-links {
    display: none;
  }

  /* .movie-detail{
    padding-top: 8rem;
  } */

  .featured-content {
    max-width: 100%;
  }

  .movie-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}
