/* =========================
   BASE
========================= */

body {
  margin: 0;
  background: black;
  color: white;
  font-family: Arial, sans-serif;
}

h1, h2 {
  font-family: "Roboto Slab", serif;
}

/* =========================
   NAVBAR + SEARCH
========================= */

.navbar {
  position: absolute;
  width: 100%;
  z-index: 10;
  background: transparent;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.watchlist-link {
  color: #fff;
  text-decoration: none;
  padding: 6px 12px;
  /* border: 1px solid #fff; */
  /* border-radius: 6px; */
  /* transition: all 0.3s ease; */
  font-size: 14px;
}

.watchlist-link:hover {
  background-color: #c7bda0;
  color: #000;
}

.search-bar::placeholder {
  color: #333;
}
.search-box {
  display: flex;
  align-items: center;
}

.search-bar {
  border-radius: 0;
  border: none;
  padding: 8px 12px;
  outline: none;
}

.search-btn {
  border-radius: 0;
  border: none;
  background-color: #743522;
  color: white;
  padding: 8px 16px;
  cursor: pointer;
}

.search-btn:hover {
  background-color: #763d2c;
}
/* =========================
   HERO SECTION (HOME)
========================= */

.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-section video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(50%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.hero-title {
  font-family: "Archivo Black", sans-serif;
  font-size: 3rem;
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 50px;
}

/* =========================
   TRENDING SLIDER
========================= */

.card-slider {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  scroll-behavior: smooth;
}

.card-slider::-webkit-scrollbar {
  display: none;
}

/* =========================
   MOVIE CARDS
========================= */

.movie-card {
  min-width: 160px;
  height: 220px;
  cursor: pointer;
  transition: 0.3s;
}

.movie-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.movie-card:hover {
  transform: scale(1.08);
}

/* =========================
   GRID SYSTEM
========================= */

.grid-10 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 50px;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

/* =========================
   SMALL CARDS (LANG / GENRE)
========================= */

.small-card {
  padding: 25px;
  text-align: center;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 600;
  color: white;

  background: linear-gradient(135deg, #5F374B, #8C6A5D, #EEE4B1);
  background-size: 300% 300%;
  animation: gradientMove 6s ease infinite;

  transition: 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.small-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =========================
   BUTTONS (HERO)
========================= */

.btn-custom {
  background: #1f1010;
  color: #DFD0B8;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
}

/* =========================
   DETAILS PAGE HERO
========================= */

.hero {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.95),
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.3)
  );
}

.content {
  position: relative;
  padding: 60px;
  max-width: 700px;
}

/* =========================
   DETAILS UI
========================= */

.meta span {
  margin-right: 15px;
  font-size: 14px;
  opacity: 0.8;
}

.genres {
  margin: 15px 0;
}

.tag {
  display: inline-block;
  padding: 5px 12px;
  margin-right: 8px;
  background: #DFD0B8;
  color: black;
  border-radius: 20px;
  font-size: 12px;
}

p {
  line-height: 1.6;
  color: #ddd;
}

/* =========================
   DETAIL BUTTONS
========================= */

.btn {
  display: inline-block;
  padding: 10px 15px;
  margin-right: 10px;
  background: #DFD0B8;
  color: black;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.btn.dark {
  background: #333;
  color: white;
}

.btn.back {
  background: transparent;
  border: 1px solid white;
  color: white;
}

/* =========================
   SEARCH
========================= */

.search-bar {
  width: 250px;
  border-radius: 20px;
  padding: 8px 12px;
  border: none;
  outline: none;
  background: #DFD0B8;
  color: black;
}

/* =========================
   FOOTER
========================= */

.footer {
  background: #1f1010;
  color: #aaa;
  padding: 50px 20px;
  margin-top: 50px;
  font-size: 14px;
}

.footer-top {
  margin-bottom: 30px;
  color: #fff;
  font-size: 16px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.footer-links a {
  display: block;
  color: #aaa;
  text-decoration: none;
  margin: 8px 0;
}

.footer-links a:hover {
  color: #DFD0B8;
}

.footer-social {
  margin-bottom: 20px;
}

.footer-social p {
  color: white;
  margin-bottom: 10px;
}

.icons a {
  color: #aaa;
  font-size: 22px;
  margin-right: 15px;
  transition: 0.3s;
}

.icons a:hover {
  color: #DFD0B8;
  transform: scale(1.2);
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 15px;
  color: #666;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
  .grid-10 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-10 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

