﻿/* ========== Global Base ========== */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

/* Background and Text */
body {
    margin-bottom: 60px;
    padding-top: 70px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #f1f1f1;
    font-family: 'Poppins', sans-serif;
}

/* Focus outlines */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #D4AF37; /* GOLD */
}

/* Placeholder alignment fixes */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ========== Navbar & Header ========== */
.navbar,
.main-header {
    background: rgba(15, 23, 42, 0.97) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    z-index: 2000;
}

    .navbar .nav-link,
    #main-menu .nav-link {
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #f8fafc !important;
        transition: color 0.3s ease;
    }

        .navbar .nav-link:hover,
        .navbar .nav-link.active,
        #main-menu .nav-link:hover {
            color: #D4AF37 !important; /* GOLD */
        }

#menu-toggler {
    cursor: pointer;
    color: #fff;
    transition: color 0.3s ease;
}

    #menu-toggler:hover {
        color: #D4AF37; /* GOLD */
    }

/* Slide-down mobile menu */
#main-menu {
    display: none;
    background-color: #1e293b;
    transition: all 0.3s ease-in-out;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

    #main-menu.active {
        display: block;
        animation: slideDown 0.4s ease forwards;
    }

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Search Box ========== */
.search-box input {
    background-color: #0f172a;
    border: 1px solid #334155;
    color: #f1f5f9;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    width: 240px;
}

    .search-box input::placeholder {
        color: #94a3b8;
        font-size: 0.9rem;
    }

    .search-box input:focus {
        outline: none;
        box-shadow: 0 0 0 2px #D4AF37; /* GOLD */
    }

/* ========== Carousel Controls ========== */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(212, 175, 55, 0.9) !important; /* GOLD */
    border-radius: 50%;
    padding: 20px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-inner {
    padding-bottom: 10px;
}

/* ========== Movie Card ========== */
.movie-card {
    background-color: #111;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
}

    .movie-card:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4); /* GOLD glow */
    }

/* 🎬 Movie Card - Bigger cinematic style */
.movie-card {
    background-color: #161a1f;
    border-radius: 12px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
    height: 100%;
    overflow: hidden;
}

    .movie-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(212,175,55,0.35); /* GOLD */
    }

/* Larger thumbnail ratio */
.movie-thumb-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.movie-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.movie-card:hover .movie-img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

/* Overlay at bottom of image */
.movie-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 70%);
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 0 0 12px 12px;
}

.movie-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.movie-overlay .badge {
    background: linear-gradient(135deg, #D4AF37, #F7E27C) !important; /* GOLD */
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Hover Watch Overlay button */
.movie-hover {
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 5;
}

.movie-card:hover .movie-hover {
    opacity: 1;
}

.movie-hover a.btn {
    border-radius: 30px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    background: linear-gradient(90deg, #D4AF37, #F7E27C) !important; /* GOLD */
    border: none;
}

    .movie-hover a.btn:hover {
        background: linear-gradient(90deg, #F7E27C, #D4AF37) !important;
        transform: scale(1.05);
    }

/* ========== Blog Card ========== */
.blog-card {
    background-color: #1e293b;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

    .blog-card:hover {
        transform: scale(1.03);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    }

    .blog-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .blog-card .card-body {
        color: #fff;
        background-color: #1e293b;
        padding: 1rem;
    }

    .blog-card h5 {
        color: #fff;
        font-weight: 600;
        min-height: 48px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .blog-card p {
        color: #cbd5e1;
        font-size: 0.9rem;
        min-height: 60px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* ========== Video Player ========== */
#moviePlayer {
    border-radius: 10px;
    background-color: #0f172a;
}

.video-js {
    border-radius: 12px;
    overflow: hidden;
    background-color: #0f172a;
}

.vjs-theme-draqra .vjs-control-bar {
    background: rgba(15, 23, 42, 0.95);
}

.vjs-theme-draqra .vjs-play-progress,
.vjs-theme-draqra .vjs-volume-level {
    background-color: #D4AF37 !important; /* GOLD */
}

.vjs-theme-draqra .vjs-big-play-button {
    background-color: rgba(212, 175, 55, 0.9) !important;
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
    transition: transform 0.2s ease-in-out;
}

    .vjs-theme-draqra .vjs-big-play-button:hover {
        transform: scale(1.1);
        background-color: #D4AF37 !important;
    }

/* ========== Footer ========== */
footer {
    background: linear-gradient(180deg, #1e293b 0%, #334155 100%);
    border-top: 2px solid #D4AF37 !important; /* GOLD */
    color: #cbd5e1;
    padding: 2rem 0;
    text-align: center;
}

    footer a {
        color: #cbd5e1;
        transition: color 0.3s ease;
    }

        footer a:hover {
            color: #D4AF37; /* GOLD */
        }

    footer h5 {
        color: #fff;
        font-weight: 600;
        margin-bottom: 0.75rem;
    }

    footer p {
        color: #cbd5e1;
        font-size: 0.95rem;
    }

    footer i {
        transition: transform 0.2s ease;
    }

        footer i:hover {
            transform: scale(1.2);
        }

/* ========== Scrollbar Movie in Index Styling ========== */
.hero-slide {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.text-shadow {
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

/* ================================
   GOLD OVERRIDES FOR BOOTSTRAP RED
   ================================ */

/* Replace .text-danger with gold */
.text-danger {
    color: #D4AF37 !important;
}

/* Replace Bootstrap .btn-danger with gold button */
.btn-danger {
    background: linear-gradient(90deg, #D4AF37, #F7E27C) !important;
    border: none !important;
    color: #000 !important;
    font-weight: 600;
}

    .btn-danger:hover {
        background: linear-gradient(90deg, #F7E27C, #D4AF37) !important;
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
        transform: scale(1.05);
    }

/* PAGINATION GOLD THEME */
.page-link {
    color: #D4AF37 !important; /* text color gold */
    background-color: #0f172a !important; /* dark bg */
    border: 1px solid #D4AF37 !important;
}

    .page-link:hover {
        background-color: #D4AF37 !important;
        color: #000 !important;
    }

.page-item.active .page-link {
    background-color: #F7E27C !important;
    border-color: #D4AF37 !important;
    color: #000 !important;
    font-weight: 700;
}

.page-item.disabled .page-link {
    color: #555 !important;
    border-color: #777 !important;
}


.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #D4AF37 !important;
}

.text-gold {
    color: #D4AF37 !important;
}




.navbar .nav-link:hover,
#main-menu .nav-link:hover,
.gold-hover:hover {
    color: #D4AF37 !important;
}
.btn-gold {
    background-color: #D4AF37 !important;
    color: #000 !important;
    font-weight: 600;
    border-radius: 6px;
}

    .btn-gold:hover {
        background-color: #F7E27C !important;
        color: #000 !important;
    }

.btn-outline-gold {
    border: 1px solid #D4AF37 !important;
    color: #D4AF37 !important;
}

    .btn-outline-gold:hover {
        background-color: #D4AF37 !important;
        color: #000 !important;
    }


/* Gold hover override for header nav items */
.main-header .nav-link:hover {
    color: #D4AF37 !important; /* Gold */
}

.logo-container {
    height: 50px; 
    width: 180px; 
    overflow: hidden; 
    display: flex;
    align-items: center;
}

    .logo-container img {
        width: 180px;
        height: auto;
        object-fit: cover; 
    }


/* ================================
   HERO SECTION (scroll-safe)
================================ */

/* Full-bleed without overflow bugs */
.hero-section {
    height: 90vh;
    width: 100vw; /* full width */
    position: relative;
    overflow: hidden;
    left: 50%;
    right: 50%;
    margin-left: -50vw; /* proper full-bleed trick */
    margin-right: -50vw;
}

/* Prevent browser from creating horizontal scroll */
html, body {
    overflow-x: hidden;
}

/* Force carousel to match hero height */
#heroMovieCarousel,
#heroMovieCarousel .carousel-inner,
#heroMovieCarousel .carousel-item {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

/* Background slide */
.hero-slide {
    height: 100%;
    width: 100%;
    background-size: 100% 100%; /* stretch to fit width & height */
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    border: none; /* REMOVE debug border, causes scroll */
}

/* Dark overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

/* Content positioning */
.hero-content {
    position: absolute;
    bottom: 12%;
    width: 100%;
    text-align: center;
    z-index: 2;
}

    /* Title glow */
    .hero-content h1 {
        font-size: 4rem;
        font-weight: 900;
        text-shadow: 0 0 10px rgba(0,0,0,0.7), 0 0 30px rgba(0,0,0,0.8), 0 0 60px rgba(0,0,0,1);
        overflow: hidden; /* prevents text-shadow overflow scroll */
    }

    /* Genre badge */
    .hero-content .badge {
        font-size: 1rem;
        padding: 8px 16px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0,0,0,0.6);
    }




