/* Genel Stiller */
.scroll-smooth {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Gradient ve Animasyonlar */
.gradient-animation {
    background: linear-gradient(-45deg, #4f46e5, #818cf8, #3730a3, #4338ca);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navbar Stili */
.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Fade Animasyonları */
.section-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.section-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Kurs Detay Sayfası Stilleri */
.course-preview-image {
    transition: transform 0.3s ease;
}

.course-preview-image:hover {
    transform: scale(1.02);
}

.course-content {
    max-width: 1200px;
    margin: 0 auto;
}

.course-section {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Video Modal Stilleri */
.video-modal {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Scroll Progress Bar */
#scrollProgress {
    transition: width 0.3s ease-out;
    height: 3px;
    background: linear-gradient(to right, #4f46e5, #818cf8);
}

/* WhatsApp Button */
.whatsapp-btn {
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.whatsapp-ping {
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Swiper Slider Özelleştirmeleri */
.swiper-pagination-bullet-active {
    background: #4f46e5 !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: #4f46e5 !important;
    transition: transform 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.1);
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .course-section {
        margin: 1rem;
    }
    
    .video-modal {
        padding: 1rem;
    }
} 

/* Form Stilleri */
.form-input:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

/* Kredi Kartı Input Stilleri */
.card-input {
    letter-spacing: 0.025em;
}

/* Ödeme Formu Animasyonları */
.form-section {
    transition: all 0.3s ease;
}

.form-section:hover {
    transform: translateY(-1px);
}

/* Responsive Form Düzenlemeleri */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
} 

/* Sidebar transitions */
#sidebar {
    transition: transform 0.3s ease-in-out;
}

#mainContent {
    transition: margin-left 0.3s ease-in-out;
}

/* Mobile sidebar overlay */
#sidebarOverlay {
    transition: opacity 0.3s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #sidebar {
        transform: translateX(-256px);
    }
    
    #mainContent {
        margin-left: 0;
    }
    
    #sidebar.open {
        transform: translateX(0);
    }
    
    #sidebarOverlay.show {
        display: block;
    }
} 

/* Video koruma stilleri */
video {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

video::-webkit-media-controls-enclosure {
    pointer-events: all;
}

.plyr {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.plyr__controls {
    pointer-events: all !important;
} 