/* ===================================
   TUSSEN 10 EN 12 - Main Stylesheet
   A Dutch Film by Peter Hoogendoorn
   =================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

/* CSS Variables */
:root {
    --color-bg: #0a0a0a;
    --color-bg-secondary: #111111;
    --color-bg-overlay: rgba(10, 10, 10, 0.85);
    --color-text: #e8e8e8;
    --color-text-muted: #888888;
    --color-text-dim: #555555;
    --color-accent: #c4a35a;
    --color-accent-hover: #d4b56a;
    --color-border: #222222;
    --color-border-light: #333333;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition-default: 0.3s ease;
    --transition-slow: 0.6s ease;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    font-weight: 400;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Selection */
::selection {
    background-color: var(--color-accent);
    color: var(--color-bg);
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 300;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
    color: var(--color-text-muted);
}

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

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

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   Navigation
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition-default);
    background: linear-gradient(to bottom, rgba(10,10,10,0.9) 0%, transparent 100%);
}

.nav.scrolled {
    background: var(--color-bg-overlay);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

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

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--color-text);
}

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

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-menu a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--transition-default);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-text);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-default);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 50%, #151515 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(196, 163, 90, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(100, 100, 100, 0.05) 0%, transparent 40%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease-out 0.2s backwards;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    animation: fadeInUp 1.2s ease-out 0.4s backwards;
}

.hero-title em {
    font-style: italic;
    color: var(--color-accent);
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    animation: fadeInUp 1.2s ease-out 0.6s backwards;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 3rem;
    font-size: 0.85rem;
    color: var(--color-text-dim);
    animation: fadeInUp 1.2s ease-out 0.8s backwards;
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-text-muted);
    stroke-width: 2;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--color-border-light);
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-default);
}

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

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

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

/* ===================================
   Sections
   =================================== */
section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.section-title {
    color: var(--color-text);
}

.section-subtitle {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 1rem auto 0;
}

/* ===================================
   About Section
   =================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-frame {
    position: relative;
    aspect-ratio: 3/4;
    background: var(--color-bg-secondary);
    overflow: hidden;
}

.about-image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--color-border-light);
    z-index: 2;
}

.about-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter var(--transition-slow);
}

.about-image-frame:hover img {
    filter: grayscale(0%);
}

.about-image-accent {
    position: absolute;
    top: 2rem;
    right: -2rem;
    width: 80%;
    height: 80%;
    border: 1px solid var(--color-accent);
    opacity: 0.3;
    z-index: -1;
}

.about-text h2 {
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-dim);
}

.detail-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-text);
}

/* ===================================
   Cast & Crew
   =================================== */
.cast-grid,
.crew-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.cast-card,
.crew-card {
    text-align: center;
    padding: 2rem;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    transition: all var(--transition-default);
}

.cast-card:hover,
.crew-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-5px);
}

.cast-image,
.crew-image {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-bg);
    border: 2px solid var(--color-border-light);
}

.cast-image img,
.crew-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter var(--transition-default);
}

.cast-card:hover .cast-image img,
.crew-card:hover .crew-image img {
    filter: grayscale(0%);
}

.cast-name,
.crew-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.cast-role {
    font-size: 0.9rem;
    color: var(--color-accent);
    font-style: italic;
}

.crew-role {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-dim);
}

/* ===================================
   Gallery / Stills
   =================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-bg-secondary);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-default);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
}

.gallery-item:nth-child(4) {
    grid-column: span 2;
}

/* ===================================
   Trailer Section
   =================================== */
.trailer-section {
    background: var(--color-bg-secondary);
}

.trailer-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.trailer-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    cursor: pointer;
    transition: all var(--transition-default);
}

.trailer-placeholder:hover {
    background: linear-gradient(135deg, #222222 0%, #111111 100%);
}

.play-button {
    width: 100px;
    height: 100px;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all var(--transition-default);
}

.trailer-placeholder:hover .play-button {
    background: var(--color-accent);
    transform: scale(1.1);
}

.play-button svg {
    width: 40px;
    height: 40px;
    fill: var(--color-accent);
    margin-left: 5px;
    transition: fill var(--transition-default);
}

.trailer-placeholder:hover .play-button svg {
    fill: var(--color-bg);
}

.trailer-text {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* Video embed */
.trailer-video {
    width: 100%;
    height: 100%;
}

.trailer-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===================================
   Awards Section
   =================================== */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.award-item {
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: border-color var(--transition-default);
}

.award-item:hover {
    border-color: var(--color-accent);
}

.award-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.5rem;
}

.award-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-accent);
    stroke-width: 1.5;
    fill: none;
}

.award-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.award-festival {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.award-year {
    font-size: 0.75rem;
    color: var(--color-text-dim);
    margin-top: 0.5rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-text-dim);
}

.footer-credits {
    display: flex;
    gap: 2rem;
}

/* ===================================
   Page Headers
   =================================== */
.page-header {
    padding: 10rem 0 5rem;
    text-align: center;
    background: linear-gradient(to bottom, var(--color-bg-secondary) 0%, var(--color-bg) 100%);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
}

.page-header-content {
    position: relative;
}

.page-title {
    margin-bottom: 1rem;
}

.page-subtitle {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-text-muted);
}

/* ===================================
   Content Pages
   =================================== */
.content-section {
    padding: 5rem 0;
}

.content-text {
    font-size: 1.05rem;
    line-height: 2;
}

.content-text p + p {
    margin-top: 1.5rem;
}

/* Quote Block */
.quote-block {
    margin: 4rem 0;
    padding: 3rem;
    background: var(--color-bg-secondary);
    border-left: 3px solid var(--color-accent);
}

.quote-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.quote-author {
    font-size: 0.9rem;
    color: var(--color-text-dim);
}

/* ===================================
   Lightbox
   =================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-default);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-border-light);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-default);
}

.lightbox-close:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-text);
    stroke-width: 2;
}

.lightbox-close:hover svg {
    stroke: var(--color-bg);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right var(--transition-default);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4) {
        grid-column: span 1;
    }
    
    .about-details {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    section {
        padding: 5rem 0;
    }
    
    .container,
    .container-narrow {
        padding: 0 1.5rem;
    }
    
    .nav-inner {
        padding: 0 1.5rem;
    }
    
    .cast-grid,
    .crew-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Animations
   =================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ===================================
   Timeline
   =================================== */
.timeline {
    position: relative;
    padding-left: 2rem;
    margin-top: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
    padding-left: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--color-gold);
    border-radius: 50%;
    transform: translateX(-5px);
    box-shadow: 0 0 0 4px var(--color-bg), 0 0 20px rgba(196, 163, 90, 0.3);
}

.timeline-date {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
    
    .timeline-item::before {
        left: -1.5rem;
        width: 10px;
        height: 10px;
        transform: translateX(-4px);
    }
}
