/**
 * Modern Stil Dosyası
 * Zoekantwoord.nl Blog Script - 2025
 */

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-color: #2d3748;
    --text-light: #718096;
    --bg-color: #f7fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-card: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background: var(--bg-color);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Modern Header */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* Modern Cards */
.card {
    border: none;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    overflow: hidden;
    background: var(--card-bg);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card:hover::before {
    opacity: 1;
}

.card-title a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Post Detail Page */
.post-detail {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.post-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.post-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.post-meta i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.post-meta a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Post Content */
.post-content {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-color);
    margin-top: 2rem;
}

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

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
}

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

.post-content ul,
.post-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.post-content li {
    margin-bottom: 0.75rem;
}

.post-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.post-content a:hover {
    border-bottom-color: var(--primary-color);
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
    background: var(--gradient-card);
    padding: 1.5rem;
    border-radius: 8px;
}

/* Post Images */
.post-main-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 20px;
    margin: 0 auto 2rem;
    display: block;
    box-shadow: var(--shadow-lg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.post-main-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 1s ease;
    z-index: 1;
    pointer-events: none;
}

.post-main-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.post-main-image:hover::before {
    left: 100%;
}

.post-content-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    width: auto;
    border-radius: 16px;
    margin: 2rem auto;
    display: block;
    box-shadow: var(--shadow-md);
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-content-image:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.post-featured-image {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 0;
    position: relative;
}

/* Share Section */
.post-share {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.post-share h5 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
}

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

.share-buttons .btn {
    min-width: 140px;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: var(--shadow-sm);
}

.share-buttons .btn-primary {
    background: linear-gradient(135deg, #3b5998 0%, #2d4373 100%);
    color: white;
}

.share-buttons .btn-info {
    background: linear-gradient(135deg, #1da1f2 0%, #0f82d1 100%);
    color: white;
}

.share-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.share-buttons .btn i {
    font-size: 1.1rem;
}

/* Related Posts */
.related-posts {
    margin-top: 3rem;
}

.related-posts h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-color);
    position: relative;
    padding-bottom: 1rem;
}

.related-posts h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.related-post-image {
    width: 100%;
    border-radius: 16px 16px 0 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 220px;
    object-fit: cover;
}

.related-posts .card {
    height: 100%;
    overflow: hidden;
}

.related-posts .card:hover {
    transform: translateY(-8px);
}

.related-posts .card:hover .related-post-image {
    transform: scale(1.1);
}

.related-posts .card-body {
    padding: 1.5rem;
}

.related-posts .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Modern Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.widget {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.widget:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.widget-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    position: relative;
    color: var(--text-color);
}

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

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

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

.category-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    background: transparent;
    border: 1px solid transparent;
}

.category-link:hover {
    background: var(--gradient-card);
    color: var(--primary-color);
    transform: translateX(5px);
    border-color: var(--border-color);
}

.category-link i {
    margin-right: 0.75rem;
    width: 24px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.random-category-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.random-category-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-color);
}

.category-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

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

.post-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    transition: transform 0.2s;
}

.post-list li:hover {
    transform: translateX(5px);
}

.post-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.post-list li:hover::before {
    transform: translateX(3px);
}

.post-list li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s;
    display: block;
}

.post-list li a:hover {
    color: var(--primary-color);
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

/* Modern Buttons */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--gradient-primary);
}

/* Breadcrumb */
.breadcrumb {
    background: var(--card-bg);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.breadcrumb-item.active {
    color: var(--text-light);
}

/* Post List Images */
.post-list-image {
    border-radius: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: auto;
    max-height: 300px;
    object-fit: cover;
}

.post-list-image:hover {
    transform: scale(1.05);
}

/* Carousel */
.carousel-item img {
    border-radius: 16px;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
}

/* Mobile responsive carousel caption */
@media (max-width: 767.98px) {
    .carousel-caption {
        padding: 1rem;
        bottom: 0.5rem;
        left: 0.5rem;
        right: 0.5rem;
    }
    
    .carousel-caption h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.85rem;
        margin-bottom: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* Footer */
.main-footer {
    margin-top: 5rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
}

.main-footer a {
    transition: color 0.3s;
    color: rgba(255, 255, 255, 0.8);
}

.main-footer a:hover {
    color: white !important;
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    .post-detail {
        padding: 1.5rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-content {
        font-size: 1rem;
    }
    
    .sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .widget {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .post-main-image {
        max-height: 250px;
        border-radius: 16px;
    }
    
    .post-content-image {
        max-height: 250px;
        border-radius: 12px;
    }
    
    .share-buttons .btn {
        min-width: 100%;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-item,
.widget,
.card {
    animation: fadeIn 0.6s ease-out;
}

/* AdSense */
.ads-widget {
    text-align: center;
    min-height: 250px;
    border-radius: 16px;
    overflow: hidden;
}

/* More Posts Section */
.more-posts {
    margin-top: 3rem;
}

.more-posts h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-color);
    position: relative;
    padding-bottom: 1rem;
}

.more-posts h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Navigation Menu Styles */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
}

.navbar-nav .nav-link i {
    font-size: 0.9rem;
}

/* Mobile Menu Responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }
    
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .navbar-nav .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 8px;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(102, 126, 234, 0.1);
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.95rem;
        padding: 0.65rem 0.85rem;
    }
    
    .navbar-nav .nav-link i {
        font-size: 0.85rem;
    }
}

/* Reklam Alanları Stilleri */
.advertisement {
    margin: 20px 0;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.ad-header-bottom {
    margin-top: 0;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.ad-content-top,
.ad-content-bottom {
    margin: 30px 0;
    padding: 20px;
}

.ad-content-middle {
    margin: 40px 0;
    padding: 20px;
    border: 2px dashed var(--border-color);
    background: rgba(102, 126, 234, 0.02);
}

.ad-mobile-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    padding: 10px;
    max-width: 100%;
}

@media (min-width: 768px) {
    .ad-mobile-sticky {
        display: none !important;
    }
    
    body {
        padding-bottom: 0 !important;
    }
}

@media (max-width: 767px) {
    body {
        padding-bottom: 80px;
    }
    
    .advertisement {
        margin: 15px 0;
        padding: 10px;
    }
}

/* Sidebar Reklamları */
.sidebar .ad-widget {
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sidebar .ad-widget:first-child {
    margin-top: 0;
}
