/*
Theme Name: CineInfo Movie Website
Theme URI: https://themoviesflix.fun
Description: Professional movie information website
Version: 2.0
Author: Your Name
License: GPL v2 or later
Text Domain: cineinfo
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #141414;
    color: #fff;
    line-height: 1.6;
}

a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: #e50914;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #1a1a1a;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo {
    font-size: 32px;
    font-weight: bold;
    color: #e50914;
}

.site-logo span {
    color: #ffd700;
}

.main-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-menu a {
    padding: 10px 15px;
    border-radius: 5px;
}

.main-menu a:hover {
    background: #2a2a2a;
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-box input {
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    background: #2a2a2a;
    color: #fff;
    width: 200px;
}

.search-box button {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background: #e50914;
    color: #fff;
    cursor: pointer;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: 60vh;
}

.page-title {
    font-size: 36px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #e50914;
}

/* Movie Grid */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.movie-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
    cursor: pointer;
}

.movie-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.5);
}

.movie-poster {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e50914;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.movie-info {
    padding: 15px;
}

.movie-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.movie-details {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #b3b3b3;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    padding: 40px 0 20px;
    margin-top: 60px;
    border-top: 1px solid #2a2a2a;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    color: #b3b3b3;
    font-size: 14px;
}

.no-movies {
    text-align: center;
    padding: 60px 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    .main-menu ul {
        flex-direction: column;
        gap: 10px;
    }
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}
