/**
 * PasaportAI Blog Stil Dosyası
 */

/* Genel Stil */
:root {
    --primary-color: #0062cc;
    --secondary-color: #6c757d;
    --accent-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --border-color: #dee2e6;
    --hover-color: #004a9f;
    --font-family: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9f9f9;
}

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

a:hover {
    color: var(--hover-color);
    text-decoration: none;
}

.btn {
    font-weight: 500;
    border-radius: 4px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

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

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

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.container {
    max-width: 1200px;
}

/* Header */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand img.logo {
    max-height: 50px;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 15px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Ana İçerik */
.main-content {
    padding: 40px 0;
    min-height: calc(100vh - 300px);
}

/* Yapay Zeka Asistanı Banner */
.ai-assistant-banner {
    background: linear-gradient(135deg, #0062cc 0%, #0097B2 100%);
    color: white;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.banner-content {
    padding: 30px;
    flex: 1;
    min-width: 300px;
}

.banner-content h2 {
    margin-bottom: 15px;
    font-weight: 600;
}

.banner-image {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    text-align: center;
}

.banner-image img {
    max-width: 100%;
    height: auto;
    max-height: 250px;
}

/* Blog Bölüm Başlığı */
.blog-section-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

/* Blog Kartları */
.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-card-img {
    overflow: hidden;
}

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

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

.blog-card-body {
    padding: 20px;
}

.blog-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

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

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

.blog-card-date {
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.blog-card-text {
    font-size: 14px;
    margin-bottom: 15px;
}

/* Blog Post Detay */
.blog-post {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.blog-post-header {
    margin-bottom: 20px;
}

.blog-post-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--secondary-color);
}

.blog-post-date {
    margin-right: 15px;
}

.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.blog-post-tags .badge {
    font-weight: 500;
    padding: 5px 10px;
    font-size: 12px;
}

.blog-post-img {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
}

.blog-post-img img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.blog-post-content {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.blog-post-content h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-post-content h3 {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.blog-post-content p {
    margin-bottom: 20px;
}

.blog-post-content ul, 
.blog-post-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.blog-post-content li {
    margin-bottom: 10px;
}

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

.blog-post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    margin: 20px 0;
    background: var(--light-color);
    font-style: italic;
}

.blog-post-footer {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.blog-post-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-post-share span {
    font-weight: 500;
}

.blog-post-share .btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-facebook {
    background-color: #3b5998;
    border-color: #3b5998;
    color: white;
}

.btn-twitter {
    background-color: #1da1f2;
    border-color: #1da1f2;
    color: white;
}

.btn-linkedin {
    background-color: #0077b5;
    border-color: #0077b5;
    color: white;
}

.btn-whatsapp {
    background-color: #25d366;
    border-color: #25d366;
    color: white;
}

.related-posts {
    margin-bottom: 40px;
}

.related-posts h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Sayfalama */
.pagination {
    margin-top: 30px;
}

.pagination .page-link {
    color: var(--primary-color);
    border-color: var(--border-color);
    padding: 8px 16px;
}

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

/* Footer */
.main-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-widget p {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

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

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

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

.footer-links li {
    margin-bottom: 10px;
}

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

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.copyright a {
    color: rgba(255, 255, 255, 0.8);
}

.copyright a:hover {
    color: white;
}