
.video-gallery {
    padding: 60px 0;
}

.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-card:hover .overlay {
    opacity: 1;
}

.video-card .overlay .play-icon {
    font-size: 4rem;
    margin-bottom: 10px;
}

.video-card .overlay h3 {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.image-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

/* Lightbox */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.video-lightbox.active {
    display: flex;
}

.video-lightbox-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    background: black;
    padding: 20px;
    border-radius: 10px;
}

.video-lightbox-content video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    display: block;
}

.video-lightbox-close {
    position: absolute;
    top: -30px;
    right: -30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: black;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
