body {
    background-color: #111;
    color: black;
    font-family: Arial;
    padding-top: 70px;
}

/* ✅ Navbar FIX */
.custom-navbar {
    background-color: #000 !important;
}

.navbar-brand {
    color: #ffffff !important;
    font-size: 1.6rem;
    font-weight: bold;
}

/* Hero */
.hero {
    height: 70vh;
    background: url('images/interstellar.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 50px;
}

.hero-content h1 {
    font-size: 3rem;
}

/* Movies */
.movie-box {
    background: #222;
    transition: 0.3s;
}

.movie-box img {
    height: 250px;
    object-fit: cover;
}

.movie-box:hover {
    transform: scale(1.05);
}

/* Button hover */
.watch-btn:hover {
    transform: scale(1.1);
}
.card-body h5 {
    color: #ffffff !important;
    font-weight: bold;
}

.card-body p {
    color: #cccccc;
}
/* 🔥 Movie Card */
.movie-box {
    position: relative;
    background: #1c1c1c;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

/* Image */
.movie-box img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

/* Hover zoom */
.movie-box:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.5);
}

/* ✅ FIXED overlay (no white issue) */
.movie-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    opacity: 0;
    transition: 0.3s;
}

/* Show overlay on hover */
.movie-box:hover::before {
    opacity: 1;
}

/* Card content */
.card-body {
    position: absolute;
    bottom: 10px;
    width: 100%;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s;
}

/* Show content on hover */
.movie-box:hover .card-body {
    opacity: 1;
    transform: translateY(0);
}

/* Title */
.card-body h5 {
    color: #fff;
    font-weight: bold;
}

/* Button */
.watch-btn {
    background-color: #e50914;
    border: none;
}

/* Button hover */
.watch-btn:hover {
    background-color: #ff1e2d;
}