/* ===== CSS Variables ===== */
:root {
    --primary: #1a1a1a;
    --primary-hover: #333333;
    --background: #ffffff;
    --background-secondary: #f8faf9;
    --foreground: #1a1a1a;
    --foreground-muted: #6b7280;
    --border: #e5e7eb;
    --card: #ffffff;
    --card-hover: #f3f4f6;
    --accent: #1a1a1a;
    --accent-light: rgba(26, 26, 26, 0.1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* Dark Theme */
[data-theme="dark"] {
    --background: #0f1419;
    --background-secondary: #1a2028;
    --foreground: #f1f5f9;
    --foreground-muted: #94a3b8;
    --border: #2d3748;
    --card: #1e2530;
    --card-hover: #2a3441;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Navbar ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 20, 25, 0.95);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    font-size: 1.2rem;
}

.brand-icon-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.navbar-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--foreground);
    background: var(--background-secondary);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.navbar-social a:hover {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
}

.navbar-nav .nav-link {
    color: var(--foreground-muted) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--foreground) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 30px;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    font-size: 1.5rem;
    color: var(--foreground);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.theme-toggle {
    background: var(--background-secondary);
    margin-left: 8px;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--foreground);
}

.theme-toggle:hover {
    background: var(--card-hover);
}

/* ===== Buttons ===== */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: var(--radius);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
    border-radius: var(--radius);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-outline-secondary {
    border-color: var(--border);
    color: var(--foreground);
    border-radius: var(--radius);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

.btn-outline-secondary:hover {
    background: var(--card-hover);
    border-color: var(--border);
    color: var(--foreground);
}

/* ===== Hero Section Books ===== */
.hero-section-books {
    padding: 80px 0 60px;
    margin-bottom: 40px;
    background: #e8e8e8;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .hero-section-books {
    background: #2a2a2a;
}

.hero-books-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--foreground);
    text-transform: uppercase;
}

.hero-books-description {
    font-size: 1rem;
    color: var(--foreground-muted);
    margin-bottom: 1.5rem;
    max-width: 500px;
    line-height: 1.7;
}

.hero-books-stat {
    font-size: 1.1rem;
    color: var(--foreground);
    margin-bottom: 2rem;
}

.btn-hero-gold {
    display: inline-block;
    background: #d4a853;
    color: #1a1a1a;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-hero-gold:hover {
    background: #c49843;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 168, 83, 0.3);
}

.hero-books-image {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.books-image {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

/* ===== Hero Section Original ===== */
.hero-section {
    padding-top: 100px;
    background: linear-gradient(135deg, var(--background) 0%, var(--background-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--foreground-muted);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--foreground-muted);
}

.hero-image {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
    z-index: 5;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary);
}

.floating-card span {
    font-weight: 600;
}

.card-1, .card-2, .card-3{
    opacity: .6;
}

.card-1 {
    top: 50px;
    left: 150px;
    animation-delay: 0s;
}

.card-2 {
    top: 100px;
    right: 30px;
    animation-delay: 2s;
}

.card-3 {
    bottom: 100px;
    right: 250px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-author-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: auto;
    max-height: 480px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

/* ===== Sections ===== */
section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--foreground-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Featured Section ===== */
.featured-section {
    background: var(--background-secondary);
}

.featured-article {
    background: var(--card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-image {
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.featured-article:hover .featured-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.featured-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.category-tag {
    background: var(--accent-light);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.date {
    font-size: 0.875rem;
    color: var(--foreground-muted);
}

.featured-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.featured-excerpt {
    color: var(--foreground-muted);
    margin-bottom: 1.5rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    display: block;
    font-weight: 600;
}

.read-time {
    font-size: 0.875rem;
    color: var(--foreground-muted);
}

/* ===== Category Cards ===== */
.category-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: var(--primary);
    color: white;
}

.category-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.category-count {
    color: var(--foreground-muted);
    font-size: 0.875rem;
}

/* ===== Articles Section ===== */
.articles-section {
    background: var(--background);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--foreground-muted);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.article-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.article-image {
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.article-content {
    padding: 1.5rem;
}

.article-content .article-meta {
    margin-bottom: 0.75rem;
}

.article-content .article-meta span {
    font-size: 0.8rem;
    color: var(--foreground-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.article-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-excerpt {
    font-size: 0.9rem;
    color: var(--foreground-muted);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.read-more:hover {
    gap: 0.75rem;
    color: var(--primary-hover);
}

.article-item {
    transition: opacity 0.3s, transform 0.3s;
}

.article-item.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.8);
    position: absolute;
    pointer-events: none;
}

/* ===== Newsletter Section ===== */
.newsletter-section {
    background: var(--background-secondary);
}

.newsletter-card {
    background: linear-gradient(135deg, var(--primary) 0%, #0ea5e9 100%);
    border-radius: var(--radius-lg);
    padding: 4rem;
    color: white;
}

.newsletter-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.newsletter-description {
    opacity: 0.9;
    font-size: 1.1rem;
}

.newsletter-form .input-group {
    background: white;
    border-radius: var(--radius);
    padding: 0.25rem;
}

.newsletter-form .form-control {
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
}

.newsletter-form .btn {
    padding: 1rem 2rem;
}

.form-note {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* ===== About Section ===== */
.about-section {
    background: var(--background);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    object-fit: cover;
}

.about-shape {
    position: absolute;
    top: 20px;
    left: -20px;
    right: 20px;
    bottom: -20px;
    border: 3px solid var(--primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content {
    padding-left: 3rem;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-title strong {
    font-weight: 700;
}

.about-divider {
    width: 50px;
    height: 3px;
    background: var(--foreground);
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--foreground-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

.about-btn {
    border-radius: 0;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--background-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--foreground);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--background-secondary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateX(10px);
    border-color: var(--primary);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-card p {
    color: var(--foreground-muted);
    margin-bottom: 0;
}

.contact-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.contact-form .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    background: var(--background-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.875rem 1rem;
    color: var(--foreground);
    transition: var(--transition);
}

.contact-form .form-control:focus {
    background: var(--card);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.contact-form .form-control::placeholder {
    color: var(--foreground-muted);
}

/* ===== Footer ===== */
.footer {
    background: #3a3a3a;
    color: #ffffff;
    padding: 4rem 0 0;
}

[data-theme="dark"] .footer {
    background: #2a2a2a;
}

.footer-content {
    text-align: center;
    padding-bottom: 3rem;
}

.footer-quote {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.footer-quote p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    line-height: 1.6;
    margin: 0;
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1;
}

.footer-signature {
    margin-bottom: 2.5rem;
}

.signature-text {
    font-family: 'Brush Script MT', 'Segoe Script', cursive;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: white;
}

.footer-bottom {
    background: #2d2d2d;
    padding: 1.25rem 0;
}

[data-theme="dark"] .footer-bottom {
    background: #1a1a1a;
}

.footer-bottom .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom a:hover {
    color: white;
}

/* ===== Scroll Top Button ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-hover);
    transform: translateY(-5px);
}

.toast {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* ===== Page Header (yazilar.html, yazi-detay.html) ===== */
.page-header {
    background: linear-gradient(135deg, var(--background) 0%, var(--background-secondary) 100%);
    padding: 140px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.25rem;
    color: var(--foreground-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Search Filter ===== */
.search-filter-section {
    background: var(--background);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 76px;
    z-index: 100;
}

.search-box {
    position: relative;
}

.search-box .form-control {
    padding-left: 3rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card);
}

.search-box .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--foreground-muted);
}

.articles-count {
    color: var(--foreground-muted);
    font-size: 0.9rem;
}

/* ===== No Results ===== */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    display: none;
}

.no-results.show {
    display: block;
}

.no-results i {
    font-size: 4rem;
    color: var(--foreground-muted);
    margin-bottom: 1rem;
}

.no-results h3 {
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--foreground-muted);
}

/* ===== Pagination ===== */
.pagination-wrapper {
    margin-top: 3rem;
}

.pagination .page-link {
    border: 1px solid var(--border);
    color: var(--foreground);
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.pagination .page-link:hover {
    background: var(--card-hover);
    border-color: var(--primary);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

/* ===== Article Detail ===== */
.article-detail-header {
    background: linear-gradient(135deg, var(--background) 0%, var(--background-secondary) 100%);
    padding: 140px 0 60px;
}

.article-detail-category {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.article-detail-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.article-detail-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.article-detail-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.article-detail-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.article-detail-author-info span {
    display: block;
}

.article-detail-author-info .name {
    font-weight: 600;
}

.article-detail-author-info .role {
    font-size: 0.875rem;
    color: var(--foreground-muted);
}

.article-detail-stats {
    display: flex;
    gap: 1.5rem;
    color: var(--foreground-muted);
    font-size: 0.9rem;
}

.article-detail-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-featured-image {
    display: flex;
    justify-content: center;
    margin-top: -40px;
    margin-bottom: 3rem;
}

.article-featured-image img {
    /* width: 50%;
    max-height: 400px;
    object-fit: cover; */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ===== Content Body ===== */
.content-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--foreground);
}

.content-body h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
}

.content-body h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

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

.content-body ul,
.content-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-body li {
    margin-bottom: 0.5rem;
}

.content-body blockquote {
    border-left: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--background-secondary);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}

.content-body pre {
    background: var(--foreground);
    color: #f1f5f9;
    padding: 1.5rem;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 1.5rem 0;
}

.content-body code {
    background: var(--background-secondary);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

.content-body pre code {
    background: transparent;
    padding: 0;
}

.content-body img {
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

/* ===== Article Tags ===== */
.article-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.article-tags h4 {
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    background: var(--background-secondary);
    color: var(--foreground-muted);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    transition: var(--transition);
}

.tag-item:hover {
    background: var(--primary);
    color: white;
}

/* ===== Share Buttons ===== */
.share-buttons {
    margin-top: 2rem;
}

.share-buttons h4 {
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

.share-list {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-3px);
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.facebook {
    background: #4267b2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

/* ===== Author Box ===== */
.author-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
}

.author-box img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.author-box-content p {
    color: var(--foreground-muted);
    margin-bottom: 1rem;
}

.author-social {
    display: flex;
    gap: 0.75rem;
}

.author-social a {
    width: 36px;
    height: 36px;
    background: var(--background-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--foreground);
    transition: var(--transition);
}

.author-social a:hover {
    background: var(--primary);
    color: white;
}

/* ===== Sidebar ===== */
.sidebar-widget {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
}

.related-post {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.related-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-post:first-child {
    padding-top: 0;
}

.related-post img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius);
}

.related-post-content h4 {
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-content span {
    font-size: 0.8rem;
    color: var(--foreground-muted);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.category-list li:first-child {
    padding-top: 0;
}

.category-list a {
    color: var(--foreground);
    font-weight: 500;
}

.category-list a:hover {
    color: var(--primary);
}

.category-list span {
    background: var(--background-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--foreground-muted);
}

/* ===== Hakkimda Page Specific ===== */
.about-page-section {
    padding: 60px 0;
    background: var(--background);
}

.about-page-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-page-content h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
}

.about-page-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--foreground-muted);
    margin-bottom: 1.5rem;
}

/* ===== About Detail Section ===== */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--foreground-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.back-link:hover {
    color: var(--primary);
}

.title-divider {
    margin: auto;
    width: 50%;
    height: 3px;
    background: var(--foreground);
    
}

.about-detail-section {
    padding: 60px 0 80px;
    background: var(--background);
}

.about-detail-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--foreground);
}

.about-detail-content p {
    margin-bottom: 1.5rem;
}

.about-detail-content h3 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: var(--foreground);
}

.about-image-container {
    margin-bottom: 2rem;
}

.about-image-container img {
    border-radius: var(--radius-lg);
    width: 100%;
}

.about-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.about-links h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.about-links a {
    display: inline-block;
    color: var(--primary);
    font-weight: 500;
    margin-right: 2rem;
    margin-bottom: 0.5rem;
}

.about-links a:hover {
    text-decoration: underline;
}

/* ===== Articles Page Section ===== */
.articles-page-section {
    padding: 60px 0 100px;
    background: var(--background);
}

/* ===== Article Detail Specific ===== */
.article-detail-stats {
    display: flex;
    gap: 1.5rem;
    color: var(--foreground-muted);
    font-size: 0.9rem;
}

.article-stats {
    display: flex;
    gap: 1.5rem;
    color: var(--foreground-muted);
    font-size: 0.9rem;
}

.article-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-date {
    font-size: 0.9rem;
    color: var(--foreground-muted);
}

.tags-label {
    font-weight: 600;
}

.tag {
    display: inline-block;
    background: var(--card);
    color: var(--foreground-muted);
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--border);
}

.tag:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.share-label {
    font-weight: 600;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.related-articles {
    background: var(--background-secondary);
    padding: 80px 0;
}

.related-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.author-box-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.author-box-info p {
    color: var(--foreground-muted);
    margin-bottom: 1rem;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {

   
    .navbar-nav .nav-link::after {
    display: none; 
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .about-content {
        padding-left: 0;
        padding-top: 2rem;
    }
    
    .featured-content {
        padding: 1.5rem;
    }
    
    .navbar-collapse {
        background: var(--background);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: var(--radius);
        border: 1px solid var(--border);
    }
    
    .navbar-nav {
        margin-bottom: 1rem;
    }
    
    .navbar-social {
        justify-content: center;
        padding: 0.5rem 0;
    }
    
    .theme-toggle {
        margin: 0.5rem auto 0;
    }
    
    .page-title {
        font-size: 2.25rem;
    }
    
    .search-filter-section {
        position: static;
    }
    
    .search-filter-section .filter-buttons {
        margin-top: 1rem;
    }
    
    .article-detail-title {
        font-size: 2.25rem;
    }
    
    .hero-books-title {
        font-size: 2rem;
    }
    
    .hero-books-image {
        height: 350px;
        margin-top: 2rem;
    }
    
    .books-image {
        max-height: 300px;
    }
}

@media (max-width: 767px) {
    
    .title-divider {
    width: 100%;
    }

    iframe {
        width: 90%;
    }

    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0 0 1rem 0 !important;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.875rem;
    }
    
    .about-shape {
        display: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        gap: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .brand-icon-img {
        width: 28px;
        height: 28px;
    }
    
    .page-header {
        padding: 120px 0 40px;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    .article-detail-header {
        padding: 120px 0 40px;
    }
    
    .article-detail-title {
        font-size: 1.75rem;
    }
    
    .article-detail-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .article-featured-image {
        margin-top: -20px;
    }
    
    .content-body {
        font-size: 1rem;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .author-social {
        justify-content: center;
    }
    
    .hero-books-title {
        font-size: 1.5rem;
    }
    
    .hero-books-image {
        height: 280px;
    }
    
    .books-image {
        max-height: 250px;
    }
    
    .floating-card {
        display: none;
    }
}
