/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #f8fafc;      /* main page background */
    --bg-secondary: #ffffff;    /* sections / panels */
    --bg-card: #ffffff;         /* cards */
    --bg-hover: #e5eaf3;        /* hover background */
    --text-primary: #0f172a;    /* main text */
    --text-secondary: #334155;  /* secondary text */
    --text-muted: #64748b;      /* muted text */
    --accent: #2563eb;          /* primary accent */
    --accent-hover: #1d4ed8;    /* accent hover */
    --border: #d0d7e2;          /* borders */
    --gradient-overlay: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.85) 70%,
        rgba(0, 0, 0, 1) 100%
    );
}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-title {
    color:#FFFFFF;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-primary);
}

.logo a {
    color: inherit;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 60px 20px;
}

.hero-section h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

/* Hero Backdrop */
.hero-backdrop {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.hero-overlay {
    width: 100%;
    background: var(--gradient-overlay);
    padding: 60px 0 40px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-logline {
    font-size: 24px;
    color:#FFFFFF;
    max-width: 900px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
    padding: 40px 0 80px;
}

.project-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}



.poster-wrapper {
    aspect-ratio: 2/3;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}



.poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 14px;
}

.project-title {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

/* Project Detail Page */
.project-page {
    padding: 40px 20px 80px;
}

.project-details {
    margin-bottom: 60px;
}

.details-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
}

.detail-poster {
    width: 100%;
    border-radius: 8px;
}

.poster-placeholder.large {
    aspect-ratio: 2/3;
}

.project-title-main {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.logline {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-style: italic;
}

.meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.script-in-development {
    background: rgba(246, 175, 59, 0.2);
    color: #211808;
}

.status-badge.script-ready {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.status-badge.in-development {
    background: rgba(234, 179, 8, 0.2);
    color: #7a6615;
}

.status-badge.in-production {
    background: rgba(249, 115, 22, 0.2);
    color: #fb923c;
}

.status-badge.completed {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.genres {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.genre-tag {
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.section {
    margin-bottom: 30px;
}

.section h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--accent);
}

.section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.btn-download {
    display: inline-block;
    padding: 12px 28px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-download:hover {
    background: var(--accent-hover);
}

/* Cast & Crew */
.cast-crew {
    margin-top: 60px;
}

.cast-crew h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 25px;
}

.person-card {
    text-align: center;
}

.person-photo-wrapper {
    aspect-ratio: 2/3;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.person-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 48px;
    font-weight: 700;
}

.person-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.person-role {
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 3px;
}

.character-name {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}

/* Footer */
footer {
    margin-top: auto;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 30px 0;
    text-align: center;
    color: var(--text-muted);
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .details-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .poster-column {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-logline {
        font-size: 18px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
}