/* Vip Salons web sitesi: ortak tasarım dili (mobil uygulama ile aynı).
   Derin mor #4A1D6B, şampanya altını #C9A45C, sıcak kırık beyaz #FBF8F5.
   Yazı tipleri yereldir: başlıklar Playfair Display, gövde Manrope. */
@import url(/fonts/manrope/manrope.css);
@import url(/fonts/playfair-display/playfair-display.css);

:root {
    color-scheme: light;
    --brand: #4A1D6B;
    --brand-2: #5B2585;
    --brand-dark: #2E1145;
    --brand-soft: #EFE4F6;
    --gold: #C9A45C;
    --gold-soft: #F4E7CC;
    --gold-text: #6B4E14;
    --bg: #FBF8F5;
    --card: #FFFFFF;
    --text: #1F1A24;
    --muted: #6E6577;
    --border: #E9E1EC;
    --error: #B3261E;
    --ok: #2E7D4F;
    --warn: #B7791F;
    --radius: 16px;
    --shadow: 0 6px 18px rgb(46 17 69 / .08);
    --shadow-lg: 0 18px 40px rgb(46 17 69 / .16);
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --gradient: linear-gradient(135deg, #5B2585 0%, #4A1D6B 45%, #2E1145 100%);
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --brand: #D6B4EE;
        --brand-soft: #2E2238;
        --gold-soft: #3A2F1C;
        --gold-text: #E5C98F;
        --bg: #17121B;
        --card: #211A27;
        --text: #ECE8F0;
        --muted: #B3AABD;
        --border: #3A3242;
        --error: #F2B8B5;
        --ok: #8FD6A6;
        --warn: #F0C27A;
        --shadow: none;
        --shadow-lg: 0 18px 40px rgb(0 0 0 / .35);
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: clamp(22px, 2.6vw, 30px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); font-size: 14px; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }
.container.form { max-width: 560px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Üst menü ---------- */
.site-header { background: var(--gradient); color: #fff; position: relative; }
.site-header .bar { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.brand img { height: 36px; width: auto; }
.brand strong { font-family: var(--serif); font-size: 22px; letter-spacing: .2px; }
.brand small { display: block; font-size: 9.5px; letter-spacing: 2.6px; color: var(--gold); font-weight: 700; margin-top: -2px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a, .nav button { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav a:hover, .nav button:hover { background: rgb(255 255 255 / .1); }
.nav .nav-outline { border: 1px solid rgb(255 255 255 / .55); }
.nav .nav-gold { background: var(--gold); color: #2A1A05; }
.nav .nav-gold:hover { background: #d8b673; }
.nav .nav-link { display: inline; }
@media (max-width: 720px) {
    .nav .nav-link { display: none; }
    .brand strong { font-size: 19px; }
    .nav a, .nav button { padding: 7px 10px; font-size: 14px; }
}
.wave { display: block; width: 100%; height: 28px; color: var(--bg); margin-top: -1px; }
.site-header .wave { position: absolute; left: 0; right: 0; bottom: -1px; }

/* ---------- Düğmeler ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border-radius: 14px; border: 1px solid transparent; font: 700 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid color-mix(in srgb, var(--gold) 70%, transparent); outline-offset: 2px; }
.btn-block { display: flex; width: 100%; margin-top: 12px; }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 8px 18px rgb(74 29 107 / .25); }
.btn-gold { background: linear-gradient(135deg, #E2C285, #C9A45C); color: #2A1A05; }
.btn-outline { background: transparent; color: var(--brand); border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.btn-danger { background: var(--error); color: #fff; }
.btn-apple { background: #000; color: #fff; }
.btn-google { background: #fff; color: #1f1f1f; border-color: #747775; }
.btn-facebook { background: #1877F2; color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.link-btn { background: none; border: 0; color: var(--brand); font: inherit; font-weight: 700; cursor: pointer; padding: 0; text-decoration: underline; }

/* Mağaza düğmeleri */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #0d0b10; color: #fff; text-decoration: none; padding: 9px 18px 9px 14px; border-radius: 12px; border: 1px solid rgb(255 255 255 / .15); min-height: 54px; }
.store svg { width: 26px; height: 26px; }
.store span { display: flex; flex-direction: column; line-height: 1.15; font-size: 17px; font-weight: 700; }
.store small { font-size: 11px; font-weight: 500; opacity: .8; }

/* ---------- Kartlar, formlar ---------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card + .card { margin-top: 12px; }
.section-title { display: flex; align-items: center; gap: 14px; margin: 36px 0 14px; }
.section-title h2 { margin: 0; font-size: 22px; white-space: nowrap; }
.section-title::after { content: ""; flex: 1; height: 1px; background: color-mix(in srgb, var(--gold) 55%, transparent); }
label { display: block; font-weight: 700; font-size: 14px; margin: 16px 0 6px; }
input, select, textarea { width: 100%; font: inherit; color: inherit; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent); outline: none; }
textarea { min-height: 96px; resize: vertical; }
.hint { color: var(--muted); font-size: 13px; margin-top: 4px; }
.error { color: var(--error); font-size: 14px; margin-top: 4px; }
.alert { border-radius: 12px; padding: 12px 16px; margin: 16px 0; font-size: 15px; font-weight: 600; }
.alert-error { background: color-mix(in srgb, var(--error) 12%, transparent); color: var(--error); }
.alert-ok { background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; margin: 22px 0 4px; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--border); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; } }
.row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
form.inline { display: inline; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; background: var(--brand-soft); color: var(--brand); }
.badge-ok { background: color-mix(in srgb, var(--ok) 13%, transparent); color: var(--ok); }
.badge-warn { background: color-mix(in srgb, var(--warn) 15%, transparent); color: var(--warn); }
.badge-error { background: color-mix(in srgb, var(--error) 12%, transparent); color: var(--error); }
.badge-gold { background: var(--gold-soft); color: var(--gold-text); }

/* ---------- Sayfa başlığı (iç sayfalar) ---------- */
.page-hero { background: var(--gradient); color: #fff; padding: 8px 0 56px; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { color: rgb(255 255 255 / .8); margin: 6px 0 0; }
.page-hero .mark { position: absolute; right: -30px; top: -20px; width: 220px; opacity: .08; pointer-events: none; }
.page-body { margin-top: -36px; position: relative; padding-bottom: 56px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: rgb(255 255 255 / .85); text-decoration: none; font-weight: 600; font-size: 14px; margin: 12px 0 6px; }

/* ---------- Karşılama sayfası ---------- */
.hero { background: var(--gradient); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: var(--hero-image); background-size: cover; background-position: center; opacity: .22; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 48px 20px 96px; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 18px; color: rgb(255 255 255 / .85); max-width: 520px; border-left: 3px solid var(--gold); padding-left: 16px; }
.hero-visual { position: relative; justify-self: center; }
.phone { width: 290px; aspect-ratio: 9 / 19.5; border-radius: 42px; background: #0d0b10; padding: 10px; box-shadow: 0 30px 60px rgb(0 0 0 / .45); position: relative; z-index: 1; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 33px; background: var(--bg); }
.hero-visual::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgb(201 164 92 / .45), transparent 65%); left: 50%; top: 50%; transform: translate(-50%, -50%); }
@media (max-width: 860px) {
    .hero-inner { grid-template-columns: 1fr; padding: 32px 20px 80px; text-align: left; }
    .phone { width: 230px; }
}

.categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -56px; position: relative; z-index: 2; }
.category { position: relative; min-height: 170px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; display: flex; align-items: flex-end; padding: 16px; box-shadow: var(--shadow-lg); background: var(--cat-fallback); }
.category::before { content: ""; position: absolute; inset: 0; background-image: var(--cat-image); background-size: cover; background-position: center; transition: transform .4s ease; }
.category::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(46 17 69 / 0) 35%, rgb(46 17 69 / .85) 100%); }
.category:hover::before { transform: scale(1.05); }
.category span { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 20px; font-weight: 700; }
.category svg { width: 24px; height: 24px; }
@media (max-width: 860px) { .categories { grid-template-columns: repeat(2, 1fr); } .category { min-height: 130px; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step .icon { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-text); }
.step .icon svg { width: 24px; height: 24px; }
.step h3 { margin: 2px 0 4px; font-size: 18px; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.owners { background: var(--gradient); color: #fff; border-radius: 22px; padding: 32px; display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.owners h2 { color: #fff; margin: 0 0 6px; }
.owners p { color: rgb(255 255 255 / .8); margin: 0; }
.owners ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.owners li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.owners li svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
@media (max-width: 900px) { .owners { grid-template-columns: 1fr; padding: 24px; } }

.section { padding: 56px 0 0; }
.section:last-of-type { padding-bottom: 64px; }

/* ---------- Alt bilgi ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 24px; padding: 24px 0 32px; font-size: 14px; color: var(--muted); }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.site-footer .brand-footer { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-weight: 700; color: var(--brand); font-size: 18px; text-decoration: none; }
.site-footer .brand-footer img { height: 26px; }
.site-footer nav { display: flex; gap: 16px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--brand); }
.site-footer .copy { margin-left: auto; }
@media (max-width: 640px) { .site-footer .copy { margin-left: 0; width: 100%; } }

/* ---------- Giriş / kayıt (iki sütun) ---------- */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.auth-visual { position: relative; background: var(--gradient); color: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.auth-visual::before { content: ""; position: absolute; inset: 0; background-image: var(--auth-image); background-size: cover; background-position: center; opacity: .35; }
.auth-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(46 17 69 / .2), rgb(46 17 69 / .85)); }
.auth-visual > * { position: relative; z-index: 1; }
.auth-visual h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); margin: 0 0 16px; }
.auth-visual ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.auth-visual li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.auth-visual li svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.auth-panel { display: flex; flex-direction: column; justify-content: center; padding: 40px 24px; }
.auth-panel .inner { width: 100%; max-width: 440px; margin: 0 auto; }
.auth-panel h1 { font-size: 32px; margin-bottom: 4px; }
.auth-panel .foot { text-align: center; margin-top: 18px; }
.auth-panel .legal { text-align: center; margin-top: 28px; }
.auth-panel .legal a { color: var(--muted); }
@media (max-width: 860px) {
    .auth { grid-template-columns: 1fr; min-height: 0; }
    .auth-visual { padding: 20px 20px 28px; min-height: 200px; }
    .auth-visual ul { display: none; }
    .auth-visual h2 { font-size: 24px; margin: 0; }
    .auth-panel { padding: 24px 16px 40px; }
}

/* ---------- Hesabım ---------- */
.profile { display: flex; align-items: center; gap: 18px; }
.avatar { flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 28px; color: #fff; background: rgb(255 255 255 / .14); border: 2px solid var(--gold); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius); background: var(--brand-soft); }
.stat.gold { background: var(--gold-soft); }
.stat b { margin-left: auto; font-family: var(--serif); font-size: 30px; color: var(--brand); }
.stat span { font-weight: 600; font-size: 14px; line-height: 1.3; }
.appt { display: flex; gap: 14px; align-items: flex-start; }
.date-box { flex: none; width: 64px; text-align: center; border-radius: 12px; padding: 8px 0; background: var(--brand-soft); color: var(--brand); line-height: 1.15; }
.date-box b { display: block; font-family: var(--serif); font-size: 26px; }
.date-box small { display: block; font-size: 12px; font-weight: 700; }
.appt h3 { margin: 0 0 2px; font-size: 18px; }
.appt .meta { color: var(--muted); font-size: 14px; }
.appt-next { background: var(--gradient); color: #fff; border: 0; }
.appt-next .date-box { background: #fff; color: #4A1D6B; }
.appt-next h3 { color: #fff; }
.appt-next .meta { color: rgb(255 255 255 / .75); }
.appt-next .eyebrow { color: var(--gold); font-style: italic; font-weight: 700; font-size: 14px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.promo { display: flex; gap: 20px; align-items: center; border-radius: var(--radius); padding: 22px; background: linear-gradient(135deg, #F6EBD3, #EBD3A2); color: #1F1A24; }
.promo h3 { margin: 0 0 2px; color: #1F1A24; }
.promo p { margin: 0; color: #5A4A33; }
.promo .btn { margin-left: auto; flex: none; }
.promo img { width: 56px; flex: none; }
@media (max-width: 620px) { .promo { flex-wrap: wrap; } .promo .btn { margin-left: 0; width: 100%; } }
.danger-zone { border-color: color-mix(in srgb, var(--error) 35%, transparent); }

/* ---------- İşletme türü seçimi ---------- */
.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.type-grid label { margin: 0; }
.type-option { position: relative; }
.type-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.type-option span { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); text-align: center; font-weight: 700; font-size: 14.5px; transition: border-color .15s ease, background .15s ease; }
.type-option span svg { width: 30px; height: 30px; color: var(--brand); }
.type-option input:checked + span { border: 2px solid var(--brand); background: var(--brand-soft); }
.type-option input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--gold) 70%, transparent); outline-offset: 2px; }
.type-option.wide { grid-column: 1 / -1; }
.type-option.wide span { flex-direction: row; justify-content: center; padding: 12px; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; font-weight: 700; font-size: 13.5px; }
.benefits svg { width: 26px; height: 26px; color: var(--brand); margin: 0 auto 4px; display: block; }

/* ---------- Yasal sayfalar ---------- */
.prose h2 { font-size: 22px; margin: 28px 0 8px; }
.prose ol, .prose ul { padding-left: 22px; }
.prose li { margin: 4px 0; }

/* ---------- Reklam şablonu: düzen, sayfanın değil reklam alanının genişliğine göre değişir ---------- */
.reklam-alan { margin: 24px 0; }
.reklam-kapsayici { container-type: inline-size; width: 100%; }
.reklam-etiket { display: block; font-size: 11px; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.reklam { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; overflow: hidden; border-radius: 12px; text-align: center; text-decoration: none; color: #fff; box-shadow: 0 4px 10px rgb(0 0 0 / .2); background: linear-gradient(-55deg, var(--koyu) 29%, var(--ana) 29.1%, var(--ana) 68%, var(--koyu) 68.1%); }
.reklam-gorsel { flex: 1 1 220px; min-width: 0; padding: 12px; }
.reklam-gorsel img { display: block; margin: 0 auto; max-width: 100%; max-height: 160px; object-fit: contain; }
.reklam-sag { display: none; }
.reklam-metin { flex: 1 1 240px; min-width: 0; padding: 16px; text-transform: uppercase; }
.reklam-metin p { margin: 0; font-weight: 700; color: #fff; }
.reklam-b1 { font-size: 16px; line-height: 1.35; opacity: .9; }
.reklam-b2 { font-size: 24px; line-height: 1.2; font-weight: 800 !important; margin-top: 4px !important; }
.reklam-b3 { font-size: 14px; line-height: 1.35; opacity: .9; margin-top: 8px !important; }
.reklam-dugme { display: inline-block; margin-top: 12px; padding: 8px 20px; border-radius: 6px; background: #fff; color: var(--dugme-yazi); font-size: 14px; font-weight: 700; text-transform: none; }
.reklam-gorselli { display: block; overflow: hidden; border-radius: 12px; box-shadow: 0 4px 10px rgb(0 0 0 / .2); }
.reklam-gorselli img { display: block; width: 100%; height: auto; }
@container (min-width: 768px) {
    .reklam-gorsel { padding: 16px; }
    .reklam-gorsel img { max-height: 224px; }
    .reklam-sag { display: block; }
    .reklam-b1 { font-size: 20px; }
    .reklam-b2 { font-size: 36px; }
    .reklam-b3 { font-size: 18px; }
}

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