/* Reset and Base Styles */
:root {
    --bg-color: #050505;
    --text-color: #f0f0f0;
    --accent-color: #d4af37;
    /* Muted Gold */
    --secondary-text: #a0a0a0;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.6s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title.center {
    display: block;
    text-align: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.nav-list {
    display: flex;
    gap: 3rem;
}

.nav-list a {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)), url('assets/images/hero.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: zoomSlow 20s infinite alternate;
}

@keyframes zoomSlow {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.laurel {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    color: var(--accent-color);
    text-transform: uppercase;
    border-top: 1px solid var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
    display: inline-block;
    padding: 10px 20px;
}

.main-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.main-title .highlight {
    color: transparent;
    -webkit-text-stroke: 1px var(--text-color);
    font-style: italic;
}

.tagline {
    font-size: 1.2rem;
    color: var(--secondary-text);
    margin-bottom: 3rem;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.scroll-indicator .line {
    width: 1px;
    height: 50px;
    background-color: var(--text-color);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Sections General */
.section {
    padding: 8rem 5%;
}

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

/* Synopsis Section */
.split-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.poster-frame {
    position: relative;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.poster-frame img {
    width: 100%;
    display: block;
    object-fit: contain;
}

.lead-text {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-bottom: 2rem;
    line-height: 1.4;
}

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

/* Trailer Section */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    background-color: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, #222 0%, #000 100%);
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-placeholder:hover {
    background: radial-gradient(circle, #333 0%, #000 100%);
}

.play-button {
    width: 80px;
    height: 80px;
    border: 1px solid var(--text-color);
    border-radius: 50%;
    position: relative;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.play-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-left: 20px solid var(--text-color);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cta-button.primary {
    background-color: var(--text-color);
    color: var(--bg-color);
    font-weight: 600;
}

.cta-button.primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--bg-color);
}

.release-info {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

/* Watch Section */
.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.watch-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
}

.episode-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.episode-card.active {
    border-color: var(--accent-color);
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.05), rgba(0, 0, 0, 0));
}

.episode-card.locked {
    opacity: 0.5;
}

.episode-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.episode-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.play-btn-large {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--bg-color);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: background-color 0.3s ease;
}

.play-btn-large:hover {
    background-color: #fff;
}

/* Subjects Section - Full Width */
.subjects-container {
    width: 100%;
}

.subject-hero {
    width: 100%;
    height: 80vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Gradient Overlays */
.subject-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 100%);
    z-index: 1;
}

.subject-hero.right-align::before {
    background: linear-gradient(to left, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 100%);
}

.subject-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 5%;
    margin-left: 5%;
}

.subject-hero.right-align {
    justify-content: flex-end;
}

.subject-hero.right-align .subject-content {
    margin-left: 0;
    margin-right: 5%;
    text-align: right;
}

.subject-content h3 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.subject-content .role {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
}

.subject-content .bio {
    font-size: 1.1rem;
    color: #ddd;
    line-height: 1.8;
    max-width: 500px;
}

.subject-hero.right-align .bio {
    margin-left: auto;
}

/* Mobile Responsive for Subjects */
@media (max-width: 768px) {
    .subject-hero {
        height: auto;
        min-height: auto;
        flex-direction: column;
        background-image: none !important;
    }

    .subject-hero::before,
    .subject-hero.right-align::before {
        display: none;
    }

    .subject-hero::after {
        content: '';
        width: 100%;
        height: 400px;
        background-size: cover;
        background-position: center;
        order: -1;
    }

    .subject-hero:nth-child(1)::after {
        background-image: url('assets/images/sanaka.jpg');
    }

    .subject-hero:nth-child(2)::after {
        background-image: url('assets/images/veda.jpg');
    }

    .subject-hero:nth-child(3)::after {
        background-image: url('assets/images/dhira.jpg');
    }

    .subject-content h3 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .subject-content,
    .subject-hero.right-align .subject-content {
        margin: 0;
        padding: 2rem;
        text-align: left;
        max-width: 100%;
        background-color: var(--bg-color);
    }
}

/* Filmmakers Section */
.dark-alt {
    background-color: #0f0f0f;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.card {
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card .role {
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

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

/* Footer */
.footer {
    padding: 4rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
    letter-spacing: 0.2em;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--secondary-text);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.social-links a:hover {
    color: var(--text-color);
}

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

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
    }

    .nav-list.active {
        right: 0;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .screening-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .ticket-btn {
        margin-top: 1rem;
    }
}