:root {
    --primary: #0a2051;
    --primary-dark: #081a43;
    --secondary: #2895ed;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --dark: #343a40;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #f1f3f5;
    --border-color: #dee2e6;
    --shadow: 0 2px 4px rgba(0,0,0,.1);
    --container-width: 1200px;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* İletişim bölümü için scroll offset */
#iletisim {
    scroll-margin-top: 100px;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    margin: 0;
    padding: 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navbar */
.navbar {
    background: linear-gradient(
        to right,
        #B0E0E6 0%,
        #87CEEB 35%,
        #2B4865 100%
    );
    padding: 0;
    box-shadow: 0 4px 20px rgba(70, 130, 180, 0.15);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    min-height: 60px;
    max-height: 120px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
}

.navbar .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: block;
    padding: 0.25rem 0;
    flex-shrink: 0;
}

.logo a {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    text-decoration: none !important;
}

.site-name {
    color: #fff !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3) !important;
    letter-spacing: -0.5px !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
}

.logo-img {
    max-height: 200px;
    height: auto;
    width: auto;
    max-width: 400px;
    padding: 10px 0;
    margin-top: 0;
    position: relative;
    transition: transform 0.3s ease;
    z-index: 1001;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.2));
    object-fit: contain;
}

/* Logo boyutları JavaScript ile kontrol ediliyor */

.logo a {
    text-decoration: none;
    display: block;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

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

/* Dropdown menü stilleri */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e2e8f0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    color: #2d3748;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: var(--primary);
    color: white;
    transform: translateX(5px);
}

.dropdown-menu i {
    width: 16px;
    text-align: center;
    font-size: 0.9rem;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
}

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

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

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    /* Background inline olarak index.php'de dinamik olarak ayarlanıyor */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px; /* Navbar minimum yüksekliği + padding */
    position: relative;
    z-index: 1; /* Navbar'ın altında kalması için */
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 149, 237, 0.3);
}

.cta-button:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 149, 237, 0.4);
}

/* Category Badge - Modern Renkli Etiketler */
.category-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 20px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    cursor: pointer !important;
    margin-bottom: 0.75rem !important;
}

.category-badge:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.category-badge i {
    font-size: 0.7rem !important;
    opacity: 0.8 !important;
}

/* Blog Kartları - Modern Tasarım - Ana Kural */
.blog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem !important;
    padding: 2rem 0 !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Kategoriler sayfası için özel kural */
.category-content .blog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem !important;
    padding: 2rem 0 !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Ana sayfa blog grid - 2 sütun */
.blog-section .blog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 2rem 0 !important;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 2;
}

.blog-card:hover::before {
    transform: scaleX(1);
}

.blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border-color: var(--primary);
}

.blog-card-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.blog-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .blog-card-image::after {
    opacity: 1;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.blog-card-content {
    padding: 2rem;
    position: relative;
}

.blog-card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.category-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.blog-card:hover .category-badge {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.blog-card-content h2 {
    margin: 0 0 1.2rem 0;
    font-size: 1.4rem;
    line-height: 1.4;
    font-weight: 700;
    color: #1a202c;
}

.blog-card-content h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-content h2 a:hover {
    color: var(--primary);
}

.blog-excerpt {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.blog-meta .date {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-meta .date i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* Kart animasyonları */
.blog-card {
    animation: cardFadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Kart hover efektleri */
.blog-card:hover .blog-card-image {
    transform: perspective(1000px) rotateX(2deg);
}

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

/* Blog Detay Sayfası */
.blog-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 2rem;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* İlgili Yazılar */
.related-posts {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Mobil Menü */
.hamburger {
    display: none;
    cursor: pointer;
}

/* Responsive Tasarım */


@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }
    

    
    .blog-card {
        border-radius: 18px;
    }
    
    .blog-card-image {
        height: 220px;
    }
    
    .blog-card-content {
        padding: 1.8rem;
    }
    
    .blog-card-content h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1002;
        padding: 0.5rem;
        align-self: center;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--secondary);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,0.1);
        border: none;
        margin-top: 0.5rem;
        border-radius: 8px;
    }
    
    .dropdown-menu a {
        color: white;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .dropdown-menu a:hover {
        background: rgba(255,255,255,0.2);
        transform: none;
    }
    
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        padding: 1.5rem 1rem;
        max-width: 100%;
    }
    
    .blog-card {
        border-radius: 16px;
        box-shadow: 0 6px 30px rgba(0,0,0,0.15);
    }
    
    .blog-card-image {
        height: 200px;
    }
    
    .blog-card-content {
        padding: 1.5rem;
    }
    
    .blog-card-content h2 {
        font-size: 1.2rem;
        -webkit-line-clamp: 2;
    }
    
    .blog-excerpt {
        font-size: 0.95rem;
        -webkit-line-clamp: 2;
    }
    
    .category-badge {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }
    
    .blog-meta .date {
        font-size: 0.85rem;
    }
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

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

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

    .blog-detail {
        padding: 1rem;
    }

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

/* Kategori Etiketleri */
.category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Etiketler */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: var(--gray-light);
    color: var(--gray);
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Reklam Alanları */
.ad-banner {
    padding: 3rem 0;
    background: var(--light);
}

.ad-space {
    width: 100%;
    max-width: 970px; /* Daha büyük banner alanı */
    margin: 0 auto;
    position: relative;
}

.ad-space.horizontal {
    max-width: 1200px; /* Horizontal reklamlar için daha büyük alan */
}

/* Hero sonrası reklamlar için özel büyük alan */
.ad-banner .ad-space {
    max-width: 1200px;
    min-height: 200px; /* Minimum yükseklik */
}

.ad-space img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    object-fit: cover; /* Resmin oranını koruyarak alanı doldurmak için */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Mobilde keskinlik için */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

.ad-space img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive Reklam Görselleri - Daha kesin kurallar */
.ad-space .ad-desktop-image {
    display: block !important;
}

.ad-space .ad-mobile-image {
    display: none !important;
}

/* Fallback: Sadece bir görsel varsa her iki cihazda göster */
.ad-space .ad-single-image {
    display: block !important;
}

/* Hero sonrası reklamlar için özel görsel ayarları */
.ad-banner .ad-space .ad-image {
    min-height: 200px;
    max-height: 300px;
}

/* Footer üst reklamları için özel kurallar (öncelikli) */
.ad-space[class*="footer_top"] .ad-desktop-image {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    left: auto !important;
}

.ad-space[class*="footer_top"] .ad-mobile-image {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Desktop'ta mobil görselleri kesinlikle gizle */
.ad-banner .ad-space .ad-mobile-image,
.ad-space .ad-mobile-image {
    display: none !important;
}

/* Desktop'ta desktop görselleri kesinlikle göster */
.ad-banner .ad-space .ad-desktop-image,
.ad-space .ad-desktop-image {
    display: block !important;
}

@media (max-width: 768px) {
    /* Footer üst reklamları için mobil özel kurallar (öncelikli) */
    .ad-space[class*="footer_top"] .ad-desktop-image {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    .ad-space[class*="footer_top"] .ad-mobile-image {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        left: auto !important;
    }
    
    /* Mobilde desktop görselini gizle, mobil görseli göster - En güçlü kurallar */
    .ad-banner .ad-space .ad-desktop-image,
    .ad-space .ad-desktop-image {
        display: none !important;
    }
    
    .ad-banner .ad-space .ad-mobile-image,
    .ad-space .ad-mobile-image {
        display: block !important;
        /* Mobil görseller için özel optimizasyon */
        max-width: 100%;
        width: 100%; /* Tam genişlik */
        height: auto;
        min-height: 120px; /* Minimum yükseklik */
        object-fit: cover; /* Alanı kapla ama oranı koru */
        border-radius: 8px; /* Köşe yuvarlatma */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .ad-space .ad-single-image {
        display: block !important;
        /* Tek görseller için mobil optimizasyon */
        max-width: 100%;
        width: 100%; /* Tam genişlik */
        height: auto;
        min-height: 120px; /* Minimum yükseklik */
        object-fit: cover; /* Alanı kapla ama oranı koru */
        border-radius: 8px; /* Köşe yuvarlatma */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .ad-banner .ad-space .ad-image {
        /* min-height kaldırıldı - doğal boyutuna göre ayarlanacak */
        max-height: none; /* Maksimum yükseklik sınırını kaldır */
        height: auto; /* Doğal yükseklik */
        width: 100%; /* Tam genişlik */
        min-height: 120px; /* Minimum yükseklik */
        object-fit: cover; /* Alanı kapla ama oranı koru */
        border-radius: 8px; /* Köşe yuvarlatma */
        image-rendering: -webkit-optimize-contrast; /* iOS için keskinlik */
        image-rendering: crisp-edges; /* Diğer tarayıcılar için */
        -ms-interpolation-mode: nearest-neighbor; /* IE için */
    }
    
    /* Mobilde text reklamları için */
    .ad-space .ad-text {
        padding: 1.5rem;
        text-align: center;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 12px;
        min-height: auto; /* Doğal yükseklik */
    }
    
    .ad-space .ad-text h3,
    .ad-space .ad-text h4 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        color: var(--primary);
    }
    
    .ad-space .ad-text p {
        font-size: 0.9rem;
        color: var(--text-dark);
        line-height: 1.4;
    }
}

.ad-label {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.5);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.horizontal-ad-strip {
    padding: 2rem 0;
    background: var(--gray-light);
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .ad-banner {
        padding: 3rem 1rem; /* Mobilde daha büyük alan */
    }
    
    .ad-space {
        max-width: 100%;
        /* min-height kaldırıldı - içerik boyutuna göre ayarlanacak */
    }
    
    /* Hero sonrası reklamlar mobilde de büyük */
    .ad-banner .ad-space {
        /* min-height kaldırıldı */
        padding: 1.5rem; /* Daha fazla iç boşluk */
        min-height: 180px; /* Minimum yükseklik artırıldı */
    }
}

/* Sponsorlu İçerik Stilleri */
.sponsored-card {
    border: 2px solid var(--secondary);
    position: relative;
}

.sponsored-card::before {
    content: 'Sponsorlu İçerik';
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.5);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    z-index: 1;
}

.category.sponsored {
    background-color: var(--secondary);
}

/* Sponsorlu kartlar için hover efekti */
.sponsored-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(40, 149, 237, 0.2);
}

/* Sponsorlu içerik için özel animasyon */
@keyframes sponsoredPulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 149, 237, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(40, 149, 237, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 149, 237, 0); }
}

.sponsored-card {
    animation: sponsoredPulse 2s infinite;
}

/* Kategori Sayfası - Modern Tasarım */
.category-page-wrapper {
    margin-top: 70px;
}

.category-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.category-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.category-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
    position: relative;
    z-index: 10;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    z-index: 15;
}

.breadcrumb a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    opacity: 0.6;
}

.breadcrumb .current {
    opacity: 0.7;
    font-weight: 500;
}

.category-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.category-title i {
    font-size: 2.5rem;
    opacity: 0.9;
}

.category-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.category-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    opacity: 0.9;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}

.stat-item i {
    font-size: 1.1rem;
}

.category-content {
    background: #f8f9fa;
    padding: 4rem 0;
}

.error-message {
    background: #fed7d7;
    color: #c53030;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.error-message i {
    font-size: 1.5rem;
}

.no-content {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.no-content-icon {
    font-size: 4rem;
    color: #cbd5e0;
    margin-bottom: 1.5rem;
}

.no-content h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.no-content p {
    color: #718096;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Kategori sayfası ek stilleri */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.category-intro {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.intro-content h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.intro-content p {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.category-footer {
    background: white;
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-top: 4rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.footer-content h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.footer-content p {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}



/* Sidebar Widget Styles */
.sidebar-widget {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary);
}

/* Sidebar Ads - Ana sayfa için minimal düzenleme */
.sidebar-ads {
    margin-bottom: 2rem;
}

/* Blog ve Kategori sayfaları için reklam netliği */
.blog-page .ad-space,
.category-page .ad-space,
.blog-section .ad-space,
.category-section .ad-space {
    /* Blog ve kategori sayfalarında reklamlar için ek netlik */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Boyutları koru */
    max-width: none;
    width: auto;
    height: auto;
}

/* Kategori sayfası için ek reklam netliği */
.categories-page .ad-space,
.category-template .ad-space,
.category-list .ad-space,
.category-content .ad-space,
.category-sidebar .ad-space,
.category-main .ad-space,
.category-ads .ad-space,
.category-banner .ad-space,
.category-hero .ad-space,
.category-section .ad-space,
.category-widget .ad-space,
.category-footer .ad-space,
.category-sidebar-ads .ad-space,
.category-page-wrapper .ad-space,
.category-content .ad-space {
    /* Kategori sayfasında tüm reklamlar için maksimum netlik */
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    image-rendering: pixelated !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    /* Boyutları koru */
    max-width: none !important;
    width: auto !important;
    height: auto !important;
    /* Ek netlik için */
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Sidebar reklamları arası boşluk */
.sidebar-ads .ad-space {
    margin-bottom: 1.5rem;
}

.sidebar-ads .ad-space:last-child {
    margin-bottom: 0;
}

/* Responsive reklam görsel sistemi - Güçlendirilmiş */
.ad-desktop-image {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    left: auto !important;
}

.ad-mobile-image {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Mobilde sadece mobil görseli göster */
@media (max-width: 768px) {
    .ad-desktop-image {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    .ad-mobile-image {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        left: auto !important;
    }
}



/* Footer üst reklamları için özel ayarlar */
.ad-space[class*="footer_top"] {
    /* Modern fotoğraflar için düzgün rendering */
    image-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    /* Performance optimizasyonu */
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    /* Filtreleri kaldır */
    filter: none !important;
    -webkit-filter: none !important;
}

.ad-space[class*="footer_top"] img,
.ad-space[class*="footer_top"] iframe {
    /* Footer üst reklam görselleri için modern rendering */
    image-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    /* Ek netlik için */
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    perspective: 1000px !important;
    /* Filtreleri kaldır */
    filter: none !important;
    -webkit-filter: none !important;
    /* Boyutları koru */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Hero altı reklamları için maksimum netlik */
.ad-space[class*="hero_after"] {
    /* Hero altı reklamları için maksimum netlik */
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    image-rendering: pixelated !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    /* Ek netlik için */
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    perspective: 1000px !important;
    /* Filtreleri kaldır */
    filter: none !important;
    -webkit-filter: none !important;
}

.ad-space[class*="hero_after"] img,
.ad-space[class*="hero_after"] iframe {
    /* Hero altı reklam görselleri için maksimum netlik */
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    image-rendering: pixelated !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    /* Ek netlik için */
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    perspective: 1000px !important;
    /* Filtreleri kaldır */
    filter: none !important;
    -webkit-filter: none !important;
    /* Boyutları koru */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Tüm reklam görselleri için zorunlu netlik - En güçlü kurallar */
.ad-space img,
.ad-space iframe,
.ad-banner img,
.ad-banner iframe,
.content-ad-wrapper img,
.content-ad-wrapper iframe,
.hero-after-ad img,
.hero-after-ad iframe,
.footer-ad-slider .ad-space img,
.footer-ad-slider .ad-space iframe {
    /* Zorunlu maksimum netlik */
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    image-rendering: pixelated !important;
    image-rendering: auto !important;
    image-rendering: -webkit-crisp-edges !important;
    image-rendering: -moz-crisp-edges !important;
    image-rendering: -o-crisp-edges !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    /* Ek netlik için */
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    perspective: 1000px !important;
    /* Filtreleri kaldır */
    filter: none !important;
    -webkit-filter: none !important;
    /* Ek netlik */
    -webkit-image-rendering: -webkit-optimize-contrast !important;
    -webkit-image-rendering: crisp-edges !important;
    -webkit-image-rendering: pixelated !important;
}

/* Kategori sayfası sidebar reklamları için özel netlik */
.category-sidebar-ads {
    /* Kategori sayfasında sidebar reklamları için ek netlik */
}

.category-sidebar-ads .ad-space {
    /* Kategori sayfasında reklam alanları için maksimum netlik */
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    image-rendering: pixelated !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    /* Boyutları koru */
    max-width: none !important;
    width: auto !important;
    height: auto !important;
    /* Ek netlik için */
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    perspective: 1000px !important;
    /* Kategori sayfası için özel */
    filter: none !important;
    -webkit-filter: none !important;
}

/* Tüm reklam alanları için netlik ayarları */
.ad-space,
.ad-banner,
.content-ad-wrapper,
.hero-after-ad,
.footer-ad-slider .ad-space,
.blog-page .ad-space,
.category-page .ad-space,
.blog-section .ad-space,
.category-section .ad-space,
.sidebar .ad-space,
.main-content .ad-space,
.content-layout .ad-space {
    /* Boyutları ve yerleri değiştirme */
    /* Sadece netlik için */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Ek netlik için */
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.sidebar-widget h3 {
    margin: 0 0 1rem 0;
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f5f5f5;
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

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

.recent-post a {
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.recent-post h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.recent-post .date {
    font-size: 0.8rem;
    color: #666;
}

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

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.category-list a:hover {
    background: var(--primary);
    color: white;
}

.category-list a i {
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

.category-list .count {
    background: #f5f5f5;
    color: #666;
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
}

.category-list a:hover .count {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* Error and No Content Messages */
.error-message, .no-content {
    text-align: center;
    padding: 3rem 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 2rem 0;
}

.error-message {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    color: #e53e3e;
}

.error-message p, .no-content p {
    margin: 0;
    font-size: 1.1rem;
}

.no-content {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    color: #4a5568;
}

@media (max-width: 768px) {
    .category-page {
        padding: 2rem 0;
    }
    
    .category-page .page-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .sidebar-widget {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .sidebar-widget h3 {
        font-size: 1.1rem;
    }
    
    .recent-post h4 {
        font-size: 0.9rem;
    }
    
    .category-list a {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }
    
    /* Mobil navbar */
    .hamburger {
        display: flex;
        z-index: 1002;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(43, 72, 101, 0.95);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .nav-links.active {
        display: flex;
    }
}

/* Mobil Kategori Navigasyon */
.mobile-category-nav {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.category-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    text-decoration: none;
    color: var(--primary);
    min-width: 100px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-item:hover {
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 149, 237, 0.15);
}

.category-item i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.category-item span {
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

/* Dropdown Menü */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    padding-right: 1.2rem;
    position: relative;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7em;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(43, 72, 101, 0.95);
    min-width: 200px;
    padding: 0.5rem 0;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0.5rem 1rem;
    list-style: none;
}

.dropdown-menu li a {
    color: white;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.dropdown-menu li a:hover {
    color: var(--secondary);
}

/* Footer */
.footer {
    background: #0a2051;
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
}

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

.footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 2rem;
}

.brand-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-logo {
    height: 120px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

.footer-description {
    max-width: 500px;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-section h3 {
    color: #2895ed;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.contact-info i {
    color: #2895ed;
    width: 16px;
}

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

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #2895ed;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: white;
    color: #2895ed;
    transform: translateY(-2px);
}

.footer-logo-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    margin: 2rem 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-title {
    text-align: center;
    color: #2895ed;
    margin-bottom: 1.5rem;
}

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

/* Footer Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem 0;
    }
    

}

/* İçerik Arası Reklam */
.content-ad-wrapper {
    margin: 3rem 0 !important;
    padding: 2rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    text-align: center !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease;
}

.content-ad-wrapper:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .content-ad-wrapper {
        margin: 2rem 0 !important;
        padding: 1.5rem !important;
    }
}

/* Footer Reklam Alanları */
.footer-ad-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    margin: 2rem 0;
}

/* Footer Üst Reklamı - Footer içeriğinin hemen altında */
.footer-ad-section.top {
    background: rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 3rem 0 2rem 0;
}

/* Footer Alt Reklamı - Copyright'tan hemen önce */
.footer-ad-section.bottom {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin: 2rem 0 1rem 0;
    padding: 1.5rem 0;
}

.footer-ad-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .footer-ad-section {
        padding: 1.5rem 0;
        margin: 1.5rem 0;
    }
    
    .footer-ad-section.top {
        margin: 2rem 0 1.5rem 0;
        padding: 1.5rem 0;
    }
    
    .footer-ad-section.bottom {
        margin: 1.5rem 0 0.5rem 0;
        padding: 1rem 0;
    }
    
    .footer-ad-section .container {
        padding: 0 1rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(40, 149, 237, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40, 149, 237, 0.4);
}

/* Blog Detay Sayfası - Modern Tasarım */
.blog-detail-wrapper {
    margin-top: 70px;
}

.blog-detail-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.blog-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.blog-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.blog-breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
    position: relative;
    z-index: 10;
}

.blog-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    z-index: 15;
}

.blog-breadcrumb a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.blog-breadcrumb .separator {
    margin: 0 0.5rem;
    opacity: 0.6;
}

.blog-breadcrumb .current {
    opacity: 0.7;
    font-weight: 500;
}

.blog-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.blog-hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.meta-item i {
    font-size: 1.1rem;
    opacity: 0.8;
}

.category-badge {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.3);
}

.blog-detail-content {
    background: #f8f9fa;
    padding: 4rem 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

.main-content-area {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.featured-image-wrapper {
    margin: -3rem -3rem 2rem -3rem;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.blog-content-wrapper {
    margin-bottom: 3rem;
}

.blog-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #2c3e50;
}

.blog-content h2, .blog-content h3, .blog-content h4 {
    color: #1a202c;
    margin: 2.5rem 0 1rem 0;
    font-weight: 600;
}

.blog-content h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

.blog-content h3 {
    font-size: 1.5rem;
}

.blog-content h4 {
    font-size: 1.3rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.blog-content ul, .blog-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.blog-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #4a5568;
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 8px;
}

.blog-footer {
    border-top: 2px solid #e2e8f0;
    padding-top: 2rem;
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.blog-tags h4, .blog-share h4 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.tag-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}



.share-buttons {
    display: flex;
    gap: 0.8rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.copy {
    background: #6c757d;
}

.share-btn.copy.copied {
    background: #28a745;
}

/* Etiketleri tıklanabilir yap */
.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #e2e8f0;
    color: #4a5568;
    border-radius: 20px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag:hover {
    background: #cbd5e0;
    color: #2d3748;
    transform: translateY(-1px);
    text-decoration: none;
}

.related-posts-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e2e8f0;
}

.section-title {
    color: #2d3748;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.related-post-image {
    height: 200px;
    overflow: hidden;
}

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

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-content h3 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    line-height: 1.4;
}

.related-post-content h3 a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-content h3 a:hover {
    color: var(--primary);
}

.related-post-content p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.related-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.related-post-meta .date {
    color: #718096;
}

.related-post-meta .category {
    background: #e2e8f0;
    color: #4a5568;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 500;
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f7fafc;
    color: #cbd5e0;
    font-size: 3rem;
}

.blog-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin: 1rem 0;
    line-height: 1.2;
}

.blog-meta {
    color: var(--gray);
    font-size: 0.9rem;
}

.featured-image-container {
    margin: 2rem 0;
    text-align: center;
}

.featured-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.blog-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--dark);
}

.blog-content h2, .blog-content h3, .blog-content h4 {
    color: var(--primary);
    margin: 2rem 0 1rem 0;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.tags-section {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--gray-light);
    border-radius: 8px;
}

.tags-section h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}



/* Responsive */
@media (max-width: 768px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .blog-detail {
        margin-top: 120px;
        padding: 1rem 0;
    }
    
    .blog-detail-container {
        padding: 0 1rem;
    }
    
    .blog-detail-title {
        font-size: 2rem;
    }
    
    .content-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-detail-hero {
        padding: 2rem 0;
    }
    
    .blog-hero-title {
        font-size: 2rem;
    }
    
    .blog-hero-meta {
        gap: 1rem;
    }
    
    .main-content-area {
        padding: 2rem;
    }
    
    .blog-footer {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar-widget {
        padding: 1.5rem;
    }
    
    .category-hero {
        padding: 2rem 0;
    }
    
    .category-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .category-title i {
        font-size: 2rem;
    }
    
    .category-stats {
        gap: 1rem;
    }
    
    .stat-item {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .hero-shapes {
        display: none;
    }
    
    .category-intro {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .category-footer {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }
    
    .footer-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-secondary, .btn-primary {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}
}
}
} 

/* Ana Sayfa Blog Grid Styles - Kaldırıldı (çakışma nedeniyle) */

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f8f9fa;
    color: #ccc;
    font-size: 3rem;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-title {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    line-height: 1.4;
}

.blog-card-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #3498db;
}

.blog-card-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #999;
}

.blog-card-meta .date {
    color: #666;
}

.blog-card-meta .category {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Sidebar Widget Styles - Modern */
.sidebar-widget {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.widget-title {
    color: #2d3748;
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.widget-title i {
    color: var(--primary);
    font-size: 1.1rem;
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

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

.recent-post a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.recent-post a:hover {
    color: #3498db;
}

.recent-post h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    line-height: 1.4;
    color: #2c3e50;
}

.recent-post .date {
    font-size: 0.85rem;
    color: #999;
}

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

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2c3e50;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.category-list a:hover {
    background: #f8f9fa;
    color: #3498db;
    transform: translateX(5px);
}

.category-list i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
    color: #3498db;
}

.category-list .count {
    margin-left: auto;
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Ana Sayfa Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .blog-card-content {
        padding: 1rem;
    }
    
    .sidebar-widget {
        padding: 1rem;
    }
} 

/* Hero Section Styles */
.hero {
    background: linear-gradient(135deg, rgba(10, 32, 81, 0.9), rgba(40, 149, 237, 0.8)), 
                url('/images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: -80px;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Blog Section Styles */
.blog-section {
    padding: 2rem 0;
}

/* Ana sayfa blog grid - 2 sütun */
.blog-section .blog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

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

/* Mobil Kategori Gezinme */
.mobile-category-nav {
    display: none;
    background-color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    z-index: 99;
}

.category-scroll {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 1rem;
    padding: 0.5rem 1rem;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    min-width: 80px;
    text-align: center;
    padding: 0.8rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background-color: var(--light);
}

.category-item:hover, .category-item:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Kategori rengi olmayan varsayılan hover */
.category-item:not([style*="background:"]):hover,
.category-item:not([style*="background:"]):active {
    background-color: var(--primary);
    color: white;
}

.category-item:not([style*="background:"]):hover i,
.category-item:not([style*="background:"]):active i {
    color: white;
}

.category-item i {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
    transition: color 0.3s ease;
}

.category-item span {
    font-size: 0.85rem;
    white-space: normal;
    font-weight: 500;
    line-height: 1.2;
    word-break: keep-all;
    hyphens: none;
    overflow-wrap: normal;
}

/* Sidebar Layout */
.main-content {
    padding: 2rem 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.main-content-area {
    min-width: 0;
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sidebar {
        position: static;
        /* order: -1; kaldırıldı - sidebar artık blog kartlarından sonra gelecek */
    }
}

@media (max-width: 768px) {
    /* Navbar mobil optimizasyonu */
    .navbar {
        min-height: 70px;
        max-height: 90px;
        padding: 10px 0;
        position: fixed !important;
        top: 0 !important;
        z-index: 1000 !important;
    }
    
    .navbar .container {
        padding: 0 1rem;
        min-height: 70px;
        align-items: center;
    }
    
    .logo {
        display: flex !important;
        align-items: center;
        padding: 0 !important;
    }
    
    .logo-img {
        padding: 0 !important;
        margin: 0 !important;
        object-fit: contain;
    }
    
    /* Mobil logo boyutları dynamic-logo.php dosyasında tanımlı */
    
    /* Mobil logo artık dinamik - admin panelinden kontrol edilebilir */
    
    /* Hero section mobil optimizasyonu */
    .hero {
        height: 60vh !important; /* Daha makul yükseklik */
        min-height: 400px !important; /* Minimum yükseklik */
        margin-top: 0px; /* Boşluğu kaldır */
        padding-top: 70px; /* Navbar yüksekliği kadar padding */
        display: flex;
        align-items: center;
        justify-content: center;
        background-attachment: scroll !important; /* Mobilde fixed attachment sorun yaratabilir */
        background-size: cover !important; /* Resmin tamamını kapsar */
        background-position: center center !important; /* Resmi ortalar */
        background-repeat: no-repeat !important; /* Tekrar etmesin */
        overflow: hidden; /* Taşan kısımları gizle */
    }

    .hero-content {
        padding: 0 1rem;
        max-width: 90%;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Diğer sayfa wrapper'ları */
            .blog-detail-wrapper,
        .category-page-wrapper {
            margin-top: 0px;
            padding-top: 70px;
        }
    
    /* Blog ve kategori hero bölümleri */
    .blog-detail-hero,
    .category-hero {
        padding: 2rem 0;
    }
    
    /* Breadcrumb mobil optimizasyonu */
    .breadcrumb,
    .blog-breadcrumb {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .breadcrumb a,
    .blog-breadcrumb a {
        padding: 0.2rem 0.4rem;
    }

    .mobile-category-nav {
        display: block;
    }
    
    .category-item {
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        min-width: 70px !important;
        max-width: 90px !important;
        padding: 0.6rem !important;
    }
    
    /* Kategori rengi olmayan varsayılan mobil stil */
    .category-item:not([style*="background:"]) {
        background-color: var(--light) !important;
        color: var(--primary) !important;
    }
    
    .category-item:not([style*="background:"]) i {
        color: var(--secondary) !important;
    }
    
    .category-item:not([style*="background:"]):hover,
    .category-item:not([style*="background:"]):active {
        background-color: var(--primary) !important;
        color: white !important;
    }
    
    .category-item:not([style*="background:"]):hover i,
    .category-item:not([style*="background:"]):active i {
        color: white !important;
    }
    
    .category-item span {
        font-size: 0.75rem !important;
        white-space: normal !important;
        line-height: 1.1 !important;
        word-break: keep-all !important;
        hyphens: none !important;
        overflow-wrap: normal !important;
        text-align: center !important;
    }
    

} 

/* Responsive Blog Grid Kuralları */
@media (max-width: 1200px) {
    .blog-grid,
    .category-content .blog-grid,
    .blog-section .blog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
        max-width: 100% !important;
        padding: 2rem 1rem !important;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .blog-grid,
    .category-content .blog-grid,
    .blog-section .blog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    .blog-grid,
    .category-content .blog-grid,
    .blog-section .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 1rem 0.25rem !important;
        max-width: 100% !important;
    }
    
    .blog-card {
        margin: 0 0.25rem !important;
        border-radius: 16px !important;
        box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
        max-width: none !important;
        width: calc(100% - 0.5rem) !important;
    }
    
    .blog-card-content {
        padding: 2rem 1.5rem !important;
    }
    
    .blog-card-title {
        font-size: 1.3rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.2rem !important;
        font-weight: 600 !important;
    }
    
    .blog-card-excerpt {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
        color: #555 !important;
    }
    
    .blog-card-image {
        height: 200px !important;
        overflow: hidden !important;
    }
    
    .blog-card-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transition: transform 0.3s ease !important;
    }
    
    .blog-card-meta {
        padding-top: 1rem !important;
        border-top: 1px solid #eee !important;
        margin-top: 1rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }
    
    .category-badge {
        margin-bottom: 0 !important;
        font-size: 0.7rem !important;
        padding: 0.3rem 0.6rem !important;
        border-radius: 15px !important;
    }
    
    /* Mobil görünümde container ve layout */
    .container {
        padding: 0 0.5rem !important;
    }
    
    .content-layout {
        gap: 1.5rem !important;
    }
    
    /* Mobil görünümde main content area */
    .main-content-area {
        padding: 1.5rem 0.5rem !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    
    /* Mobil görünümde sidebar widget'ları */
    .sidebar {
        margin-top: 2rem !important;
        padding: 0 0.5rem !important;
    }
    
    .sidebar-widget {
        margin-bottom: 2rem !important;
        padding: 1.5rem !important;
        border-radius: 16px !important;
        background: white !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    }
    
    /* Mobil görünümde sidebar reklamları */
    .sidebar-ads {
        margin-bottom: 2rem !important;
    }
    
    /* Mobilde reklamlar arası boşluk */
    .sidebar-ads .ad-space {
        margin-bottom: 1.5rem !important;
    }
    
    .sidebar-ads .ad-space:last-child {
        margin-bottom: 0 !important;
    }
    
    /* Mobilde tüm reklam alanları için netlik */
    .ad-space,
    .ad-banner,
    .content-ad-wrapper,
    .hero-after-ad,
    .footer-ad-slider .ad-space,
    .blog-page .ad-space,
    .category-page .ad-space,
    .blog-section .ad-space,
    .category-section .ad-space,
    .sidebar .ad-space,
    .main-content .ad-space,
    .content-layout .ad-space,
    .category-sidebar-ads .ad-space,
    .category-page-wrapper .ad-space,
    .category-content .ad-space {
        image-rendering: -webkit-optimize-contrast !important;
        image-rendering: crisp-edges !important;
        image-rendering: pixelated !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        /* Ek netlik için */
        transform: translateZ(0) !important;
        backface-visibility: hidden !important;
        perspective: 1000px !important;
    }
    
    /* Mobilde kategori sayfası sidebar reklamları için özel netlik */
    .category-sidebar-ads .ad-space {
        image-rendering: -webkit-optimize-contrast !important;
        image-rendering: crisp-edges !important;
        image-rendering: pixelated !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        /* Boyutları koru */
        max-width: none !important;
        width: auto !important;
        height: auto !important;
        /* Ek netlik için */
        transform: translateZ(0) !important;
        backface-visibility: hidden !important;
        perspective: 1000px !important;
        /* Kategori sayfası için özel */
        filter: none !important;
        -webkit-filter: none !important;
    }
    
    .sidebar-widget h3 {
        font-size: 1.1rem !important;
        margin-bottom: 1rem !important;
        color: #2c3e50 !important;
        border-bottom: 2px solid #e3f2fd !important;
        padding-bottom: 0.5rem !important;
    }
    
    .recent-post {
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid #f5f5f5 !important;
    }
    
    .recent-post:last-child {
        border-bottom: none !important;
    }
    
    .recent-post h4 {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.25rem !important;
    }
    
    .category-list li {
        padding: 0.5rem 0 !important;
    }
    
    .category-list li a {
        font-size: 0.9rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
}

/* Çok küçük ekranlar için (iPhone SE vb.) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.25rem !important;
    }
    
    .blog-grid,
    .category-content .blog-grid,
    .blog-section .blog-grid {
        padding: 1rem 0.1rem !important;
    }
    
    .blog-card {
        margin: 0 0.1rem !important;
        width: calc(100% - 0.2rem) !important;
    }
    
    .main-content-area {
        padding: 1rem 0.25rem !important;
    }
    
    .blog-card-content {
        padding: 1.75rem 1.25rem !important;
    }
    
    .blog-card-title {
        font-size: 1.25rem !important;
    }
}

/* ========================================
   SPONSORLU İÇERİK BADGE STİLLERİ
======================================== */

/* Ana sayfa ve kategori sayfalarında sponsorlu badge */
.sponsored-badge-card {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sponsored-badge-card i {
    font-size: 0.8rem;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.2));
}

/* Sponsorlu blog kartları için özel stil */
.blog-card.sponsored {
    position: relative;
    border: 2px solid rgba(245, 158, 11, 0.2) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.1) !important;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(254, 243, 199, 0.3) 100%) !important;
}

.blog-card.sponsored:hover {
    border-color: rgba(245, 158, 11, 0.4) !important;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.2) !important;
    transform: translateY(-2px) !important;
}

/* Blog card image için position relative */
.blog-card-image {
    position: relative;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .sponsored-badge-card {
        top: 0.3rem;
        right: 0.3rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
        border-radius: 10px;
    }
    
    .sponsored-badge-card i {
        font-size: 0.7rem;
    }
    
    /* Footer logo mobil optimizasyonu */
    .footer-logo {
        height: 100px !important;
        max-width: 250px !important;
    }
    
    .footer-logo-section {
        padding: 1.5rem 0 !important;
        margin: 1.5rem 0 !important;
    }
    
    /* Footer bölümleri ortalama */
    .footer-section {
        text-align: center !important;
    }
    
    .footer-section h3 {
        text-align: center !important;
    }
    
    .footer-section ul {
        text-align: center !important;
        display: block !important;
    }
    
    .footer-section ul li {
        text-align: center !important;
    }
    
    .contact-info li {
        justify-content: center !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
}

/* Reklam SEO ve Performans Optimizasyonları */
.ad-container {
    contain: layout style;
    will-change: transform;
}

.ad-image {
    transition: opacity 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.ad-image.lazy-ad {
    opacity: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, transparent 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.ad-image:not(.lazy-ad) {
    opacity: 1;
}

/* Critical reklamlar için optimizasyon */
.ad-space.critical {
    contain: none;
}

.ad-space.critical .ad-image {
    loading: eager;
    fetchpriority: high;
}

/* Footer Logo Slider - Yenilendi */
.footer-logo-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    margin: 2rem 0;
    overflow: hidden;
}

.slider-title {
    text-align: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.footer-logo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    animation: logoSlide 30s linear infinite;
    width: max-content;
    will-change: transform;
}

@keyframes logoSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-slide {
    flex: none;
    margin: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 80px;
    position: relative;
}

.logo-slide a {
    display: block;
    line-height: 0;
}

.logo-slide img {
    max-width: 150px !important;
    max-height: 60px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    filter: brightness(0.85) contrast(1.1) !important;
    transition: all 0.3s ease !important;
    opacity: 0.9;
}

.logo-slide:hover img {
    filter: brightness(1) contrast(1) !important;
    transform: scale(1.05) !important;
    opacity: 1 !important;
}

/* Logo sistemi - Basitleştirildi */
.logo-slide .logo-single {
    display: block !important;
}

.logo-slide .logo-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.logo-slide .logo-text h4 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.logo-slide .logo-text p {
    margin: 0.25rem 0 0 0;
    font-size: 0.75rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .footer-logo-section {
        padding: 1.5rem 0;
        margin: 1.5rem 0;
    }
    
    .slider-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .logo-slide {
        margin: 0 1rem;
        min-width: 120px;
        height: 60px;
    }
    
    .logo-slide img {
        max-width: 120px;
        max-height: 45px;
        background: none !important;
        background-color: transparent !important;
        border: none;
        box-shadow: none;
    }
    
    /* Mobilde tek logo sistemi */
    .logo-slide .logo-single {
        display: block !important;
    }
}

/* Mobil Logo Slider Kuralları - Yenilendi */
@media (max-width: 768px) {
    .footer-logo-section {
        padding: 1.5rem 0 !important;
        margin: 1.5rem 0 !important;
    }
    
    .slider-title {
        font-size: 1.25rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .logo-slide {
        margin: 0 1rem !important;
        min-width: 120px !important;
        height: 60px !important;
    }
    
    .logo-slide img {
        max-width: 120px !important;
        max-height: 45px !important;
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }
    
    /* Mobilde tek logo sistemi */
    .logo-slide .logo-single {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Popup Reklam Stilleri */
.popup-ad-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.popup-ad-container {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-ad-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.popup-ad-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

@media (max-width: 768px) {
    .popup-ad-container {
        margin: 1rem;
        padding: 1.5rem;
        max-width: calc(100vw - 2rem);
    }
    
    .popup-ad-close {
        top: 5px;
        right: 10px;
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
}

/* Çok küçük ekranlar için ek optimizasyon */
@media (max-width: 480px) {
    .hero {
        height: 50vh !important;
        min-height: 350px !important;
        margin-top: 70px;
        background-size: cover !important;
        background-position: center center !important;
    }
    
    .hero-content {
        padding: 0 0.5rem;
        max-width: 95%;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 1.75rem !important;
        line-height: 1.1;
        margin-bottom: 0.75rem;
    }
    
    .hero p {
        font-size: 0.9rem !important;
        line-height: 1.3;
        margin-bottom: 1.25rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
    
    /* Footer mobil ortalama */
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3 {
        text-align: center;
    }
    
    .footer-section ul {
        text-align: center;
    }
    
    .contact-info li {
        justify-content: center;
        text-align: center;
    }
}

/* Site Adı Responsive Stiller */
@media (max-width: 768px) {
    .site-name {
        font-size: 1.2rem !important;
        letter-spacing: -0.3px !important;
    }
    
    .logo a {
        gap: 10px !important;
    }
}

@media (max-width: 480px) {
    .site-name {
        font-size: 1rem !important;
        font-weight: 600 !important;
    }
    
    .logo a {
        gap: 8px !important;
    }
}

@media (max-width: 360px) {
    .site-name {
        font-size: 0.9rem !important;
        white-space: normal !important;
        line-height: 1.1 !important;
    }
} 