/* Glide Carousel Styles */
.video-item {
    position: relative;
    /* padding: 10px; */
    text-align: center;
}

.video-item img {
    width: 100%;
    height: auto;
    /* border-radius: 8px; */
    transition: transform 0.3s ease;
}

.video-item:hover img {
    transform: scale(1.05);
}

.video-item h3 {
    margin: 10px 0;
    font-size: 1.1rem;
    color: #333;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8rem;
    height: 8rem;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.play-button:hover {
    background-color: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
    width: 3rem;
    height: 3rem;
}

/* Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    background-color: black;
    margin: 5% auto;
    padding: 5px;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Glide.js Navigation Arrows */
.glide__arrow {
    color: white;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border: none;
    /* border-radius: 50%; */
    width: 60px;
    height: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.glide__arrow svg {
    width: 2rem;
    height: 2rem;
}

.glide__arrow:hover {
    background: rgba(0, 0, 0, 0.9);
}

.glide__arrow--left {
    left: 0px;
}

.glide__arrow--right {
    right: 0px;
} 