/* --- 1. HİKAYELER SAYFASI GENEL AYARLAR --- */
.stories-page {
    /* Gövde metni için Sans-Serif fontu aktif et */
    font-family: 'Inter', sans-serif;
}

.container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}



.back-link {
    font-family: 'Georgia', serif;
    color: #eee;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-left: 5%;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* --- 3. SAYFA BAŞLIĞI (HEADER) --- */
.page-header {
    position: relative;
    padding: 10rem 0 6rem 0;
    text-align: center;
    background-color: #0c0c0c;
    overflow: hidden;
}

.page-header h1 {
    font-family: 'Georgia', serif;
    font-size: clamp(3rem, 10vw, 4.5rem);
    font-weight: 300;
    letter-spacing: 4px;
    color: #f5f5f5;
    margin: 0 0 1rem 0;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.page-header .subtitle {
    font-size: 1.1rem;
    color: #999;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* Ana sayfadaki ağ efektinin statik, silik bir versiyonu */
.static-network-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48ZyBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4wMyI+PHBhdGggZD0iTTAgMGg0MHY0MEgwVjB6bTIwIDIwaDIwdjIwSDIWMjB6TTAgMjBoMjB2MjBIMFYyMHoyMCAwaDIwdjIwSDIwVjB6Ii8+PC9nPjwvZz48L3N2Zz4=');
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

/* --- 4. HİKAYE LİSTESİ VE KARTLARI --- */
.stories-list {
    padding: 4rem 0 6rem 0;
    background-color: #0e0e0e;
}

.story-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    margin-bottom: 3rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden; /* Görsel taşmasını engelle */
}

.story-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
}

.story-card-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    align-items: stretch;
}

/* Hikaye Görseli Alantı */
.story-image {
    flex: 0 0 300px; /* Sabit genişlik */
    overflow: hidden;
    position: relative;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görseli sığdır, kırpma yapabilir */
    filter: grayscale(80%) contrast(110%) brightness(80%); /* Tema uyumu için filtreler */
    transition: filter 0.5s ease, transform 0.5s ease;
}

.story-card:hover .story-image img {
    filter: grayscale(20%) contrast(110%) brightness(90%);
    transform: scale(1.03);
}

/* Hikaye İçerik Alanı */
.story-content {
    flex: 1;
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
}

.story-date {
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.story-content h2 {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: #eee;
    margin: 0 0 1rem 0;
    transition: color 0.3s ease;
}

.story-card:hover .story-content h2 {
    color: #fff;
}

.story-excerpt {
    font-size: 1rem;
    line-height: 1.8; /* Okunabilirlik için ferah satır aralığı */
    color: #bbb;
    font-weight: 300;
    margin: 0 0 1.5rem 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: auto; /* Altta sabitle */
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.story-card:hover .read-more {
    opacity: 1;
    transform: translateX(5px);
}

/* Görselsiz Kart için Özel Stil */
.story-card.text-only .story-content {
    padding: 3rem;
}

.drop-cap {
    font-family: 'Georgia', serif;
    font-size: 3.5rem;
    float: left;
    line-height: 1;
    padding-right: 10px;
    color: #f5f5f5;
    font-weight: 300;
}

/* --- 5. MOBİL UYUMLULUK --- */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 15px;
    }

    .mini-nav .back-link {
        font-size: 1rem;
        margin-left: 15px;
    }

    .page-header {
        padding: 8rem 0 4rem 0;
    }

    .story-card-link {
        flex-direction: column; /* Görsel ve metin alt alta */
    }

    .story-image {
        flex: 0 0 200px; /* Mobilde görsel yüksekliği sabitle */
        width: 100%;
    }

    .story-content {
        padding: 2rem;
    }

    .story-content h2 {
        font-size: 1.5rem;
    }
}/* --- BÖLÜMLER SAYFASI ÖZEL --- */
.story-category {
    display: block;
    color: #666;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Esnek ızgara */
    gap: 1.5rem;
    padding: 2rem 0;
}

.chapter-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    border-radius: 4px;
}

.chapter-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.chapter-number {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.1); /* Silik numara arkada */
    font-weight: 300;
    transition: color 0.4s ease;
}

.chapter-card:hover .chapter-number {
    color: rgba(255, 255, 255, 0.4);
}

.chapter-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #eee;
    margin: 0 0 0.3rem 0;
    font-weight: 400;
}

.chapter-info p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

.chapter-arrow {
    margin-left: auto;
    color: #fff;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.chapter-card:hover .chapter-arrow {
    opacity: 0.7;
    transform: translateX(0);
}

/* Mobil için küçük düzeltme */
@media (max-width: 480px) {
    .chapters-grid {
        grid-template-columns: 1fr;
    }
}
/* Bölüm Kartları Konteyneri */
.chapters-section {
    padding: 2rem 0 8rem 0;
    background-color: #0e0e0e;
}

/* Kategori etiketi için vurgu */
.story-category {
    display: inline-block;
    color: #666;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 5px;
}

/* Bölüm Numarası Font Ayarı */
.chapter-number {
    font-family: 'Georgia', serif;
    font-size: 2.2rem; /* Biraz daha belirgin */
    opacity: 0.15;
    min-width: 50px;
}

/* Mobilde Hizalama Düzeltmesi */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 3rem;
    }
    
    .chapter-card {
        padding: 1.5rem;
        gap: 1rem;
    }
}/* --- OKUMA SAYFASI ÖZEL --- */
.reading-page {
    background-color: #0c0c0c;
    color: #ccc;
    line-height: 1.8;
}

.reading-container {
    max-width: 700px; /* Okuma kolaylığı için dar tutuldu */
    margin: 0 auto;
    padding: 12rem 20px 8rem 20px;
}

.reading-header {
    text-align: center;
    margin-bottom: 5rem;
}

.chapter-meta {
    color: #666;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.8rem;
}

.chapter-title {
    font-family: 'Georgia', serif;
    font-size: clamp(2.5rem, 8vw, 4rem);
    color: #eee;
    font-weight: 300;
    margin: 1rem 0;
}

.reading-stats {
    font-size: 0.85rem;
    color: #555;
    font-style: italic;
}

.reading-content {
    font-family: 'Lora', serif; /* Edebi metinler için ideal */
    font-size: 1.2rem;
    color: #bbb;
}

.reading-content p {
    margin-bottom: 2rem;
}

blockquote {
    border-left: 2px solid #333;
    padding-left: 2rem;
    margin: 3rem 0;
    font-style: italic;
    color: #888;
    font-size: 1.3rem;
}

/* Okuma Çubuğu */
.reading-progress-container {
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.05);
    position: absolute;
    bottom: 0;
    left: 0;
}

.progress-bar {
    height: 2px;
    background: #eee;
    width: 0%;
    transition: width 0.1s ease;
}

/* Navigasyon Butonları */
.reading-footer {
    margin-top: 6rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.nav-controls {
    display: flex;
    justify-content: space-between;
}

.nav-next, .nav-disabled {
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-next {
    color: #eee;
    transition: transform 0.3s ease;
}

.nav-next:hover {
    transform: translateX(5px);
}

.nav-disabled {
    color: #444;
    pointer-events: none;
}
/* Sayfa geçiş animasyonu için gerekli kodlar */
.fade-in {
    opacity: 0;
    transition: opacity 1.5s ease-out; /* 1.5 saniyede yumuşakça belirir */
}

.fade-in.visible {
    opacity: 1;
}