/* Video Modal Styles */
.video-section {
    /* Uses default section padding from style.css */
}

.video-section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.video-section-text {
    text-align: left;
}

.video-section .section-tag {
    background: var(--dark-gray);
    color: var(--white);
    border-color: var(--dark-gray);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.video-container {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
}

.video-container:hover {
    transform: scale(1.02);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

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

.video-play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 24px solid var(--black);
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    margin-left: 4px;
}

.video-overlay-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.video-container:hover .video-overlay-thumbnail {
    background: rgba(0, 0, 0, 0.2);
}


/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    background: var(--black);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.video-modal-close::before,
.video-modal-close::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 20px;
    background: var(--white);
}

.video-modal-close::before {
    transform: rotate(45deg);
}

.video-modal-close::after {
    transform: rotate(-45deg);
}

.video-modal video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 90vh;
}

/* Responsive */
@media (max-width: 768px) {
    .video-section-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .video-section-text {
        text-align: center;
    }
    
    .video-section-text h2 {
        text-align: center !important;
        font-size: 2rem !important;
    }
    
    .video-section-text p {
        text-align: center !important;
    }
    
    .video-play-button {
        width: 60px;
        height: 60px;
    }
    
    .video-play-button::after {
        border-left-width: 18px;
        border-top-width: 10px;
        border-bottom-width: 10px;
        margin-left: 3px;
    }
    
    .video-modal {
        padding: 1rem;
    }
    
    .video-modal-content {
        max-height: 85vh;
    }
    
    .video-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 36px;
        height: 36px;
    }
}

