/* ===== CSS Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-bg: #2B2B2B;
    --color-bg-light: #333333;
    --color-bg-card: #3a3a3a;
    --color-text: #D4D4D4;
    --color-text-muted: #B3B3B3;
    --color-accent: #FFFFFF;
    --color-accent-hover: #D4D4D4;
    --color-white: #FFFFFF;
    --font-main: 'Ubuntu', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

/* ===== Layout ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 140px 0;
}

/* ===== Section Titles - More Impactful ===== */
.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 80px;
    text-align: center;
    color: var(--color-white);
    position: relative;
}

.section-title span {
    position: relative;
    display: inline-block;
}

.section-title span::before,
.section-title span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
}

.section-title span::before {
    right: calc(100% + 24px);
    background: linear-gradient(90deg, transparent, var(--color-accent));
}

.section-title span::after {
    left: calc(100% + 24px);
}

.subsection-title {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-white);
    margin-bottom: 40px;
    text-align: center;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
}

.nav-scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.2em;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 48px;
}

.nav-menu a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-menu a:hover {
    color: var(--color-white);
}

.nav-social {
    display: flex;
    gap: 24px;
}

.nav-social a {
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: var(--transition);
}

.nav-social a:hover {
    color: var(--color-accent);
    opacity: 1;
    transform: scale(1.1);
}

.nav-imdb {
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    border: 2px solid currentColor;
    border-radius: 4px;
    padding: 4px 6px;
    line-height: 1;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        /* Vignette effect - aggressive */
        radial-gradient(
            ellipse at center,
            transparent 0%,
            transparent 20%,
            rgba(0, 0, 0, 0.4) 45%,
            rgba(0, 0, 0, 0.7) 65%,
            rgba(0, 0, 0, 0.95) 100%
        ),
        /* Color tint */
        linear-gradient(
            135deg,
            rgba(10, 10, 10, 0.5) 0%,
            rgba(15, 15, 26, 0.4) 50%,
            rgba(26, 26, 46, 0.5) 100%
        );
    z-index: 1;
}

/* Dot pattern overlay */
.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(
        circle,
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px
    );
    background-size: 3px 3px;
    pointer-events: none;
}


.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(3.5rem, 12vw, 8rem);
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--color-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 0 60px rgba(59, 130, 246, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.4rem, 4vw, 2rem);
    color: var(--color-white);
    margin-bottom: 50px;
    font-weight: 600;
    letter-spacing: 0.4em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

.hero-cta {
    display: inline-block;
    padding: 18px 48px;
    background-color: transparent;
    color: var(--color-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 4px;
    border: 2px solid var(--color-white);
    transition: var(--transition);
}

.hero-cta:hover {
    background-color: var(--color-white);
    color: var(--color-bg);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.15);
}

/* ===== Reel Section ===== */
.reel-section {
    background-color: var(--color-bg-light);
    position: relative;
}

.reel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.reel-container {
    max-width: 1100px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.reel-cta {
    text-align: center;
    margin-top: 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background-color: transparent;
    color: var(--color-text);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--color-white);
    color: var(--color-bg);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

/* ===== About Section ===== */
.about-section {
    background-color: var(--color-bg);
    position: relative;
}

.about-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.about-image img {
    border-radius: 12px;
    border: 6px solid var(--color-white);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.about-intro {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 40px;
    color: var(--color-white);
}

.tesla-logo {
    height: 1.00em;
    vertical-align: baseline;
    display: inline;
    position: relative;
    top: 0.15em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 0;
}

.stat {
    background: linear-gradient(135deg, var(--color-bg-card) 0%, #222 100%);
    padding: 20px 16px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-icon {
    height: 2.2rem;
    object-fit: contain;
    margin-bottom: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.tools {
    margin-bottom: 40px;
}

.tools h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.tool-tags {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.tag {
    padding: 10px 8px;
    background-color: var(--color-bg-card);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.tag:hover {
    border-color: var(--color-accent);
    color: var(--color-white);
}

.about-bio {
    color: var(--color-text);
    line-height: 1.8;
    font-size: 1.15rem;
    margin-top: 40px;
}

.about-bio .tesla {
    color: #cc0000;
}

/* ===== Filmography Section ===== */
.filmography-section {
    background-color: var(--color-bg-light);
    position: relative;
}

.filmography-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.poster-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.poster {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.poster:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.poster img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 2/3;
    object-fit: cover;
}

.poster-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
    opacity: 0;
    transition: var(--transition);
}

.poster:hover .poster-overlay {
    opacity: 1;
}

.poster-overlay span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-white);
    display: block;
    text-align: center;
}

/* ===== Poster Cards (with text below) ===== */
.poster-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-bg-card);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.poster-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.poster-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
}

.poster-info {
    padding: 16px;
    text-align: center;
}

.poster-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 4px;
}

.poster-year {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ===== Cinematics Grid ===== */
.cinematics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cinematic-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-bg-card);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cinematic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.cinematic-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.cinematic-info {
    padding: 16px;
    text-align: center;
}

.cinematic-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 4px;
}

.cinematic-studio {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== Footer ===== */
.footer {
    padding: 80px 0;
    background-color: var(--color-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-white);
    display: block;
    margin-bottom: 28px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 28px;
}

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

.footer-links a:hover {
    color: var(--color-white);
}

.footer-copy {
    font-size: 0.8rem;
    color: #555;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .poster-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cinematics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .section {
        padding: 100px 0;
    }

    .container-wide {
        padding: 0 24px;
    }

    .poster-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .cinematics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .poster-card:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        margin-bottom: 50px;
    }

    .section-title span::before,
    .section-title span::after {
        width: 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-image {
        max-width: 220px;
        margin: 0 auto;
    }

    .about-intro {
        font-size: 1.3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat {
        padding: 20px 12px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .tool-tags {
        grid-template-columns: repeat(4, 1fr);
    }

    .poster-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 50px;
    }

    .cinematics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        letter-spacing: 0.15em;
    }

    .section-title span::before,
    .section-title span::after {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat {
        padding: 16px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .tool-tags {
        grid-template-columns: repeat(3, 1fr);
    }

    .tag {
        font-size: 0.75rem;
        padding: 8px 4px;
    }

    .poster-grid,
    .cinematics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-intro {
        font-size: 1.1rem;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }

    .hero {
        background: linear-gradient(135deg, var(--color-bg) 0%, #0f0f1a 50%, #1a1a2e 100%);
    }
}
