/*
Theme Name: Cinematographer Pro
Theme URI: https://yourwebsite.com
Author: Your Name
Author URI: https://yourwebsite.com
Description: Complete elite cinematographer portfolio with featured work selection, category navigation, multiple videos per project, press reviews system, social media integration, and advanced customization options.
Version: 3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cinematographer-pro
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-elevated: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --text-tertiary: #666666;
    --accent: #ffffff;
    --hover-text: #ffffff;
    --border: rgba(255, 255, 255, 0.1);
    --grid-gap: 2px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.02em;
}

/* Animated Grid Background */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    animation: gridFadeIn 2s ease forwards;
}

@keyframes gridFadeIn {
    to { opacity: 1; }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--border);
}

/* Enhanced Logo */
.logo {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-family: var(--font-main);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.logo:hover {
    color: var(--accent);
    transform: translateY(-1px);
}

/* Navigation with Dropdown */
nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav > a,
nav > .nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

nav > a:hover,
nav > .nav-item:hover > a {
    color: var(--text-primary);
}

/* Dropdown Menu */
.nav-item {
    position: relative;
}

.nav-item > a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.875rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.813rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding-left: 2rem;
}

/* Hero Section - REDUCED SIZE */
.hero {
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 4%;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

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

.hero-video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-tagline {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    color: var(--text-secondary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

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

/* Showreel Section */
.showreel-section {
    padding: 6rem 4% 4rem;
    position: relative;
}

.showreel-section h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.showreel-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: var(--bg-elevated);
}

.showreel-container iframe,
.showreel-container video {
    width: 100%;
    height: 100%;
    border: none;
}

/* Work Section */
.work-section {
    padding: 6rem 4% 4rem;
    position: relative;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0;
}

.filter-tab {
    background: transparent;
    border: none;
    color: var(--text-tertiary);
    font-size: 0.813rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 1rem 0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    font-family: inherit;
}

.filter-tab:hover,
.filter-tab.active {
    color: var(--text-primary);
}

.filter-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--text-primary);
}

/* Work Grid - WITH SPACING */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: var(--grid-gap);
    background: var(--border);
    border: 1px solid var(--border);
}

.work-item {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--bg-primary);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.work-item:hover {
    border-color: rgba(255,255,255,0.2);
    transform: scale(1.01);
}

.work-item-media {
    width: 100%;
    height: 100%;
    position: relative;
}

.work-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-item:hover .work-thumbnail {
    transform: scale(1.05);
}

.work-item-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-item:hover .work-item-video {
    opacity: 1;
}

.work-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-item:hover .work-item-info {
    transform: translateY(0);
}

.work-title {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    color: var(--hover-text);
}

.work-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.work-category {
    color: var(--hover-text);
}

/* Project Hero with Video */
.project-hero {
    position: relative;
    width: 100%;
    padding-top: 100px;
}

.project-video-hero {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-secondary);
    position: relative;
}

.project-video-hero iframe,
.project-video-hero video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Video Title Overlay - FADES ON HOVER */
.project-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 4% 6rem 4%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    z-index: 10;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.project-video-hero:not(:hover) .project-title-overlay {
    opacity: 0;
}

.project-title-overlay h1,
.project-title-overlay .work-category,
.project-title-overlay .project-meta-top {
    pointer-events: auto;
}

.project-title-overlay h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.project-meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.project-meta-top .work-category {
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

/* Related Videos Section */
.related-videos-section {
    padding: 3rem 4%;
    max-width: 1400px;
    margin: 0 auto;
}

.related-videos-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

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

.related-video-item {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--bg-elevated);
    cursor: pointer;
    overflow: hidden;
    border: 2px solid var(--border);
    transition: border-color 0.3s ease;
}

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

.related-video-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Project Details Section */
.project-details-section {
    padding: 4rem 4%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.project-sidebar {
    position: sticky;
    top: 120px;
}

.project-credits-full {
    background: var(--bg-elevated);
    padding: 2rem;
    border: 1px solid var(--border);
}

.project-credits-full h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--text-tertiary);
    font-family: var(--font-main);
    font-weight: 500;
}

.credits-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.credit-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.credit-label {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.credit-value {
    color: var(--text-primary);
    font-size: 0.938rem;
}

/* Press Reviews - MULTIPLE */
.press-reviews-section {
    margin: 4rem 0;
}

.press-reviews-section h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.press-review-item {
    background: var(--bg-elevated);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--text-primary);
}

.press-quote {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
    color: var(--text-primary);
}

.press-source {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.press-source a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.press-source a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.press-rating {
    margin-top: 0.75rem;
    font-size: 1.125rem;
}

/* Project Description */
.project-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Case Study */
.case-study-section {
    margin-bottom: 4rem;
}

.case-study-section h3 {
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.case-study-section p {
    font-size: 1.063rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Director Testimonial */
.director-testimonial {
    background: var(--bg-elevated);
    padding: 3rem;
    margin: 4rem 0;
    border-left: 3px solid var(--text-primary);
    position: relative;
}

.testimonial-quote {
    font-size: 1.5rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-family: var(--font-display);
}

.testimonial-author {
    font-size: 0.938rem;
    color: var(--text-secondary);
}

.testimonial-author strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* Parallax Stills */
.project-stills {
    margin: 4rem 0;
}

.project-still-parallax {
    position: relative;
    height: 70vh;
    overflow: hidden;
    margin-bottom: 2rem;
}

.project-still-parallax img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    will-change: transform;
}

.still-caption {
    position: absolute;
    bottom: 2rem;
    left: 4%;
    right: 4%;
    color: var(--text-primary);
    font-size: 1rem;
    padding: 1.5rem;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.project-still-parallax.in-view .still-caption {
    opacity: 1;
    transform: translateY(0);
}

/* BTS Section */
.bts-section {
    margin: 4rem 0;
}

.bts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--grid-gap);
    background: var(--border);
}

.bts-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
}

.bts-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.bts-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    font-size: 0.875rem;
    color: var(--text-primary);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.bts-item:hover .bts-caption {
    transform: translateY(0);
}

/* About Section - IMPROVED */
.about-section {
    padding: 8rem 4%;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: start;
}

.about-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border: 1px solid var(--border);
}

.about-text h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* Client Logos Section (replaces Awards) */
.clients-section {
    padding: 8rem 4%;
    background: var(--bg-secondary);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto 0;
    align-items: center;
}

.client-logo {
    text-align: center;
    padding: 2rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.client-logo img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
}

/* Contact Section with Social */
.contact-section {
    padding: 8rem 4%;
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.25rem;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
}

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

/* Social Media Icons */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.social-link {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: var(--text-primary);
    transform: translateY(-3px);
}

/* Footer */
footer {
    padding: 4rem 4%;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-content {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 1024px) {
    .work-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .project-details-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .project-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1.5rem 4%;
    }
    
    nav {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-tabs {
        gap: 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 2rem;
    }
    
    .project-title-overlay {
        padding: 2rem 4% 4rem;
    }
    
    .director-testimonial,
    .press-review-item {
        padding: 1.5rem;
    }
    
    .testimonial-quote {
        font-size: 1.125rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0.5rem;
        box-shadow: none;
    }
    
    .nav-item:hover .dropdown-menu {
        display: block;
    }
}

/* Loading State */
.loading {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* CLIENT LOGO FIX - Prevent stretching */
.client-logo img {
    width: 100%;
    height: 60px;
    object-fit: contain;
    object-position: center;
}

/* MOBILE MENU FIX - Prevent overlay on content */
@media (max-width: 768px) {
    header {
        padding: 1.5rem 4%;
    }
    
    /* Hide navigation by default on mobile */
    nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 80px);
        background: var(--bg-elevated);
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border);
        z-index: 999;
        overflow-y: auto;
    }
    
    nav.mobile-open {
        right: 0;
    }
    
    /* Mobile menu toggle button */
    .mobile-menu-toggle {
        display: block;
        background: transparent;
        border: none;
        color: var(--text-primary);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1000;
    }
    
    /* Make dropdown static on mobile */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-left: 1rem;
        margin-top: 0.5rem;
        border: none;
        background: transparent;
    }
    
    .dropdown-menu a {
        padding: 0.75rem 1rem;
    }
    
    /* Adjust hero for mobile */
    .hero {
        min-height: 50vh;
        padding-top: 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    /* Work grid single column on mobile */
    .work-grid {
        grid-template-columns: 1fr;
        gap: 1px;
    }
    
    /* Project details stack on mobile */
    .project-details-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-sidebar {
        position: static;
    }
    
    /* About section stack */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Client logos smaller grid */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Filter tabs scroll on mobile */
    .filter-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
    }
    
    .filter-tab {
        white-space: nowrap;
    }
}

/* Desktop - hide mobile toggle */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* SHOWREEL THUMBNAIL & PLAY BUTTON */
.showreel-thumbnail {
    position: relative;
    cursor: pointer;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.showreel-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.showreel-thumbnail:hover img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #000;
    transition: all 0.3s ease;
}

.showreel-thumbnail:hover .play-button {
    background: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.showreel-player iframe,
.showreel-player video {
    width: 100%;
    height: 100%;
}

/* RELATED VIDEOS MODAL */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    position: relative;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0 1rem;
    transition: opacity 0.3s ease;
}

.video-modal-close:hover {
    opacity: 0.7;
}

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

.related-video-item {
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
}

.related-video-item:hover {
    transform: scale(1.02);
}

.related-video-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.related-video-item .play-button {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

/* If no thumbnail, show placeholder */
.related-video-placeholder {
    aspect-ratio: 16/9;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}
