/*
Theme Name: MovieNema
Theme URI: https://example.com/movienema
Author: Your Name
Author URI: https://example.com
Description: A modern, animated, and interactive movie theme for WordPress inspired by HDMovie2.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: movienema
Tags: movies, animated, interactive, modern, responsive
*/

@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

/* Main Stylesheet - Add your styles below */ 

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #181a20;
    color: #fff;
    margin: 0;
    padding: 0;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.site-header, .site-footer {
    background: #23252b;
    padding: 20px 0;
}
.header-flex, .footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-logo a, .footer-logo a {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
}
.main-nav .nav-menu, .footer-nav .footer-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}
.nav-menu li a, .footer-menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-menu li a:hover, .footer-menu li a:hover {
    color: #ff3c3c;
}
.header-search {
    position: relative;
}
.search-form {
    display: flex;
    align-items: center;
}
.search-field {
    padding: 8px 12px;
    border-radius: 20px 0 0 20px;
    border: none;
    outline: none;
    font-size: 1rem;
}
.search-submit {
    background: #ff3c3c;
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}
.search-submit:hover {
    background: #e32b2b;
}
.hero-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #23252b 60%, #ff3c3c 100%);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://images.unsplash.com/photo-1467987506553-8f3916508521?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    opacity: 0.2;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.hero-title {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 2px 8px #000;
}
.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 1px 4px #000;
}
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 30px;
    background: #ff3c3c;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    cursor: pointer;
}
.btn:hover {
    background: #e32b2b;
    transform: scale(1.05);
}
.section-title {
    font-size: 2rem;
    margin: 40px 0 20px 0;
    color: #ff3c3c;
    text-align: left;
}
.featured-carousel-section {
    margin-bottom: 40px;
}
.featured-carousel {
    position: relative;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(.77,0,.18,1);
}
.carousel-item {
    min-width: 300px;
    margin-right: 20px;
    opacity: 0.5;
    transform: scale(0.95);
    transition: opacity 0.3s, transform 0.3s;
}
.carousel-item.active {
    opacity: 1;
    transform: scale(1.05);
    z-index: 2;
}
.carousel-caption {
    background: rgba(24,26,32,0.8);
    color: #fff;
    padding: 10px;
    text-align: center;
    border-radius: 0 0 10px 10px;
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #23252b;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s;
}
.carousel-arrow.left { left: 10px; }
.carousel-arrow.right { right: 10px; }
.carousel-arrow:hover { background: #ff3c3c; }
.movie-grid-section {
    margin-bottom: 40px;
}
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
.movie-card {
    background: #23252b;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.movie-card:hover, .movie-card.hovered {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 24px rgba(255,60,60,0.2);
    z-index: 2;
}
.movie-thumb img {
    width: 100%;
    display: block;
    border-bottom: 2px solid #ff3c3c;
}
.movie-info {
    padding: 16px;
    text-align: center;
}
.movie-title {
    font-size: 1.2rem;
    margin: 0 0 8px 0;
    color: #fff;
}
.movie-year {
    color: #ff3c3c;
    font-size: 1rem;
}
.movie-hover {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(24,26,32,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}
.movie-card:hover .movie-hover, .movie-card.hovered .movie-hover {
    opacity: 1;
}
.btn-quickview {
    background: #fff;
    color: #ff3c3c;
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: background 0.2s, color 0.2s;
}
.btn-quickview:hover {
    background: #ff3c3c;
    color: #fff;
}
.single-movie {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 40px 0;
    background: #23252b;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    padding: 32px;
}
.movie-poster img {
    border-radius: 12px;
    max-width: 300px;
    width: 100%;
}
.movie-details {
    flex: 1;
    min-width: 250px;
}
.movie-meta {
    margin-bottom: 16px;
    color: #ff3c3c;
    font-size: 1.1rem;
}
.movie-description {
    margin-bottom: 16px;
}
.movie-cast {
    margin-bottom: 16px;
    color: #fff;
}
.movie-actions .btn {
    margin-right: 16px;
    margin-bottom: 8px;
}
.site-footer {
    margin-top: 40px;
    background: #181a20;
    color: #fff;
    padding: 40px 0 0 0;
}
.footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-logo a {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}
.footer-social a {
    color: #fff;
    margin-right: 16px;
    font-size: 1.3rem;
    transition: color 0.2s;
}
.footer-social a:hover {
    color: #ff3c3c;
}
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #23252b;
    color: #aaa;
    font-size: 0.95rem;
}
@media (max-width: 900px) {
    .header-flex, .footer-flex, .single-movie {
        flex-direction: column;
        align-items: flex-start;
    }
    .movie-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}
@media (max-width: 600px) {
    .container {
        width: 98%;
    }
    .hero-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.3rem;
    }
    .single-movie {
        padding: 16px;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1001;
}
.hamburger span {
    display: block;
    height: 4px;
    width: 28px;
    background: #fff;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}
@media (max-width: 900px) {
    .main-nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #23252b;
        box-shadow: 0 4px 16px rgba(0,0,0,0.2);
        transform: translateY(-200%);
        transition: transform 0.3s;
        z-index: 1000;
    }
    .main-nav.nav-open {
        transform: translateY(0);
    }
    .main-nav .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    .main-nav .nav-menu li {
        border-bottom: 1px solid #333;
        text-align: center;
        padding: 16px 0;
    }
    .hamburger {
        display: flex;
    }
} 