/*
Theme Name:   halimmovies Movie
Description:  halimmovies Movie Child Theme
Author:       halimmovies
Template:     halimmovies
Version:      1.0.0
Text Domain:  amurhin-movie
*/

/* Import Parent Styles */
@import url("../halimmovies/style.css");

/* Custom Styles */

/* Ẩn con cú ở góc trái màn hình */
body.halimthemes {
    background-image: url(../halimmovies/assets/images/halimBg.png) !important;
    background-repeat: repeat !important;
    background-size: auto !important;
    background-position: 0 0 !important;
    background-attachment: scroll !important;
}

/* Fix for invisible dropdown options */
.top-filter-bar #form-filter select option {
    background-color: #1f2933;
    color: #e0e0e0;
}

.letter-filter-ajax .letter-movies-container {
    padding: 10px;
    margin-top: 0px;
}

/* Hero Banner Slider Styles */
.hero-banner-slider {
    width: 100%;
    margin: 0 0 30px 0;
    position: relative;
}

.hero-slide-item {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 50px;
    color: #fff;
}

.hero-badge {
    display: inline-block;
    background: #e50914;
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-year {
    font-size: 18px;
    color: #fff;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hero-description {
    font-size: 15px;
    line-height: 1.6;
    color: #e5e5e5;
    margin-bottom: 25px;
    max-width: 500px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.hero-btn i {
    font-size: 18px;
}

.hero-btn-primary {
    background: #fff;
    color: #000;
}

.hero-btn-primary:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: scale(1.05);
    color: #000;
}

.hero-btn-secondary {
    background: rgba(109, 109, 110, 0.7);
    color: #fff;
}

.hero-btn-secondary:hover {
    background: rgba(109, 109, 110, 0.9);
    transform: scale(1.05);
    color: #fff;
}

/* Owl Carousel Navigation for Hero Slider */
.hero-banner-slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 10;
}

.hero-banner-slider .owl-nav button:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

.hero-banner-slider .owl-nav .owl-prev {
    left: 20px;
}

.hero-banner-slider .owl-nav .owl-next {
    right: 20px;
}

.hero-banner-slider .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-banner-slider .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.4) !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-banner-slider .owl-dot.active {
    background: #fff !important;
    width: 30px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slide-item {
        height: 450px;
    }

    .hero-slide-content {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 14px;
        max-width: 100%;
    }

    .hero-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .hero-banner-slider .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero-slide-item {
        height: 350px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-description {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Always show filter movie - chỉ áp dụng cho desktop */
@media (min-width: 1024px) {
    #filter-movie.collapse {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Force show even without .in class */
    #filter-movie.collapse:not(.in) {
        display: block !important;
    }

    #expand-filter-movie {
        display: none !important;
    }
}

/* Mobile và tablet: giữ nguyên chức năng click */
@media (max-width: 1023px) {
    #expand-filter-movie {
        display: block !important;
    }
}

/* Menu spacing improvements - Cải thiện khoảng cách menu */
.navbar-nav > li {
    margin-right: 5px !important;
}

.navbar-nav > li > a {
    padding: 12px 15px !important;
    margin: 0 2px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

.navbar-nav > li > a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Dropdown menu spacing */
.navbar-nav .dropdown-menu {
    margin-top: 0 !important;
    border-radius: 4px !important;
    padding: 8px 0 !important;
}

.navbar-nav .dropdown-menu > li > a {
    padding: 10px 20px !important;
    line-height: 1.6 !important;
}

.navbar-nav .dropdown-menu > li > a:hover {
    background-color: rgba(229, 9, 20, 0.1) !important;
}

/* Mega menu spacing nếu có */
.mega-dropdown .dropdown-menu {
    padding: 15px !important;
}

/* Responsive menu spacing */
@media (max-width: 991px) {
    .navbar-nav > li {
        margin-right: 0 !important;
    }

    .navbar-nav > li > a {
        padding: 12px 15px !important;
        margin: 2px 0 !important;
    }
}