/* Özel Scrollbar Stilleri */

/* Tüm Tarayıcılar için Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0F172A;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #4F46E5, #8B5CF6);
    border-radius: 10px;
    border: 2px solid #0F172A;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #6366F1, #A855F7);
}

/* Firefox için Scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: #4F46E5 #0F172A;
}

/* Scrollbar Üst ve Alt Butonları */
::-webkit-scrollbar-button {
    display: none;
}

/* Scrollbar Köşe Bölgesi */
::-webkit-scrollbar-corner {
    background: #0F172A;
}

/* Özel Scroll İndikatörü */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, #4F46E5, #8B5CF6);
    z-index: 9999;
    transition: width 0.2s ease;
}

/* Özel Scroll-to-Top Butonu */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: rgba(99, 102, 241, 0.9);
    transform: translateY(-5px);
    color: white;
}

/* Scroll Down Indicator Animation */
@keyframes scrollDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
