:root {
    --primary-color: #00c295;
    --bs-primary: #00c295;
    --bs-primary-rgb: 0, 194, 149;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --dark-gray: #666;
    --border-color: #e1e8ed;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 22px;
    font-weight: 600;
    color: #00c295;
}

.logo img {
  
    max-width: 150px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links li a {
    font-size: 14px;
    font-weight: 500;
    color: #555;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #00c295;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: #555;
    cursor: pointer;
}

/* Blog Header */
.blog-header {
    background-color: #f0f8ff;
    padding: 25px 0;
    border-bottom: 1px solid #e1e8ed;
}

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

.blog-header h2 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.blog-header-right {
    font-size: 14px;
    color: #888;
}

/* Blog Content */
.blog-content {
    padding: 50px 0;
}

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

.blog-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

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

.blog-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

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

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

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

.card-body {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    background-color: rgba(0, 194, 149, 0.1);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 12px;
}

.card-title {
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
}

.card-title a {
    color: var(--text-color);
    transition: color 0.3s;
}

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

.card-text {
    color: var(--dark-gray);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.blog-meta {
    font-size: 13px;
    color: #888;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 40px;
}

.page-number, .page-dots, .page-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 14px;
    color: #555;
    transition: all 0.3s;
}

.page-number:hover, .page-next:hover {
    background-color: #f0f8ff;
}

.page-number.current {
    background-color: #00c295;
    color: white;
}

.page-next {
    width: auto;
    padding: 0 15px;
    border-radius: 20px;
    font-weight: 500;
}

.page-next:hover {
    background-color: #f0f8ff;
}

/* Footer */
footer {
    background-color: #fff;
    padding-top: 60px;
    padding-bottom: 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 30px;
}

.footer-logo h3 {
    font-size: 20px;
    font-weight: 600;
    color: #00c295;
    margin-bottom: 20px;
}

.footer-logo img {
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 30px;
    border-left: 1px solid #e1e8ed;
    border-right: 1px solid #e1e8ed;
}

.footer-links a {
    color: #555;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.social-follow {
    margin-bottom: 20px;
}

.social-follow span {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: #555;
    transition: all 0.3s;
}

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

.faq-link {
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
}

.faq-link a {
    color: #00c295;
    text-decoration: underline;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.contact-item {
    font-size: 14px;
    color: #555;
}

.contact-item strong {
    color: #00c295;
    font-weight: 600;
}

.support-hours {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.support-hours b {
    color: #00c295;
    font-weight: 600;
}

.copyright {
    font-size: 12px;
    color: #888;
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        padding-left: 0;
        border-left: none;
        border-right: none;
        padding-top: 20px;
        border-top: 1px solid #e1e8ed;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .blog-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .contact-row {
        flex-direction: column;
        gap: 10px;
    }
}

/* Mobile Menu Active State */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* Blog Detail Styles */
.blog-detail-container {
    padding-top: 40px;
    padding-bottom: 60px;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #777;
}

.breadcrumb a {
    color: #00c295;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.blog-detail-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
}

.article-content {
    width: 100%;
    position: relative;
}

.article-content h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #333;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-img {
    display: none; /* Görsel çalışmadığı için gizliyoruz */
}

.article-info {
    display: flex;
    gap: 20px;
    color: #777;
    font-size: 14px;
}

.article-body {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body h2 {
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333;
}

.article-author-bio {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.article-author-bio h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.author-info {
    display: flex;
    align-items: center;
}

.author-name {
    font-weight: 600;
    color: #333;
}

/* Sidebar */
.article-sidebar {
    width: 100%;
    position: relative;
    top: auto;
    height: auto;
}

.sidebar-cta {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.sidebar-cta img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cta-text {
    padding: 20px;
    text-align: center;
}

.cta-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.cta-button {
    display: inline-block;
    background-color: #00c295;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #00a57f;
}

.sidebar-newsletter {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
}

.sidebar-newsletter h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.sidebar-newsletter p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.newsletter-form button {
    background-color: #00c295;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #00a57f;
}

/* Related Posts */
.related-posts {
    padding-top: 50px;
    border-top: 1px solid var(--border-color);
    margin-top: 50px;
}

.related-posts h3 {
    font-weight: 700;
    margin-bottom: 30px;
}

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

.related-post {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

.related-post h4 {
    padding: 15px 15px 10px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
}

.related-meta {
    display: flex;
    justify-content: space-between;
    padding: 0 15px 15px;
    font-size: 12px;
    color: #888;
}

.post-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.nav-prev, .nav-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    border: none;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-prev:hover, .nav-next:hover {
    background-color: #00c295;
    color: white;
}

/* Newsletter Banner */
.newsletter-banner {
    background-color: #00c295;
    padding: 30px 0;
    margin-bottom: 50px;
}

.newsletter-banner-form {
    display: flex;
    justify-content: center;
}

.newsletter-banner-form button {
    background-color: white;
    color: #00c295;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-banner-form button:hover {
    background-color: #f5f5f5;
}

/* Responsive Styles for Blog Detail */
@media (max-width: 1024px) {
    .blog-detail-content {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        margin-top: 40px;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .article-content h1 {
        font-size: 26px;
    }
    
    .article-sidebar {
        display: block;
    }
}

/* Sidebar içindeki öğeleri alt alta düzenle */
@media (min-width: 1025px) {
    .article-sidebar {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
}

/* Override Bootstrap primary color */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active {
    background-color: #00a57f !important;
    border-color: #00a57f !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.page-link {
    color: var(--primary-color);
}

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

/* Improved Navbar */
.navbar {
}

.navbar-brand img {
    transition: transform 0.3s;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    color: #444;
    transition: all 0.3s;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s;
    transform: translateX(-50%);
}

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

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Blog Header */
.blog-header {
    border-bottom: 1px solid #e1e8ed;
}

/* Footer Styles */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: #555;
    transition: all 0.3s;
}

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

.footer-links a {
    color: #555;
    transition: color 0.3s;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Blog Detail Styles */
.breadcrumb-item a {
    color: var(--primary-color);
}

.article-body h2 {
    color: #333;
    font-weight: 600;
}

.article-body p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Fixed Sidebar for Blog Detail */
.col-lg-4 {
    position: relative;
}

@media (min-width: 992px) {
    .col-lg-4 .row {
        position: sticky;
        top: 100px;
    }
}

.sidebar-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s;
}

.sidebar-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .blog-image {
        height: 200px;
    }
    
    .article-body {
        font-size: 16px;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .blog-image {
        height: 180px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .blog-category {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .pagination .page-link {
        padding: 0.4rem 0.75rem;
    }
}

/* Hover animations */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 194, 149, 0.3);
}

.form-control {
    transition: all 0.3s ease;
    border: 1px solid #e1e8ed;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 194, 149, 0.25);
}

/* Pagination styling */
.pagination .page-link {
    margin: 0 3px;
    border: none;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
}

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

.pagination .page-link:hover:not(.active) {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

/* Blog article list styling */
.article-body ul, 
.article-body ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.article-body ul {
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body ul ul,
.article-body ol ol,
.article-body ul ol,
.article-body ol ul {
    margin-top: 10px;
    margin-bottom: 10px;
}