.navbar {
    background: rgba(0, 0, 0, 0.7); /* Efek transparan */
    backdrop-filter: blur(10px); /* Efek blur */
    position: sticky; /* Membuat navbar tetap di atas saat scrolling */
    top: 0; /* Menjaga navbar tetap di atas */
    z-index: 1000; /* Pastikan di atas elemen lain */
}

.navbar-brand {
    color: #0084ff;
    font-weight: bold;
}

.navbar-brand:hover {
    color: #0084ff;
}

.navbar-toggler-icon {
    background-color: #0084ff; /* Warna ikon menu */
}

.search-bar {
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-left: auto;
    margin-right: 100px; /* Adjust this value to move the search form more to the left */
    position: relative;
}
.page-link1:hover {
    z-index: 2;
    color: #e9ecef;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.page-link1 {
    position: relative;
    display: block;
    color: #fff;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 999;
}


.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-item {
    display: inline-block;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    background-color: rgba(9, 130, 229, 1);
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.page-link:hover {
    background-color: rgba(9, 130, 229, 1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.page-item.active .page-link {
    background-color: rgba(9, 130, 229, 1);
    color: white;
    font-weight: bold;
    cursor: default;
}

.page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
}

.search-bar input {
    border-radius: 30px 0 0 30px;
    border: none;
    padding: 5px 10px;
    width: 200px;
}


.search-bar button {
    border-radius: 0 30px 30px 0;
    border: none;
    background-color: #0084ff;
    color: white;
    cursor: pointer;
}

.search-bar button:hover {
    background-color: #0084ff;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    border-radius: 5px;
}

.autocomplete-dropdown div {
    padding: 10px;
    cursor: pointer;
    color: black;
}

.autocomplete-dropdown div:hover {
    background-color: #949393;
}

footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: #ccc;
    padding: 20px 0;
}

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

footer .footer-links li {
    display: inline;
}

footer .footer-links a {
    color: #ccc;
    text-decoration: none;
}

footer .footer-links a:hover {
    color: #0084ff;
    text-decoration: underline;
}

footer .footer-bottom {
    text-align: center;
    margin-top: 15px;
}

/* Default ukuran untuk desktop */
.imemek {
    width: 280px; /* Lebar default */
    height: 40px; /* Menjaga proporsi */
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .imemek {
        width: 280px; /* Ukuran lebih kecil */
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .imemek {
        width: 270px; /* Ukuran lebih kecil */
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .imemek {
        width: 260px; /* Ukuran paling kecil */
    }
}


/* Tambahkan efek animasi */
 .card {
            display: flex;
            flex-direction: column;
            height: 100%; /* Pastikan ketinggian kartu penuh */
            transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transisi untuk efek hover pada kartu */
            position: relative; /* Agar button dapat diposisikan di atas */
            overflow: hidden; /* Menjaga elemen tetap dalam area kartu */
            color: #181616;
            border-radius: 30px;
        }

        
        .card-body {
            position: relative; /* Agar button dapat diposisikan di atas */
            color: #ffffff;
            border-radius: 30px;
        }

        .card:hover {
            transform: scale(1.03); /* Membesarkan kartu saat hover */
            box-shadow: 0 10px 15px rgba(0, 0, 0, 1); /* Bayangan untuk efek 3D */
        }

        .card-img-top {
            flex-shrink: 0; /* Gambar tidak akan mengecil */
            transition: transform 0.3s ease-in-out; /* Transisi halus pada gambar */
            width: 100%; /* Pastikan gambar mengisi penuh area */
            height: 400px; /* Atur tinggi sesuai dengan kebutuhan */
            max-height: 400px;
            object-fit: cover; /* Memastikan gambar tetap proporsional */
        }

        .card-img-top:hover {
            transform: scale(1.03); /* Efek zoom pada gambar saat hover */
        }

        .nav-item.dropdown:hover .dropdown-menu {
            display: block;
            visibility: visible;
            opacity: 1;
            transition: opacity 0.2s ease-in-out;
          }      
          .navbar-dark .navbar-nav .nav-link {
            color: rgba(255, 255, 255, 0.75);
          }
          .navbar-dark .navbar-nav .nav-link:hover {
            color: white;
          }
          .logo-section {
            padding: 50px 0;
            background-color: #f8f9fa;
            overflow: hidden;
          }
        
          .logo-container {
            display: flex;
            animation: marquee 20s linear infinite;
            justify-content: center;
            flex-wrap: nowrap;
            width: 100%;
          }
          .logo-container img {
                  width: 100%;
                  max-width: 200px;
                  height: auto;
                  object-fit: contain;
                  margin: 50px;
              }
        
          .logo {
            max-width: 200px;
            margin: 15px;
            transition: transform 0.3s ease;
          }
        
          .logo:hover {
            transform: scale(1.1);
          }
        
          @keyframes marquee {
            0% {
              transform: translateX(100%);
            }
            100% {
              transform: translateX(-100%);
            }
        
        
          }

          /* Atur ukuran carousel untuk tampilan desktop */
#promoCarousel {
    width: 100%; /* Secara default, carousel mengambil lebar penuh */
    }
    
    /* Menyesuaikan carousel di desktop (50% dari ukuran penuh) */
    @media (min-width: 992px) {
    #promoCarousel {
      width: 70%;  /* Atur carousel agar hanya 50% dari lebar layar di desktop */
      margin: 0 auto; /* Tengah-kan carousel di layar */
    }
    }
    
    /* Pastikan tampilan di mobile tetap penuh */
    @media (max-width: 991px) {
    #promoCarousel {
      width: 100%; /* Pada mobile, carousel tetap mengambil lebar penuh */
    }
    }
    
      .carousel-inner .carousel-item img {
        max-height: 600px;
        object-fit: cover;
        width: 100%;
      }
    
      /* Adjust table for small devices */
      @media (max-width: 768px) {
        .table {
          font-size: 12px;
        }
      }
      /* Atur kontainer logo untuk gulir horizontal */
    .logo-container {
    display: flex;
    gap: 10px; /* Jarak antar logo */
    flex-wrap: nowrap;
    }
    .logo {
        flex-shrink: 0; /* Pastikan logo tidak menyusut */
        width: 150px; /* Ukuran tetap logo */
        height: auto; /* Menjaga rasio aspek logo */
        }
        
        /* Styling untuk responsif di mobile */
        @media (max-width: 768px) {
        .logo-container {
          display: flex;
          flex-wrap: nowrap; /* Pastikan logo tetap dalam satu baris */
        }
        
        .logo {
          width: 100vw; /* Setiap logo akan mengambil lebar layar penuh (1 per 1) */
          max-width: 150px; /* Ukuran maksimum logo */
        }
        }



.btn-play-now {
    position: absolute; /* Menempatkan button di atas gambar */
    top: 70%; /* Posisi vertikal tengah */
    left: 50%; /* Posisi horizontal tengah */
    transform: translate(-50%, -50%); /* Mengatur posisi agar tepat di tengah */
    z-index: 1; /* Pastikan di atas gambar */
    background-color: rgba(9, 130, 229, 1); /* Warna latar belakang transparan */
    color: white; /* Warna teks */
    border-radius: 5px; /* Sedikit pembulatan sudut */
    padding: 10px 20px; /* Padding button */
    border: none;
    cursor: pointer;
}

.btn-play-now:hover {
    background-color: rgba(9, 130, 229, 1); /* Efek hover */
}

body {
            background-color: #121212; /* Dark theme */
            color: #f5f5f5; /* Light text */
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Font modern */
        }

        .navbar {
            background: rgba(0, 0, 0, 0.7); /* Transparan */
            backdrop-filter: blur(10px);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .navbar-brand {
            color: #0084ff;
            font-weight: bold;
            font-size: 1.6rem;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }

        .navbar-brand:hover {
            color: #0084ff;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
        }

        .card {
            background-color: #1f1f1f;
            border-radius: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            color: #f5f5f5;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .btn-link {
            background-color: #0084ff; /* Warna latar belakang */
            color: #fff; /* Warna teks */
            border: 2px solid transparent;
            border-radius: 12px; /* Sudut membulat */
            padding: 4px 20px; /* Padding untuk ukuran tombol */
            text-decoration: none;
            font-size: 1rem;
            transition: all 0.3s ease-in-out; /* Efek transisi */
            margin: 5px;
        }

        .btn-container {
            text-align: center; /* Menempatkan semua tombol di tengah */
            margin-bottom: 5px; /* Ruang di bawah container jika diperlukan */
        }


        .btn-link:hover {
            background-color: #0084ff; /* Warna latar belakang saat hover */
            color: #fff; /* Warna teks tetap putih */
            border: 2px solid #f5f5f5; /* Border saat hover */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Bayangan */
            transform: translateY(-2px); /* Efek naik sedikit */
        }

        .btn-link:focus {
            outline: none; /* Menghilangkan outline saat fokus */
            box-shadow: 0 0 0 2px rgba(9, 130, 229, 1); /* Outline fokus */
        }

        #streaming-iframe {
            width: 100%;
            height: 500px;
            border: none;
            display: none;
        }

        #video-player {
            width: 100%;
            height: 500px;
            display: none;
        }

        footer {
            background-color: rgba(0, 0, 0, 0.8);
            color: #ccc;
            padding: 20px 0;
        }

        footer .footer-links {
            list-style: none;
            display: flex;
            justify-content: center;
            gap: 15px;
        }

        footer .footer-links a {
            color: #ccc;
            text-decoration: none;
        }

        footer .footer-links a:hover {
            color: #0084ff;
            text-decoration: underline;
        }

        footer .footer-bottom {
            text-align: center;
            margin-top: 15px;
        }

        #movie-synopsis {
            text-align: justify;
            margin: 10px 0; /* Opsional, untuk memberi jarak di sekitar elemen */
        }

        .info-box {
            border: none;
            padding: 20px;
            margin: 20px 0;
            border-radius: 12px;
            background-color: #1a1a1a;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            transition: box-shadow 0.3s ease-in-out, transform 0.2s ease;
        }

        .info-box:hover {
            transform: scale(1.02);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
        }

        .info-box h3 {
            margin-top: 0;
            font-size: 1.5em;
            color: #0084ff;
        }

        .info-box p {
            color: #ccc;
            font-size: 1em;
            line-height: 1.6;
        }