/* Blog Sayfaları için Özel Stiller */

/* Blog Grid Stilleri */
.blog-section {
    padding: 60px 0;
}

.blog-box {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

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

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

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

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

.blog-image label {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.popular-label {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    text-align: center !important;
    border-radius: 0 !important;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53) !important;
    padding: 8px 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    z-index: 2;
}

.blog-contain {
    padding: 20px;
}

.blog-label {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 12px;
    color: #666;
}

.blog-label span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-label i {
    width: 14px;
    height: 14px;
}

.blog-contain h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #333;
}

.blog-contain h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-contain h3 a:hover {
    color: #0941d9;
}

.blog-button {
    background: none;
    border: none;
    color: #0941d9;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-button:hover {
    color: #0a8a6f;
    transform: translateX(5px);
}

/* Blog Detail Stilleri */
.blog-detail-section {
    padding: 60px 0;
}

.blog-detail-box {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.blog-detail-box .blog-image {
    position: relative;
    height: 400px;
}

.blog-detail-box .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail-box .blog-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.blog-detail-box .blog-contain {
    padding: 30px;
}

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

.blog-content {
    margin-bottom: 30px;
}

.blog-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.blog-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 15px 0;
    color: #333;
}

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

.blog-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 8px;
}

.blog-tags,
.blog-share {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.blog-tags h5,
.blog-share h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.blog-tags ul,
.blog-share ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-tags a {
    background: #f8f9fa;
    color: #666;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.blog-tags a:hover {
    background: #0941d9;
    color: white;
}

.blog-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    color: #666;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-share a:hover {
    background: #0941d9;
    color: white;
    transform: translateY(-2px);
}

/* Related Posts */
.related-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.related-posts h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
}

.related-post-box {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-post-box:hover {
    transform: translateY(-3px);
}

.related-image {
    display: block;
    height: 150px;
    overflow: hidden;
}

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

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

.related-content {
    padding: 15px;
}

.related-content h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-content h5 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-content h5 a:hover {
    color: #0941d9;
}

.related-content span {
    font-size: 14px;
    color: #666;
}

/* Blog List Stilleri */
.blog-list-section {
    padding: 60px 0;
}

.blog-list-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.blog-list-item:hover {
    transform: translateY(-3px);
}

.blog-list-item .blog-image {
    position: relative;
    height: 200px;
}

.blog-list-item .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-list-item .blog-content {
    padding: 25px;
}

.blog-list-item .blog-label {
    margin-bottom: 15px;
}

.blog-list-item h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-list-item h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-list-item h3 a:hover {
    color: #0941d9;
}

.blog-list-item p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.blog-stats {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.blog-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-stats i {
    width: 14px;
    height: 14px;
}

/* Sidebar Stilleri */
.left-sidebar-box {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
}

.left-search-box {
    margin-bottom: 25px;
}

.search-box input {
    border-radius: 25px;
    border: 2px solid #eee;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: #0941d9;
    box-shadow: 0 0 0 0.2rem rgba(13, 164, 135, 0.25);
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button {
    background: #f8f9fa;
    border: none;
    font-weight: 600;
    color: #333;
    padding: 15px 20px;
}

.accordion-button:not(.collapsed) {
    background: #0941d9;
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    background: #fff;
}

/* Recent Posts */
.recent-post-box {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.recent-box {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

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

.recent-box:hover {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 0 -15px;
}

.recent-image {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

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

.recent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-detail {
    flex: 1;
}

.recent-detail h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.recent-detail h5 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-detail h5 a:hover {
    color: #0941d9;
}

.recent-meta {
    margin-top: 5px;
}

.recent-meta small {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.recent-meta i {
    width: 12px;
    height: 12px;
}

/* Category List */
.category-list-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list-box li {
    border-bottom: 1px solid #eee;
}

.category-list-box li:last-child {
    border-bottom: none;
}

.category-list-box a {
    display: block;
    padding: 12px 0;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.category-list-box a:hover {
    color: #0941d9;
}

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

.category-name h5 {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.category-name span {
    background: #f8f9fa;
    color: #666;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Product Tags */
.product-tags-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tags-box a {
    background: #f8f9fa;
    color: #666;
    padding: 6px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
}

.product-tags-box a:hover {
    background: #0941d9;
    color: white;
}

/* Pagination */
.custom-pagination {
    margin-top: 40px;
}

.custom-pagination .pagination {
    gap: 5px;
}

.custom-pagination .page-link {
    border: none;
    color: #666;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.custom-pagination .page-link:hover {
    background: #0941d9;
    color: white;
}

.custom-pagination .page-item.active .page-link {
    background: #0941d9;
    color: white;
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .col-xxl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 992px) {
    .col-xl-3 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 768px) {
    .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .blog-detail-box h1 {
        font-size: 24px;
    }

    .blog-list-item .blog-image {
        height: 150px;
    }

    .blog-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-stats {
        justify-content: flex-start;
    }

    .left-sidebar-box {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .blog-contain {
        padding: 15px;
    }

    .blog-detail-box .blog-contain {
        padding: 20px;
    }

    .blog-label {
        flex-direction: column;
        gap: 8px;
    }

    .blog-stats {
        flex-wrap: wrap;
    }
}
