/* =====================================================================
   ZİYARETÇİ TARAFI ORTAK STİLLER
   Kök sayfa ve AR görüntüleyici bu dosyayı paylaşır.
   Renk değişkeni --brand müze kaydından gelir.
   ===================================================================== */

:root {
    --brand: #1B4965;
    --bg: #0E1116;
    --surface: #171C24;
    --text: #F2F4F7;
    --text-dim: #A7B0BD;
    --radius: 14px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

[dir="rtl"] body { text-align: right; }

/* ---------- Basit sayfa düzeni (kök sayfa, hata ekranları) ---------- */

.page-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(24px + var(--safe-top)) 20px calc(24px + var(--safe-bottom));
    background:
        radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--brand) 45%, transparent), transparent 70%),
        var(--bg);
}

.card {
    width: 100%;
    max-width: 420px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
}

.card__logo {
    max-width: 140px;
    max-height: 70px;
    object-fit: contain;
    margin-bottom: 18px;
}

.card__title {
    margin: 0 0 10px;
    font-size: 1.45rem;
    line-height: 1.3;
}

.card__text {
    margin: 0 0 14px;
    color: var(--text-dim);
}

.card__note {
    margin: 0;
    font-size: .9rem;
    color: var(--text-dim);
}

/* ---------- Butonlar ---------- */

.btn {
    display: inline-block;
    min-height: 48px;               /* dokunma hedefi */
    padding: 13px 26px;
    border: 0;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.btn:active { transform: translateY(1px); }

.btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .25);
    color: var(--text);
}

/* ---------- Alt bilgi ---------- */

.page-simple__footer {
    margin-top: 22px;
    font-size: .85rem;
}

.page-simple__footer a {
    color: var(--text-dim);
    text-decoration: none;
}

.page-simple__footer a:hover { text-decoration: underline; }

/* ---------- Erişilebilirlik ---------- */

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}
