/* ===========================
   Kare Kimlik – Global Styles
   =========================== */

:root {
    --bg: #f9fafb;
    --bg-alt: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --border: #e5e7eb;
    --accent: #111827;
    --accent-soft: #f3f4f6;
    --radius-lg: 16px;
    --radius-md: 10px;
    --shadow-soft: 0 28px 80px rgba(15, 23, 42, 0.12);
    --max-width: 1040px;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "Roboto", "Segoe UI", sans-serif;
    --font-serif: "Georgia", "Times New Roman", serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background: radial-gradient(circle at top, #f3f4f6 0, #f9fafb 55%, #ffffff 100%);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

/* ==========
   Layout
   ========== */
.page {
    min-height: calc(100vh - 52px);
    /* nav yüksekliğine göre */
    background: #f3f4f6;
    padding: 24px 24px 72px;
}

.page-inner {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
}

.card {
    /* artık kullanılmıyor, ama kalsa bile görünmez olsun istersen: */
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}


/* Brand */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #f9fafb;
}

.brand-tagline {
    font-size: 11px;
    color: #e5e7eb;
}

.brand-mark {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(249, 250, 251, 0.8);
    position: relative;
}

.brand-mark::before,
.brand-mark::after {
    content: "";
    position: absolute;
    border-radius: 4px;
    border: 1px solid rgba(249, 250, 251, 0.7);
}

.brand-mark::before {
    inset: 4px 9px;
}

.brand-mark::after {
    inset: 9px 4px;
}

/* Dividers */

.nav-divider {
    border: none;
    border-top: 2px solid #e5e7eb;
    margin: 0 0 18px 0;
}

.footer-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 24px 0 12px 0;
}



/* ==========
   Main content
   ========== */

.main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
}

.page-title {
    font-family: var(--font-serif);
    font-size: 34px;
    line-height: 1.15;
    margin: 4px 0 10px;
}

.page-subtitle {
    font-size: 14px;
    color: var(--muted);
    max-width: 44rem;
}

/* CTA buttons */

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.button {
    appearance: none;
    border: 1px solid transparent;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.button-primary {
    background: #111827;
    color: #f9fafb;
}

.button-primary:hover {
    opacity: 0.92;
}

.button-ghost {
    background: #f9fafb;
    color: #111827;
    border-color: #e5e7eb;
}

.button-ghost:hover {
    background: #f3f4f6;
}

/* Sections / lists */

.section {
    margin-top: 12px;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
}

.section-note {
    font-size: 12px;
    color: var(--muted);
}

.list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.list-item {
    padding: 7px 10px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid transparent;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

.list-item:hover {
    border-color: #e5e7eb;
    background: #f3f4f6;
}

.item-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.item-title {
    font-size: 13px;
    font-weight: 500;
}

.item-title a {
    color: #2563eb;
    text-decoration: none;
}

.item-title a:hover {
    text-decoration: underline;
}

.item-desc {
    font-size: 12px;
    color: var(--muted);
}

.item-meta {
    font-size: 12px;
    color: #4b5563;
}

/* Contact chips */

.chips {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f9fafb;
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
}

.chip:hover {
    border-color: #e5e7eb;
    background: #f3f4f6;
}

.chip-label {
    font-size: 13px;
    font-weight: 500;
}

.chip-handle {
    font-size: 12px;
    color: var(--muted);
}

/* Footer */

.footer {
    margin-top: 18px;
    font-size: 11px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

/* ==========
   Cookie banner
   ========== */

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%) translateY(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    max-width: 640px;
    width: calc(100% - 32px);
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.98);
    color: #111827;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    z-index: 50;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(229, 231, 235, 0.9);
}

.cookie-banner.cookie-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.cookie-message {
    flex: 1;
    color: #111827;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-more {
    font-size: 11px;
    text-decoration: underline;
    color: #6b7280;
}

.cookie-more:hover {
    color: #111827;
}



/* --- Cookie banner fix --- */

.cookie-banner {
    background: #ffffff;
    /* tam beyaz pill */
    color: #111827;
    /* varsayılan metin rengi koyu */
}

.cookie-message {
    color: #111827;
    /* yazı NET görünsün */
    font-size: 13px;
}

.cookie-actions .button-primary {
    background: #111827;
    /* koyu buton */
    color: #f9fafb;
    /* beyaz yazı */
    border-color: transparent;
}

.cookie-more {
    color: #4b5563;
}

.cookie-more:hover {
    color: #111827;
}

/* ==========
   Responsive
   ========== */

@media (max-width: 640px) {
    .page {
        padding: 24px 12px 40px;
    }

    .card {
        padding: 20px 16px 24px;
        border-radius: 22px;
    }

    .footer-divider {
        margin: 16px -16px 10px;
    }

    .page-title {
        font-size: 26px;
    }

    .page-subtitle {
        font-size: 13px;
    }

    .footer {
        flex-direction: column;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        border-radius: 16px;
    }

    .cookie-actions {
        align-self: stretch;
        justify-content: flex-end;
    }
}


.item-main--with-icon {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.item-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
}

/* share
*/
/* Genel blok */
.share-block {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: #f7f7f9;
    border: 1px solid #e4e4ea;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Başlık (Paylaşmak için…) */
.share-block-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Sosyal linklerin kapsayıcısı */
.share-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

/* Ortak buton stili (X, Facebook, LinkedIn linkleri) */
.share-block-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: 1px solid #d0d0dd;
    background: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    line-height: 1.2;
}

.share-block-btn:hover,
.share-block-btn:focus {
    border-color: #b0b0c5;
    background: #f0f0f8;
}

/* İstersen çok hafif renk farkı verebilirsin */
.share-block-btn--x {
    /* color: #111; */
}

.share-block-btn--facebook {
    /* color: #1877f2; */
}

.share-block-btn--linkedin {
    /* color: #0a66c2; */
}

/* Kopyala / Cihazda paylaş satırı */
.share-block-extra {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Kopyala / native share butonları */
.share-block-copy,
.share-block-native {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #d0d0dd;
    background: #ffffff;
    font-size: 0.85rem;
    cursor: pointer;
}

.share-block-copy:hover,
.share-block-copy:focus,
.share-block-native:hover,
.share-block-native:focus {
    border-color: #b0b0c5;
    background: #f0f0f8;
}

/* Küçük ekranlarda dikey hizalama */
@media (max-width: 600px) {
    .share-block {
        padding: 0.8rem 1rem;
    }

    .share-block-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }

    .share-block-extra {
        flex-direction: row;
        justify-content: flex-start;
    }
}