/* YouTube Section Styles */
.youtube-video-wrapper {
    margin-top: 40px;
    margin-bottom: 40px;
}

.youtube-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.youtube-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.youtube-thumbnail:hover img {
    transform: scale(1.05);
}

.youtube-thumbnail .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.youtube-thumbnail:hover .play-button {
    background-color: rgba(255, 0, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.youtube-thumbnail .play-button i {
    color: white;
    font-size: 32px;
    margin-left: 5px;
}

.youtube-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.youtube-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .youtube-thumbnail .play-button {
        width: 60px;
        height: 60px;
    }
    
    .youtube-thumbnail .play-button i {
        font-size: 24px;
    }
}
