/* Video Gallery Page Styles */

/* Banner Section */
.video-gallery-banner {
    width: 100%;
    overflow: hidden;
}

.video-gallery-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Video Gallery Content Section */
.video-gallery-content-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.video-gallery-content-section .section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #862C91;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.video-gallery-description {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.video-gallery-description .section-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4b5563;
    text-align: center;
}

/* Video Gallery Grid Section */
.video-gallery-grid-section {
    padding: 2rem 0 4rem;
    background-color: #ffffff;
}

.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-gallery-grid .video-item {
    position: relative;
    aspect-ratio: 9/16;
    overflow: hidden;
    cursor: pointer;
    background-color: #000;
    border-radius: 8px;
}

.video-gallery-grid .video-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-gallery-grid .video-item:hover img {
    transform: scale(1.05);
}

.video-gallery-grid .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
    pointer-events: none;
}

.video-gallery-grid .video-item:hover .play-button {
    background-color: rgba(134, 44, 145, 0.9);
}

.video-gallery-grid .play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent white;
    margin-left: 4px;
}

.video-gallery-grid .video-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .video-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .video-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 1rem;
    }

    .video-gallery-grid-section {
        padding: 1.5rem 0 3rem;
    }

    .video-gallery-content-section .section-title {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .video-gallery-description .section-text {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .video-gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 1rem;
    }

    .video-gallery-content-section .section-title {
        font-size: 1.8rem;
    }

    .video-gallery-description .section-text {
        font-size: 0.95rem;
    }

    .video-gallery-grid .play-button {
        width: 50px;
        height: 50px;
    }

    .video-gallery-grid .play-icon {
        border-width: 10px 0 10px 16px;
    }
}
