/* ============================================================
   GuvenHost Avantajlar dokuman sayfasi
   2026-05-02
   - 2-kolon layout: solda sticky sidebar, sagda icerik
   - Mobile (768px alti): sidebar yatay scroll bar olur
   ============================================================ */

/* Hero (sayfa basligi) */
.gh-doc-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1e40af 100%);
    color: #fff;
    padding: 64px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.gh-doc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.12) 0%, transparent 40%);
    pointer-events: none;
}
.gh-doc-hero-inner {
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.gh-doc-hero-tagline {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #7dd3fc;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 999px;
    margin-bottom: 16px;
}
.gh-doc-hero-title {
    font-family: 'Rubik', sans-serif;
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.8px;
    margin: 0 0 14px;
    color: #f8fafc;
}
.gh-doc-hero-subtitle {
    font-size: clamp(15px, 1.8vw, 17px);
    line-height: 1.7;
    color: #cbd5e1;
    max-width: 640px;
    margin: 0 auto;
}

/* Body layout */
.gh-doc-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px 64px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
}

/* Sidebar */
.gh-doc-sidebar {
    position: sticky;
    top: 96px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.gh-doc-sidebar-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #64748b;
    padding: 0 10px 10px;
    margin: 0 0 8px;
    border-bottom: 1px solid #f1f5f9;
}
.gh-doc-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.gh-doc-sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    border-radius: 8px;
    transition: background-color .2s ease, color .2s ease;
    line-height: 1.2;
}
.gh-doc-sidebar-link:hover {
    background: #f1f5f9;
    color: #1e40af;
}
.gh-doc-sidebar-link.is-active {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    color: #fff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}
.gh-doc-sidebar-link.is-active .gh-doc-sidebar-link-icon { background: rgba(255,255,255,0.2); }
.gh-doc-sidebar-link-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 7px;
    flex-shrink: 0;
    transition: background-color .2s ease;
}
.gh-doc-sidebar-link-icon svg { width: 16px; height: 16px; }

/* Main content */
.gh-doc-main { min-width: 0; }
.gh-doc-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 32px;
    margin-bottom: 24px;
    scroll-margin-top: 96px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.gh-doc-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}
.gh-doc-section-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    border-radius: 10px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}
.gh-doc-section-icon svg { width: 24px; height: 24px; fill: currentColor; }
.gh-doc-section-title {
    font-family: 'Rubik', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.4px;
    margin: 0;
}
.gh-doc-section-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 4px 0 0;
}
.gh-doc-section-body p {
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
    margin: 0 0 14px;
}
.gh-doc-section-body p:last-child { margin-bottom: 0; }
.gh-doc-section-body strong { color: #1e293b; font-weight: 700; }
.gh-doc-section-body a { color: #2563eb; text-decoration: none; font-weight: 600; }
.gh-doc-section-body a:hover { text-decoration: underline; }

.gh-doc-list {
    list-style: none;
    padding: 0;
    margin: 18px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}
.gh-doc-list li {
    position: relative;
    padding: 8px 0 8px 28px;
    font-size: 14px;
    line-height: 1.5;
    color: #475569;
}
.gh-doc-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15);
}
.gh-doc-list li::after {
    content: '✓';
    position: absolute;
    left: 3px;
    top: 11px;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.gh-doc-callout {
    background: linear-gradient(135deg, #eff6ff 0%, #ecfeff 100%);
    border: 1px solid #bfdbfe;
    border-left: 4px solid #2563eb;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 18px 0;
    font-size: 14px;
    color: #1e40af;
    line-height: 1.6;
}
.gh-doc-callout strong { color: #1e3a8a; }

/* CTA en altta */
.gh-doc-cta {
    background: linear-gradient(135deg, #1e40af 0%, #06b6d4 100%);
    color: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.25);
    margin-top: 32px;
}
.gh-doc-cta-title {
    font-family: 'Rubik', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -0.3px;
}
.gh-doc-cta-text {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    margin: 0 0 20px;
}
.gh-doc-cta-buttons {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.gh-doc-cta-btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.gh-doc-cta-btn-primary {
    background: #fff;
    color: #1e40af;
}
.gh-doc-cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    color: #1e40af;
}
.gh-doc-cta-btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.gh-doc-cta-btn-secondary:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

/* Mobile */
@media (max-width: 900px) {
    .gh-doc-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 16px 48px;
    }
    .gh-doc-sidebar {
        position: static;
        padding: 14px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .gh-doc-sidebar-title {
        padding-bottom: 8px;
        margin-bottom: 8px;
    }
    .gh-doc-sidebar-list {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 4px;
    }
    .gh-doc-sidebar-link {
        flex-shrink: 0;
        padding: 8px 12px;
        font-size: 13px;
        white-space: nowrap;
    }
    .gh-doc-sidebar-link-icon { display: none; }
    .gh-doc-section {
        padding: 22px 18px;
        scroll-margin-top: 16px;
    }
    .gh-doc-section-title { font-size: 20px; }
    .gh-doc-list { grid-template-columns: 1fr; gap: 4px; }
    .gh-doc-cta { padding: 28px 20px; }
    .gh-doc-cta-title { font-size: 20px; }
    .gh-doc-cta-buttons { flex-direction: column; }
    .gh-doc-cta-btn { width: 100%; justify-content: center; }
}
