/* ============================================
   DIRECTOR VIMEO PAGE
   ============================================ */

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

:root {
    --purple: #C65BCF;
    --orange: #F5A623;
    --white: #FFFFFF;
    --black: #000000;
    --bg: #0a0a0a;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 28px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}

.header-logo img {
    height: 40px;
    width: auto;
}

.header-nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.6;
}

/* ============================================
   HERO VIDEO SECTION
   ============================================ */
.hero-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.vimeo-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.director-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 400;
    color: var(--white);
    letter-spacing: -2px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.bio-tag {
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    padding: 4px 12px;
    border: 1px solid var(--white);
    border-radius: 20px;
    letter-spacing: 1px;
}

.director-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
}

.project-name,
.agency {
    color: var(--white);
}

.separator {
    color: rgba(255, 255, 255, 0.5);
}

.watch-film {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.watch-film:hover {
    color: var(--purple);
    transform: translateX(4px);
}

/* ============================================
   NAVIGATION ARROWS
   ============================================ */
.arrow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 20;
    opacity: 0.6;
    transition: all 0.3s ease;
    padding: 12px;
}

.arrow-nav:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.arrow-prev {
    left: 40px;
}

.arrow-next {
    right: 40px;
}

/* ============================================
   PORTFOLIO GRID
   ============================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--black);
}

.portfolio-item {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--black);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

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

.portfolio-item:hover .play-overlay {
    opacity: 1;
}

.portfolio-item:hover {
    border-color: var(--purple);
}

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

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

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

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
}

.modal-close:hover {
    color: var(--purple);
    transform: rotate(90deg);
}

.video-container {
    width: 100%;
    height: 100%;
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .director-name {
        flex-direction: column;
        gap: 12px;
    }
    
    .director-meta {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .arrow-prev {
        left: 20px;
    }
    
    .arrow-next {
        right: 20px;
    }
    
    .header-nav {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .header {
        padding: 20px 24px;
    }
}
