body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #111;
    color: white;
  }
  
  header {
  background-color: black;
  padding: 20px;
  text-align: center;
}

header h1 {
  color: red;
  font-size: 36px;
}

nav {
  margin-top: 10px;
}

nav a {
  margin: 0 20px;
  text-decoration: none;
  color: red;
  font-weight: bold;
}

  
  .reviews {
    padding: 20px;
  }
  
  .reviews h2 {
    background-color: black;
    display:inline-block;
    padding: 10px;
    border-radius: 8px;
  }
  
  .card-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
  }
  
  .card {
    background-color: #222;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    width: 280px;
  }
  
  .card img {
    width: 100%;
    height: 300px; /* or any height that suits your layout */
    object-fit:fill;
    border-radius: 10px; /* optional: rounded corners */
  }
  
  .card h3 {
    margin: 10px 0 5px;
  }
  
  footer {
    background-color: black;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    color: red;
  }
  .card-container .card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.2);
    transition: transform 0.3s;
  }
  a {
    text-decoration: none;
    color: inherit;
  }
  nav a {
    color: rgb(255, 0, 0);
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  nav a:hover {
    color: #ffffff; /* Change this to any highlight color you want */
    text-decoration: underline; /* Optional: adds underline on hover */
  }
  .logo {
    color: rgb(255, 0, 0);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .logo:hover {
    color: #ffffff; /* or any hover color you like */
  }
 
  
  .movie-details img {
    max-width: 300px; /* or any consistent width */
    height: 300px;     /* consistent height */
    object-fit:fill;
    display: block;
    margin: 0 auto 20px;
    border-radius: 10px;
  }
 .movie-details h2 {
    text-align: center;

 } 
 .movie-detail {
    text-align: center;
    padding: 30px;
    color: white;
  }
   
  /* Description Box Styling */
  .movie-description-box {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  }
  
  .movie-description-box h2 {
    margin-bottom: 10px;
    font-size: 28px;
    color: #ffffff;
  }
  
  .movie-description-box p {
    margin: 10px 0;
    line-height: 1.6;
    color: #ddd;
  }
  main {
    border-radius: 10px;
    text-align: center;
  }
  
.contact h2{
    background-color: black;
    display: inline-block;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}
.abt h2{
    background-color: black;
    display: inline-block;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}
img {
  max-width: 100%;
  height: auto;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  margin-top: 20px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
/* Popup review modal */
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal.hidden {
  display: none;
}
.modal-content {
  background-color: #222;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  color: white;
  box-shadow: 0 8px 30px rgba(255, 0, 0, 0.2);
  text-align: left;
}
#closeBtn {
  float: right;
  font-size: 24px;
  cursor: pointer;
  color: red;
  margin-bottom: 10px;
}
.modal-content label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: white;
}
.modal-content select,
.modal-content textarea,
.modal-content input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  margin-top: 5px;
  border: none;
  border-radius: 5px;
  background-color: #333;
  color: white;
  font-size: 14px;
}


.modal-content textarea {
  resize: vertical;
  min-height: 80px;
}
.modal-content button {
  margin-top: 15px;
  padding: 10px 20px;
  background-color: red;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}
.modal-content button:hover {
  background-color: white;
  color: black;
}
.user-review {
  text-align: center;
  padding: 10px;
  margin: 10px auto;
  background-color: #1e1e1e;
  color: white;
  border-left: 5px solid red;
  width: 60%;
  border-radius: 4px;
}

.user-review-container {
  background-color: #1a1a1a;
  color: #ddd;
  padding: 10px;
  margin: 10px 0;
  border-left: 4px solid red;
  border-radius: 5px;

}
.user-review-container {
  border: 1px solid #ddd;
  padding: 10px;
  margin: 8px 0;
  background-color: #f9f9f9;
  border-radius: 8px;
}
.user-reviews h3 {
  text-align: center;
}
/* --- MOVIEHUB PAGE STYLES --- */

#searchInput {
  width: 80%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  margin: 20px auto;
  display: block;
  background-color: #222;
  color: white;
}

#movieResults {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.movie-card {
  background-color: #222;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  width: 200px;
  transition: transform 0.3s ease;
  color: white;
}

.movie-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.2);
}

.movie-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.movie-card h3 {
  margin: 10px 0 5px;
}

.movie-card p {
  font-size: 14px;
  color: #ccc;
}

.movie-card select,
.movie-card button {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 5px;
  border: none;
  font-weight: bold;
  font-size: 14px;
}

.movie-card select {
  background-color: #333;
  color: white;
}

.movie-card button {
  background-color: red;
  color: white;
  cursor: pointer;
}

.movie-card button:hover {
  background-color: white;
  color: black;
}
/* ===== Favorites Page ===== */
.favorites-container {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.movie-card {
  background-color: #222;
  padding: 15px;
  border-radius: 10px;
  width: 200px;
  text-align: center;
}

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

.movie-card h3 {
  margin: 10px 0 5px;
  font-size: 18px;
  color: rgb(255, 255, 255);
}

.movie-card p {
  margin: 0;
  font-size: 14px;
  color: #ccc;
}
#watchlistContainer .movie-card {
 background-color: #222;
  padding: 15px;
  border-radius: 10px;
  width: 200px;
  text-align: center;
}

#watchlistContainer button {
  background-color: rgb(237, 19, 19);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

#watchlistContainer button:hover {
  background-color: darkred;
}
/* Show hamburger on mobile */
.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: red;
  cursor: pointer;
  position: absolute;
  top: 25px;
  right: 20px;
}

/* Mobile nav default hidden */
#navMenu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

/* Mobile styles */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  #navMenu {
    display: none;
    flex-direction: column;
    background-color: black;
    padding: 15px;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 10;
  }

  #navMenu a {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid red;
  }

  #navMenu.show {
    display: flex;
  }
}
.about-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px;
  background-color: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.2);
  color: #ddd;
  font-family: Arial, sans-serif;
}

.about-section h3 {
  color: red;
  font-size: 24px;
  margin-top: 20px;
  border-bottom: 2px solid red;
  display: inline-block;
  padding-bottom: 5px;
}

.about-section p {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 10px;
  color: #ccc;
}

.about-section ul {
  margin-top: 10px;
  padding-left: 20px;
  list-style-type: disc;
}

.about-section li {
  margin-bottom: 8px;
  font-size: 16px;
  color: #ddd;
}
