:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --background-color: #f4f7f6;
    --text-color: #333;
    --light-gray: #ecf0f1;
    --white: #ffffff;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- YENİ HEADER STİLLERİ --- */

header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Header Üst Kısım: Logo, Menü, Arama */
.header-top {
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.8rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem; /* Menü ve arama çubuğu arasındaki boşluk */
}

header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

header nav ul li a:hover {
    color: var(--primary-color);
}

header nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

header nav ul li a:hover::after {
    width: 100%;
}

/* Ana Sayfa Yazı Grid */
.blog-posts {
    padding: 4rem 0;
}

.blog-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-category {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-card h3 {
    margin: 0.5rem 0;
    color: var(--secondary-color);
}

.post-card p {
    flex-grow: 1;
    margin-bottom: 1rem;
    color: #555;
}

.post-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1.5rem;
}

.post-meta span {
    margin-right: 15px;
}

/* --- YENİ VE MODERN "DEVAMINI OKU" BUTONU --- */
.read-more-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.2rem; /* Daha küçük ve zarif boyut */
    border-radius: 20px; /* Daha yuvarlak ve modern */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem; /* Biraz daha küçük font */
    transition: all 0.3s ease; /* Tüm geçişleri yumuşat */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Hafif bir gölge */
    align-self: flex-start;
}

.read-more-btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px); /* Üzerine gelince hafifçe yukarı kalksın */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* Gölgesi derinleşsin */
}

/* Tekil Yazı Sayfası */
.single-post {
    padding: 4rem 0;
}

.single-post .container {
    max-width: 800px;
}

.single-post article h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.single-post .post-meta {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #777;
}

.single-post .post-meta span {
    margin-right: 15px;
}

.single-post article img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-body p {
    margin-bottom: 1.5rem;
}

/* Yorumlar Bölümü */
.comments-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
}

.comments-section h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.comment {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.comment h4 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.comment h4 small {
    color: #999;
    font-weight: normal;
    margin-left: 10px;
}

/* Yorum Formu */
#comment-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #2980b9;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--light-gray);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Arama Formu */
.search-form {
    display: flex;
    align-items: center;
    background-color: var(--background-color);
    border-radius: 25px;
    padding: 5px 15px;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-form:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.search-form input {
    border: none;
    background: none;
    outline: none;
    padding: 5px;
    font-size: 0.9rem;
    width: 150px; /* Başlangıç genişliği */
    transition: width 0.4s ease;
}

.search-form input:focus {
    width: 200px; /* Odaklanınca genişlesin */
}

.search-form button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #777;
    padding: 0 5px;
}


/* Header Alt Kısım: Kategori Menüsü */
.header-bottom {
    background-color: #f8f9fa; /* Hafif farklı bir arka plan */
    padding: 0.8rem 0;
}

.category-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem; /* Kategori linkleri arasındaki boşluk */
    margin: 0;
    padding: 0;
}

.category-nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border-radius: 20px; /* Yuvarlak butonlar */
    transition: all 0.3s ease;
    display: block;
}

.category-nav ul li a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px); /* Hover'da hafif yukarı kalkma efekti */
}

.category-nav ul li a.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* --- RESPONSIVE TASARIM --- */
@media (max-width: 992px) {
    .header-right {
        gap: 1rem;
    }
    header nav ul li {
        margin-left: 15px;
    }
}

@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        gap: 1rem;
    }
    header h1 a {
        font-size: 1.2rem;
    }
    .header-right {
        width: 100%;
        justify-content: space-between;
    }
    .search-form input {
        width: 120px;
    }
    .search-form input:focus {
        width: 150px;
    }
    .category-nav ul {
        gap: 0.4rem;
    }
    .category-nav ul li a {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }
}

@media (max-width: 480px) {
    header nav ul {
        font-size: 0.9rem;
    }
    header nav ul li {
        margin-left: 10px;
    }
    .search-form {
        padding: 3px 10px;
    }
    .search-form input:focus {
        width: 100px;
    }
}

/* Ana Sayfa 3 Kolonlu Layout */
.main-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 20px;
}

.blog-posts-main {
    /* Orta sütun, özel bir stil gerekmiyor */
}

/* Sidebarlar */
.sidebar {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 100px;
}
.sidebar h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.book-widget {
    text-align: center;
    margin-bottom: 2rem;
}
.book-widget:last-child {
    margin-bottom: 0;
}
.book-widget img {
    width: 120px;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}
.book-widget h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}
.book-widget p {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 1rem;
}
.download-btn {
    display: inline-block;
    background-color: #27ae60;
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}
.download-btn:hover {
    background-color: #229954;
}

/* Sayfalama */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}
.pagination a {
    padding: 0.7rem 1rem;
    border: 1px solid #ddd;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}
.pagination a:hover {
    background-color: var(--light-gray);
}
.pagination a.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
    }
}
@media (max-width: 768px) {
    .search-form input {
        width: 80%;
    }
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Header Giriş/Kayıt Linkleri Stilleri --- */
.header-right {
    /* Flexbox'ı koru, elemleri hizala ve aralarına boşluk koy */
    display: flex;
    align-items: center;
    gap: 1.9rem; /* Elemanlar arası boşluğu biraz azalttık */
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 1rem; /* Giriş ve Kayıt Ol linkleri arasındaki boşluk */
    padding: 0.4rem 1rem;
    background-color: #f8f9fa; /* Hafif bir arka plan rengi */
    border: 1px solid #e9ecef;
    border-radius: 20px; /* Yuvarlak kenarlar modern bir görünüm verir */
    font-size: 0.9rem;
}

.auth-links a {
    text-decoration: none;
    color: var(--primary-color); /* Ana renk ile uyumlu */
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: var(--secondary-color); /* Üzerine gelince renk değiştirsin */
    text-decoration: underline;
}

.user-welcome {
    color: var(--text-color);
    font-weight: 500;
    margin-right: 0.5rem;
}

/* --- Responsive Düzenlemeler --- */
@media (max-width: 768px) {
    .header-right {
        flex-wrap: wrap; /* Küçük ekranlarda elemanlar alt satıra geçsin */
        gap: 1rem;
    }
    .auth-links {
        order: 3; /* Küçük ekranlarda en alta alsın */
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
}
/* --- HEADER EN TEMİZ VE MODERN HALİ --- */
.header-top {
    position: relative; /* Mutlak konumlandırma için referans noktası */
    padding: 0.8rem 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
	
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.1rem; /* Aradaki boşluğu biraz azaltalım */
    flex-grow: 1; /* 1. EKLENDİ: Bu alanın esnek olmasını sağla */
    min-width: 0; /* 2. EKLENDİ: BU EN ÖNEMLİSİ! Daraldığında içeriğin taşmasını engeller */
}


/* --- SAĞ ÜSTTEKİ BUTONLAR --- */
.auth-buttons {
    position: absolute; /* Normal akıştan çıkar ve konumlandırılır */
    top: 50%;
    right: 20px; /* Sağdan 20px boşluk */
    transform: translateY(-50%); /* Dikey olarak tam ortalar */
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

/* --- BUTON STİLLERİ (Değişiklik Yok) --- */
.btn {
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-login { background-color: var(--primary-color); color: var(--white); }
.btn-login:hover { background-color: #2980b9; }
.btn-register { background-color: transparent; color: var(--primary-color); border: 1px solid var(--primary-color); }
.btn-register:hover { background-color: var(--primary-color); color: var(--white); }
.btn-logout { background-color: #e74c3c; color: var(--white); }
.btn-logout:hover { background-color: #c0392b; }
.auth-buttons span { font-size: 0.9rem; color: var(--text-color); margin-right: 0.5rem; }

/* --- Responsive Düzenleme --- */
@media (max-width: 768px) {
    .header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .auth-buttons {
        position: static; /* Mobilde mutlak konumu kaldır */
        transform: none;
        margin-top: 1rem;
    }
    .header-top .container {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- Responsive Düzenleme --- */
@media (max-width: 768px) {
    .header-right {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
    }
    .nav-and-search {
        width: 100%;
        justify-content: space-between;
    }
}

/* --- Responsive Düzenleme --- */
@media (max-width: 768px) {
    .header-right {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .auth-buttons {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
}

/* --- YENİ FOOTER STİLLERİ --- */
footer {
    background-color: var(--secondary-color);
    color: var(--light-gray);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    line-height: 1.6;
    color: #bdc3c7;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 20px 0;
    border-top: 1px solid #34495e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.payment-logos {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.payment-logos img {
    max-height: 32px; /* Maksimum yüksekliği 32px ile sınırla */
    max-width: 60px;  /* Maksimum genişliği de sınırla */
    width: auto;      /* Oranını koru */
    height: auto;     /* Oranını koru */
    opacity: 0.6;    /* Biraz daha soluk görünsün */
    transition: all 0.3s ease;
    filter: grayscale(100%); /* Normalde siyah-beyaz olsunlar */
}

.payment-logos img:hover {
    opacity: 1;      /* Üzerine gelince tam renkli olsun */
    filter: grayscale(0%); /* Üzerine gelince renkleri geri gelsin */
    transform: scale(1.1); /* Hafifçe büyüsün */
}



/* --- Footer Responsive --- */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* --- ÇİZER ONAYI BANNER'I --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(44, 62, 80, 0.95);
    color: var(--white);
    padding: 1rem 0;
    z-index: 9999;
    transform: translateY(100%); /* Başlangıçta gizli */
    transition: transform 0.5s ease-in-out;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-banner.show {
    transform: translateY(0); /* Görünür hale getir */
}

.cookie-banner-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-banner p {
    margin: 0;
    flex-grow: 1;
    font-size: 0.9rem;
}

.cookie-banner p a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-buttons button {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

#accept-cookies {
    background-color: var(--primary-color);
    color: var(--white);
}
#accept-cookies:hover {
    background-color: #2980b9;
}

#reject-cookies {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}
#reject-cookies:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

/* --- Cookie Banner Responsive --- */
@media (max-width: 768px) {
    .cookie-banner-content {
        text-align: center;
        flex-direction: column;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* --- KULLANIM KILAVUZU SAYFASI İÇİN ÖZEL TASARIM --- */
.user-guide {
    background-color: #fdfdfd; /* Çok hafif bir arka plan */
    border-left: 5px solid var(--primary-color); /* Sol kenara vurgulu bir çizgi */
    padding-left: 2rem !important; /* İçeriği soldan biraz çek */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.user-guide h1 {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.user-guide h3 {
    color: var(--primary-color);
    margin-top: 3rem; /* Başlıklar arası çok boşluk */
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
}

.user-guide h3::before {
    content: counter(h3-counter); /* Otomatik numaralandırma */
    counter-increment: h3-counter;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: bold;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1rem;
    flex-shrink: 0; /* Numaranın küçülmesini engelle */
}

.user-guide p {
    line-height: 1.8; /* Satırlar arası mesafe */
    margin-bottom: 1.5rem;
    color: #555;
}

.user-guide ul {
    list-style: none; /* Varsayılan işaretleri kaldır */
    padding-left: 0;
    margin-bottom: 2rem;
}

.user-guide ul li {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.user-guide ul li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.user-guide ul li strong {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Sayfa için numaralandırıcıyı başlat */
.user-guide {
    counter-reset: h3-counter;
}
/* --- PROFİL SAYFASI İÇİN ÖZEL TASARIM --- */
.profile-page .container {
    max-width: 1200px;
}

.profile-page h1 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.profile-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-top: 4px solid var(--primary-color);
}

.profile-card h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hesap Bilgileri Kartı */
.account-info .info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.account-info .info-item:last-child {
    border-bottom: none;
}

.account-info .label {
    font-weight: 600;
    color: var(--text-color);
}

.account-info .value {
    color: #555;
}

.logout-btn {
    display: inline-block;
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.8rem;
    background-color: #e74c3c;
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}
.logout-btn:hover {
    background-color: #c0392b;
}

/* Satın Alınan Kitaplar Kartı */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.book-item-card {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.book-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.book-item-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.book-info {
    padding: 1rem;
}

.book-info h4 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    min-height: 40px;
}

.book-info p {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 1rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem;
    background-color: #27ae60;
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}
.download-btn:hover {
    background-color: #229954;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: #777;
}
.empty-state p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* --- Profil Sayfası Responsive Tasarım --- */
@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* --- PROFİL BUTONU STİLİ --- */
.btn-profile {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}
.btn-profile:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* --- KİTAP KARTI YENİ STİLLERİ --- */
.book-card {
    display: flex;
    flex-direction: column;
}
.book-image-container {
    position: relative;
}
.book-meta-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}
.book-meta-overlay span {
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
}
.star { color: #ffc107; }
.star.empty { color: #ccc; }
.rating-number { font-size: 0.6rem; color: #eee; margin-left: 3px; }

.book-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.book-actions {
    display: flex;
    gap: 0.5rem;
}
.details-btn {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.3s;
}
.details-btn:hover { background: #138496; }
.free-btn { background-color: #f39c12 !important; }

/* --- MODAL (POPUP) STİLLERİ --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    overflow: auto;
}
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 2rem;
    border: 1px solid #888;
    width: 90%;
    max-width: 700px;
    border-radius: 10px;
    position: relative;
    animation: modalFadeIn 0.4s;
}
.close-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close-btn:hover { color: black; }
#modal-title { margin-bottom: 1rem; }
#modal-description { font-style: italic; color: #555; margin-bottom: 1.5rem; }
#modal-content { line-height: 1.7; }

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-30px);}
    to {opacity: 1; transform: translateY(0);}
}

/* --- PROJE DURUMU SAYFASI STİLLERİ --- */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.status-card {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 5px solid var(--primary-color);
}

.status-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.status-card ul {
    list-style: none;
    padding: 0;
}

.status-card ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.6;
}

.status-card ul li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.status-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.status-item span:first-child {
    font-weight: 600;
    color: var(--text-color);
}

.status-item span:last-child {
    color: #555;
    text-align: right;
}

.status-card h3 strong {
    color: var(--primary-color);
}

.ssl-logo-container {
    text-align: center; /* Logoyu ortalar */
    padding: 20px 0;
    font-size: 14px;
    color: #888; /* Metin rengi */
}

.ssl-logo-container a {
    text-decoration: none;
    color: inherit; /* Ana div'in rengini inheriter */
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.ssl-logo-container a:hover {
    color: var(--primary-color, #3498db); /* Üzerine gelince renk değiştirir */
}

.ssl-logo-container i.fas.fa-lock {
    margin-right: 8px; /* İkon ile yazı arasına boşluk */
    font-size: 18px;
    color: #28a745; /* Yeşil renk, güveni simgeler */
}