@import url('https://fonts.googleapis.com/css2?family=Helvetica+Neue:wght@300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #121212;
    color: #ffffff;
}

/* Navigation Bar */
    nav {
      width: 100%;
      background: rgba(0, 0, 0, 0); /* Transparent at the top */
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1000;
      padding: 10px 20px;
      transition: background-color 0.3s;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    /* Sticky Header when Scrolling */
    .nav-solid {
      background-color: rgba(0, 0, 0, 1); /* Solid background when scrolled */
    }

    /* Logo Style */
    #logo {
      max-height: 25px;
      display: inline-block;
    }

    /* Navigation Menu (Links) */
    nav ul {
      display: flex;
      justify-content: flex-end;
      margin: 0;
      padding: 0;
      list-style-type: none;
    }

    nav ul li {
      margin-left: 20px;
    }

    nav ul li a {
      color: #fff;
      text-decoration: none;
      font-weight: bold;
      text-transform: uppercase;
      padding: 10px;
      display: inline-block;
      border-radius: 5px;
      transition: background 0.3s;
    }

    nav ul li a:hover,
    nav ul li a.active {
      background-color: #0296cc;
    }

/* Scroll Container */
.scroll-container {
    position: relative; /* Needed for absolute positioning of arrows */
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-left, .scroll-right {
    position: absolute;
    top: 45%; /* Center vertically */
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: white;
    border: none;
    font-size: 30px;
    padding: 10px;
    cursor: pointer;
    z-index: 10; /* Ensure arrows are above the posters */
    border-radius: 5%;
}

.scroll-left {
    left: 0px; /* Adjust left arrow position */
}

.scroll-right {
    right: 0px; /* Adjust right arrow position */
}

.scroll-left:hover, .scroll-right:hover {
    background: rgba(255, 255, 255, 0.8);
    color: black;
}

/* Mobile Navbar */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #1e1e1e;
        width: 100%;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links li {
        padding: 15px 0;
    }
}

/* Banner */
.banner {
    position: relative;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 20px;
}
.banner h1 {
        font-size: 50px;
        margin-bottom: 10px;
    }

.banner p {
        font-size: 12px;
        margin-bottom: 20px;
    }
.banner p1 {
        font-size: 15px;
    }

.banner-content {
    max-width: 40%;
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 10px;
}
.banner::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100px;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #121212 100%);
        }

/* Mobile Banner */
@media (max-width: 768px) {
    .banner {
        height: 300px;
        padding: 10px;
    }

    .banner-content {
        max-width: 75%;
        font-size: 14px;
        padding: 5px;
    }

    .banner h1 {
        font-size: 25px;
        margin-bottom: 5px;
    }

    .banner p {
        font-size: 8px;
    }
    .banner p1 {
        font-size: 10px;
    }
}


/* Section Titles */
.section {
    margin: 20px;
}

.section h2 {
    color: white;
    margin-bottom: 10px;
}


/* Poster Rows */
.media-row {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    white-space: nowrap;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.media-row::-webkit-scrollbar {
    height: 8px;
    display: none;
}

.media-row::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

/* Media Items */
.media-item {
    cursor: pointer;
    position: relative;
}

.media-item img {
    width: 205px;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

/* Mobile Poster Adjustments */
@media (max-width: 768px) {
    .media-item img {
        width: 195px;
    }
}




/* Mobile Styles (Screen width below 768px) */
    @media (max-width: 768px) {
      /* Navigation links initially hidden on mobile */
      nav ul {
        display: none;  /* Hidden by default */
        flex-direction: column;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 50px; /* To place the menu below the nav bar */
        left: 0;
        right: 0;
        width: 100%;
        padding: 10px 0;
      }
      /* Active state of the menu */
      nav.active ul {
        display: flex; /* Show the menu when active */
      }
      nav ul li {
        width: 100%;
        text-align: center;
        margin: 10px 0;
      }

      nav ul li a {
        padding: 15px;
        width: 100%;
        text-align: center;
      }

      /* Logo will adjust for smaller screens */
      #logo {
        max-height: 20px;
      }

      /* Menu Button visible on mobile */
      .menu-btn {
        color: white;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
        background-color: #0296cc;
        padding: 10px 20px;
        border-radius: 5px;
        display: block;  /* Visible on mobile */
      }

      /* Show menu when active */
#menu.active {
    display: flex;
}
    }

    /* Hide the menu button on desktop */
    @media (min-width: 769px) {
      .menu-btn {
        display: none;  /* Hide the menu button on desktop */
      }
    }


#floating-message {
position: fixed;
top: 25%
bottom: 0;
left: 50%;
transform: translateX(-50%);
background-color: #121212;
color: white;
text-align: center;
padding: 15px;
font-size: 15px;
z-index: 1000;
border-radius: 20px; /* Rounded top corners */
width: 30%; /* You can adjust the width as needed */
backdrop-filter: blur(8px); /* Apply blur effect to the background */
-webkit-backdrop-filter: blur(8px); /* Ensure blur effect works on iOS */
border: 2px solid white;
}

#floating-message button {
background-color: red; /* Green background for the "OK" button */
color: white;
border: none;
font-size: 10px;
padding: 8px 16px;
cursor: pointer;
border-radius: 5px; /* Rounded button corners */
margin-top: 10px; /* Adds space between the message and the button */
}

#floating-message button:hover {
background-color: #0296cc; /* Darker green on hover */
}

/* Adjustment of arrow button in mobile */
@media (max-width: 768px) {
       .scroll-left {
          font-size: 20px;
          padding: 8px;
}
       .scroll-right {
          font-size: 20px;
          padding: 8px;
}
}

/* Adjustment of floating message in mobile */
@media (max-width: 768px) {
   #floating-message {
     padding: 5px;
     font-size: 15px;
     width: 75%;
     top: 25%;
   
}}


/* Chat button styling Start */
#chat-container {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 1000;
}

#chat-button {
    background-color: #0296cc;
    color: white;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 50px;
    font-size: 16px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

#chat-button:hover {
    background-color: #0275a6;
}

/* Chat Box */
#chat-box {
    position: fixed;
    bottom: 70px;
    right: 15px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
    width: 300px;
    display: none;
}

/* Close button */
#close-chat {
    display: block;
    text-align: right;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
}

#close-chat:hover {
    color: red;
}

/* Input and text area */
#chat-box input,
#chat-box textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

/* Send button */
#send-message {
    width: 100%;
    background-color: #0296cc;
    color: white;
    border: none;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

#send-message:hover {
    background-color: #0275a6;
}

/* Responsive Mobile View */
@media screen and (max-width: 480px) {
    #chat-box {
        width: 90%; /* Make chat box wider on mobile */
        right: 5%;
        bottom: 80px;
    }

    #chat-button {
        padding: 10px 15px;
        font-size: 14px;
    }

    #send-message {
        font-size: 14px;
        padding: 8px;
    }
}
/* Chat button styling End */

/* Star Rating Styles */
/* Container for each media item */
.media-item {
    position: relative;
    display: inline-block;
}

/* Poster card wrapper */
.poster-card {
    position: relative;
    display: inline-block;
    border-radius: 10px;
    overflow: hidden;
}

/* Rating inside the card, positioned at the top-left */
.rating {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0);
    color: gold;
    padding: 5px 8px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

/* Star icon */
.star {
  font-size: 1.3rem;
  margin-right: 5px;
  display: inline-block;
}

.star.filled::before {
  content: '★'; /* Filled star */
  color: #f7c400; /* Gold color */
}

.star.empty::before {
  content: '☆'; /* Empty star */
  color: #ccc; /* Light gray color for empty stars */
}

/* Poster image */
.poster-card img {
    width: 205px;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}
