/* Genel stil ayarlar覺 */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
}

header {
    background-color: #ffff;
    color: white;
    padding: 20px;
    text-align: center;
}

.logo img {
    max-width: 100%;
    height: auto;
}

nav {
    background-color: #003366;
    overflow: hidden;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

nav ul li {
    display: inline-block;
    margin: 0 10px;
}

nav ul li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #0056b3;
}

.content {
    display: flex;
    flex-direction: row;
    margin: 20px;
}

.main-content {
    flex: 1;
    margin-right: 20px;
}

.sidebar {
    width: 300px;
}

footer {
    background-color: #004080;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Responsive ayarlar */
@media screen and (max-width: 768px) {
    .content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        margin: 20px 0;
    }

    nav ul li {
        display: block;
        margin: 5px 0;
    }
}

@media screen and (max-width: 480px) {
    header {
        padding: 10px;
    }

    nav ul li a {
        padding: 10px;
    }

    footer {
        padding: 10px;
    }
}



/* Kategoriler sayfası için genel stil */
.category-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
}

/* Kategori başlığı */
.category-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

/* Yazı başlıkları */
.category-posts .post-item {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Yazı başlık linki */
.post-title a {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
}

.post-title a:hover {
    color: #3498db;
}

/* Meta bilgileri kutusu (yazar, kurum ve telefon) */
.post-meta {
    margin-top: 15px;
}

/* Meta bilgileri kutusunun yapısı */
.meta-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Öğeler arasındaki boşluk */
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    justify-content: space-between;
}

/* Meta öğelerinin düzeni (Yazar, Kurum, Telefon) */
.meta-item {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: #7f8c8d;
    max-width: 200px; /* Her bir meta öğesinin genişliği */
}

.meta-item strong {
    color: #333;
    margin-bottom: 5px;
}

/* Sayfalama */
.pagination {
    text-align: center;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.pagination a:hover {
    background-color: #2980b9;
}

.pagination .current {
    background-color: #95a5a6;
    cursor: default;
}


.post-box {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.post-title a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: bold;
}

.post-title a:hover {
    color: #f70041; /* Temanızın ana rengi */
}

.post-meta {
    margin-top: 10px;
    font-size: 14px;
}

.meta-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.meta-item {
    margin: 5px 10px 5px 0;
    color: #555;
}


.category-menu {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.category-menu h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.main-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 8px;
}

.category-item a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    display: block;
    transition: color 0.3s ease;
}

.category-item a:hover {
    color: #f70041;
}

.child-categories {
    list-style: none;
    padding-left: 20px;
    margin: 5px 0 0;
    display: none; /* Başlangıçta gizle */
}

.child-categories li {
    margin-bottom: 5px;
}

.child-categories li a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.child-categories li a:hover {
    color: #f70041;
}


/* Site Haritası Genel Tasarımı */
.site-map-container-visual {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.site-map-container-visual h1 {
    font-size: 30px;
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Ana Kategori Kutusu */
.sitemap-category-box {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.sitemap-category-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sitemap-category-box h2 {
    font-size: 22px;
    color: #f70041;
    margin-bottom: 10px;
}

.sitemap-category-box h2 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.sitemap-category-box h2 a:hover {
    color: #333;
}

/* Alt Kategoriler */
.sitemap-subcategories {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 10px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.sitemap-subcategories li {
    margin-bottom: 8px;
    font-size: 16px;
}

.sitemap-subcategories li a {
    text-decoration: none;
    color: #666;
    transition: color 0.3s ease;
}

.sitemap-subcategories li a:hover {
    color: #f70041;
}

/* Alt Kategori Yok Mesajı */
.no-subcategories {
    font-size: 14px;
    color: #999;
    margin-top: 10px;
    font-style: italic;
}
