/* ===== INDEX PAGE - Page-Specific Overrides ===== */
/* css/index.css — loaded after main.css and header.css */

/* Video container mobile clamp -- overrides main.css component values */
@media (max-width: 768px) {
    .video-container,
    .youtube-video-container {
        max-width: 100%;
        overflow: hidden;
    }
}

/* Redirect modal mobile size override — overrides main.css 360px fixed width */
.redirect-content {
    max-width: 90vw;
    padding: 20px;
}

/* ===== INDEX HERO VIDEO — extracted from main.css (index-specific, not global) ===== */

.video-wrapper-modern {
    position: relative;
    width: 100%;
    background: #000;
}

.youtube-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 2;
}

.video-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
    z-index: 3;
    pointer-events: all;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.video-thumbnail-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.play-button-overlay:hover {
    transform: translate(-50%, -50%) scale(1.15);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
}

.play-button-overlay svg {
    display: block;
}

/* Hero Video Play Overlay */
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(204, 255, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(204, 255, 0, 0.4);
    pointer-events: auto;
}

.video-play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #ccff00;
}

.video-play-overlay::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #000;
    margin-left: 5px;
}
