/* ==========================================================================
   Herkese açık dijital kartvizit — mobil öncelikli tek kart tasarımı
   Bootstrap 5 üzerine yalnızca bu sayfada yüklenir.
   ========================================================================== */
:root {
    --vk-metin: #16202f;
    --vk-soluk: #64748b;
    --vk-soluk-acik: #94a3b8;
    --vk-kenar: #e6ebf3;
    --vk-kutu: #f8fafd;
    --vk-yaricap: 14px;
}

* { box-sizing: border-box; }

.vk-govde {
    margin: 0;
    min-height: 100vh;
    color: var(--vk-metin);
    background: radial-gradient(120% 70% at 50% 0%, #e9eff8 0%, #f4f7fc 45%, #eef2f8 100%);
    background-attachment: fixed;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.vk-sayfa {
    display: flex;
    justify-content: center;
    padding: 0 0 24px;
}

.vk-kart {
    width: 100%;
    max-width: 480px;
    background: #fff;
    overflow: hidden;
    animation: vk-giris .45s ease both;
}

@keyframes vk-giris {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

@media (min-width: 600px) {
    .vk-sayfa { padding: 32px 16px 56px; }

    .vk-kart {
        border-radius: 24px;
        box-shadow: 0 24px 60px rgba(15, 40, 80, .12), 0 2px 6px rgba(15, 40, 80, .05);
    }
}

/* ---------- Kapak ve kimlik ---------- */
.vk-kapak {
    position: relative;
    height: 132px;
    background:
        radial-gradient(90% 120% at 12% 0%, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, 0) 62%),
        linear-gradient(135deg, var(--tema, #0d6efd) 0%, var(--tema-koyu, #0b5ed7) 100%);
}

.vk-kapak img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vk-kapak::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 16, 32, 0) 45%, rgba(6, 16, 32, .18) 100%);
    pointer-events: none;
}

@media (min-width: 600px) {
    .vk-kapak { height: 148px; }
}

.vk-kimlik {
    padding: 0 22px 24px;
    text-align: center;
}

.vk-foto {
    position: relative;
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    margin: -56px auto 12px;
    overflow: hidden;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--tema-acik, #eaf2ff);
    color: var(--tema-koyu, #0b5ed7);
    font-size: 2.6rem;
    font-weight: 700;
    box-shadow: 0 12px 26px rgba(15, 40, 80, .16);
}

.vk-foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vk-kimlik h1 {
    margin: 0 0 4px;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.25;
    overflow-wrap: anywhere;
    color: var(--vk-metin);
}

.vk-unvan {
    margin: 0 0 6px;
    color: var(--tema-koyu, #0b5ed7);
    font-size: .95rem;
    font-weight: 600;
}

.vk-firma {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
    color: var(--vk-soluk);
    font-size: .86rem;
}

.vk-firma i { font-size: .95rem; }

.vk-bio {
    max-width: 42ch;
    margin: 0 auto 18px;
    color: #475569;
    font-size: .9rem;
    line-height: 1.65;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

/* ---------- Birincil buton ---------- */
.vk-ekle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    min-height: 48px;
    padding: 12px 20px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--tema, #0d6efd), var(--tema-koyu, #0b5ed7));
    color: var(--tema-metin, #fff);
    font-size: .98rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(15, 40, 80, .18);
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.vk-ekle i { font-size: 1.15rem; }

.vk-ekle:hover,
.vk-ekle:focus-visible {
    color: var(--tema-metin, #fff);
    filter: brightness(1.03);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 40, 80, .24);
}

.vk-ekle:active { transform: translateY(0); }

/* ---------- Odak halkası (erişilebilirlik) ---------- */
.vk-kart a:focus-visible,
.vk-kart button:focus-visible,
.vk-kart summary:focus-visible,
.vk-bildirim:focus-visible {
    outline: 3px solid var(--tema, #0d6efd);
    outline-offset: 3px;
    border-radius: 10px;
}

/* ---------- Bölümler ---------- */
.vk-bolum {
    padding: 20px 22px;
    border-top: 1px solid var(--vk-kenar);
}

.vk-bolum-baslik {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 12px;
    color: var(--vk-soluk-acik);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.vk-bolum-baslik i { font-size: .95rem; }

/* ---------- İletişim satırları ---------- */
.vk-iletisim {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vk-satir {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border: 1px solid #eef2f8;
    border-radius: var(--vk-yaricap);
    background: var(--vk-kutu);
    color: var(--vk-metin);
    text-decoration: none;
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}

a.vk-satir:hover,
a.vk-satir:focus-visible {
    border-color: #d9e5f5;
    background: #f2f7ff;
    color: var(--vk-metin);
    transform: translateY(-1px);
}

.vk-satir-ikon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--tema-acik, #eaf2ff);
    color: var(--tema-koyu, #0b5ed7);
    font-size: 1rem;
}

.vk-satir-metin {
    display: flex;
    flex-direction: column;
    min-width: 0;
    text-align: left;
    line-height: 1.3;
}

.vk-satir-etiket {
    color: var(--vk-soluk-acik);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.vk-satir-deger {
    overflow: hidden;
    color: var(--vk-metin);
    font-size: .9rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vk-satir--adres .vk-satir-deger {
    overflow: visible;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.45;
}

.vk-satir-ok {
    margin-left: auto;
    padding-left: 6px;
    color: #b6c4d8;
    font-size: .85rem;
}

/* ---------- Sosyal medya ---------- */
.vk-sosyal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vk-sosyal-link {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #f1f5fb;
    color: #475569;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(15, 40, 80, .12);
    transition: transform .15s ease, box-shadow .15s ease;
}

.vk-sosyal-link:hover,
.vk-sosyal-link:focus-visible {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 10px 20px rgba(15, 40, 80, .18);
}

/* Marka renkleri (SosyalPlatformlar.RenkSinifi ile eşleşir) */
.sosyal-instagram { background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 55%, #6228d7 100%); color: #fff; }
.sosyal-linkedin { background: #0a66c2; color: #fff; }
.sosyal-x { background: #111827; color: #fff; }
.sosyal-facebook { background: #1877f2; color: #fff; }
.sosyal-youtube { background: #d93025; color: #fff; }
.sosyal-tiktok { background: #111827; color: #fff; }
.sosyal-telegram { background: #229ed9; color: #fff; }
.sosyal-whatsapp { background: #1faa59; color: #fff; }
.sosyal-pinterest { background: #c8232c; color: #fff; }
.sosyal-diger { background: #475569; color: #fff; }

/* ---------- Pazaryeri mağazaları ---------- */
.vk-magazalar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vk-magaza {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border: 1px solid var(--vk-kenar);
    border-radius: var(--vk-yaricap);
    background: #fff;
    color: var(--vk-metin);
    text-decoration: none;
    transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.vk-magaza:hover,
.vk-magaza:focus-visible {
    border-color: #d9e5f5;
    color: var(--vk-metin);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 40, 80, .08);
}

.vk-magaza-ikon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fff4e6;
    color: #b45309;
    font-size: 1rem;
    font-weight: 800;
}

.vk-magaza-metin {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
    text-align: left;
}

.vk-magaza-ad {
    overflow: hidden;
    font-size: .92rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vk-magaza-alt {
    overflow: hidden;
    color: var(--vk-soluk);
    font-size: .75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vk-magaza > i {
    margin-left: auto;
    color: #b6c4d8;
    font-size: .85rem;
}

/* ---------- Fatura akordeonu ---------- */
.vk-acc {
    overflow: hidden;
    border: 1px solid var(--vk-kenar);
    border-radius: var(--vk-yaricap);
    background: #fbfdff;
}

.vk-acc summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    color: var(--vk-metin);
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    transition: background-color .16s ease;
}

.vk-acc summary::-webkit-details-marker { display: none; }

.vk-acc summary:hover { background: #f2f7ff; }

.vk-acc summary > i:first-child {
    color: var(--tema-koyu, #0b5ed7);
}

.vk-acc summary > i:last-child {
    margin-left: auto;
    color: #b6c4d8;
    font-size: .8rem;
    transition: transform .18s ease;
}

.vk-acc[open] summary > i:last-child { transform: rotate(180deg); }

.vk-acc-icerik { border-top: 1px solid #eef2f8; }

.vk-fatura-satir {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 15px;
}

.vk-fatura-satir + .vk-fatura-satir { border-top: 1px dashed #e8eef6; }

.vk-fatura-metin {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.4;
}

.vk-fatura-etiket {
    color: var(--vk-soluk-acik);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.vk-fatura-deger {
    color: var(--vk-metin);
    font-size: .88rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.vk-fatura-deger--iban {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .02em;
}

.vk-kopyala {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    margin-left: auto;
    border: 0;
    border-radius: 9px;
    background: #eef4fd;
    color: #2563eb;
    font-size: .82rem;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.vk-kopyala:hover,
.vk-kopyala:focus-visible {
    background: #e0ebfd;
    color: #1d4ed8;
}

/* ---------- Alt bilgi ---------- */
.vk-alt {
    padding: 16px 22px 22px;
    border-top: 1px solid var(--vk-kenar);
    color: #9aa8bc;
    font-size: .72rem;
    text-align: center;
}

.vk-alt p { margin: 0; }

.vk-alt strong { color: var(--vk-soluk); font-weight: 600; }

/* ---------- Kopyalama bildirimi ---------- */
.vk-bildirim {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 1080;
    max-width: calc(100% - 32px);
    padding: 10px 18px;
    border-radius: 999px;
    background: #16202f;
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity .2s ease, transform .2s ease;
}

.vk-bildirim.gorunur {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ---------- Küçük ekran ince ayarları ---------- */
@media (max-width: 359.98px) {
    .vk-kimlik { padding: 0 16px 20px; }
    .vk-bolum { padding: 18px 16px; }
    .vk-sosyal-link { width: 42px; height: 42px; }
    .vk-kimlik h1 { font-size: 1.3rem; }
}

/* ---------- Hareket azaltma tercihi ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .vk-kart { animation: none; }
}

/* ---------- Aksiyon butonları (Rehbere Ekle + QR Kod) ---------- */
.vk-aksiyonlar {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.vk-aksiyonlar .vk-ekle {
    flex: 1 1 190px;
    max-width: 250px;
}

.vk-qr-buton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid rgba(22, 32, 47, .14);
    border-radius: 999px;
    background: #ffffff;
    color: #16202f;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.vk-qr-buton i { font-size: 1.1rem; }

.vk-qr-buton:hover,
.vk-qr-buton:focus-visible {
    background: #f4f8ff;
    color: #16202f;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 40, 80, .16);
}

.vk-qr-buton:active { transform: translateY(0); }

/* ---------- QR kod penceresi ---------- */
.vk-qr-pencere {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(3, 12, 24, .28);
}

.vk-qr-pencere .modal-header {
    padding: 16px 18px;
    border-bottom: 1px solid #eef2f7;
}

.vk-qr-pencere .modal-title {
    font-size: 1rem;
    font-weight: 700;
    color: #16202f;
}

.vk-qr-govde {
    padding: 20px 18px 10px;
    text-align: center;
}

.vk-qr-gorsel {
    width: 100%;
    max-width: 240px;
    height: auto;
    padding: 8px;
    border: 1px solid #e7edf5;
    border-radius: 14px;
    background: #ffffff;
}

.vk-qr-not {
    margin: 14px 0 4px;
    font-size: .84rem;
    line-height: 1.5;
    color: #5b6b7c;
}

.vk-qr-alt {
    justify-content: center;
    padding: 8px 18px 18px;
    border-top: 0;
}

.vk-qr-indir {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--tema, #0d6efd), var(--tema-koyu, #0b5ed7));
    color: var(--tema-metin, #fff);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.vk-qr-indir:hover,
.vk-qr-indir:focus-visible {
    color: var(--tema-metin, #fff);
    filter: brightness(1.04);
}

@media (max-width: 380px) {
    .vk-aksiyonlar .vk-ekle { flex: 1 1 100%; max-width: none; }
    .vk-qr-buton { flex: 1 1 100%; }
}




/* Onizleme modu seridi (yalnizca /admin/onizleme) */
.vk-onizleme-serit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    flex-wrap: wrap;
    padding: .625rem 1rem;
    background: #16202f;
    color: #ffffff;
    font-size: .875rem;
    line-height: 1.4;
    text-align: center;
}

.vk-onizleme-serit a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
}

.vk-onizleme-serit a:hover,
.vk-onizleme-serit a:focus-visible {
    color: #dbe4ff;
}
