/*
Theme Name: Movie Hub Theme
Author: Gemini & You
Description: Full-width clean aur responsive movie listing WordPress theme jisme alag Trending Movies section, Latest Movies list aur single movie detail page shamil hai.
Version: 4.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #222;
    line-height: 1.5;
    width: 100%;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header & Search Bar */
.site-header {
    background: #1a202c;
    color: #fff;
    padding: 15px 12px;
    text-align: center;
    width: 100%;
}

.site-header h1 a {
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.search-bar-box {
    background: #0d47a1;
    padding: 10px 12px;
    text-align: center;
    width: 100%;
}

.search-bar-box input[type="text"] {
    padding: 8px 14px;
    border-radius: 18px;
    border: none;
    width: 70%;
    max-width: 450px;
    font-size: 14px;
    outline: none;
}

.search-bar-box button {
    padding: 8px 18px;
    border-radius: 18px;
    border: 1px solid #fff;
    background: #1976d2;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 4px;
}

.search-bar-box button:hover {
    background: #1565c0;
}

/* Notice Alert Box - Full Width */
.notice-banner {
    background: #fff9c4;
    border-bottom: 1px solid #fbc02d;
    color: #b71c1c;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 10px 12px;
    width: 100%;
}

/* Main Section Containers - Full Width (No Side Space) */
.movie-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: #fff;
    border-bottom: 1px solid #d8dee6;
}

/* Section Heading */
.section-heading {
    background: #e3f2fd;
    padding: 11px 14px;
    font-weight: 700;
    font-size: 16.5px;
    text-align: center;
    color: #0d47a1;
    border-top: 1px solid #bbdefb;
    border-bottom: 1px solid #bbdefb;
}

.trending-section .section-heading {
    background: #dbeafe;
    color: #0b3d91;
    font-size: 17px;
}

/* Movie List Item */
.movie-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 16px;
    width: 100%;
    transition: background 0.15s ease;
}

.movie-item:hover {
    background: #f8fafc;
}

/* Poster Thumbnail */
.movie-thumb {
    width: 74px;
    height: 100px;
    flex-shrink: 0;
    margin-right: 16px;
    border-radius: 4px;
    overflow: hidden;
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
}

.trending-section .movie-thumb {
    width: 80px;
    height: 108px;
}

.movie-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.movie-info {
    flex: 1;
    min-width: 0;
}

.movie-title {
    font-size: 16px;
    font-weight: 700;
    color: #b71c1c;
    margin-bottom: 7px;
    line-height: 1.4;
    word-wrap: break-word;
}

.trending-section .movie-title {
    font-size: 16.5px;
}

.movie-item:nth-child(even) .movie-title {
    color: #1b5e20;
}

.movie-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    background: #b71c1c;
    color: #fff;
    padding: 3px 11px;
    border-radius: 12px;
}

.movie-item:nth-child(even) .movie-badge {
    background: #2e7d32;
}

/* Pagination */
.pagination {
    padding: 16px;
    text-align: center;
    background: #fafbfc;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 7px 13px;
    margin: 0 3px;
    background: #0d47a1;
    color: #fff;
    border-radius: 4px;
    font-size: 13.5px;
    font-weight: bold;
}

.pagination span.current {
    background: #b71c1c;
}

/* Single Movie Detail Page - Full Width */
.single-movie-box {
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: #fff;
    padding: 16px;
    text-align: center;
}

.breadcrumb-bar {
    font-size: 13.5px;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 14px;
}

.breadcrumb-bar a {
    color: #0d47a1;
}

.single-movie-title {
    background: #e3f2fd;
    color: #0d47a1;
    font-size: 17px;
    padding: 12px;
    margin-bottom: 16px;
    border-radius: 4px;
}

.single-poster {
    max-width: 280px;
    margin: 0 auto 16px auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

.single-poster img {
    width: 100%;
    height: auto;
    display: block;
}

.file-info-bar {
    background: #eceff1;
    color: #b71c1c;
    font-weight: bold;
    font-size: 15.5px;
    padding: 9px;
    margin: 16px 0 12px 0;
    border-top: 1px solid #cfd8dc;
    border-bottom: 1px solid #cfd8dc;
}

.movie-details-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 16px auto;
    border-collapse: collapse;
    text-align: left;
}

.movie-details-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    font-size: 14.5px;
}

.movie-details-table td.label {
    font-weight: bold;
    color: #222;
    width: 30%;
}

.movie-details-table td.val {
    color: #b71c1c;
    font-weight: 600;
}

.movie-extra-content {
    text-align: center;
    padding: 10px 0;
    font-size: 14.5px;
}

/* Footer */
.site-footer {
    background: #1a202c;
    color: #cbd5e0;
    text-align: center;
    padding: 18px 10px;
    font-size: 13.5px;
    width: 100%;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .movie-item {
        padding: 10px 12px;
    }

    .movie-thumb,
    .trending-section .movie-thumb {
        width: 66px;
        height: 92px;
        margin-right: 12px;
    }

    .movie-title,
    .trending-section .movie-title {
        font-size: 14.5px;
    }
}
