/* style.css */
.movie-row {
gap: .6rem;
scroll-behavior: smooth;
}
.movie-card { flex: 0 0 auto; }
.movie-card img { height: 200px; object-fit: cover; border-radius: 4px; }
@media (max-width: 576px) {
.movie-card img { height: 150px; }
.movie-card { width: 120px !important; }
}


/* maak een prettige marge binnen de kaarten */
.card-title { font-size: .9rem; }

.header-image {
  background: url('/assets/images/header-image.png') no-repeat center center;
  background-size: cover;
  height: 400px; /* kan aangepast worden */
  position: relative;
}

.header-image .overlay {
  background: rgba(0, 0, 0, 0.5); /* afbeelding verduisteren */
  width: 100%;
  height: 100%;
}


/* Netflix-style dark theme */
body {
  background-color: #141414;
  color: #fff;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.navbar {
  background-color: transparent !important;
  border-bottom: none;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.navbar-brand {
  color: #e50914 !important;
  font-weight: 800;
  font-size: 1.5rem;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin-left: 6rem;
  margin-top: 1rem;
}

.navbar-brand img {
  height: 40px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .navbar-brand img {
    height: 32px;
  }
}

.card{
  background-color: #000000 ;
}

.card-body {
  font-size: 1rem;
  font-weight: 500;
  color: #000000;
  background-color: #000000 ;
}



.nav-link {
  color: #aaa !important;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 500;
}
.nav-link:hover {
  color: #fff !important;
}

.navbar .navbar-nav.ms-auto {
  margin-right: 4rem;
  font-family: sans-serif;
}

.header-image img {
  max-height: 300px;
  object-fit: cover;
  border-radius: 0;
}

/* Movie carousel */
.movie-row {
  display: flex;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
  gap: 1rem;
}
.movie-row::-webkit-scrollbar {
  display: none;
}

.movie-card {
  flex: 0 0 auto;
  background-color: #222;
  border: none;
  transition: transform 0.2s ease;
  width: 180px !important;
  color: white;
  text-decoration: none;
}
.movie-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 4px;
}
.movie-card:hover {
  transform: scale(1.08);
  z-index: 2;
}

/* Bottom latest grid */
.latest-grid .card {
  background-color: #222;
  border: none;
}
.latest-grid .card-img-top {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px 4px 0 0;
}
@media (max-width: 768px) {
  .latest-grid .card-img-top { height: 160px; }
}

/* Responsive */
@media (max-width: 768px) {
  .movie-card {
    width: 140px !important;
  }
  .movie-card img {
    height: 200px;
  }
}

/* --- HERO HEADER --- */
.hero-header {
  position: relative;
  height: 80vh;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(to top, rgba(20, 20, 20, 1), rgba(20, 20, 20, 0) 30%),
    linear-gradient(to bottom, rgba(20, 20, 20, 1), rgba(20, 20, 20, 0) 30%),
    linear-gradient(to left, rgba(20, 20, 20, 1), rgba(20, 20, 20, 0) 30%),
    linear-gradient(to right, rgba(20, 20, 20, 1), rgba(20, 20, 20, 0) 30%);
  z-index: 1;
}

.hero-content {
  position: absolute;
  bottom: 20%;
  left: 5%;
  z-index: 2;
  color: #fff;
  max-width: 600px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
}

.hero-desc {
  font-size: 1.1rem;
  color: #ddd;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.hero-buttons .btn {
  font-weight: bold;
  border-radius: 4px;
}



.btn-danger {
  background-color: #e50914 !important;
  border: none;
  
}
.btn-danger:hover {
  background-color: #f40612 !important;
}

.btn-secondary {
  background-color: rgba(109, 109, 110, 0.7);
  color: #fff;
  border: none;
}
.btn-secondary:hover {
  background-color: rgba(109, 109, 110, 1);
}





@media (max-width: 768px) {
  .hero-header {
    height: 60vh;
  }
  .hero-content {
    bottom: 15%;
    left: 5%;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-desc {
    font-size: 0.9rem;
  }
}
