/* Productions Page Gallery Styles - Netflix / Hotstar Redesign */

.productions-page {
    padding-top: var(--header-height);
    background-color: #f8f9fa;
}

.productions-intro .text-serif {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

/* Filter Tab Bar (Based on Reference Image) */
.filter-wrapper {
    padding: 20px 0;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.filter-wrapper::-webkit-scrollbar {
    display: none;
}

.filter-tabs {
    display: inline-flex;
    gap: 12px;
    background: transparent;
    padding: 5px;
}

.filter-tab {
    padding: 12px 28px;
    border: none;
    background: #fff;
    color: #444;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.filter-tab:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.filter-tab.active {
    background: var(--primary-color, #C0FF00);
    color: #000;
    box-shadow: 0 4px 15px rgba(192, 255, 0, 0.3);
}

/* Netflix Style Cards */
.netflix-card {
    position: relative;
    cursor: pointer;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.card-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.card-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 2;
}

/* Play Button Overlay (Hover only) */
.card-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
}

.play-icon-circle {
    width: 65px;
    height: 65px;
    background: var(--primary-color, #C0FF00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 22px;
    transform: scale(0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-icon-circle i {
    margin-left: 3px;
}

/* Bottom Content Overlay */
.card-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 3;
    transition: transform 0.3s ease;
}

.card-video-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-video-category {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 4px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-icon {
    font-size: 24px;
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.brand-icon.yt {
    color: #ff0000;
}

.brand-icon.vm {
    color: #1ab7ea;
}

/* Interactive Hover States */
.netflix-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.netflix-card:hover .card-thumb {
    transform: scale(1.1);
}

.netflix-card:hover .card-play-overlay {
    opacity: 1;
}

.netflix-card:hover .play-icon-circle {
    transform: scale(1);
}

.netflix-card:hover .card-info-overlay {
    transform: translateY(-5px);
}

/* Video Modal Styling */
#videoModal .modal-content {
    border-radius: 20px;
    overflow: hidden;
}

.bg-black {
    background: #000;
}

.opacity-1 {
    opacity: 1 !important;
}

/* View More Section */
.view-more-container p {
    font-size: 1.3rem;
    color: #555;
    font-weight: 500;
}

/* Responsive Optimization */
@media (max-width: 991px) {
    .card-video-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .productions-intro h2 {
        font-size: 2.8rem;
    }

    .filter-tab {
        padding: 10px 20px;
        font-size: 14px;
    }

    .card-info-overlay {
        padding: 15px;
    }

    .play-icon-circle {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}