/* Videos Page Specific Styles */

/* Page Header */
.page-header {
    padding: 10rem 0 5rem;
    background: var(--darker-bg);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-title {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Videos Section */
.videos-section {
    padding: 5rem 0;
    background: var(--dark-bg);
}

.videos-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

/* Video Project */
.video-project {
    background: var(--darker-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-project:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-project.featured {
    grid-column: span 2;
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

.play-icon {
    font-size: 1.8rem;
    color: var(--dark-bg);
    margin-left: 5px;
}

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

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.95) 0%, transparent 100%);
}

.video-category {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.video-title {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.video-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.video-info {
    padding: 1.5rem 2rem;
}

.video-info h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
}

.video-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.video-meta {
    display: flex;
    gap: 1rem;
}

.meta-item {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    background: rgba(201, 169, 98, 0.1);
    border-radius: 20px;
}

/* Featured Video Styles */
.video-project.featured .video-thumbnail {
    aspect-ratio: 21/9;
}

.video-project.featured .video-title {
    font-size: 2rem;
}

.video-project.featured .video-info h3 {
    font-size: 1.5rem;
}

.video-project.featured .video-info p {
    font-size: 1rem;
}

/* 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: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

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

.modal-content {
    width: 100%;
    max-width: 1200px;
    position: relative;
}

.modal-content video {
    width: 100%;
    border-radius: 8px;
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    z-index: 2001;
}

.modal-close:hover {
    color: var(--primary-color);
}

/* Active Nav Link */
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .videos-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .video-project.featured {
        grid-column: span 1;
    }

    .video-project.featured .video-thumbnail {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-icon {
        font-size: 1.3rem;
    }

    .video-title {
        font-size: 1.2rem;
    }

    .video-project.featured .video-title {
        font-size: 1.5rem;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
    }
}
