/* Genel Stil */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Header Arka Plan Rengi */
header {
    background-color: #F6D1D1; /* Açık pembe tonları */
    padding: 20px 0;
    border-bottom: 2px solid #d1d1d1;
}

/* Logo ve Başlık */
header .site-title {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #6D4F4F; /* Kahverengi tonları */
    text-align: center;
}

/* Menü Bağlantıları */
header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #3F2A2A; /* Koyu kahverengi */
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #F88C80; /* Açık turuncu-pembe rengi */
}

/* Header Görseli */
header .header-image {
    width: 100%;
    height: auto;
    margin-top: 20px;
    object-fit: cover;
}


main {
    display: flex;
    justify-content: space-between;
    padding: 40px;
}

.blog-posts {
    width: 70%;
}

.blog-posts article {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.blog-posts h2 {
    font-size: 28px;
    color: #333;
}

.blog-posts .excerpt {
    font-size: 16px;
    color: #666;
}

.blog-posts a {
    color: #ff9800;
    text-decoration: none;
}

.blog-posts a:hover {
    text-decoration: underline;
}

.post-meta {
    font-size: 14px;
    color: #999;
}

.sidebar {
    width: 28%;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sidebar h3 {
    font-size: 20px;
    color: #333;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    margin: 10px 0;
}

.sidebar ul li a {
    color: #ff9800;
    text-decoration: none;
}

.sidebar ul li a:hover {
    text-decoration: underline;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

.adsense {
    margin: 20px 0;
    text-align: center;
}
/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination a {
    padding: 10px 15px;
    margin: 0 5px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.pagination a:hover {
    background-color: #f1f1f1;
}

.pagination .active {
    background-color: #ff9800;
    color: #fff;
}

.pagination .prev, .pagination .next {
    font-weight: bold;
}
/* Slider */
.slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-item {
    flex: 0 0 50%;  /* Tam genişlikte slider öğesi */
    text-align: center;
}

.slider-item img {
    width: 70%;
    height: auto;
    max-width: 50%;
    border-radius: 5px;
}

.slider-item h4 {
    font-size: 18px;
    color: #333;
    margin-top: 10px;
}

/* Arrows */
button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

button.prev:hover, button.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Blog Yazıları */
.blog-posts {
    width: 70%;
    margin-top: 30px; /* Slider'ın altına boşluk bırakıyoruz */
}

.blog-posts .post-item {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex: 1 1 30%;
}

.blog-posts .post-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.blog-posts .post-item h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.blog-posts .post-item p {
    font-size: 14px;
    color: #666;
}

.read-more {
    color: #ff9800;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

/* Sayfalama */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination a {
    padding: 10px 15px;
    margin: 0 5px;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.pagination a.active {
    background-color: #ff9800;
    color: white;
}

.pagination a:hover {
    background-color: #ddd;
}

.pagination .prev, .pagination .next {
    font-weight: bold;
}

/* Responsive için */
@media screen and (max-width: 768px) {
    /* Slider */
    .slider-item {
        flex: 0 0 100%; /* Mobilde tam genişlik */
    }

    .slider-item img {
        max-height: 300px;
        object-fit: cover;
    }

    /* Blog Yazıları */
    .blog-posts {
        width: 100%; /* Blog yazılarını tam genişlikte gösterecek şekilde */
        margin-top: 20px;
    }

    .blog-posts .post-item {
        flex: 0 0 100%; /* Mobilde her yazı tam genişlikte */
    }

    .pagination {
        flex-direction: column; /* Sayfalama butonlarını dikey göstermek */
    }

    .pagination a {
        margin: 5px 0;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2em; /* Mobilde başlık boyutunu küçültüyoruz */
    }

    .hero-content p {
        font-size: 1em; /* Mobilde açıklama boyutunu küçültüyoruz */
    }
}

/* Kategori Listesi */
.category-list {
    width: 30%;
}

.category-item {
    background-color: #f4f4f4;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.category-item h3 {
    margin: 0;
    font-size: 20px;
}

.category-item p {
    font-size: 14px;
    color: #666;
}

/* Yazı Listesi */
.post-list {
    width: 65%;
}

.post-item {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.post-item h3 a {
    text-decoration: none;
    color: #333;
    font-size: 22px;
}

.post-item p {
    font-size: 14px;
    color: #666;
}

.post-item small {
    color: #999;
}
/* Önceki ve Sonraki Yazı Bağlantıları */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.prev-post, .next-post {
    font-size: 16px;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.prev-post:hover, .next-post:hover {
    background-color: #007bff;
    color: white;
}

.prev-post {
    text-align: left;
}

.next-post {
    text-align: right;
}
.hero {
    background-image: url('https://via.placeholder.com/1500x500'); /* Replace with a real image */
    background-size: cover;
    background-position: center;
    color: white;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.section-title {
    margin-top: 50px;
    margin-bottom: 30px;
}