/* Video Section Styles */
.yacht-video-section {
    background: linear-gradient(135deg, #00394f 0%, #006284 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.video-cinematic-wrapper {
    position: relative;
}

.video-cinematic-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.video-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 187, 32, 0.2);
    color: #FBB920;
    border: 1px solid #FBB920;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.video-badge .badge-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.video-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.video-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.video-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 500;
}

.feature-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: invert(65%) sepia(86%) saturate(334%) hue-rotate(5deg) brightness(98%) contrast(94%);
    /* This filter converts any icon color to #FBB920 (gold) */
}

/* Video Player Container */
.video-player-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.3), rgba(0, 98, 132, 0.3)), 
                url('/assets/images/carpe-diem/gallery/outer/DJI_20250603130910_0194_D.webp') center/cover;
    aspect-ratio: 16/9;
    max-width: 100%;
}

.yacht-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.4), rgba(0, 98, 132, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-overlay:hover {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.6), rgba(0, 98, 132, 0.6));
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.play-button svg {
    width: 30px;
    height: 30px;
    fill: #006284;
    margin-left: 4px;
}

.video-info {
    text-align: center;
    color: white;
}

.duration {
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 187, 32, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .video-title {
        font-size: 2rem;
    }
    
    .video-cinematic-wrapper::before {
        width: 200px;
        height: 200px;
    }
    
    .video-content {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .yacht-video-section {
        padding: 60px 0;
    }
    
    .video-content {
        margin-bottom: 35px;
    }
    
    .video-title {
        font-size: 1.8rem;
    }
    
    .video-subtitle {
        font-size: 1rem;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button svg {
        width: 24px;
        height: 24px;
    }
    
    .video-features {
        margin-top: 20px;
    }
    
    .feature-item {
        font-size: 0.95rem;
    }
}

@media (max-width: 479px) {
    .video-content {
        margin-bottom: 30px;
    }
    
    .video-title {
        font-size: 1.5rem;
    }
    
    .video-subtitle {
        font-size: 0.9rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button svg {
        width: 20px;
        height: 20px;
    }
    
    .video-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .duration {
        font-size: 12px;
        padding: 8px 16px;
    }
}

/* Focus states for accessibility */
.video-overlay:focus {
    outline: 3px solid #FBB920;
    outline-offset: 2px;
}

/* Loading states */
.yacht-video[poster] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Print styles */
@media print {
    .yacht-video-section {
        display: none;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .play-button,
    .video-overlay,
    .video-player-container {
        transition: none;
    }
    
    .play-button:hover {
        transform: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .video-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .play-button {
        background: white;
        border: 2px solid #000;
    }
}