/* Videos Page Styles */

/* Basic Layout */
.container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8f9fa;
}

/* Videos Page Header */
.videos-page-header.section-padding {
    padding: 10rem 0 5rem;
}

.videos-page-header {
    background: linear-gradient(135deg, #111d31 0%, #273039 100%);
    text-align: center;
    position: relative;
}

.videos-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(155, 89, 182, 0.5);
    z-index: 1;
}

.videos-page-header .container {
    position: relative;
    z-index: 2;
}

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

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Videos Search Section */
.videos-search-section {
    margin-top: 2rem;
    position: relative;
}

.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    background: white;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.search-input::placeholder {
    color: #999;
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    pointer-events: none;
}

/* Filter Section */
.videos-filter-section {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
}

.filter-dropdowns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: flex-end;
}

.filter-dropdown-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    margin: 0;
    text-align: center;
}

.filter-dropdown {
    padding: 8px 16px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    background: white;
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 35px;
    min-width: 150px;
    max-width: 200px;
    height: 36px;
    line-height: 1;
}

.filter-dropdown:focus {
    outline: none;
    border-color: #bdd653;
    box-shadow: 0 0 0 3px rgba(189, 214, 83, 0.1);
}

.clear-filters-btn {
    background: #273039;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 36px;
    line-height: 1;
    margin-top: 24px;
}

.clear-filters-btn:hover {
    background: #1a2329;
    transform: translateY(-1px);
}

.filter-results {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-results p {
    margin: 0;
    color: #666;
    font-weight: 500;
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Video Card */
.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

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

/* Video Thumbnail */
.video-thumbnail {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f8f9fa;
}

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

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

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(189, 214, 83, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #273039;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: #bdd653;
    transform: scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #bdd653;
    font-size: 3rem;
}

.video-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(189, 214, 83, 0.9);
    color: #273039;
    padding: 4px 12px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Video Content */
.video-content {
    padding: 1.5rem;
}

.video-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.video-date,
.video-speaker {
    display: flex;
    align-items: center;
    gap: 4px;
}

.video-date::before {
    content: '\f073';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.video-speaker::before {
    content: '\f007';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.video-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #273039;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.video-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Video Tags */
.video-categories,
.video-industries {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.video-category-tag {
    background: rgba(189, 214, 83, 0.1);
    color: #273039;
    padding: 4px 10px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(189, 214, 83, 0.3);
}

.video-industry-tag {
    background: rgba(39, 48, 57, 0.1);
    color: #273039;
    padding: 4px 10px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(39, 48, 57, 0.3);
}

/* Video Actions */
.video-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 16px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    flex: 1;
    justify-content: center;
}

.btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-primary {
    background: #bdd653;
    color: #273039;
}

.btn-primary:hover {
    background: #a8c442;
    color: #273039;
}

.btn-secondary {
    background: #273039;
    color: white;
}

.btn-secondary:hover {
    background: #1a2329;
    color: white;
}

.watch-btn {
    background: #bdd653;
    color: #273039;
}

.youtube-btn {
    background: #ff0000;
    color: white;
}

.youtube-btn:hover {
    background: #cc0000;
    color: white;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    height: 80%;
    margin: 5% auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    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.8);
    transform: scale(1.1);
}

.video-modal-body {
    width: 100%;
    height: 100%;
    padding: 0;
}

#video-player-container {
    width: 100%;
    height: 100%;
    background: #000;
}

#video-player {
    width: 100%;
    height: 100%;
    border: none;
}

/* No Videos Message */
.no-videos-message {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.no-videos-message p {
    font-size: 1.1rem;
    margin: 0;
}

/* Videos CTA Section */
.videos-cta-section {
    background: #f8f9fa;
}

.videos-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .filter-dropdowns {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .filter-dropdown-group {
        width: 100%;
        max-width: 300px;
    }
    
    .filter-dropdown {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .search-input {
        padding: 12px 45px 12px 15px;
        font-size: 1rem;
    }
    
    .search-icon {
        right: 15px;
        font-size: 1.1rem;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-content {
        padding: 1.25rem;
    }
    
    .video-title {
        font-size: 1.2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .video-actions {
        flex-direction: column;
    }
    
    .video-modal-content {
        width: 95%;
        height: 70%;
        margin: 10% auto;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .video-content {
        padding: 1rem;
    }
    
    .video-title {
        font-size: 1.1rem;
    }
    
    .video-excerpt {
        font-size: 0.9rem;
    }
    
    .filter-dropdown {
        font-size: 0.9rem;
        padding: 6px 12px;
        height: 32px;
    }
    
    .clear-filters-btn {
        font-size: 0.85rem;
        padding: 6px 12px;
        height: 32px;
    }
    
    .video-modal-content {
        width: 98%;
        height: 60%;
        margin: 15% auto;
    }
}
