/* Color variables for dark and light mode */
:root {
  --background-color: #121212;
  --text-color: #fff;
  --primary-color: #ff9900;
  --secondary-bg-color: #1f1f1f;
  --card-bg-color: #1f1f1f;
  --card-shadow-color: rgba(0, 0, 0, 0.4);
  --input-bg-color: #222;
  --border-color: #333;
}

/* Light mode styles - will be applied to the body with class 'light-mode' */
body.light-mode {
  --background-color: #f4f4f9;
  --text-color: #1a1a1a;
  --primary-color: #007bff;
  --secondary-bg-color: #e2e2e7;
  --card-bg-color: #ffffff;
  --card-shadow-color: rgba(0, 0, 0, 0.2);
  --input-bg-color: #fff;
  --border-color: #ccc;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ✅ Naya Code: Scrollbar hide karna */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}
html, body {
  scrollbar-width: none;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Navbar */
.navbar {
  background-color: var(--secondary-bg-color);
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
  z-index: 2;
}

#menu-btn, #mode-toggle {
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  margin-right: 1rem;
}

.site-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  margin-right: auto;
}

/* Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  bottom: auto; /* ✅ Naya Code */
  left: -250px;
  height: 100%;
  width: 250px;
  background-color: var(--secondary-bg-color);
  padding-top: 4rem;
  transition: left 0.3s ease;
  z-index: 999; /* ✅ Naya Code: Z-index badhaya */
}

.side-menu.show {
  left: 0;
}

.side-menu ul {
  list-style: none;
  padding: 0;
}

.side-menu li {
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
}

.side-menu li:hover {
  background-color: var(--border-color);
}

/* --- Active Category Highlight --- */
.side-menu ul li.active {
    background-color: var(--primary-color);
    color: var(--background-color);
    font-weight: bold;
}

.side-menu ul li.active:hover {
    background-color: var(--primary-color);
}
.site-title {
  display: flex;
  align-items: center;
  /* Poppins फ़ॉन्ट का इस्तेमाल करें */
  font-family: 'Poppins', sans-serif; 
  font-weight: bold;
}

.site-logo {
    height: 50px;
    margin-right: 15px;
    /* ✅ यहाँ एनिमेशन लागू करें */
    animation-name: pulse;
    animation-duration: 2s; /* 2 सेकंड में पूरा हो */
    animation-timing-function: ease-in-out;
    animation-iteration-count: 5s; /* बार-बार चले */
}

/* Search Bar */
.search-container {
  padding: 1rem 2rem;
  background-color: var(--secondary-bg-color);
  text-align: center;
}

#search-input {
  width: 100%;
  max-width: 400px;
  padding: 0.7rem;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  background-color: var(--input-bg-color);
  color: var(--text-color);
}

/* --- Sort Container --- */
.sort-container {
    padding: 0.5rem 2rem;
    background-color: var(--secondary-bg-color);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.sort-container label {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.sort-container select {
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: var(--input-bg-color);
    color: var(--text-color);
}

/* --- Movie Grid --- */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 250px));
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.movie-card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    max-width: 250px;
    box-shadow: 0 4px 8px var(--card-shadow-color);
    z-index: 1; /* ✅ Naya Code */
}

.movie-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px var(--card-shadow-color);
}

.movie-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
}

.movie-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    margin: 0.5rem 0;
    color: var(--text-color);
}

.movie-card p {
    font-size: 0.9rem;
    color: var(--text-color);
}
/* --- Mobile Screen Fix: 2 Movies in a Row --- */

/* Jab screen ki चौड़ाई 768px ya usse kam ho */
@media (max-width: 768px) {
    .movie-grid {
        /* Ab 2 barabar (equal) columns banenge, jo screen ke hisaab se adjust honge */
        grid-template-columns: repeat(2, 1fr);
        
        /* Choti screens ke liye padding aur gap kam kar sakte hain */
        gap: 1rem;
        padding: 1rem;
    }

    .movie-card {
        /* Mobile par card ki max-width ki zaroorat nahi hai, kyonki woh 1fr ke hisaab se adjust hoga */
        max-width: none;
    }
}

.rating-stars {
    margin: 0.5rem 0;
    display: flex;
    justify-content: center;
    gap: 2px;
}

.rating-stars .fa-star, .rating-stars .fa-star-half-alt {
    color: var(--primary-color);
}

.not-found-message {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    padding: 2rem;
}



.details-container {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.details-header {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
}

#details-poster {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    aspect-ratio: 2/3;
    object-fit: cover;
}

.details-info {
    flex: 1;
    min-width: 250px;
}

#details-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

#details-rating {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.details-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--text-color);
}

.trailer-btn-container {
    margin-top: 1.5rem;
}

.trailer-btn {
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.trailer-btn:hover {
    background-color: #e68a00;
}

.details-section {
    margin-bottom: 2rem;
}

.details-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

#details-storyline {
    line-height: 1.6;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.screenshots-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.screenshots-grid img:hover {
    transform: scale(1.05);
}

/* Social Links Footer */
.social-links-footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--secondary-bg-color);
    margin-top: 2rem;
}

.social-links-footer a {
    color: var(--text-color);
    font-size: 2rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.social-links-footer a:hover {
    color: var(--primary-color);
}

/* Go to Top Button */
#go-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: var(--primary-color);
    color: var(--background-color);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

/* Loading Message */
#loading-message {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    padding: 2rem;
    grid-column: 1 / -1;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
  }
  .site-title {
    margin-right: 0;
  }
  #menu-btn {
    order: -1;
    margin-right: 0.5rem;
  }
  #mode-toggle {
    margin-left: auto;
  }

  .movie-card h2 {
    font-size: 0.9rem;
  }

  .movie-card p {
    font-size: 0.8rem;
  }

  #search-input {
    width: 90%;
  }

  .details-header {
      flex-direction: column;
      text-align: center;
  }
  #details-poster {
      max-width: 200px;
  }
  .details-info {
      text-align: center;
  }
  .trailer-btn-container {
      text-align: center;
  }
}
/* --- Modal CSS --- */
.modal {
    display: none; /* By default, modal will be hidden */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding-top: 50px;
}

.modal-content {
    background-color: var(--card-bg-color);
    margin: auto;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px var(--card-shadow-color);
    max-width: 600px;
    width: 90%;
    position: relative;
    text-align: center;
}

#close-modal {
    color: var(--text-color);
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
}

#close-modal:hover,
#close-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
}

#modal-poster {
    width: 100%;
    max-width: 250px;
    border-radius: 8px;
    margin-bottom: 1rem;
    aspect-ratio: 2/3;
    object-fit: cover;
}

#modal-title {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

#modal-category, #modal-description {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
/* --- User Reviews Section --- */
#review-form-container {
    background-color: var(--card-bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

#review-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#reviewer-name, #review-text, .rating-input select {
    width: 100%;
    padding: 0.7rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: var(--input-bg-color);
    color: var(--text-color);
    font-size: 1rem;
}

#review-text {
    resize: vertical;
    min-height: 100px;
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-input label {
    white-space: nowrap;
}

#reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    background-color: var(--card-bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.review-item strong {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.review-item .review-date {
    font-size: 0.9rem;
    color: #999;
}

.review-item .review-rating {
    margin: 0.5rem 0;
}

.review-item .review-rating .fa-star, .review-item .review-rating .fa-star-half-alt {
    color: var(--primary-color);
}

.review-item p {
    margin-top: 0.5rem;
    line-height: 1.6;
}

.no-reviews {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 1rem;
}
/* User Reviews Section ke naye features ke liye CSS */

/* By default, review form hidden rahega */
#review-form-container.hidden {
    display: none;
}

/* Review form aur button ka style */
#show-review-form-btn {
    margin-top: 1rem;
    cursor: pointer;
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    border: none;
    transition: background-color 0.3s ease;
}

#show-review-form-btn:hover {
    background-color: #e68a00;
}

/* Star Rating Input ka CSS */
#star-rating-input {
    display: flex;
    gap: 5px;
    cursor: pointer;
}

#star-rating-input .fa-star {
    color: #ccc; /* Default star color */
    font-size: 1.5rem;
}

#star-rating-input .fa-star.active {
    color: var(--primary-color); /* Active stars ka color */
}
/* --- Recommended Movies Section CSS --- */
.recommended-movies-container {
    position: relative;
    display: flex;
    align-items: center;
}

.recommended-movies-grid {
    display: grid;
    grid-auto-flow: column; /* Movies ko horizontal layout mein rakhega */
    gap: 1.5rem;
    overflow-x: auto; /* Horizontal scrollbar ko enable karega */
    scroll-snap-type: x mandatory;
    padding: 1rem 0;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* Scrollbar ko chupa dega, par scroll karna possible rahega */
.recommended-movies-grid::-webkit-scrollbar {
    display: none;
}

.recommended-movies-grid .movie-card {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 200px; /* Card ki width set karega */
}

/* Scroll buttons ka style */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5); /* Halka transparent background */
    color: white;
    border: none;
    padding: 0.8rem;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.scroll-btn.transparent-btn {
    background-color: rgba(0, 0, 0, 0.2); /* Thoda aur transparent */
}

.scroll-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

#scroll-left-btn {
    left: 0;
}

#scroll-right-btn {
    right: 0;
}
/* --- Naya Code: Watchlist CSS --- */

/* Watchlist link ka style */
.watchlist-link {
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.watchlist-link:hover {
    background-color: #e68a00;
}

/* Movie cards par Watchlist button ka style */
.movie-card {
    position: relative;
}

.watchlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 5;
}

.watchlist-btn:hover {
    background-color: var(--primary-color);
}

/* ✅ Naya Code: Jab movie watchlist mein add ho jaye to button ka style */
.watchlist-btn.added .fa-heart {
    color: red;
}
/* --- Cast and Director CSS --- */
.person-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1rem;
}

.person-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 120px;
}

.person-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.person-card p {
    margin-top: 0.5rem;
    font-weight: 600;
}

/* --- Naya Code: Homepage Horizontal Sections CSS --- */

.horizontal-movie-section {
    position: relative; /* Buttons ko position karne ke liye */
    padding: 0;
    background-color: var(--card-background);
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.horizontal-movie-section h3 {
    font-size: 1.5rem;
    margin: 0 1.5rem 1rem 1.5rem;
    padding-top: 1.5rem;
    color: var(--text-color);
}

.horizontal-grid-container {
    overflow-x: auto;
    /* ✅ Naya Code: Horizontal scrollbar ko hide karna */
    scrollbar-width: none;
    -ms-overflow-style: none; /* Internet Explorer */
}

/* ✅ Naya Code: Horizontal scrollbar ko Webkit browsers se hide karna */
.horizontal-grid-container::-webkit-scrollbar {
    display: none;
}

.horizontal-grid {
    display: flex;
    gap: 1.5rem;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.horizontal-grid .movie-card {
    min-width: 200px;
}
/* --- Horizontal Sections Fix (Mobile) --- */

/* Jab screen ki चौड़ाई 768px ya usse kam ho */
@media (max-width: 768px) {
    .horizontal-grid .movie-card {
        /* Ek line mein 2 cards dikhane ke liye, har card ki width kam karni hogi */
        width: 150px; /* Ya koi bhi size jo aapko sahi lage */
    }

    /* Agar aapke horizontal grid mein padding ya gap hai, to use bhi adjust kar sakte hain */
    .horizontal-grid {
        gap: 10px; /* Mobile par gap kam kar sakte hain */
    }
}

/* ✅ Naya Code: Scroll buttons ka style */
.scroll-btn-horizontal {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    padding: 10px 15px;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.scroll-btn-horizontal:hover {
    background-color: var(--primary-color);
}

.scroll-btn-horizontal.left {
    left: 10px;
}

.scroll-btn-horizontal.right {
    right: 10px;
}
/* ========== Responsive Styles ========== */

/* Tablet aur bade mobile devices ke liye */
@media (max-width: 768px) {
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    .horizontal-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* Chote mobile devices ke liye (jaise aapne kaha, 2 poster ek line mein) */
@media (max-width: 576px) {
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px; /* Cards ke beech ki jagah kam karein */
    }
    .horizontal-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}
/* ========== Pagination Styles ========== */

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.pagination-link {
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.pagination-link:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.pagination-link.active {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: bold;
}
/* Video Player */
.trailer-container {
  position: relative;
  width: 100%;
  max-width: 900px; /* You can increase this if needed */
  margin: 2rem auto; /* Center the trailer */
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background-color: #000;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.trailer-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.trailer-language-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
}

.lang-btn {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #555;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-transform: uppercase;
}
.lang-btn:hover {
    background-color: #777;
    transform: translateY(-2px);
}

.lang-btn.active {
    background-color: #e50914; /* Netflix red color */
    border: 2px solid #fff;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}
/* --- Streaming Buttons CSS --- */
.streaming-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.streaming-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: var(--background-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- Streaming Button Styles (Icons Only) --- */

.streaming-btn {
    /* Background color hata diya gaya hai */
    background-color: transparent !important; 
    
    /* Button ke andar icon ko center karne ke liye */
    display: flex; 
    align-items: center;
    justify-content: center;
    
    /* Icon-only button ke liye padding kam rakhi gayi hai */
    padding: 0.5rem 0.6rem; 
    
    /* Border bhi transparent kar diya gaya hai */
    border: 1px solid transparent !important;
}

/* Jab koi button par mouse le jaye, toh background transparent hi rahe */
.streaming-btn:hover {
    background-color: transparent !important;
    border: 1px solid #ffffff !important; /* Optional: Hover par ek halka border dikha sakte hain */
}

/* Custom Logo Image ki Styling */
.streaming-btn .platform-logo {
    /* Icon ka size 24px se badha kar 32px kar diya gaya hai */
    width: 120px; 
    height: 90px;
    
    object-fit: contain; 
    flex-shrink: 0; 
}

/* --- Platform Specific Colors (Yeh rules ab kaam nahi karenge kyunki humne upar background hata diya hai) --- */

/* Note: In rules ki ab zarurat nahi hai, par aap inhein hta bhi sakte hain agar aapko code saaf rakhna hai */
.streaming-btn.zee5 {
    /* Yeh background ab override ho jayega */
    background-color: #333333; 
    color: #fff;
    border: 1px solid #FFCD00;
}
.streaming-btn.zee5:hover {
    background-color: #555555;
}

/* ... Isi tarah baki platforms ke rules ... */

/* ✅ Naya Code: Upcoming Section ka Styling */
.upcoming-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 20px;
}

#upcoming-btn {
    background-image: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
}

#upcoming-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.upcoming-slider-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: flex-start; /* Slider ko upar se open karne ke liye */
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.upcoming-slider-modal.show {
    opacity: 1;
    visibility: visible;
}

.upcoming-slider-content {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    width: 90%;
    max-width: 1200px;
    transform: translateY(-100%); /* Shuru mein slider ko upar chhipayein */
    transition: transform 0.5s ease;
}

.upcoming-slider-modal.show .upcoming-slider-content {
    transform: translateY(20px); /* Dikhane par niche layein */
}

#close-upcoming-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.upcoming-movies-slider {
    display: flex;
    overflow-x: auto; /* Right to left scroll karne ke liye */
    scroll-behavior: smooth;
    gap: 15px;
    padding-bottom: 20px;
}

/* Scrollbar ko chhipane ke liye (optional) */
.upcoming-movies-slider::-webkit-scrollbar {
    display: none;
}
.upcoming-movies-slider {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.upcoming-movies-slider .movie-card {
    min-width: 20px; /* Slider ke andar cards ka size */
}
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1); /* 50% पर लोगो को 10% बड़ा करें */
    }
    100% {
        transform: scale(1); /* 100% पर वापस सामान्य साइज़ पर लाएँ */
    }
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.view-all-btn {
  font-size: 1rem; /* font size badhayein */
  color: #2421d4;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 5px 10px; /* padding jodein taaki button bada lage */
  border: 1px solid #2422a3; /* border jodein */
  border-radius: 5px; /* kinare gol karen */
}

.view-all-btn:hover {
  color: #fff; /* hover par text color safed karen */
  background-color: #c28325; /* hover par background color badle */
  text-decoration: none; /* hover par underline hatayein */
}
/* Horizontal sections ke heading aur button ke liye container */
.section-header {
    display: flex;
    justify-content: space-between; /* Heading ko left aur button ko right me le jayega */
    align-items: center; /* Vertically center karega */
    margin: 5px; /* Section header ke liye padding */
}

.back-button button {
  background-color: #444;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.back-button button:hover {
  background-color: #666666;
}
/* "Go Back" button ke liye styles */
.go-back-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    margin-left: 20px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background-color: #2c3e50; /* Button ka background color */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.go-back-btn:hover {
    background-color: #34495e; /* Hover par color badle */
    transform: translateY(-2px); /* Hover par thoda upar uthe */
}

.go-back-btn:active {
    transform: translateY(0); /* Click karne par wapas apni jagah par aaye */
}
/* Coming Soon Placeholder Style with Pulse Animation */
#details-storyline.coming-soon-text {
  font-size: 2.5rem;
  color: #f80404;
  font-weight: 600;
  text-align: center;
  animation: pulse-animation 2s infinite;

}

@keyframes pulse-animation {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
/* Countdown text styling */
.countdown {
  font-size: 2.5rem;
  color: #fff;
  text-align: center;
  margin-top: 0.5rem;
  width: 100px;
}

/* Remind Me button styling */
.remind-btn {
  display: block;
  margin: 1rem auto 0;
  padding: 0.5rem 1rem;
  background-color: #ff9800;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.remind-btn:disabled {
  background-color: #555;
  cursor: default;
}
/* --- Upcoming Movies Slider Fix --- */

/* 1. Modal ke andar ke container ko flex banayein */
.upcoming-movies-slider {
    display: flex;
    /* Yeh zaroori hai! Saare cards ko ek hi line mein rakhta hai */
    flex-wrap: nowrap; 
    /* Horizontal scrolling enable karta hai */
    overflow-x: auto; 
    /* Agar zaroorat ho to vertical scroll disable kar dein */
    overflow-y: hidden;
    /* Cards ke beech ki jagah */
    gap: 1rem; 
    /* Thodi padding de dein taaki scroll karne mein asani ho */
    padding: 10px 0; 
}

/* 2. Movie Cards ko sikudne se rokein */
.upcoming-movies-slider .movie-card {
    /* Isse har card ki minimum width maintain rahegi aur woh squeeze nahi hoga */
    flex-shrink: 0; 
    
    /* Zaroori: Har card ki ek nishchit width set karein */
    width: 150px; 
    /* Height ya aspect ratio bhi set kar sakte hain */
    height: auto; 
}

/* 3. Scrollbar styling (Optional: Agar aap scrollbar ka design theek karna chahte hain) */
/* Webkit browsers (Chrome, Safari) ke liye */
.upcoming-movies-slider::-webkit-scrollbar {
    height: 8px;
}

.upcoming-movies-slider::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}

.upcoming-movies-slider::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}
/* about.css */

/* General Styles for content sections like Mission and Story */
.about-section, 
.story-section {
    padding: 20px;
    margin: 20px auto;
    max-width: 900px;
    background-color: #2c2c2c; /* A slightly lighter background */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: #f1f1f1;
}

/* Styles for the "Our Promise" section */
.our-promise {
    padding: 20px;
    margin: 20px auto;
    max-width: 900px;
    background-color: #2c2c2c;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: #f1f1f1;
}

/* Heading styles for all main sections */
.about-section h1, 
.story-section h2, 
.our-promise h2 {
    color: #ffc107; /* Highlight color */
    text-align: center;
    margin-bottom: 20px;
}

/* Paragraph styles for all text content */
.about-section p, 
.story-section p, 
.our-promise p {
    font-size: 1.1em;
    line-height: 1.6;
    text-align: justify;
}

/* Styles for bullet points in the "Our Promise" section */
.our-promise ul {
    list-style: none; /* Removes default bullet points */
    padding: 0;
    margin-bottom: 20px;
}

.our-promise li {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.our-promise li::before {
    content: "\2713"; /* Unicode for a checkmark */
    color: #ffc107;
    font-weight: bold;
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: 0;
}

/* about.css */

/* ... Aapke doosre sections ke styles yahan hain ... */

/* Styles for the "Meet Our Team" section */
.team-section {
    padding: 20px;
    margin: 20px auto;
    max-width: 900px;
    background-color: #2c2c2c;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: #f1f1f1;
}

.team-section h2 {
    color: #ffc107;
    text-align: center;
    margin-bottom: 20px;
}

/* ✅ Naya code yahan se shuru hota hai */
.team-members-grid {
    display: flex;
    flex-wrap: wrap; /* Jab zarurat ho to next line me aa jayein */
    justify-content: center; /* Center-align the members */
    gap: 30px; /* Members ke beech mein space */
}

.team-member {
    background-color: #333;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    width: 200px;
    transition: transform 0.3s ease-in-out;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.team-member h3 {
    color: #ffc107;
    margin: 15px 0 5px;
}

.team-member p {
    font-size: 0.9em;
    color: #bbb;
    padding: 0 10px 15px;
}
/* ✅ Naya code yahan khatam hota hai */

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    .team-member {
        width: calc(50% - 20px); /* Mobile par 2 photos in one row */
    }
}

@media (max-width: 480px) {
    .team-member {
        width: 100%; /* Very small screens par 1 photo */
    }
}
/* privacy.css */

.privacy-section {
    padding: 20px;
    margin: 20px auto;
    max-width: 900px;
    background-color: #2c2c2c;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: #f1f1f1;
    line-height: 1.6;
}

.privacy-section h1 {
    color: #ffc107;
    text-align: center;
    margin-bottom: 10px;
}

.privacy-section p {
    font-size: 1em;
    margin-bottom: 20px;
    text-align: justify;
}

.privacy-section h3 {
    color: #fff;
    margin-top: 30px;
    margin-bottom: 10px;
    border-bottom: 2px solid #ffc107;
    display: inline-block;
    padding-bottom: 5px;
}
/* contact.css */

.contact-section {
    padding: 40px;
    margin: 20px auto;
    max-width: 600px;
    background-color: #2c2c2c;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: #f1f1f1;
    text-align: center;
}

.contact-section h1 {
    color: #ffc107;
    margin-bottom: 10px;
}

.contact-section p {
    margin-bottom: 30px;
    font-size: 1.1em;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form label {
    font-weight: bold;
    color: #fff;
    text-align: left;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 12px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #333;
    color: #f1f1f1;
    font-size: 1em;
    width: 100%;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #ffc107;
    outline: none;
}

.contact-form button {
    background-color: #ffc107;
    color: #1a1a1a;
    border: none;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #e0a800;
}

.contact-info {
    margin-top: 30px;
    font-size: 1.1em;
}

.contact-info a {
    color: #ffc107;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #e0a800;
}
/* style.css */

/* Footer Section */

footer {
    background-color: #222; /* Hamesha dark rahega */
    padding: 25px 20px;
    text-align: center;
    font-size: 0.9em;
    margin-top: 40px;
    border-top: 1px solid #444;
}

/* Copyright text, jo dark/light mode ke hisab se badlega */
footer p {
    margin: 0 0 15px 0;
    color: var(--text-color); 
}

/* Footer links, jo hamesha blue rahenge */
.footer-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: #007bff; /* Links ka color hamesha blue rahega */
    text-decoration: none;
    padding: 0 10px;
    margin: 5px 0;
    border-right: 1px solid #bbb;
    transition: color 0.3s;
    font-size: 0.9em;
}

/* Last link se border hatane ke liye */
.footer-links a:last-child {
    border-right: none;
}

.footer-links a:hover {
    color: #fff; /* Hover karne par white ho jayega */
}