/* CSS Variables for Premium Aesthetic */
:root {
    --color-bg: #2a2a2a;
    --color-bg-darker: #222222;
    --color-text: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-accent: #d2c0b0; /* Beige */
    --color-accent-hover: #e5d7c9;
    
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-accent-hover);
}

/* Typography Classes */
.title {
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem; /* Reduced to pull logline up */
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
}

.logline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--color-accent); /* Cream / Beige */
    background: radial-gradient(ellipse closest-side, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0) 100%);
    padding: 1rem 3rem;
    display: inline-block;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 3rem;
    color: var(--color-accent);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--color-accent);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.lead {
    font-size: 1.4rem;
    font-weight: 300;
    font-family: var(--font-body);
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Layout & Containers */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 8rem 0;
}

.banner-section {
    width: 100%;
    margin: 4rem 0;
}

.banner-section img {
    width: 100%;
    height: auto;
    display: block;
}

.bg-darker {
    background-color: var(--color-bg-darker);
}

.bg-accent {
    background-color: rgba(210, 192, 176, 0.05);
    border-top: 1px solid rgba(210, 192, 176, 0.2);
    border-bottom: 1px solid rgba(210, 192, 176, 0.2);
}

.bg-light-optimistic {
    background-color: #ffffff;
    color: #1a1a1a;
}

.bg-light-optimistic .section-title {
    color: #1a1a1a;
    text-shadow: none;
}

.bg-light-optimistic p, 
.bg-light-optimistic .bio {
    color: #333333;
}

.bg-light-optimistic h3,
.bg-light-optimistic .news-card {
    color: #1a1a1a;
}

.bg-light-optimistic .news-thumbnail {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.bg-light-optimistic .director-quote {
    color: #111111;
    border-left-color: #e50914; /* Streaming red accent */
    font-weight: 400;
}

.bg-light-optimistic .director-name {
    color: #e50914;
    font-weight: 600;
}

.bg-light-optimistic .director-portrait {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Softer shadow for light background */
}

.text-center {
    text-align: center;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-text);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--color-accent);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline, .btn-outline-dark {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg);
    border: 1px solid var(--color-accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-accent);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text);
}

.btn-secondary:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    padding: 0.6rem 1.5rem;
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-bg);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
}

.btn-outline-dark:hover {
    background-color: rgba(210, 192, 176, 0.1);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 5%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    background-image: url('assets/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.8) 100%);
    z-index: 2;
}

.hero-content {
    max-width: 1000px;
    z-index: 3;
    position: relative;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Content Splits (Image + Text) */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-split.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.content-split.reverse > * {
    direction: ltr;
}

.text-content p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

.story-image {
    width: 75%;
    margin: 0 auto;
    border-radius: 8px;
    display: block;
}

.gradient-bg {
    background: linear-gradient(45deg, #111, #222);
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
}

/* Director Section */
.director-quote {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 1rem;
    line-height: 1.4;
    border-left: 3px solid var(--color-accent);
    padding-left: 2rem;
}

.director-name {
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 2rem !important;
}

.director-portrait {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    display: block;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.team-member {
    text-align: center;
}

.member-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(210, 192, 176, 0.3);
    object-fit: cover;
    display: block;
}

.team-member h3 {
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.role {
    color: var(--color-accent);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.bio {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* News Section */
.news-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.news-card {
    width: 100%;
    max-width: 600px;
    background: transparent;
    border: none;
    overflow: hidden;
    transition: var(--transition-smooth);
    text-decoration: none;
    color: var(--color-text);
    display: flex;
    flex-direction: row;
    align-items: center;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.news-thumbnail {
    width: 150px;
    height: 100px;
    object-fit: cover;
    display: block;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.news-card:hover .news-thumbnail {
    filter: brightness(1.1);
}

.news-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-info h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

.news-source {
    color: var(--color-accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
}

/* Support Section */
.support-text {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--color-text-muted);
}

.support-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.support-card {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 3rem 2rem;
    border-radius: 8px;
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    transition: var(--transition-smooth);
}

.support-card:hover {
    transform: translateY(-10px);
    border-color: rgba(210, 192, 176, 0.3);
}

.support-card h3 {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.support-card p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: #000;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-family: var(--font-heading);
}

.footer-links p, .footer-contact p {
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.footer-contact strong {
    color: var(--color-accent);
}

.footer-contact a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-contact a:hover {
    color: var(--color-accent);
}

.copyright {
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
}

/* Animations (To be triggered by JS) */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 900px) {
    .content-split, .content-split.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav-links {
        display: none; /* In a real app, implement a hamburger menu */
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}

/* Legends Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.video-card {
    cursor: pointer;
    transition: transform 0.3s ease;
    border: none;
    border-radius: 4px;
    overflow: hidden;
    background-color: transparent;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    width: 100%;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
}

.play-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(210, 192, 176, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.play-button::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #000;
    margin-left: 5px;
}

.video-card:hover .play-button {
    background-color: rgba(210, 192, 176, 1);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(210, 192, 176, 0.4);
}

.video-info {
    padding: 1.5rem;
    text-align: center;
}

.video-info h3 {
    margin: 0 0 0.5rem 0;
    color: var(--color-text);
    font-size: 1.2rem;
}

.video-info p {
    margin: 0;
    color: var(--color-accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    width: 90%;
    max-width: 1000px;
    position: relative;
}

.lightbox video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,1);
    background: #000;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    color: var(--color-accent);
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1005;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.lightbox-close:hover {
    color: var(--color-text);
}
