
@media (max-width: 768px) {
    .our-values .values-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding-bottom: 1rem;
        /* scroll bar için boşluk */
    }

        /* Kartların genişliğini ayarla */
        .our-values .values-grid .value-card {
            flex: 0 0 80%;
            /* Kart genişliğini %80 yap, ihtiyaca göre değiştir */
            scroll-snap-align: start;
        }

        /* İnce yatay scroll bar stili */
        .our-values .values-grid::-webkit-scrollbar {
            height: 6px;
        }

        .our-values .values-grid::-webkit-scrollbar-thumb {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 3px;
        }
}


/* ===== BLOG DETAIL PAGE STYLES ===== */
/* Blog Detail Container */
.blog-detail {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.blog-detail-wrapper {
    max-width: 1500px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

    .blog-detail-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    }

/* Blog Header */
.blog-detail-header {
    padding: 3rem 3rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid #eef2f7;
}

    .blog-detail-header h1 {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--text-dark);
        line-height: 1.2;
        margin-bottom: 1.5rem;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

    .blog-detail-meta span {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background: rgba(var(--primary-rgb), 0.1);
        border-radius: 25px;
        transition: all 0.3s ease;
    }

        .blog-detail-meta span:hover {
            background: rgba(var(--primary-rgb), 0.15);
            transform: translateY(-2px);
        }

    .blog-detail-meta svg {
        color: var(--primary-color);
    }

/* Blog Image */
.blog-detail-image {
    position: relative;
    overflow: hidden;
    height: 400px;
    margin: 0 3rem 3rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

    .blog-detail-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .blog-detail-image:hover img {
        transform: scale(1.05);
    }

    .blog-detail-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.1), rgba(var(--secondary-rgb), 0.1));
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .blog-detail-image:hover::after {
        opacity: 1;
    }

/* Blog Content */
.blog-detail-content {
    padding: 0 3rem 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.blog-intro {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05), rgba(var(--secondary-rgb), 0.05));
    border-left: 4px solid var(--primary-color);
    border-radius: 0 15px 15px 0;
    position: relative;
}

    .blog-intro::before {
        content: '"';
        position: absolute;
        top: -10px;
        left: 15px;
        font-size: 4rem;
        color: var(--primary-color);
        opacity: 0.3;
        font-family: serif;
    }

.blog-detail-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(var(--primary-rgb), 0.2);
    position: relative;
}

    .blog-detail-content h2::before {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 60px;
        height: 2px;
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    }

.blog-detail-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
}

.blog-detail-content p {
    margin-bottom: 1.5rem;
}

.blog-detail-content ul {
    margin: 1.5rem 0;
    padding-left: 0;
}

.blog-detail-content li {
    list-style: none;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

    .blog-detail-content li::before {
        content: '?';
        position: absolute;
        left: 0;
        top: 0;
        color: var(--primary-color);
        font-weight: bold;
        background: rgba(var(--primary-rgb), 0.1);
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
    }

/* Quote Styling */
.blog-quote {
    margin: 3rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

    .blog-quote::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
    }

    .blog-quote blockquote {
        margin: 0;
        font-size: 1.3rem;
        font-style: italic;
        color: white;
        text-align: center;
        position: relative;
        z-index: 1;
    }

        .blog-quote blockquote::before,
        .blog-quote blockquote::after {
            content: '"';
            font-size: 3rem;
            color: rgba(255, 255, 255, 0.3);
            position: absolute;
            font-family: serif;
        }

        .blog-quote blockquote::before {
            top: -20px;
            left: -10px;
        }

        .blog-quote blockquote::after {
            bottom: -40px;
            right: -10px;
        }

/* Tips Box */
.blog-tips {
    margin: 2.5rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-radius: 15px;
    border-left: 5px solid #f39c12;
    position: relative;
    overflow: hidden;
}

    .blog-tips::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100px;
        height: 100px;
        background: rgba(243, 156, 18, 0.1);
        border-radius: 50%;
        transform: translate(30px, -30px);
    }

    .blog-tips h3 {
        margin: 0 0 1rem;
        color: #d68910;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .blog-tips p {
        margin: 0;
        color: #856404;
        font-weight: 500;
    }

/* Tags */
.blog-tags {
    padding: 2rem 3rem;
    border-top: 1px solid #eef2f7;
    background: #f8f9fa;
}

    .blog-tags h3 {
        margin: 0 0 1rem;
        font-size: 1.1rem;
        color: var(--text-dark);
    }

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: white;
    color: var(--primary-color);
    border: 2px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .tag:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
    }

/* Author Info */
.blog-author-info {
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 1px solid #eef2f7;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.author-avatar {
    flex-shrink: 0;
}

    .author-avatar img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
        border: 4px solid white;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

.author-details h3 {
    margin: 0 0 0.5rem;
    font-size: 1.3rem;
    color: var(--text-dark);
}

.author-title {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 0 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-bio {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.author-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

    .social-link:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
    }

/* Share Buttons */
.blog-share {
    padding: 2rem 3rem;
    border-top: 1px solid #eef2f7;
    background: white;
}

    .blog-share h3 {
        margin: 0 0 1.5rem;
        font-size: 1.1rem;
        color: var(--text-dark);
    }

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .share-btn.facebook {
        background: #1877f2;
        color: white;
    }

    .share-btn.twitter {
        background: #1da1f2;
        color: white;
    }

    .share-btn.whatsapp {
        background: #25d366;
        color: white;
    }

    .share-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

/* Comments Section */
.blog-comments {
    max-width: 800px;
    margin: 4rem auto 0;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

    .blog-comments h2 {
        padding: 2rem 3rem 1rem;
        margin: 0;
        font-size: 1.8rem;
        color: var(--text-dark);
        border-bottom: 1px solid #eef2f7;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    }

.comment {
    padding: 2rem 3rem;
    border-bottom: 1px solid #eef2f7;
    display: flex;
    gap: 1.5rem;
    transition: background 0.3s ease;
}

    .comment:hover {
        background: rgba(var(--primary-rgb), 0.02);
    }

.comment-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(var(--primary-rgb), 0.2);
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

    .comment-header h4 {
        margin: 0;
        font-size: 1.1rem;
        color: var(--text-dark);
    }

.comment-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.comment-content p {
    margin: 0 0 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.comment-reply {
    background: none;
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .comment-reply:hover {
        background: var(--primary-color);
        color: white;
    }

/* Comment Form */
.comment-form {
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

    .comment-form h3 {
        margin: 0 0 2rem;
        font-size: 1.5rem;
        color: var(--text-dark);
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: var(--text-dark);
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 1rem;
        border: 2px solid #eef2f7;
        border-radius: 10px;
        font-size: 1rem;
        transition: all 0.3s ease;
        background: white;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
        }

    .form-group textarea {
        resize: vertical;
        min-height: 120px;
    }

/* Related Posts */
.related-posts {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

    .related-posts h2 {
        text-align: center;
        margin-bottom: 3rem;
        font-size: 2rem;
        color: var(--text-dark);
    }

    .related-posts .blog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .related-posts .blog-card {
        background: white;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

        .related-posts .blog-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

/* Responsive Design */
@media (max-width: 768px) {
    .blog-detail-wrapper {
        margin: 0 1rem;
        border-radius: 15px;
    }

    .blog-detail-header {
        padding: 2rem 1.5rem 1.5rem;
    }

        .blog-detail-header h1 {
            font-size: 1.8rem;
        }

    .blog-detail-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .blog-detail-image {
        margin: 0 1.5rem 2rem;
        height: 250px;
    }

    .blog-detail-content {
        padding: 0 1.5rem 2rem;
        font-size: 1rem;
    }

    .blog-intro {
        padding: 1.5rem;
        font-size: 1.1rem;
    }

    .blog-detail-content h2 {
        font-size: 1.5rem;
    }

    .blog-quote {
        padding: 2rem 1.5rem;
    }

        .blog-quote blockquote {
            font-size: 1.1rem;
        }

    .blog-tags,
    .blog-author-info,
    .blog-share {
        padding: 2rem 1.5rem;
    }

    .blog-author-info {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar img {
        width: 60px;
        height: 60px;
    }

    .share-buttons {
        justify-content: center;
    }

    .blog-comments {
        margin: 2rem 1rem 0;
    }

        .blog-comments h2 {
            padding: 1.5rem;
            font-size: 1.5rem;
        }

    .comment {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }

    .comment-form {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .related-posts .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-detail-header h1 {
        font-size: 1.5rem;
    }

    .blog-detail-meta span {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .blog-detail-content {
        font-size: 0.95rem;
    }

    .tag-list {
        gap: 0.5rem;
    }

    .tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .share-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Animation Classes */
.animate-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Styling */
::selection {
    background: rgba(var(--primary-rgb), 0.2);
    color: var(--text-dark);
}

::-moz-selection {
    background: rgba(var(--primary-rgb), 0.2);
    color: var(--text-dark);
}
