/* ==========================================================================
   Destek & Yardım Merkezi Özel Stil Dosyası (support.css)
   ========================================================================== */

.support-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* 1. Üst Başlık Alanı */
.support-header-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    max-width: 80rem; /* max-w-7xl (1280px) */
    margin-left: auto;
    margin-right: auto;
}

.badge-wrapper {
    margin-bottom: 2rem;
}

/* Canlı Destek Rozeti */
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #57534e; /* text-stone-600 */
    background-color: #ffffff;
    border: 1px solid #e7e5e4; /* border-stone-200 */
    border-radius: 9999px;
}

/* Ping Animasyon Yapısı */
.ping-container {
    position: relative;
    display: flex;
    height: 0.5rem;
    width: 0.5rem;
}

.ping-pulse {
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    background-color: #fca5a5; /* bg-red-400 */
    border-radius: 9999px;
    opacity: 0.75;
    animation: pingEffect 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ping-dot {
    position: relative;
    display: inline-flex;
    height: 0.5rem;
    width: 0.5rem;
    background-color: #dc2626; /* bg-red-600 */
    border-radius: 9999px;
}

@keyframes pingEffect {
    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Başlıklar */
.support-main-title {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 1.25rem;
    max-width: 48rem;
}

@media (min-width: 768px) {
    .support-main-title {
        font-size: 3rem; /* md:text-5xl */
    }
}

.text-muted-accent {
    color: #a8a29e; /* text-stone-400 */
}

.support-intro {
    font-size: 1.125rem;
    color: #64748b; /* text-slate-500 */
    line-height: 1.625;
    max-width: 42rem;
}

@media (min-width: 768px) {
    .support-intro {
        font-size: 1.25rem;
    }
}

.support-divider {
    margin-top: 2.5rem;
    border: 0;
    border-top: 1px solid #e2e8f0; /* border-slate-200 */
}

/* 2. Döküman Kartları Grid Yapısı */
.support-grid-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Kart Link Yapısı */
.support-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.support-card-link:hover {
    border-color: #cbd5e1;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.card-content-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-category-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #b91c1c; /* text-red-700 */
    background-color: #fef2f2; /* bg-red-50 */
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-doc-title {
    font-weight: 700;
    color: #0f172a;
    margin-top: 0.625rem;
    font-size: 1.125rem;
}

.card-doc-subtext {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* Kart İçi Ok İkonu */
.card-arrow-icon {
    color: #cbd5e1; /* text-slate-300 */
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.support-card-link:hover .card-arrow-icon {
    color: #0f172a;
    transform: translateX(4px);
}

/* 3. Destek Alt Bilgi Kutusu */
.support-footer-box {
    margin-top: 4rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    background-color: #fafaf9; /* bg-stone-50 */
    border: 1px solid #f5f5f4; /* border-stone-100 */
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .support-footer-box {
        padding: 3.5rem;
    }
}

.footer-box-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.footer-box-text {
    color: #78716c; /* text-stone-500 */
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.5;
}

.footer-btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .footer-btn-group {
        flex-direction: row;
    }
}

/* Kırmızı WhatsApp Butonu */
.btn-support-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #dc2626;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    width: 100%;
    transition: background-color 0.2s ease;
}

@media (min-width: 640px) {
    .btn-support-red {
        width: auto;
    }
}

.btn-support-red:hover {
    background-color: #b91c1c;
}

/* Çerçeveli E-posta Butonu */
.btn-support-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #44403c; /* text-stone-600 */
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid #e7e5e4;
    border-radius: 9999px;
    text-decoration: none;
    width: 100%;
    transition: all 0.2s ease;
}

@media (min-width: 640px) {
    .btn-support-outline {
        width: auto;
    }
}

.btn-support-outline:hover {
    color: #1c1917; /* text-stone-900 */
    border-color: #d6d3d1;
}

/* Container & Layout */
.article-layout-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

.article-flex-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .article-flex-wrapper {
        flex-direction: row;
    }

    .article-main-content {
        flex: 1;
        min-width: 0;
    }

    .article-sidebar {
        width: 320px;
        flex-shrink: 0;
    }
}

/* Header & Meta Bar */
.article-header {
    margin-bottom: 2rem;
}

.article-main-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.article-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.meta-reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4b5563;
    font-size: 0.875rem;
}

.meta-icon-wrapper {
    display: flex;
    align-items: center;
}

.icon-clock {
    width: 1.25rem;
    height: 1.25rem;
}

.meta-action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-meta-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    color: #4b5563;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-meta-action:hover {
    color: #111827;
    background: #f3f4f6;
    border-color: #9ca3af;
}

.icon-action {
    width: 1.25rem;
    height: 1.25rem;
}

/* Article Body */
.article-dynamic-body {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #374151;
}

/* Sidebar General */
@media (min-width: 1024px) {
    .sidebar-sticky-wrapper {
        position: sticky;
        top: 2rem;
    }
}

.sidebar-widget,
.sidebar-support-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

/* Video Widget */
.video-preview-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0.375rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.video-preview-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-overlay-play {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button-circle {
    width: 3rem;
    height: 3rem;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.video-preview-card:hover .play-button-circle {
    transform: scale(1.1);
}

.icon-play-arrow {
    width: 1.5rem;
    height: 1.5rem;
    fill: #111827;
    margin-left: 0.15rem;
}

.video-badge-tag {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.video-widget-notice {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
}

/* Düzen ve Konteyner Yapısı (max-w-7xl mx-auto px-6 py-12) */
.article-layout-container {
    width: 100%;
    max-width: 80rem; /* 1280px */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
    box-sizing: border-box;
}

/* Esnek Yan Yana / Alt Alta Sarıcı (flex flex-col gap-12) */
.article-flex-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Sol Makale Alanı (flex-grow max-w-3xl) */
.article-main-content {
    flex-grow: 1;
    max-width: 48rem; /* 768px */
    width: 100%;
}

/* Sağ Panel Başlangıçta Mobilde Gizli (hidden) */
.article-sidebar {
    display: none;
}

/* Büyük Ekran (lg) Kuralları */
@media (min-width: 1024px) {
    .article-flex-wrapper {
        flex-direction: row;
    }
    .article-sidebar {
        display: block;
        width: 18rem; /* w-72 (288px) */
        flex-shrink: 0;
    }
}

/* Header Alanı */
.article-header {
    margin-bottom: 2.5rem; /* mb-10 */
}

/* Başlık */
.article-main-title {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 800; /* font-extrabold */
    color: #0f172a; /* text-slate-900 */
    margin-bottom: 1.5rem; /* mb-6 */
    line-height: 1.25; /* leading-tight */
}

@media (min-width: 768px) {
    .article-main-title {
        font-size: 2.25rem; /* md:text-4xl */
    }
}

/* Meta Bar */
.article-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem; /* py-5 */
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9; /* border-y border-slate-100 */
}

.meta-reading-time {
    display: flex;
    align-items: center;
    gap: 0.625rem; /* gap-2.5 */
    color: #64748b; /* text-slate-500 */
}

.meta-icon-wrapper {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-clock {
    width: 1rem;
    height: 1rem; /* w-4 h-4 */
}

.meta-reading-text {
    font-size: 0.75rem; /* text-xs */
    font-weight: 700; /* font-bold */
    text-transform: uppercase; /* uppercase */
    letter-spacing: 0.1em; /* tracking-widest */
}

/* Butonlar */
.meta-action-buttons {
    display: flex;
    align-items: center;
    gap: 1rem; /* gap-4 */
}

.btn-meta-action {
    color: #94a3b8; /* text-slate-400 */
    padding: 0.25rem; /* p-1 */
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1); /* transition-colors */
}

.btn-meta-action:hover {
    color: var(
        --brand-color,
        #ef4444
    ); /* hover:text-brand (varsayılan kırmızı atandı) */
}

.icon-action {
    width: 1.25rem;
    height: 1.25rem; /* w-5 h-5 */
}

/* Markdown İçerik Alanı (prose replikasyonu) */
.article-dynamic-body {
    width: 100%;
    max-width: none;
}

.article-dynamic-body p {
    color: #475569; /* text-slate-600 */
    line-height: 1.625; /* leading-relaxed */
    margin-bottom: 1.5rem; /* mb-6 */
}

.article-dynamic-body h2 {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700; /* font-bold */
    color: #0f172a; /* text-slate-900 */
    margin-top: 2.5rem; /* mt-10 */
    margin-bottom: 1rem; /* mb-4 */
}

.article-dynamic-body h3 {
    font-size: 1.25rem; /* text-xl */
    font-weight: 600; /* font-semibold */
    color: #334155; /* text-slate-800 */
    margin-top: 2rem; /* mt-8 */
    margin-bottom: 0.75rem; /* mb-3 */
}

.article-dynamic-body h4 {
    font-size: 1.125rem; /* text-lg */
    font-weight: 500; /* font-medium */
    color: #334155; /* text-slate-800 */
    margin-top: 1.5rem; /* mt-6 */
    margin-bottom: 0.5rem; /* mb-2 */
}

.article-dynamic-body ul {
    list-style-type: disc;
    padding-left: 1.25rem; /* pl-5 */
    margin-bottom: 1.5rem; /* mb-6 */
}

.article-dynamic-body li {
    margin-bottom: 0.5rem; /* mb-2 */
    color: #475569; /* text-slate-600 */
}

.article-dynamic-body img {
    border-radius: 1rem; /* rounded-2xl */
    border: 1px solid #e2e8f0; /* border-slate-200 */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
    margin-top: 2rem;
    margin-bottom: 2rem; /* my-8 */
    display: block;
    max-width: 100%;
    height: auto;
}

/* Sağ Panel Sabitleme Elemanları (sticky top-24) */
.sidebar-sticky-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* space-y-8 */
}

@media (min-width: 1024px) {
    .sidebar-sticky-wrapper {
        position: sticky;
        top: 6rem; /* top-24 (96px) */
    }
}

/* Sidebar Bileşen Başlığı */
.sidebar-widget .widget-title {
    font-size: 0.875rem; /* text-sm */
    font-weight: 700; /* font-bold */
    color: #0f172a; /* text-slate-900 */
    text-transform: uppercase; /* uppercase */
    letter-spacing: 0.05em; /* tracking-wider */
    margin-bottom: 1rem; /* mb-4 */
}

/* Video Kartı Düzeni */
.video-preview-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 1rem; /* rounded-2xl */
    border: 1px solid #e2e8f0; /* border-slate-200 */
    background-color: #f1f5f9; /* bg-slate-100 */
    aspect-ratio: 16 / 9; /* aspect-video */
    width: 100%;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* transition-transform duration-500 */
}

.video-preview-card:hover .video-thumbnail {
    transform: scale(1.1); /* group-hover:scale-110 */
}

/* Video Katmanı Overlay */
.video-overlay-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.1); /* bg-black/10 */
    transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-preview-card:hover .video-overlay-play {
    background-color: rgba(0, 0, 0, 0.2); /* group-hover:bg-black/20 */
}

/* Oynatma Buton Çemberi */
.play-button-circle {
    width: 3rem;
    height: 3rem; /* w-12 h-12 */
    background-color: #ffffff;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow-xl */
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-preview-card:hover .play-button-circle {
    transform: scale(1.1); /* group-hover:scale-110 */
}

.icon-play-arrow {
    width: 1.5rem;
    height: 1.5rem; /* w-6 h-6 */
    color: var(--brand-color, #ef4444);
    fill: var(--brand-color, #ef4444); /* text-brand fill-brand */
}

/* Video Etiketi */
.video-badge-tag {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem; /* bottom-2 right-2 */
    padding: 0.25rem 0.5rem; /* px-2 py-1 */
    background-color: rgba(0, 0, 0, 0.7); /* bg-black/70 */
    font-size: 10px; /* text-[10px] */
    color: #ffffff;
    font-weight: 700; /* font-bold */
    border-radius: 0.25rem; /* rounded */
}

.video-widget-notice {
    margin-top: 0.75rem; /* mt-3 */
    font-size: 0.75rem; /* text-xs */
    color: #64748b; /* text-slate-500 */
    line-height: 1.625; /* leading-relaxed */
    font-style: italic; /* italic */
}

/* Destek Kutusu (p-6 bg-red-50 rounded-2xl...) */
.sidebar-support-box {
    padding: 1.5rem; /* p-6 */
    background-color: #fef2f2; /* bg-red-50 */
    border-radius: 1rem; /* rounded-2xl */
    border: 1px solid #fee2e2; /* border-red-100 */
    text-align: center; /* text-center */
}

.support-box-title {
    font-size: 0.875rem; /* text-sm */
    color: #334155; /* text-slate-700 */
    font-weight: 500; /* font-medium */
    margin-bottom: 0.75rem; /* mb-3 */
}

.support-box-desc {
    font-size: 0.75rem; /* text-xs */
    color: #64748b; /* text-slate-500 */
    line-height: 1.625; /* leading-relaxed */
    margin-bottom: 1.25rem; /* mb-5 */
}

/* WhatsApp Butonu */
.btn-sidebar-whatsapp {
    display: inline-block;
    padding: 0.5rem 1rem; /* px-4 py-2 */
    background-color: var(--brand-color, #ef4444); /* bg-brand */
    color: #ffffff;
    font-size: 0.75rem; /* text-xs */
    font-weight: 700; /* font-bold */
    border-radius: 0.75rem; /* rounded-xl */
    text-decoration: none;
    transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1); /* transition-colors */
}

.btn-sidebar-whatsapp:hover {
    background-color: var(--brand-dark-color, #dc2626); /* hover:bg-brandDark */
}
