@charset "utf-8";
/* CSS Document */

/* Video Player Styles */
.video-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    background-color: #000;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-section:hover .video-controls {
    opacity: 1;
}

.control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: 10 5px 0px 5px;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.progress-container {
    flex-grow: 1;
    margin: 75px 15px 0px 15px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    background: #f26e22;
    border-radius: 3px;
    width: 0%;
}

.time-display {
    color: white;
    font-size: 14px;
    min-width: 100px;
    text-align: center;
    margin-top: 75px;
}

.volume-control {
    display: flex;
    align-items: center;
    margin-left: 10px;
    margin-top: 75px;
}

/* ======== VOLUME SLIDER FIXED + COMPLETE SUPPORT ======== */
.volume-slider {
    width: 80px;
    margin-left: 10px;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

/* TRACK (WebKit) */
.volume-slider::-webkit-slider-runnable-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

/* THUMB (WebKit) */
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f26e22;
    cursor: pointer;
    margin-top: -4px;
}

/* THUMB (Firefox) */
.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f26e22;
    cursor: pointer;
}

/* TRACK (Firefox) */
.volume-slider::-moz-range-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .video-section {
        height: 40vh;
        min-height: 250px;
    }

    .video-container {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .video-player {
        object-fit: contain;
    }
    .video-controls {
        padding: 10px;
        opacity: 1;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    }

    .control-btn {
        width: 35px;
        height: 35px;
    }

    .time-display {
        font-size: 12px;
        min-width: 80px;
    }
    .volume-control {
        margin-top: 100px;
    }
    .volume-slider {
        width: 60px;
        margin-top: 5px;
    }
}

/* EXTRA SMALL SCREENS */
@media (max-width: 480px) {
    .video-section {
        height: 35vh;
        min-height: 200px;
    }

    .video-controls {
        padding: 8px;
        flex-wrap: wrap;
    }

    .left-controls,
    .right-controls {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 4px;
        margin-top: 80px;
    }

    .progress-container {
        width: 100%;
        margin: -50px 0px 0px 0px;
    }

    .time-display {
        width: 100%;
        text-align: center;
        margin: 2px 0;
    }

    .control-btn {
        width: 32px;
        height: 32px;
        margin: 0 3px;
    }

    .volume-slider {
        width: 50px;
    }
    .volume-control {
        margin-top: 75px;
    }
}