/* Kitap Bilgilendirme Kartı */
.book-header-card {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    background: var(--card-bg-light);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 25px var(--shadow-light);
    border: 1px solid transparent;
}

body.dark-mode .book-header-card {
    background: var(--card-bg-dark);
    border-color: var(--primary-dark);
}

.book-header-cover {
    flex: 0 0 240px;
    display: flex;
    justify-content: center;
}

.book-header-cover img {
    width: 100%;
    max-width: 240px;
    height: auto;
    border-radius: 4px;
    /*box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);*/
}

.book-header-info {
    flex: 1 1 auto;
    min-width: 0;
}

.book-header-title {
    font-size: 2rem;
    margin-bottom: 0.6rem;
    color: var(--text-light);
}

body.dark-mode .book-header-title {
    color: var(--text-dark);
}

.book-header-meta {
    font-size: 1.05rem;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.book-header-meta .meta-sep {
    margin: 0 0.5rem;
    color: var(--primary-color);
}

.book-header-rating {
    display: inline-flex;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-dark);
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.book-header-rating i {
    color: #F5C518;
    font-size: 1rem;
}

.book-header-desc p {
    margin-bottom: 0.9rem;
    line-height: 1.7;
    opacity: 0.95;
}

.book-header-desc p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .book-header-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    .book-header-cover {
        flex: 0 0 auto;
        max-width: 200px;
    }

    .book-header-rating {
        justify-content: center;
    }
}

.buy-link-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--card-bg-light);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-light);
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: var(--transition);
    border: 1px solid transparent;
}

body.dark-mode .buy-link-card {
    background: var(--card-bg-dark);
    color: var(--text-dark);
    border-color: var(--primary-dark);
}

.buy-link-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.buy-link-card i {
    font-size: 1.2rem;
    color: var(--primary-color);
}


/* Yazardan Kısa Not ve benzeri inline stil verilmiş alanlar için */
body.dark-mode .section[style*="background: var(--card-bg-light)"] {
    background-color: var(--card-bg-dark) !important;
    color: var(--text-dark);
}

/* İletişim Formu Okunabilirliği */
body.dark-mode .contact-form {
    background-color: var(--card-bg-dark);
    color: var(--text-dark);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-dark);
    border-color: var(--primary-dark);
}

body.dark-mode .form-group label {
    color: var(--primary-light);
}












:root {
            --primary-color: #9B7ED9;
            --primary-light: #C4A8E8;
            --primary-dark: #7B5FBF;
            --bg-light: #16101F;
            --bg-dark: #16101F;
            --text-light: #ECE6F7;
            --text-dark: #ECE6F7;
            --card-bg-light: #2B2140;
            --card-bg-dark: #2B2140;
            --shadow-light: rgba(0, 0, 0, 0.45);
            --shadow-dark: rgba(0, 0, 0, 0.45);
            --transition: all 0.3s ease;
        }

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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--bg-light);
            color: var(--text-light);
            line-height: 1.6;
            transition: var(--transition);
        }

        body.dark-mode {
            background-color: var(--bg-dark);
            color: var(--text-dark);
        }

        body.dark-mode .section[style*="background: var(--card-bg-light)"] {
        background-color: var(--card-bg-dark) !important;
        color: var(--text-dark);
        }

        body.dark-mode .contact-form {
        background-color: var(--card-bg-dark);
        color: var(--text-dark);
        }

        body.dark-mode .contact-form h3,
        body.dark-mode .contact-form label {
        color: var(--primary-light);
        }

        body.dark-mode .form-group input,
        body.dark-mode .form-group textarea {
        border-color: var(--primary-dark);
        color: var(--text-dark);
        }



        /* Navbar */
        .navbar {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            padding: 1rem 2rem;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px var(--shadow-light);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            color: white;
            font-size: 1.5rem;
            font-weight: bold;
            text-decoration: none;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
            align-items: center;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            transition: var(--transition);
            font-weight: 500;
        }

        .nav-links a:hover {
            opacity: 0.8;
            transform: translateY(-2px);
        }

        .theme-toggle {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            cursor: pointer;
            transition: var(--transition);
        }

        .theme-toggle:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .mobile-menu {
            display: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }

        .nav-logo {
            width: 500px;
            max-width: 100%;
            height: auto;
            object-fit: contain;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
            padding: 6rem 2rem;
            text-align: center;
            color: white;
        }

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            animation: fadeInUp 1s ease;
        }

        .hero .subtitle {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            opacity: 0.9;
            animation: fadeInUp 1s ease 0.2s both;
        }

        .hero .description {
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto 2rem;
            animation: fadeInUp 1s ease 0.4s both;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            animation: fadeInUp 1s ease 0.6s both;
        }

        .btn {
            padding: 0.8rem 2rem;
            border: none;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            cursor: pointer;
        }

        .btn-primary {
            background: white;
            color: var(--primary-color);
        }

        .btn-secondary {
            background: transparent;
            color: white;
            border: 2px solid white;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        /* Sections */
        .section {
            padding: 4rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: var(--primary-color);
        }

        /* Kitap Vitrini */
        .book-showcase {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .book-card {
            background: var(--card-bg-light);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px var(--shadow-light);
            transition: var(--transition);
        }

        body.dark-mode .book-card {
            background: var(--card-bg-dark);
        }

        .book-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 30px var(--shadow-light);
        }

        .book-cover {
            width: 100%;
            height: 400px;
            background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            font-weight: bold;
        }

        .book-info {
            padding: 1.5rem;
        }

        .book-info h3 {
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

        /* Blog Section */
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }

        .blog-card {
            background: var(--card-bg-light);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px var(--shadow-light);
            transition: var(--transition);
        }

        body.dark-mode .blog-card {
            background: var(--card-bg-dark);
        }

        .blog-card:hover {
            transform: translateY(-5px);
        }

        .blog-image {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
        }

        .blog-content {
            padding: 1.5rem;
        }

        .blog-content h3 {
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

        .blog-date {
            color: #888;
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        /* Fotoğraf Galerisi */
        .photo-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
        }

        .photo-item {
            aspect-ratio: 1;
            background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
            border-radius: 10px;
            overflow: hidden;
            cursor: pointer;
            transition: var(--transition);
        }

        .photo-item:hover {
            transform: scale(1.05);
        }

        /* Vitrin Bölümü */
        .vitrin-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }

        .vitrin-item {
            background: var(--card-bg-light);
            border-radius: 15px;
            padding: 2rem;
            text-align: center;
            box-shadow: 0 5px 20px var(--shadow-light);
            transition: var(--transition);
        }

        body.dark-mode .vitrin-item {
            background: var(--card-bg-dark);
        }

        .vitrin-item:hover {
            transform: translateY(-5px);
        }

        .vitrin-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        /* Footer */
        .footer {
            background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
            color: white;
            padding: 3rem 2rem 1rem;
            margin-top: 4rem;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .footer-section h3 {
            margin-bottom: 1rem;
        }

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

        .social-links a {
            color: white;
            font-size: 1.5rem;
            transition: var(--transition);
        }

        .social-links .bluesky-icon {
            width: 1.5rem;
            height: 1.5rem;
            vertical-align: middle;
        }

        .social-links a:hover {
            transform: translateY(-3px);
            opacity: 0.8;
        }

        .footer-bottom {
            text-align: center;
            margin-top: 2rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive */
        html {
            overflow-x: hidden;
        }

        body {
            overflow-x: hidden;
        }

        @media (max-width: 768px) {
            .navbar {
                padding: 0.85rem 1.2rem;
            }

            .nav-logo {
                width: 220px;
            }

            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: var(--primary-color);
                flex-direction: column;
                padding: 1rem;
                gap: 0.25rem;
                box-shadow: 0 8px 15px var(--shadow-light);
            }

            .nav-links.active {
                display: flex;
            }

            .nav-links li {
                width: 100%;
            }

            .nav-links a {
                display: block;
                padding: 0.75rem 0.5rem;
            }

            .mobile-menu {
                display: block;
            }

            .hero {
                padding: 2.5rem 1.25rem;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .hero-buttons {
                flex-direction: column;
                width: 100%;
            }

            .hero-buttons .btn {
                width: 100%;
            }

            .section {
                padding: 2.5rem 1.25rem;
            }

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

            .buy-link-card {
                padding: 1.1rem;
            }

            .footer-content {
                text-align: center;
            }

            .social-links {
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .navbar {
                padding: 0.65rem 1rem;
            }

            .nav-logo {
                width: 160px;
            }

            .hero {
                padding: 2rem 1rem;
            }

            .hero h1 {
                font-size: 1.7rem;
            }

            .section {
                padding: 2rem 1rem;
            }

            .section-title {
                font-size: 1.6rem;
            }

            .btn {
                padding: 0.7rem 1.5rem;
                font-size: 0.95rem;
            }

            .buy-link-card {
                padding: 0.9rem 1rem;
                gap: 0.5rem;
            }

            .buy-link-card strong {
                font-size: 1.05rem !important;
            }
        }

        /* Hidden sections for navigation */
        .page-section {
            display: none;
        }

        .page-section.active {
            display: block;
        }

        /* Language selector for About page */
        .language-selector {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .lang-btn {
            padding: 0.5rem 1rem;
            border: 2px solid var(--primary-color);
            background: transparent;
            color: var(--primary-color);
            border-radius: 20px;
            cursor: pointer;
            transition: var(--transition);
        }

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

        .about-content {
            display: none;
        }

        .about-content.active {
            display: block;
        }