/* 
  sayfa.css - Modern Kurumsal & Yasal Sayfalar Tasarım Sistemi (MyKonya)
  Zengin tipografi, kompakt lüks hero ve kart görünümleri
*/

:root {
    --page-teal-50: #f0fdfa;
    --page-teal-100: #ccfbf1;
    --page-teal-500: #14b8a6;
    --page-teal-600: #0d9488;
    --page-teal-700: #0f766e;
    --page-navy-900: #091e2b;
    --page-navy-800: #0f2d3d;
    --page-slate-50: #f8fafc;
    --page-slate-100: #f1f5f9;
    --page-slate-200: #e2e8f0;
    --page-slate-300: #cbd5e1;
    --page-slate-500: #64748b;
    --page-slate-600: #475569;
    --page-slate-700: #334155;
    --page-slate-800: #1e293b;
    --page-slate-900: #0f172a;
}

.page-wrapper {
    background-color: #f8fafc;
    min-height: 85vh;
}

/* ==========================================================================
   Hero Bölümü (Kompakt Gradient, Glow & Dots Grid)
   ========================================================================== */
.page-hero-banner {
    position: relative;
    background: linear-gradient(135deg, #091e2b 0%, #0c2d3a 50%, #134e4a 100%);
    color: #ffffff;
    padding: 1.75rem 0 2rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .page-hero-banner {
        padding: 1.35rem 0 1.6rem;
    }
}

.page-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    opacity: 0.35;
    pointer-events: none;
}

.page-hero-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.22) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.page-hero-title {
    font-size: clamp(1.6rem, 2.75vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 0.45rem;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-hero-desc {
    font-size: 0.925rem;
    color: #cbd5e1;
    max-width: 680px;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 0;
}

/* ==========================================================================
   İçerik Kartı (Article Card)
   ========================================================================== */
.page-content-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 2px 8px -2px rgba(15, 23, 42, 0.03);
    border: 1px solid #e2e8f0;
    padding: 2.5rem 3rem;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 768px) {
    .page-content-card {
        padding: 1.75rem 1.25rem;
        border-radius: 18px;
    }
}

/* Üst Bilgi Barı */
.page-meta-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 1.25rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.825rem;
    color: #64748b;
}

.page-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 8px;
    background-color: #f0fdfa;
    color: #0f766e;
    font-weight: 600;
    font-size: 0.8rem;
}

/* ==========================================================================
   Metin Tipografisi & Makale Gövdesi
   ========================================================================== */
.page-article-body {
    font-size: 1.025rem;
    line-height: 1.9;
    color: #334155;
    word-break: break-word;
}

.page-article-body p {
    margin-bottom: 1.35rem;
}

.page-article-body p:last-child {
    margin-bottom: 0;
}

.page-article-body h1,
.page-article-body h2,
.page-article-body h3,
.page-article-body h4 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.page-article-body h1 {
    font-size: 1.75rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.65rem;
}

.page-article-body h2 {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.page-article-body h2::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 1.2em;
    background: linear-gradient(180deg, #14b8a6 0%, #0d9488 100%);
    border-radius: 999px;
}

.page-article-body h3 {
    font-size: 1.25rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-article-body h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.15em;
    background: #14b8a6;
    border-radius: 999px;
}

.page-article-body ul {
    list-style-type: none;
    padding-left: 0;
    margin: 1.25rem 0 1.75rem 0;
}

.page-article-body ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.95rem;
    line-height: 1.75;
    color: #334155;
}

.page-article-body ul li::before {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 0.62em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.22);
}

.page-article-body ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin: 1.25rem 0 1.75rem 0;
}

.page-article-body ol li {
    margin-bottom: 0.85rem;
    padding-left: 0.35rem;
    line-height: 1.75;
}

.page-article-body blockquote {
    margin: 1.85rem 0;
    padding: 1.25rem 1.65rem;
    background: #f8fafc;
    border-left: 4px solid #14b8a6;
    border-radius: 0 14px 14px 0;
    font-style: italic;
    color: #475569;
}

.page-article-body hr {
    border: none;
    height: 1px;
    background: #e2e8f0;
    margin: 2.25rem 0;
}

.page-article-body a {
    color: #0d9488;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.page-article-body a:hover {
    color: #042f2e;
}

/* ==========================================================================
   Sidebar Menüsü (Kurumsal Navigasyon)
   ========================================================================== */
.page-sidebar-box {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04), 0 2px 6px -2px rgba(15, 23, 42, 0.02);
    overflow: hidden;
    padding: 1.25rem 1rem;
}

.page-sidebar-box-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem 1rem 0.75rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.825rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0f172a;
}

.page-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.page-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1.15rem;
    border-radius: 14px;
    font-size: 0.925rem;
    font-weight: 600;
    color: #475569;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 1px solid transparent;
}

.page-sidebar-link-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.page-sidebar-link-icon {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f5f9;
    color: #64748b;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.page-sidebar-link:hover {
    background-color: #f8fafc;
    color: #0d9488;
    border-color: #e2e8f0;
    transform: translateX(3px);
}

.page-sidebar-link:hover .page-sidebar-link-icon {
    background-color: #f0fdfa;
    color: #0d9488;
}

.page-sidebar-link.active {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 6px 18px -2px rgba(20, 184, 166, 0.4);
    border-color: transparent;
}

.page-sidebar-link.active .page-sidebar-link-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.page-sidebar-link.active svg.chevron {
    color: #ffffff;
    opacity: 1;
    transform: translateX(2px);
}

/* ==========================================================================
   Yardım & Destek Kartı
   ========================================================================== */
.page-support-card {
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
    border: 1px solid #ccfbf1;
    border-radius: 20px;
    padding: 1.35rem 1.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px -3px rgba(15, 23, 42, 0.03);
}

.page-support-icon-wrap {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(20, 184, 166, 0.25);
    margin-bottom: 0.85rem;
}

.page-support-icon-wrap svg {
    width: 18px !important;
    height: 18px !important;
}

.page-support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    background: #0d9488 !important;
    color: #ffffff !important;
    font-size: 0.825rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.25);
}

.page-support-btn:hover {
    background: #0f766e !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.page-support-btn svg {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    flex-shrink: 0;
}
