/* Video Gallery Page Styles */

/* ============================================
   Breadcrumb Navigation
   ============================================ */
.breadcrumb-section {
    background-color: #f8f9fa;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    font-size: 14px;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-easing);
}

.breadcrumb-item a:hover {
    color: #e66a00;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 600;
}

.breadcrumb-item:not(:last-child)::after {
    content: "/";
    margin-left: var(--spacing-sm);
    color: #ccc;
}

/* ============================================
   Video Hero Section
   ============================================ */
.video-hero-section {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #ff7400 0%, #ff8e53 100%);
}

.video-hero-content {
    text-align: center;
    color: white;
}

.video-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.video-hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    color: white;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   Main Video Section
   ============================================ */
.main-video-section {
    padding: 60px 0;
    background-color: #fff;
}

.video-player-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.main-video-player {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
}

/* Video Play Overlay */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.video-play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-play-overlay-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-play-overlay-btn:hover {
    transform: scale(1.1);
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-controls,
.video-container.playing .video-controls {
    opacity: 1;
}

.video-progress-container {
    width: 100%;
    margin-bottom: 15px;
}

.video-progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.video-progress-filled {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.video-controls-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-controls-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.video-controls-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-control-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.video-control-btn:hover {
    transform: scale(1.1);
}

.video-volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-slider {
    width: 80px;
    height: 5px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.video-time {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

/* Video Info */
.video-info {
    margin-top: 30px;
}

.video-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.video-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.video-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.video-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* ============================================
   Video Features Section
   ============================================ */
.video-features-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    transition: all var(--transition-speed) var(--transition-easing);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   Additional Videos Section
   ============================================ */
.additional-videos-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-speed) var(--transition-easing);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 116, 0, 0.15);
}

.video-card-thumbnail {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.video-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) var(--transition-easing);
}

.video-card:hover .video-card-thumbnail img {
    transform: scale(1.1);
}

.video-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-speed) var(--transition-easing);
}

.video-card:hover .video-card-overlay {
    opacity: 1;
}

.video-card-play-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-card-play-btn:hover {
    transform: scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.video-card-info {
    padding: 25px;
}

.video-card-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.video-card-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   Video Benefits Section
   ============================================ */
.video-benefits-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.benefit-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-speed) var(--transition-easing);
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(255, 116, 0, 0.15);
}

.benefit-number {
    font-size: 72px;
    font-weight: 700;
    color: rgba(255, 116, 0, 0.1);
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
}

.benefit-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.benefit-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ============================================
   CTA Section
   ============================================ */
.video-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ff7400 0%, #ff8e53 100%);
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    color: white;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-primary-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-easing);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cta-secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-speed) var(--transition-easing);
}

.cta-secondary-btn:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ============================================
   Responsive Design - Tablet
   ============================================ */
@media (max-width: 1024px) {
    .video-hero-title {
        font-size: 36px;
    }

    .video-hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* ============================================
   Responsive Design - Mobile
   ============================================ */
@media (max-width: 768px) {
    .video-hero-section {
        padding: 40px 0 30px;
    }

    .video-hero-title {
        font-size: 28px;
    }

    .video-hero-subtitle {
        font-size: 16px;
    }

    .main-video-section,
    .video-features-section,
    .additional-videos-section,
    .video-benefits-section,
    .video-cta-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .video-title {
        font-size: 24px;
    }

    .video-meta {
        flex-direction: column;
        gap: 10px;
    }

    .video-description {
        font-size: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .benefit-card {
        padding: 30px;
    }

    .benefit-number {
        font-size: 60px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-primary-btn,
    .cta-secondary-btn {
        width: 100%;
        padding: 15px 30px;
        font-size: 16px;
    }

    /* Mobile Video Controls */
    .video-controls {
        padding: 15px;
    }

    .video-controls-left {
        gap: 10px;
    }

    .volume-slider {
        width: 60px;
    }

    .video-time {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .video-hero-title {
        font-size: 24px;
    }

    .video-hero-subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .video-title {
        font-size: 20px;
    }

    .video-card-thumbnail {
        height: 200px;
    }

    .benefit-card h3 {
        font-size: 20px;
    }

    .benefit-number {
        font-size: 48px;
    }
}

/* ============================================
   Video Modal Styles
   ============================================ */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    overflow: auto;
    animation: fadeIn 0.3s ease;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    background: #1a1a1a;
    border-radius: 12px;
    padding: 30px;
    animation: slideUp 0.3s ease;
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 32px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-modal-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

.video-modal-title {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-right: 50px;
}

.video-modal-body {
    width: 100%;
}

.modal-video-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.modal-video-player {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
}

/* Video card cursor */
.video-card {
    cursor: pointer;
}

.video-card-thumbnail {
    cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        padding: 20px;
    }

    .video-modal-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .video-modal-close {
        width: 40px;
        height: 40px;
        font-size: 28px;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .video-modal-content {
        width: 100%;
        padding: 15px;
        border-radius: 0;
    }

    .video-modal-title {
        font-size: 18px;
    }
}
