/* Chrome, Edge ve Safari için */
body::-webkit-scrollbar {
    width: 8px; /* 3px yerine 8px yaparak görünürlüğü artırın */
}

body::-webkit-scrollbar-thumb {
    border-radius: 10px;
}

/* Firefox için (Standart) */
html {
    scrollbar-width: thin;
    scrollbar-color: #464646 #f1f1f1;
}

:root {
    --primary: #6366f1;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-body: #eeeeee;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body {
    background-color: var(--bg-body);
    font-family: var(--font-sans);
    padding: 60px 20px;
}

.site-wrapper {
    max-width: 1200px; /* 3 kart için biraz daha genişlettik */
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.main-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--text-main);
}

/* 3'lü Grid Yapısı */
.blog-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 eşit sütun */
    gap: 30px;
}

/* Kart Tasarımı */
.blog-card {
    background: #ffffff;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .img-wrapper img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
}

.blog-category {
    color: var(--primary);
    font-weight: 600;
}

.blog-date {
    color: var(--text-muted);
}

.blog-title {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--text-main);
}

/* Tablet ve Mobil Uyumluluk */
@media (max-width: 1024px) {
    .blog-grid-3 {
        grid-template-columns: repeat(2, 1fr); /* Tablette 2'li */
    }
}

@media (max-width: 768px) {
    .blog-grid-3 {
        grid-template-columns: 1fr; /* Mobilde tekli */
    }
    .main-title {
        font-size: 2.2rem;
    }
}



        /* Preloader Ana Kapsayıcı */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #0a0a0f;
            /* Slate 900 - Derin Teknoloji Mavisi */
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 1s ease, visibility 1s;
        }

        /* Yüklenme İçeriği */
        .loader-content {
            text-align: center;
        }

        /* Havalı Teknoloji Halkası */
        .tech-circle {
            width: 60px;
            height: 60px;
            border: 3px solid rgba(99, 102, 241, 0.2);
            border-top: 3px solid #6366f1;
            /* Indigo */
            border-radius: 50%;
            margin: 0 auto 20px;
            animation: tech-spin 1s cubic-bezier(0.7, 0.2, 0.6, 1.1) infinite;
            box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
        }

        /* Yazı Efekti */
        .loader-text {
            color: #6366f1;
            font-family: 'JetBrains Mono', monospace;
            font-size: 10px;
            letter-spacing: 4px;
            font-weight: bold;
            animation: tech-pulse 2s ease-in-out infinite;
        }

        /* Animasyonlar */
        @keyframes tech-spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes tech-pulse {

            0%,
            100% {
                opacity: 0.3;
            }

            50% {
                opacity: 1;
            }
        }

        /* Sayfa yüklendiğinde gizleme sınıfı */
        .preloader-hidden {
            opacity: 0 !important;
            visibility: hidden !important;
        }