/* ========================================
   Video Showcase Page Styles
   ======================================== */

/* Override browser default video control colors */
:root {
    --media-controls-background: transparent;
    --media-controls-overlay-background: transparent;
}

/* Header Styling */
#video-header {
    padding: 30px 0;
    background: #fcfcfc;
    position: relative;
    z-index: 100;
}

#video-header .row {
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#video-header #logo {
    float: none;
    height: auto;
    line-height: normal;
    margin: 0;
}

#video-header #logo img {
    max-height: 22px;
    vertical-align: middle;
}

/* Video Content Section */
#video-content {
    padding: 40px 0 60px;
	background: #fcfcfc;
}

#video-showcase {
    max-width: 1400px;
    margin: 0 auto;
}

#video-showcase .row {
    padding: 20px;
}

/* Video Info */
.video-info {
    text-align: center;
    margin-bottom: 40px;
}

.video-title {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

.video-description {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #fcfcfc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Prevent ANY hover effects or overlays */
.video-container:hover {
    cursor: default;
}

#project-video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 80vh;
    pointer-events: auto;
    position: relative;
    z-index: 1;
    background: #fcfcfc;
    mix-blend-mode: normal;
}

/* Force video element to never have filters or reduced opacity */
#project-video,
#project-video:hover,
#project-video:focus,
#project-video:active {
    filter: none !important;
    opacity: 1 !important;
    background: #fcfcfc !important;
    transform: none !important;
    transition: none !important;
    outline: none !important;
    -webkit-filter: none !important;
    mix-blend-mode: normal !important;
}

/* Return Button - Updated to only show yellow on hover */
.return-link-container {
    text-align: center;
    margin-top: 50px;
}

.return-button {
    font-size: 16px;
    margin: 20px 0;
    padding: 14px 32px;
    display: inline-block;
    border: 3px solid #70aff4;
    color: #70aff4;
    background: transparent;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* Yellow hover state - no blue background */
.return-button:hover {
    border-color: #d2b356;
    color: #d2b356;
    background: transparent;
}

/* ========================================
   Responsive Design - Tablet
   ======================================== */
@media (max-width: 1024px) {
    .video-title {
        font-size: 36px;
    }

    .video-description {
        font-size: 16px;
    }

    #video-content {
        padding: 30px 0 40px;
    }
}

/* ========================================
   Responsive Design - Mobile
   ======================================== */
@media (max-width: 768px) {
    #video-header {
        padding: 20px 0;
    }

    #video-header .row {
        flex-direction: column;
        align-items: center;
    }

    .video-title {
        font-size: 28px;
        padding: 0 15px;
    }

    .video-description {
        font-size: 15px;
        padding: 0 15px;
    }

    .video-info {
        margin-bottom: 30px;
    }

    #video-showcase .row {
        padding: 15px;
    }

    .video-container {
        border-radius: 4px;
    }

    #project-video {
        max-height: 60vh;
    }

    .return-link-container {
        margin-top: 35px;
    }

    .return-button {
        font-size: 14px;
        padding: 12px 24px;
        width: 100%;
        max-width: 300px;
    }
}

/* ========================================
   Responsive Design - Small Mobile
   ======================================== */
@media (max-width: 480px) {
    #video-header {
        padding: 15px 0;
    }

    .video-title {
        font-size: 24px;
    }

    .video-description {
        font-size: 14px;
        line-height: 1.5;
    }

    #video-content {
        padding: 20px 0 30px;
    }

    .return-button {
        font-size: 13px;
        padding: 10px 20px;
    }
}

/* ========================================
   Video Player Controls Styling
   ======================================== */

/* Clean control panel styling */
video::-webkit-media-controls-panel {
    background: rgba(0, 0, 0, 0.6);
}

/* Remove overlay play button */
video::-webkit-media-controls-overlay-enclosure {
    display: none;
}

video::-webkit-media-controls-overlay-play-button {
    display: none;
}

video::-webkit-media-controls-start-playback-button {
    display: none;
}

/* Ensure enclosure has no background */
video::-webkit-media-controls-enclosure {
    background: transparent;
    background-image: none;
}

/* Ensure controls container is transparent */
video::-webkit-media-controls {
    background: transparent;
}
