// style.css - Ana Tema Stil Dosyası
/*
Theme Name: İlk Kitabım
Theme URI: https://www.example.com/ilk-kitabim
Author: İsim Soyisim
Author URI: https://www.example.com
Description: Yazarlar için özel olarak hazırlanmış, Redux Framework ile tamamen özelleştirilebilir WordPress teması.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ilk-kitabim
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn, button, input[type="submit"] {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-tema {
    color: #fff;
}

.btn-tema:hover {
    opacity: 0.9;
    color: #fff;
}

/* Header Stilleri */
.site-header {
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-logo {
    max-height: 60px;
}

.site-title {
    font-size: 24px;
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
}

/* Ana Menü Stilleri */
.main-navigation {
    margin-right: 20px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin-right: 20px;
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 5px 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Alt Menü (Dropdown) */
.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 3px 5px rgba(0,0,0,0.2);
    min-width: 200px;
    z-index: 999;
}

.main-navigation ul li:hover > ul {
    display: block;
}

.main-navigation ul ul li {
    margin-right: 0;
    width: 100%;
}

.main-navigation ul ul a {
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
}

/* Sosyal Medya İkonları */
.social-icons {
    display: flex;
    align-items: center;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-left: 10px;
    background-color: #f5f5f5;
}

/* Arama Kutusu */
.search-box {
    margin-left: 20px;
}

.search-form {
    display: flex;
    position: relative;
}

.search-field {
    padding: 8px 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
    width: 200px;
}

.search-submit {
    background: none;
    border: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* Slider Bölümü */
.slider-section {
    margin-bottom: 50px;
}

.main-slider {
    height: 500px;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.slide-content {
    padding: 30px;
    color: #fff;
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.slide-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #fff;
}

.slide-content p {
    margin-bottom: 20px;
}

/* İkon Bölümü */
.icon-section {
    padding: 70px 0;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #3498db; /* Redux ile değiştirilebilir */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.icon-boxes {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.icon-box {
    flex: 0 0 30%;
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.icon-box:hover {
    transform: translateY(-10px);
}

.icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #3498db; /* Redux ile değiştirilebilir */
}

.icon-box h3 {
    margin-bottom: 15px;
}

/* Yazar Hakkında Bölümü */
.author-section {
    padding: 70px 0;
}

.author-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.author-image {
    flex: 0 0 45%;
}

.author-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.author-quote {
    flex: 0 0 50%;
}

blockquote {
    font-size: 20px;
    font-style: italic;
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
}

blockquote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: #3498db; /* Redux ile değiştirilebilir */
}

cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-size: 16px;
    opacity: 0.8;
}

/* Satış Yerleri Bölümü */
.sales-section {
    padding: 70px 0;
    background-color: #f9f9f9;
}

.section-description {
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.sales-platforms {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.platform-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    max-width: 150px;
}

.platform-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.platform-logo img {
    max-height: 60px;
}

/* Footer Stilleri */
.site-footer {
    padding: 50px 0 0;
}

.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-widget-area {
    flex: 1;
    min-width: 200px;
    padding: 0 15px;
    margin-bottom: 30px;
}

.widget-title {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #3498db; /* Redux ile değiştirilebilir */
}

.footer-logo {
    max-height: 60px;
    margin-bottom: 15px;
}

.footer-description {
    margin-bottom: 20px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
}

.footer-social {
    display: flex;
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 10px;
    background-color: rgba(255,255,255,0.1);
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Blog ve Yazı Stilleri */
.posts-section {
    padding: 40px 0;
}

article {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.post-thumbnail {
    margin-bottom: 20px;
}

.post-thumbnail img {
    border-radius: 6px;
}

.entry-title {
    margin-bottom: 15px;
}

.entry-meta {
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.8;
}

.entry-meta span {
    margin-right: 15px;
}

.entry-meta i {
    margin-right: 5px;
}

.entry-content {
    margin-bottom: 20px;
}

.read-more {
    font-weight: bold;
}

.read-more i {
    margin-left: 5px;
}

/* Tek Yazı Stilleri */
.single-post-container {
    padding: 40px 0;
}

.tags-links {
    margin-top: 30px;
}

.tags-links i {
    margin-right: 5px;
}

.post-navigation {
    margin: 40px 0;
    display: flex;
    justify-content: space-between;
}

/* Yorum Stilleri */
.comments-area {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.comment-author img {
    border-radius: 50%;
    margin-right: 15px;
}

.comment-metadata {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}

.comment-form input[type="submit"] {
    padding: 10px 20px;
    color: #fff;
}

/* Sayfa Stilleri */
.page-container {
    padding: 40px 0;
}

/* 404 Sayfa Stilleri */
.error-404 {
    text-align: center;
    padding: 60px 0;
}

.error-404 .page-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.error-actions {
    margin-top: 30px;
}

.search-404 {
    max-width: 400px;
    margin: 30px auto 0;
}

/* Sidebar Stiller */
.widget-area {
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 30px;
    background-color: #f9f9f9;
}

.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.widget ul li:last-child {
    border-bottom: none;
}

/* Arşiv ve Kategori Sayfaları */
.archive-description,
.taxonomy-description {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

/* Mobil Uyumluluk */
@media (max-width: 991px) {
    .author-content,
    .icon-boxes {
        flex-direction: column;
        align-items: center;
    }
    
    .icon-box {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    .author-image,
    .author-quote {
        flex: 0 0 100%;
    }
    
    .author-image {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        z-index: 999;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        flex-direction: column;
    }
    
    .main-navigation.toggled ul {
        display: block;
    }
    
    .main-navigation li {
        margin-right: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-navigation a {
        padding: 15px;
    }
    
    .main-navigation ul ul {
        position: static;
        box-shadow: none;
        background-color: #f9f9f9;
    }
    
    .main-navigation ul ul a {
        padding-left: 30px;
    }
    
    .main-slider {
        height: 400px;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .footer-widgets {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .header-right {
        margin-top: 15px;
    }
    
    .social-icons {
        margin-top: 15px;
    }
    
    .main-slider {
        height: 300px;
    }
    
    .slide-content h2 {
        font-size: 24px;
    }
}