/* TalepCepte Blog - 2025 Modern Tasarım */

:root {
    --theme-color: #0D549C;
    --theme-orange: #F58523;
    --theme-accent: #003D75;
    --theme-white: #ffffff;
    --theme-light: #f8fafc;
    --theme-dark: #1e293b;
    --theme-gray: #64748b;
    --theme-light-gray: #f1f5f9;
    --theme-border: #e2e8f0;
    --theme-shadow: rgba(0, 0, 0, 0.05);
    --theme-shadow-hover: rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #0D549C 0%, #003D75 100%);
    --gradient-accent: linear-gradient(135deg, #F58523 0%, #ff9f40 100%);
    --gradient-success: linear-gradient(135deg, #0D549C 0%, #003D75 100%);
}

/* Genel Stiller */
body {
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--theme-dark);
    background: #ffffff;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar Stilleri */
.navbar {
    background: var(--theme-color) !important;
    box-shadow: 0 2px 20px rgba(13, 84, 156, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 2px solid var(--theme-orange);
}

.navbar-brand {
    color: var(--theme-orange) !important;
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--theme-white) !important;
    transform: scale(1.05);
}

.navbar-brand img {
    height: 40px;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}

.navbar-brand img:hover {
    transform: scale(1.05);
    filter: brightness(0) saturate(100%) invert(60%) sepia(95%) saturate(2000%) hue-rotate(25deg) brightness(1.2);
}

.navbar-toggler {
    border: 1px solid var(--theme-orange);
    color: var(--theme-orange);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(245, 133, 35, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28245, 133, 35, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: var(--theme-white) !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
    margin: 0 0.25rem;
}

.nav-link:hover {
    color: var(--theme-orange) !important;
    background-color: rgba(245, 133, 35, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--theme-orange) !important;
    background-color: rgba(245, 133, 35, 0.2);
    box-shadow: 0 4px 12px rgba(245, 133, 35, 0.3);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--theme-orange);
}

/* Blog Header */
.blog-header {
    background: var(--theme-light);
    color: var(--theme-dark);
    padding: 4rem 0;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--theme-color);
}

.blog-header::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"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.blog-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--theme-color);
    position: relative;
    z-index: 1;
}

.blog-header .lead {
    font-size: 1.2rem;
    color: var(--theme-gray);
    position: relative;
    z-index: 1;
}

/* Blog Post Stilleri */
.blog-post {
    background: var(--theme-white);
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--theme-border);
    position: relative;
    overflow: hidden;
}

.blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-accent);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 5px 5px 0;
}

.blog-post:hover::before {
    transform: scaleY(1);
}

.blog-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: var(--theme-color);
}

.blog-title {
    color: var(--theme-color);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.blog-meta {
    color: var(--theme-gray);
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.blog-meta i {
    color: var(--theme-orange);
    margin-right: 0.5rem;
}

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

.read-more {
    color: var(--theme-orange);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 140, 66, 0.1) 100%);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.read-more:hover {
    color: var(--theme-white);
    background: var(--gradient-accent);
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    border-color: transparent;
}

/* Card Stilleri */
.card {
    border: 1px solid var(--theme-border);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: var(--theme-white);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: var(--theme-color);
}

.card-title {
    color: var(--theme-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Liste Stilleri */
.list-unstyled li {
    margin-bottom: 0.8rem;
}

.list-unstyled a {
    color: var(--theme-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    padding: 0.5rem;
    border-radius: 6px;
}

.list-unstyled a:hover {
    color: var(--theme-orange);
    background-color: var(--theme-light-gray);
    transform: translateX(5px);
}

.list-unstyled a::before {
    content: "→";
    color: var(--theme-orange);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.list-unstyled a:hover::before {
    transform: translateX(3px);
}

/* Footer Stilleri */
footer {
    background-color: var(--theme-color);
    color: var(--theme-white);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.social-links a {
    color: var(--theme-white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    color: var(--theme-orange);
    background-color: var(--theme-white);
    transform: translateY(-2px);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .blog-header {
        padding: 2rem 0;
    }

    .blog-header h1 {
        font-size: 2rem;
    }

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

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .blog-post {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .blog-header h1 {
        font-size: 1.8rem;
    }

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

    .blog-post {
        padding: 1rem;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-post {
    animation: fadeInUp 0.6s ease-out;
}

/* Özel Sınıflar */
.featured-post {
    border: 2px solid var(--theme-orange);
    background: linear-gradient(135deg, var(--theme-white) 0%, var(--theme-light-gray) 100%);
    position: relative;
}

.featured-post::after {
    content: 'ÖNE ÇIKAN';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-accent);
    color: var(--theme-white);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.category-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--theme-white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(13, 84, 156, 0.3);
    transition: all 0.3s ease;
}

.category-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 84, 156, 0.4);
}

.read-time {
    color: var(--theme-gray);
    font-size: 0.9rem;
    font-style: italic;
}

/* Modern Özellikler */
.search-highlight {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(0, 184, 148, 0.1) 100%);
    border: 1px solid rgba(0, 212, 170, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Modern Butonlar */
.btn-modern {
    background: var(--gradient-primary);
    border: none;
    color: var(--theme-white);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(13, 84, 156, 0.3);
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 84, 156, 0.4);
    color: var(--theme-white);
}

/* Glassmorphism Efekti */
.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--theme-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--theme-orange);
}

/* Loading Animasyonu */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    border-top-color: var(--theme-orange);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Modern Form Elemanları */
.input-group-modern {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background: var(--theme-white);
    border: 1px solid var(--theme-border);
}

.input-group-modern .input-group-text {
    background: var(--theme-color);
    color: var(--theme-white);
    border: none;
    padding: 0.75rem 1rem;
}

.form-control-modern {
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    background: var(--theme-white);
    box-shadow: none;
    color: var(--theme-dark);
}

.form-control-modern:focus {
    border: none;
    box-shadow: none;
    background: var(--theme-white);
    color: var(--theme-dark);
}

.btn-group-modern .btn {
    border-radius: 12px;
    margin: 0 0.25rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-group-modern .btn-outline-primary {
    border: 1px solid var(--theme-color);
    color: var(--theme-color);
    background: var(--theme-white);
    font-weight: 600;
}

.btn-group-modern .btn-outline-primary:hover {
    background: var(--theme-color);
    color: var(--theme-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 84, 156, 0.3);
}

.btn-group-modern .btn.active {
    background: var(--theme-color);
    border-color: var(--theme-color);
    color: var(--theme-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 84, 156, 0.3);
}

/* Sayfalama Stilleri */
.pagination {
    margin: 0;
}

.pagination .page-link {
    color: var(--theme-color);
    border: 1px solid var(--theme-border);
    padding: 0.5rem 0.75rem;
    margin: 0 0.125rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    color: var(--theme-white);
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    color: var(--theme-white);
}

.pagination .page-item.disabled .page-link {
    color: var(--theme-gray);
    background-color: var(--theme-light);
    border-color: var(--theme-border);
}

.pagination-info {
    color: var(--theme-gray);
    font-size: 0.9rem;
}

/* No Posts Message */
.no-posts-message {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--theme-gray);
}

.no-posts-message h3 {
    color: var(--theme-dark);
    margin-bottom: 1rem;
}

/* Popular Posts */
.popular-post-item {
    border-bottom: 1px solid var(--theme-border);
    padding-bottom: 0.75rem;
}

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

.popular-post-item h6 {
    color: var(--theme-color);
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.popular-post-item h6:hover {
    color: var(--theme-orange);
}

/* Category Badges */
.badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

/* Form Select */
.form-select {
    border: 1px solid var(--theme-border);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 84, 156, 0.25);
}

/* Blog Yazısı Özel Stilleri */
.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--theme-dark);
}

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

.blog-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2.5rem 0 1.5rem;
    color: var(--theme-color);
    border-bottom: 2px solid var(--theme-orange);
    padding-bottom: 0.5rem;
}

.blog-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--theme-color);
}

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

.blog-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.blog-content strong {
    color: var(--theme-color);
    font-weight: 600;
}

.blog-content blockquote {
    border-left: 4px solid var(--theme-orange);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--theme-gray);
    background: var(--theme-light);
    padding: 1.5rem;
    border-radius: 8px;
}

/* Sosyal Medya Paylaşım */
.social-share {
    background: var(--theme-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--theme-border);
}

.social-share h6 {
    color: var(--theme-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--theme-color);
    color: var(--theme-white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--theme-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 133, 35, 0.3);
}

/* İlgili Yazılar */
#related-posts {
    max-height: 400px;
    overflow-y: auto;
}

.related-post-item {
    border-bottom: 1px solid var(--theme-border);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.related-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.related-post-item h6 {
    color: var(--theme-color);
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.related-post-item h6:hover {
    color: var(--theme-orange);
}

.related-post-item small {
    color: var(--theme-gray);
}

/* Breadcrumb Tasarımı */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--theme-gray);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0.75rem;
    line-height: 1;
}

.breadcrumb-item a {
    color: var(--theme-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.breadcrumb-item a:hover {
    color: var(--theme-orange);
    background-color: rgba(245, 133, 35, 0.1);
    transform: translateY(-1px);
}

.breadcrumb-item.active {
    color: var(--theme-gray);
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    background-color: var(--theme-light);
    border-radius: 6px;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Breadcrumb Container */
.breadcrumb-container {
    background: linear-gradient(135deg, var(--theme-light) 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(13, 84, 156, 0.1);
    box-shadow: 0 2px 8px rgba(13, 84, 156, 0.05);
}

.breadcrumb-container .breadcrumb {
    margin-bottom: 0;
}

/* Breadcrumb Icon */
.breadcrumb-item:first-child a::before {
    content: "🏠";
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-item:nth-child(2) a::before {
    content: "📝";
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

/* Responsive İyileştirmeler */
@media (max-width: 768px) {
    .blog-header {
        padding: 2rem 0;
    }

    .blog-header h1 {
        font-size: 2rem;
    }

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

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .blog-post {
        padding: 1.5rem;
    }

    .btn-group-modern {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .btn-group-modern .btn {
        margin: 0.125rem;
    }

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

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

    .social-links {
        justify-content: center;
    }

    /* Breadcrumb Mobile */
    .breadcrumb-container {
        padding: 0.75rem 1rem;
        margin-bottom: 1.5rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        margin: 0 0.5rem;
        font-size: 1rem;
    }

    .breadcrumb-item.active {
        max-width: 200px;
        font-size: 0.8rem;
    }

    .breadcrumb-item a {
        padding: 0.2rem 0.4rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .blog-header h1 {
        font-size: 1.8rem;
    }

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

    .blog-post {
        padding: 1rem;
    }
}
