:root {
    --sky-blue: #005f99; /* Okunaklı gökyüzü mavisi */
    --leaf-green: #2d5a27; /* Ağaç yeşili */
    --glass-bg: rgba(255, 255, 255, 0.85); /* %85 opak beyaz - Okumayı kolaylaştırır */
    --glass-border: rgba(255, 255, 255, 0.4);
    --text-main: #2c3e50; /* Koyu gri/lacivert metin rengi */
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    /* Papirüs desenli arka plan */
    background: #f4e4bc url('https://www.transparenttextures.com/patterns/aged-paper.png');
    background-blend-mode: multiply;
    color: var(--text-main);
    line-height: 1.8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Üst Menü (Header) --- */
header {
    background: linear-gradient(90deg, var(--sky-blue), var(--leaf-green));
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: bold;
}

nav a {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: 0.3s;
    font-size: 1rem;
}

nav a:hover {
    color: #ffd700; /* Altın sarısı vurgu */
}

/* --- Ana İçerik Alanı --- */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem;
}

/* --- CAM EFEKTİ VE KUTU TASARIMI --- */
.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(10px); /* Arka planı bulanıklaştırır */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 4rem; /* İç boşluk */
    max-width: 800px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); /* Yumuşak gölge */
    text-align: center; /* Başlıklar ortalı kalsın */
    transition: height 0.3s ease;
    border-left: 10px solid var(--leaf-green); /* Sol tarafa yeşil şerit */
}

/* Başlıklar */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--leaf-green);
    margin-bottom: 1.5rem;
    text-align: center; /* Başlıklar her zaman ortalı */
}

h1 { font-size: 2.5rem; }

/* --- İŞTE SİHİRLİ DOKUNUŞ (Metinleri Yaslama) --- */
.glass-container p {
    text-align: justify; /* Yazıyı gazete/kitap gibi iki yana yaslar */
    text-justify: inter-word;
    margin-bottom: 1.5rem;
    font-size: 1.15rem; /* Telefondan okumak için ideal büyüklük */
    color: #333;
}

/* İstatistik İkonları */
.stats-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2.5rem 0;
    color: var(--sky-blue);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--leaf-green);
}

/* Buton Tasarımı */
.btn {
    background: var(--leaf-green);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.3);
    margin-top: 20px;
    display: inline-block;
}

.btn:hover {
    background: #244a1f;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 90, 39, 0.4);
}

/* Alt Bilgi (Footer) */
footer {
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    color: #555;
    background: rgba(255,255,255,0.6);
}

/* Mobil Uyumluluk */
@media (max-width: 600px) {
    .glass-container {
        padding: 2rem; /* Telefondan girince kenar boşluğunu azalt */
    }
    h1 { font-size: 1.8rem; }
    
    .stats-icons {
        flex-direction: column; /* İkonları mobilde alt alta diz */
        gap: 1.5rem;
    }
}
/* --- KART TASARIMI (BLOG GÖRÜNÜMÜ) --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: 1rem;
}

.book-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.book-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--leaf-green);
}

.book-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    color: var(--text-main);
    text-align: left;
}

.book-card p {
    font-size: 0.95rem;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 3 satırdan sonrasını ... koy */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
    text-align: left;
}

.read-more {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--sky-blue);
    text-transform: uppercase;
}