body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  
}



header {
  background-color: #f5f5f5;
  border-bottom: 2px solid #ccc;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header img {
  height: 40px;
}

header form {
  flex: 1;
  display: flex;
  align-items: center;
  margin: 0 20px;
}

header nav {
  margin-left: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 15px;
}

nav li {
  padding: 5px 10px;
}

nav li a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-link{
  color: #333;
}


nav a:hover {
  color: #ff9933;
}

.search-bar {
  flex-grow: 1;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ddd;
  margin-right: 10px;
  outline: none;
  transition: border-color 0.3s;
}

.search-bar:focus {
  border-color: #ff9933;
}

.search-icon {
  background-color: #ff9933;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.search-icon:hover {
  background-color: #e68a00;
}
.hero-content{
  display: flex;
  justify-content: center;
  margin-top: 6%;
}
.hero-content h1 {
  font-size: 3rem;
}
.carousel-inner img{
  height: 400px;
}

.btn {
  background: #ffcc00;
  color: #333;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: transform 0.3s;
  
}

.btn:hover {
  transform: scale(1.1);
}

.features {
  padding: 40px 20px;
  text-align: center;
}

.images-slider{
  display: flex;
  gap: 50px;
}
.slider{
  margin: auto;
  width: 80%;

  
}
ul li img{
  height: 350px;
  width: 250px;
  
  
}




.feature-card {
  background: #eee;
  
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
 
}

.feature-card img{
  border-radius: 20px;
  max-height: 120px;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.movie-list, .theater-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 20px;
}

.movie-card, .theater-card {
  
 
  

 
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  
}


.movie-card:hover, .theater-card:hover {
  transform: scale(1.1);
}

footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  position: relative;
  bottom: 0;
  width: 100%;
}




/* Slider Container */
.slider {
  width: 80%;
  max-width: 900px;
  overflow: hidden;
}

/* Image Slider */
ul.images-slider {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: space-around;
 
}

ul.images-slider li {
  perspective: 1000px;
  transition: transform 0.3s, filter 0.3s;
}

ul.images-slider li img {
  width: 200px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s, filter 0.3s;
}

/* Hover Effect */
ul.images-slider li:hover img {
  transform: rotateY(50deg) scale(1.9); /* 3D effect and enlarge */
  filter: none; /* Removes blur from hovered image */
}


.btn{
  background-color: #28a745;
}

/* search bar*/

form {
  display: flex;
  align-items: center;
}

.search-bar {
  width: 200px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  font-size: 14px;
}

.search-bar:focus {
  border-color: #007bff; /* Change border color on focus */
}

.search-icon {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 12px;
  margin-left: 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.search-icon:hover {
  background-color: #0056b3; /* Change button color on hover */
}

.social-img-container{
  display: flex;
  justify-content: center;
  
}
.social-img-container img{
  height: 50px;
  width: 50px;
  
  
}

/* Basic styling for blurred background */
.blur {
  filter: blur(5px);
  pointer-events: none;
}

/* Modal styling for better appearance */
.modal .modal-dialog {
  max-width: 400px;
}

.modal .modal-content {
  padding: 20px;
  border-radius: 8px;
}


/* Form signup */
.signup-form{
  display: flex;
  flex-direction: column;
}

.login-form{
  display: flex;
  flex-direction: column;
}



/* advertisement */

.advertisement {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.ad-wrapper {
  width: 100%;
  max-width: 1200px; /* Restricts maximum size for larger screens */
}

.advertisement img {
  width: 100%; /* Ensures the image fills the wrapper's width */
  height: 60px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Recommended Movies Section */
.recommended-movies {
  position: relative;
  margin: 3rem 0;
  padding: 0 1rem;
}

.recommended-movies h2 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 1.5rem;
  text-align: center;
}

.movie-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.movie-slider::-webkit-scrollbar {
  display: none; 
}

.movie-card {
  flex: 0 0 auto;
  width: 200px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
 
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  max-height: 350px; /* Fix max height for card */
  position: relative;
}

/* Image Styles */
.movie-card img {
  width: 100%;
  height: 120%;
  object-fit: cover; /* Ensures image covers the entire container */
  border-bottom: 4px solid #fff; 
  transition: transform 0.3s ease;
}

/* Hover effect on card */
.movie-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

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

.movie-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  color: #fff;
  text-align: center;
  font-size: 14px;
}

.heart-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.hero-content a{
  background-color: red;
  color: white;
}
.heart-icon {
  font-size: 20px;
  color: red;
}

.like-count {
  font-size: 16px;
  font-weight: bold;
}

.vote-count {
  font-size: 14px;
  margin-top: 10px;
}

/* Scrollbar customization */
.movie-slider::-webkit-scrollbar {
  width: 6px;
}

.movie-slider::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.movie-slider::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* Arrow button for navigation (if any) */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  z-index: 10;
}


.arrow-left {
  left: 0;
}

.arrow-right {
  right: 0;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  padding: 40px 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  flex: 1 1 100px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.logo img {
  width: 100px;
  height: auto;
}

.footer-links {
  display: flex;
  flex: 3 1 700px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.column {
  flex: 1 1 150px;
  margin-bottom: 20px;
}

.column h3 {
  color: #ffcc00;
  font-size: 18px;
  margin-bottom: 10px;
}

.column ul {
  list-style: none;
  padding: 0;
}

.column ul li {
  margin-bottom: 8px;
}

.column ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.column ul li a:hover {
  color: #ffcc00;
}

.social-links a {
  display: inline-block;
  margin-right: 10px;
  transition: transform 0.3s;
}

.social-links a:hover {
  transform: scale(1.1);
}

.social-links img {
  width: 40px;
  height: 40px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #555;
  padding-top: 20px;
  margin-top: 20px;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: #aaa;
}

/* Footer Bottom Links Styling */
.footer-bottom ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.footer-bottom ul li {
  display: inline-block;
  margin: 0 15px;
}

.footer-bottom ul li a {
  color: #fff;
  text-decoration: none;
  position: relative;
  cursor: pointer;
}

/* Hover Effect for Links */
.footer-bottom ul li a:hover {
  text-decoration: underline;
}

/* Tooltip Content for Terms and Conditions, etc */
#contactUsLink::after,
#termsLink::after,
#refundPolicyLink::after {
  content: '';
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  max-width: 300px;
  z-index: 10;
  width: 900px;
  white-space: pre-wrap;
  display: none; /* Ensure it's hidden by default */
  top: -620%; /* Positioning it above the link */
  left: 50%;
  transform: translateX(-50%); /* Center the tooltip */
  font-size: 12px;
  line-height: 1.5;
}


/* Hide Tooltip by Default */
footer a::after {
  display: none;
}
@media (max-width:768px) {
  .login-btn{
  
    font-size: medium;
  }
  .carousel{
    width: auto;
    height: auto;
  }
  .carousel-item img{
    height: 150px;
  }
  .movie-slider{
    width: 100%;
  }
  
  
  
}