/*
Theme Name: Hiếu BK VideoKit
Author: Bạn
Description: Theme WordPress chuyển đổi từ webmau.html
Version: 1.0
*/

/* ================================
   BASE
================================ */

body {
    background-color: #0a0a0a;
    color: #f5f5f5;
}

/* Custom scrollbar */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}


/* Gradient text */

.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(90deg, #fff, #999);
}


/* Card hover */

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    border-color: #555;
}


/* ================================
   ACCORDION
================================ */

.accordion-content {
    transition:
        max-height 0.3s ease-out,
        opacity 0.3s ease-out;

    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    opacity: 1;
}

.accordion-item.active .icon-plus {
    transform: rotate(45deg);
}


/* ================================
   BEFORE / AFTER SLIDER
================================ */

.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 400px;
    border-radius: 0.75rem;
    background-color: #1a1a1a;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.slider-after {
    clip-path: polygon(
        0 0,
        50% 0,
        50% 100%,
        0 100%
    );
}

.slider-handle {
    position: absolute;

    top: 0;
    bottom: 0;
    left: 50%;

    width: 4px;

    background: white;

    cursor: ew-resize;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 10;
}

.slider-handle-icon {
    width: 30px;
    height: 30px;

    background: white;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: black;
    font-size: 12px;

    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}