/*
Theme Name: Tema
Theme URI: https://example.com
Author: Tema Geliştiricisi
Author URI: https://example.com
Description: Modern ve ö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: tema
Tags: blog, custom-menu, featured-images, responsive-design, translation-ready
*/

:root {
    --primary-color: #0073aa;
    --secondary-color: #005177;
    --text-color: #333;
    --bg-color: #fff;
    --gray-light: #f5f5f5;
    --gray-dark: #666;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

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

.site-header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

/* Header container'ları tüm satıra yay */
.site-header .container {
    max-width: 100%;
    padding: 0 30px;
}

.header-top {
    background-color: var(--gray-light);
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
    font-size: 0.85rem;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-date {
    color: var(--gray-dark);
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--gray-dark);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.social-links svg {
    width: 16px;
    height: 16px;
}

.header-main {
    padding: 15px 0;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1000;
}

.header-main.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.header-main-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* Logo & Branding */
.site-branding {
    flex-shrink: 0;
}

.site-branding .custom-logo-link {
    display: inline-block;
    line-height: 0;
}

.site-branding .custom-logo {
    max-width: 250px;
    height: auto;
    max-height: 80px;
    transition: all 0.3s ease;
}

.header-main.sticky .site-branding .custom-logo {
    max-width: 200px;
    max-height: 60px;
}

.site-title {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
    line-height: 1;
}

.site-title a {
    color: var(--text-color);
}

.site-title a:hover {
    color: var(--primary-color);
}

.site-description {
    font-size: 0.78rem;
    color: var(--gray-dark);
    margin-top: 4px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.header-main.sticky .site-description {
    display: none;
}

/* Ana Navigasyon */
.main-navigation {
    flex-grow: 1;
    background-color: transparent;
    padding: 0;
    border: none;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    gap: 2px;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 8px 12px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.main-navigation a:hover,
.main-navigation .current-menu-item>a {
    background-color: var(--primary-color);
    color: #fff;
}

/* Alt Menü (Dropdown) */
.menu-item-has-children>a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 6px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.menu-item-has-children:hover>a::after {
    transform: rotate(180deg);
}

.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1000;
    display: block;
    flex-direction: column;
}

.main-navigation li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu li {
    display: block;
    width: 100%;
}

.main-navigation .sub-menu a {
    padding: 9px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 0;
    color: var(--text-color);
}

.main-navigation .sub-menu a:hover {
    background-color: var(--gray-light);
    color: var(--primary-color);
    padding-left: 22px;
}

/* 2. seviye alt menü */
.main-navigation .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

/* Header Arama */
.header-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.header-search-toggle:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-inner {
    width: 90%;
    max-width: 600px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.search-overlay.active .search-overlay-inner {
    transform: translateY(0);
}

.search-overlay-inner form {
    display: flex;
    position: relative;
}

.search-overlay-inner input[type="search"],
.search-overlay-inner input[type="text"] {
    width: 100%;
    padding: 18px 60px 18px 24px;
    font-size: 1.2rem;
    border: none;
    border-radius: 12px;
    background: #fff;
    color: var(--text-color);
    outline: none;
}

.search-overlay-inner input[type="submit"],
.search-overlay-inner button[type="submit"] {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-overlay-inner input[type="submit"]:hover,
.search-overlay-inner button[type="submit"]:hover {
    background: var(--secondary-color);
}

.search-overlay-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-overlay-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: rotate(90deg);
}

/* Mobil Menü Toggle (Hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    gap: 5px;
    transition: all 0.3s ease;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobil Menü Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

.site-content {
    padding: 40px 0;
}

.content-area {
    width: 100%;
    float: none;
}

.site-main::after {
    content: "";
    display: table;
    clear: both;
}

article {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.single-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.single-content {
    min-width: 0;
}

.single-sidebar {
    position: sticky;
    top: 100px;
}

.entry-category {
    margin-bottom: 15px;
}

.entry-category a {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.entry-category a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.entry-header {
    margin-bottom: 25px;
    text-align: center;
}

.entry-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.entry-title a {
    color: var(--text-color);
}

.entry-title a:hover {
    color: var(--primary-color);
}

.entry-meta {
    display: flex;
    gap: 20px;
    color: var(--gray-dark);
    font-size: 0.9rem;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    justify-content: center;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.entry-meta svg {
    flex-shrink: 0;
}

/* Sosyal Paylaşım İkonları */
.entry-share {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.share-label {
    font-size: 0.82rem;
    color: var(--gray-dark);
    font-weight: 500;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: scale(1.15);
    color: #fff;
}

.share-x {
    background: #000;
}

.share-fb {
    background: #1877f2;
}

.share-ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.share-li {
    background: #0a66c2;
}

.share-bs {
    background: #0085ff;
}

.entry-content {
    margin-bottom: 20px;
}

.entry-footer {
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.post-thumbnail {
    margin-bottom: 30px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.post-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
}

.widget {
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--gray-light);
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.3rem;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    font-weight: 700;
}

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

.recent-post-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

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

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

.recent-post-item:hover {
    transform: translateX(5px);
}

.recent-post-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-item:hover .recent-post-thumb img {
    transform: scale(1.1);
}

.recent-post-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recent-post-title {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 600;
}

.recent-post-title a {
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-title a:hover {
    color: var(--primary-color);
}

.recent-post-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray-dark);
    font-size: 0.8rem;
}

.recent-post-date svg {
    flex-shrink: 0;
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 5px 0;
}

/* ===================== FOOTER ===================== */
.site-footer {
    background-color: #1a1a2e;
    color: rgba(255, 255, 255, 0.7);
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.85rem;
}

.footer-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Logo / Site Adı */
.footer-brand {
    flex-shrink: 0;
}

.footer-brand .custom-logo-link {
    display: inline-block;
    line-height: 0;
}

.footer-brand .custom-logo {
    max-height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer-brand .custom-logo:hover {
    opacity: 1;
}

.footer-site-name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-site-name:hover {
    color: var(--primary-color);
}

/* Sosyal İkonlar */
.footer-social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Telif Hakkı */
.footer-copy {
    color: rgba(255, 255, 255, 0.5);
}

.footer-copy a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-copy a:hover {
    color: #fff;
}

/* Footer Menü */
.site-footer .menu {
    list-style: none;
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.site-footer .menu li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    padding: 4px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.site-footer .menu li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 8px 15px;
    background-color: var(--gray-light);
    border-radius: 3px;
}

.pagination .current {
    background-color: var(--primary-color);
    color: #fff;
}

.page-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary-color);
}

.page-title {
    font-size: 2.2rem;
    margin: 0 0 10px 0;
    color: var(--text-color);
}

.archive-description {
    color: var(--gray-dark);
    margin-top: 10px;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.archive-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: none;
    margin: 0;
    padding: 0;
}

.archive-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.archive-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.archive-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.archive-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.archive-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.archive-card-title {
    font-size: 1.3rem;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.archive-card-title a {
    color: var(--text-color);
    font-weight: 700;
}

.archive-card-title a:hover {
    color: var(--primary-color);
}

.archive-card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--gray-dark);
    font-size: 0.85rem;
}

.archive-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.archive-card-meta svg {
    flex-shrink: 0;
}

.archive-card-excerpt {
    color: var(--gray-dark);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.archive-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.archive-card-link:hover {
    color: var(--secondary-color);
    gap: 12px;
}

.archive-card-link svg {
    transition: transform 0.3s ease;
}

.archive-card-link:hover svg {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 640px) {
    .archive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .archive-card-image {
        height: 200px;
    }

    .archive-card-content {
        padding: 20px;
    }

    .archive-card-title {
        font-size: 1.1rem;
    }

    .page-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .content-area {
        width: 100%;
        float: none;
        padding: 0;
    }

    .entry-title {
        font-size: 1.5rem;
    }
}

/* ==============================================
   HERO SLIDER — 50/50 Split
   ============================================== */
.hero-slider {
    position: relative;
    margin-bottom: 50px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    background: #fff;
}

.hero-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slide.active {
    display: flex;
    opacity: 1;
    animation: heroFadeIn 0.5s ease forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Sol: Görsel (%50) */
.hero-slide-image {
    width: 50%;
    min-height: 420px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.hero-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Sağ: İçerik (%50) */
.hero-slide-content {
    width: 50%;
    padding: 45px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-category {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    align-self: flex-start;
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text-color);
}

.hero-title a {
    color: inherit;
    transition: color 0.2s ease;
}

.hero-title a:hover {
    color: var(--primary-color);
}

.hero-excerpt {
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--gray-dark);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.hero-meta svg {
    vertical-align: -2px;
    margin-right: 5px;
    opacity: 0.6;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.hero-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.hero-button svg {
    transition: transform 0.3s ease;
}

.hero-button:hover svg {
    transform: translateX(4px);
}

/* Numaralı Göstergeler */
.hero-indicators {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 5;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    border: 2px solid rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-dot:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

.hero-dot.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 115, 170, 0.4);
}

.hero-dot.active:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.banner-section {
    margin: 50px 0;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.banner-item {
    position: relative;
    background: #ffffff;
    border: 2px solid var(--banner-color, #3498db);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.banner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--banner-color, #3498db);
}

.banner-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--banner-color, #3498db);
}

.banner-item a {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
}

.banner-icon {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.banner-item:hover .banner-icon {
    animation: bounce 0.6s ease;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.banner-title {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.banner-description {
    color: var(--gray-dark);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1024px) {
    .banner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .banner-item {
        padding: 30px 20px;
    }

    .banner-icon {
        font-size: 3rem;
    }
}

@media (max-width: 640px) {
    .banner-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .banner-item {
        padding: 25px 20px;
    }

    .banner-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .banner-title {
        font-size: 1.1rem;
    }
}

.category-news-section {
    margin-top: 40px;
}

.category-block {
    margin-bottom: 60px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.category-title {
    font-size: 1.8rem;
    margin: 0;
}

.category-title a {
    color: var(--text-color);
}

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

.view-all {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.view-all:hover {
    color: var(--secondary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.news-item.featured {
    grid-row: span 2;
}

.news-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.news-thumbnail {
    overflow: hidden;
}

.news-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item.featured .news-thumbnail img {
    height: 100%;
    min-height: 350px;
}

.news-item:hover .news-thumbnail img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-item.featured .news-content {
    padding: 25px;
}

.news-title {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.news-item.featured .news-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.news-title a {
    color: var(--text-color);
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-meta {
    color: var(--gray-dark);
    font-size: 0.85rem;
}

.news-date {
    display: inline-block;
}

/* ==============================================
   LAYOUT: GRID (Eşit Kartlar)
   ============================================== */
.layout-grid-equal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.layout-grid-equal .grid-card {
    grid-row: auto;
}

.layout-grid-equal .news-thumbnail img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.news-cat-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-author {
    margin-left: 10px;
    color: var(--gray-dark);
}

/* ==============================================
   LAYOUT: LIST (Yatay Kartlar)
   ============================================== */
.layout-list-horizontal {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-list-item {
    display: flex;
    gap: 20px;
    align-items: stretch;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.news-list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.news-list-thumb {
    flex-shrink: 0;
    width: 220px;
    min-height: 140px;
    overflow: hidden;
}

.news-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-list-item:hover .news-list-thumb img {
    transform: scale(1.05);
}

.news-list-content {
    flex: 1;
    padding: 18px 20px 18px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-list-content .news-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-list-content .news-excerpt {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--gray-dark);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-content .news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-list-content .news-meta svg {
    vertical-align: -2px;
    margin-right: 3px;
}

/* ==============================================
   LAYOUT: SHOWCASE (Vitrin)
   ============================================== */
.news-showcase {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.showcase-hero {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.showcase-hero-inner {
    position: relative;
    min-height: 350px;
}

.showcase-hero-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.showcase-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-hero-overlay {
    position: relative;
    z-index: 2;
    padding: 40px 35px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    color: #fff;
}

.showcase-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.showcase-title a {
    color: #fff !important;
}

.showcase-title a:hover {
    opacity: 0.9;
}

.showcase-hero-overlay .news-excerpt {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.showcase-hero-overlay .news-meta {
    color: rgba(255, 255, 255, 0.7);
}

.showcase-hero-overlay .news-author {
    color: rgba(255, 255, 255, 0.7);
}

.showcase-bottom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.showcase-card .news-thumbnail img {
    height: 160px;
    width: 100%;
    object-fit: cover;
}

.showcase-card .news-content {
    padding: 15px;
}

.showcase-card .news-title {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 8px;
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .news-item.featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .layout-grid-equal {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-bottom-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-hero-inner {
        min-height: 280px;
    }

    .showcase-hero-overlay {
        min-height: 280px;
        padding: 30px 25px;
    }

    .showcase-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .single-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .single-sidebar {
        position: static;
    }

    .entry-title {
        font-size: 2rem;
    }

    .entry-meta {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .post-thumbnail {
        border-radius: 15px;
    }

    .recent-post-thumb {
        width: 70px;
        height: 70px;
    }

    .header-top-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .header-main {
        padding: 10px 0;
    }

    .site-branding .custom-logo {
        max-width: 180px;
        max-height: 60px;
    }

    .header-main.sticky .site-branding .custom-logo {
        max-width: 150px;
        max-height: 50px;
    }

    .site-title {
        font-size: 1.4rem;
    }

    .site-description {
        font-size: 0.7rem;
    }

    /* Mobil: hamburger görünür */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobil: nav slide-in panel */
    .main-navigation {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100%;
        background: #fff;
        z-index: 999;
        overflow-y: auto;
        padding: 60px 0 20px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
    }

    .main-navigation.active {
        left: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-navigation a {
        padding: 12px 20px;
        border-radius: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .main-navigation a:hover {
        background-color: var(--gray-light);
        color: var(--primary-color);
    }

    /* Mobil dropdown: accordion */
    .menu-item-has-children>a::after {
        position: absolute;
        right: 16px;
        top: 50%;
        margin-top: -2px;
        margin-left: 0;
    }

    .main-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: var(--gray-light);
        padding: 0;
        display: none;
        min-width: 0;
    }

    .main-navigation .sub-menu.open {
        display: block;
    }

    .main-navigation .sub-menu a {
        padding-left: 35px;
        font-size: 0.85rem;
    }

    .main-navigation .sub-menu a:hover {
        padding-left: 40px;
    }

    .hero-slide.active {
        flex-direction: column;
    }

    .hero-slide-image {
        width: 100%;
        min-height: 240px;
    }

    .hero-slide-content {
        width: 100%;
        padding: 25px 20px;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .hero-excerpt {
        display: none;
    }

    .hero-indicators {
        bottom: 12px;
        right: 12px;
    }

    .hero-dot {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-item.featured {
        grid-column: span 1;
    }

    .layout-grid-equal {
        grid-template-columns: 1fr;
    }

    .news-list-item {
        flex-direction: column;
    }

    .news-list-thumb {
        width: 100%;
        min-height: 180px;
    }

    .news-list-content {
        padding: 15px;
    }

    .showcase-bottom-grid {
        grid-template-columns: 1fr 1fr;
    }

    .showcase-hero-inner {
        min-height: 220px;
    }

    .showcase-hero-overlay {
        min-height: 220px;
        padding: 20px;
    }

    .showcase-title {
        font-size: 1.3rem;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ==============================================
   BREADCRUMB
   ============================================== */
.breadcrumb {
    padding: 15px 0;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.breadcrumb a {
    color: var(--primary-color);
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #ccc;
    font-weight: 300;
}

.breadcrumb .current {
    color: var(--text-color);
    font-weight: 600;
}

/* ==============================================
   YAZAR KUTUSU
   ============================================== */
.author-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 30px;
    margin: 40px 0;
    background: var(--gray-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

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

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.2rem;
    margin: 0 0 8px;
    font-weight: 700;
}

.author-name a {
    color: var(--text-color);
}

.author-name a:hover {
    color: var(--primary-color);
}

.author-bio {
    color: var(--gray-dark);
    line-height: 1.6;
    margin: 0 0 10px;
    font-size: 0.95rem;
}

.author-post-count {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ==============================================
   İLGİLİ YAZILAR
   ============================================== */
.related-posts {
    margin: 50px 0 30px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.related-title {
    font-size: 1.5rem;
    margin: 0 0 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.related-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.related-grid {
    display: grid;
    gap: 25px;
}

.related-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.related-thumb {
    overflow: hidden;
    height: 180px;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-item:hover .related-thumb img {
    transform: scale(1.08);
}

.related-content {
    padding: 18px;
}

.related-item-title {
    font-size: 1rem;
    margin: 0 0 8px;
    line-height: 1.4;
    font-weight: 600;
}

.related-item-title a {
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-item-title a:hover {
    color: var(--primary-color);
}

.related-date {
    color: var(--gray-dark);
    font-size: 0.8rem;
}

/* ==============================================
   TAM GENİŞLİK LAYOUT
   ============================================== */
.single-layout.full-width {
    grid-template-columns: 1fr;
}

.single-layout.full-width .single-content {
    max-width: 850px;
    margin: 0 auto;
}

/* ==============================================
   MOBİL HAMBURGER MENÜ
   ============================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    border-color: var(--primary-color);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100%;
        background: #fff;
        z-index: 999;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
        overflow-y: auto;
        padding: 70px 20px 20px;
    }

    .main-navigation.active {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column !important;
        justify-content: flex-start !important;
        gap: 0 !important;
    }

    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .main-navigation a {
        padding: 14px 15px !important;
        font-size: 1rem !important;
        border-radius: 0 !important;
    }

    .main-navigation a:hover {
        background-color: var(--gray-light);
        color: var(--primary-color);
    }

    .header-main-inner {
        flex-direction: row !important;
        justify-content: space-between !important;
    }

    .related-grid {
        grid-template-columns: 1fr !important;
    }

    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .archive-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 1024px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .banner-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .banner-grid {
        grid-template-columns: 1fr !important;
    }
}