/* ============================================
   VIDEO PORTFOLIO SECTION (Videography)
   ============================================ */

.videography {
    padding: 8vh 5vw;
    background: #0a0a0a;
}

.video-header {
    text-align: center;
    margin-bottom: 3rem;
}

.video-header h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: #ba0000;
}

.video-header p {
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Video Item */
.video-item {
    display: block;
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-10px);
}

/* Video Thumbnail */
.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
    border-radius: 4px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
    filter: brightness(0.8);
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.1);
    filter: brightness(1);
}

/* Play Overlay */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
}

.video-item:hover .play-overlay {
    background: rgba(186, 0, 0, 0.6);
}

.play-overlay svg {
    transform: scale(0.8);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.video-item:hover .play-overlay svg {
    transform: scale(1);
}

/* Video Info */
.video-info {
    padding-top: 1rem;
    text-align: left;
}

.video-info h3 {
    font-size: 1.25rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.video-info p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   VIDEO PLAYER PAGE
   ============================================ */

.video-player-page {
    padding: 10vh 5vw;
    background: #0a0a0a;
    min-height: 100vh;
}

/* Disable cursor on video page */
.video-player-page ~ .cursor,
.video-player-page ~ .cursor-dot {
    display: none !important;
}

.video-player-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Back Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 99999 !important;
    position: relative !important;
    text-decoration: none;
    background: transparent;
    border: none;
    padding: 0.5rem;
    margin-left: -0.5rem;
}

.back-btn * {
    pointer-events: none !important;
}

.back-btn:hover {
    color: #ba0000;
}

.back-btn svg {
    transition: transform 0.3s ease;
}

.back-btn:hover svg {
    transform: translateX(-5px);
}

/* YouTube Player Wrapper */
.youtube-player-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.youtube-player-wrapper #player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video Page Info */
.video-page-info {
    text-align: center;
    padding: 2rem 0;
}

.video-page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.video-page-year {
    font-size: 0.875rem;
    color: #ba0000;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.video-page-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* More Videos */
.more-videos {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.more-videos-title {
    font-size: 1.5rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
}

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

.more-video-item {
    display: block;
    transition: transform 0.3s ease;
}

.more-video-item:hover {
    transform: translateY(-5px);
}

.more-video-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 4px;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.more-video-item:hover img {
    filter: brightness(1);
}

.more-video-info {
    padding-top: 0.75rem;
}

.more-video-info h4 {
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.more-video-info p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .thumbnails-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .videography {
        padding: 5vh 5vw;
    }

    .video-header {
        margin-bottom: 2rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-player-page {
        padding: 5vh 5vw;
    }

    .carousel-slides {
        height: 300px;
    }

    .carousel-arrow {
        opacity: 1;
        width: 40px;
        height: 40px;
    }

    .carousel-arrow-left {
        left: 10px;
    }

    .carousel-arrow-right {
        right: 10px;
    }

    .carousel-arrow svg {
        width: 20px;
        height: 20px;
    }

    .video-page-title {
        font-size: 1.5rem;
    }

    .video-page-description {
        font-size: 0.875rem;
    }

    .thumbnails-grid {
        grid-template-columns: 1fr;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
}
