/**
 * DevSecure Ana CSS Stil Dosyası
 * Tüm temel sitil tanımlamaları ve bileşenlerin görünümleri
 */

/* Icon ayarları */
:where([class^="ri-"])::before {
    content: "\f3c2";
}

/* Temel stil tanımlamaları */
body {
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
}

/* Hero bölümü arkaplan ayarları */
.hero-section {
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
}

/* Form elemanları düzenlemeleri */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Video galerisi stil tanımları */
.video-slider-container {
    width: 100%;
    overflow: hidden;
}

.video-item {
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.video-item video {
    aspect-ratio: 16/9;
    height: auto;
    width: 100%;
    object-fit: cover;
    background-color: #000;
}

/* Video kartları için yeni stiller */
.video-overlay {
    opacity: 0.7;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    z-index: 5;
}

.video-overlay:hover {
    opacity: 0.9;
    background-color: rgba(0, 0, 0, 0.6);
}

.video-overlay i {
    font-size: 3rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.video-overlay:hover i {
    transform: scale(1.1);
    color: var(--primary-color, #3b82f6);
}

/* Video iframe yükleme göstergesi */
.video-iframe {
    background-color: #000;
    z-index: 1;
}

/* Kopyalama butonları için stil */
.copy-btn {
    transition: all 0.3s ease;
    position: relative;
    z-index: 30;
    pointer-events: auto !important;
}

.copy-btn:active {
    transform: scale(0.95);
}

/* Buton container'ı için stil */
.video-card .flex.mt-3.gap-2 {
    position: relative;
    z-index: 30;
    pointer-events: auto !important;
}

/* Bağlantılar için stil */
.video-card a[target="_blank"] {
    position: relative;
    z-index: 30;
    pointer-events: auto !important;
}

/* Bildirim animasyonu için stiller */
.notification-popup {
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.notification-popup.show {
    transform: translateY(0);
    opacity: 1;
}

/* Video galeri etrafındaki vurgulayıcı ışık efekti */
@keyframes glowPulse {
    0% { box-shadow: 0 0 5px rgba(0, 200, 255, 0.2); }
    50% { box-shadow: 0 0 15px rgba(0, 200, 255, 0.4); }
    100% { box-shadow: 0 0 5px rgba(0, 200, 255, 0.2); }
}

.video-slider-container {
    animation: glowPulse 3s infinite;
}

/* Video modal düzenlemeleri */
#videoModal .scale-100 {
    transform: scale(1);
}

#videoModal .scale-95 {
    transform: scale(0.95);
}

/* Karanlık mod uyumlu bileşenler */
.dark .bg-white {
    background-color: #1e293b;
}

.dark .text-gray-700 {
    color: #f1f5f9;
}

.dark .text-gray-600 {
    color: #cbd5e1;
}

/* Animasyonlar */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Dil seçimi hover efekti */
.language-dropdown-container {
    position: relative;
}

@media (min-width: 768px) {
    .language-dropdown-container:hover #languageDropdown {
        display: block !important;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        visibility: visible;
    }
    
    #languageDropdown {
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none;
        visibility: visible !important;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    /* Dropdown içerisindeki öğeler için güvenli alan */
    #languageDropdown a {
        padding: 10px 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    #languageDropdown a:last-child {
        border-bottom: none;
    }
    
    /* Dropdown görünürlüğünü korumak için gerekli alan */
    .language-dropdown-container::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 20px;
        background: transparent;
    }
}

/* Duyarlı tasarım düzenlemeleri */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    /* Mobil video galerisi düzenlemeleri */
    .video-item video {
        height: auto;
    }
    
    /* Mobil modalde video başlık düzenlemesi */
    #videoTitle {
        font-size: 1rem;
    }
} 