/* Video Section Styles */
.video-card {
    aspect-ratio: 3/4;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-preview {
    position: relative;
    width: 100%;
    height: 70%;
    overflow: hidden;
}

.video-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(245, 125, 35, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background: rgba(245, 125, 35, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 16px;
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.video-subtitle {
    font-size: 14px;
    color: #6b7280;
}

/* Video carousel for PC */
.video-carousel {
    position: relative;
    overflow: hidden;
    padding: 0 80px;
}

.video-carousel::before,
.video-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 5;
    pointer-events: none;
}

.video-carousel::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8), transparent);
}

.video-carousel::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.8), transparent);
}

.video-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 24px;
}

.video-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F57D23;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-nav-btn:hover {
    background: #F57D23;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.video-nav-prev {
    left: 30px;
}

.video-nav-next {
    right: 30px;
}

/* Mobile video grid */
.video-grid-mobile {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 16px;
}

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

.video-modal-overlay.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: black;
    border-radius: 8px;
    overflow: hidden;
}

.video-modal-video {
    width: 100%;
    height: auto;
    max-height: 80vh;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.video-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-modal-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.video-modal-prev {
    left: -70px;
}

.video-modal-next {
    right: -70px;
}
