/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease-in-out;
    backdrop-filter: blur(2px);
}

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

.video-modal-content {
    position: relative;
    width: 60%;
    max-width: 900px;
    max-height: 75vh;
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9);
    animation: slideIn 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.video-modal-title {
    margin: 0 0 20px 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2c5530;
    text-align: center;
    font-weight: 700;
}

.video-modal-content video {
    width: 100%;
    max-height: calc(75vh - 110px);
    border-radius: 12px;
    display: block;
    object-fit: contain;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #2c5530;
    border: none;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
    z-index: 10001;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    font-family: Arial, sans-serif;
}

.video-modal-close:hover {
    background: #ff6b6b;
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-60px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .video-modal-content {
        width: 75%;
        max-width: 800px;
        padding: 25px;
    }
    
    .video-modal-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 90%;
        padding: 20px;
        border-radius: 12px;
    }
    
    .video-modal-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .video-modal-close {
        width: 44px;
        height: 44px;
        font-size: 24px;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .video-modal-content {
        width: 95%;
        padding: 15px;
        border-radius: 10px;
    }
    
    .video-modal-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .video-modal-close {
        width: 40px;
        height: 40px;
        font-size: 20px;
        top: 8px;
        right: 8px;
    }
}
