/* İnna Kuyumculuk — tanıtım sitesi. Koyu zemin, altın vurgu, tırnaklı başlıklar. Dışarıdan dosya yüklenmez. */

:root {
    color-scheme: dark;
    --bg: #0b0b0c;
    --bg-alt: #101011;
    --surface: #151516;
    --ink: #f4f0e9;
    --muted: #a9a39a;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.18);
    --gold: #cda95c;
    --gold-bright: #e0c078;
    --gold-soft: rgba(205, 169, 92, 0.32);
    --danger: #ff9a8f;
    --ok: #7fd6a4;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--gold-bright); text-underline-offset: 3px; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; padding: 10px 14px; background: var(--gold); color: #111; border-radius: 6px; }

.s-wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.s-wrap.is-narrow { max-width: 740px; }

/* --- Üst çubuk --- */

.s-top {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(11, 11, 12, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.s-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1160px; min-height: 68px; margin: 0 auto; padding: 0 28px; }

.s-brand {
    display: inline-flex;
    flex-direction: column;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.26em;
    line-height: 1.05;
    text-decoration: none;
}
.s-brand span { margin-top: 3px; color: var(--gold); font-family: var(--sans); font-size: 8.5px; font-weight: 600; letter-spacing: 0.46em; }
.s-brand img { display: block; width: auto; height: 38px; }

.s-nav { display: flex; align-items: center; gap: 6px; }
.s-nav a { padding: 10px 14px; border-radius: 6px; color: rgba(244, 240, 233, 0.82); font-size: 15px; text-decoration: none; white-space: nowrap; transition: color 0.2s; }
.s-nav a:hover { color: var(--gold-bright); }
.s-nav .s-login { margin-left: 10px; padding: 9px 20px; border: 1px solid var(--gold-soft); border-radius: 999px; color: var(--gold-bright); font-weight: 600; transition: background 0.2s, border-color 0.2s; }
.s-nav .s-login:hover { border-color: var(--gold); background: rgba(205, 169, 92, 0.1); }

.s-menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; }
.s-menu-btn i { position: relative; width: 16px; height: 2px; background: currentColor; }
.s-menu-btn i::before, .s-menu-btn i::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; }
.s-menu-btn i::before { top: -5px; }
.s-menu-btn i::after { top: 5px; }

/* --- Giriş --- */

.s-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 69px);
    min-height: calc(100svh - 69px);
    padding: 72px 0 96px;
    text-align: center;
    background:
        radial-gradient(ellipse 60% 46% at 50% 38%, rgba(205, 169, 92, 0.13), transparent 70%),
        linear-gradient(180deg, #0b0b0c 0%, #0e0d0c 100%);
    border-bottom: 1px solid var(--line);
}
.s-hero .s-wrap { width: 100%; }
.s-mark { display: flex; flex-direction: column; align-items: center; font-family: var(--serif); font-size: clamp(64px, 13vw, 132px); font-weight: 500; letter-spacing: 0.24em; line-height: 1; text-indent: 0.24em; }
.s-mark span { margin-top: 0.9em; color: var(--gold); font-family: var(--sans); font-size: clamp(11px, 1.5vw, 15px); font-weight: 500; letter-spacing: 0.62em; text-indent: 0.62em; }
.s-mark img { display: block; width: min(560px, 78vw); height: auto; }
.s-rule { width: 72px; height: 1px; margin: 34px auto 30px; border: 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.s-hero h1 { max-width: 20em; margin: 0 auto; font-family: var(--serif); font-size: clamp(26px, 3.6vw, 38px); font-weight: 500; line-height: 1.2; text-wrap: balance; }
.s-hero p { max-width: 32em; margin: 16px auto 0; color: var(--muted); font-size: 17px; text-wrap: pretty; }
.s-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }
.s-scroll { position: absolute; left: 50%; bottom: 26px; width: 1px; height: 44px; background: linear-gradient(180deg, var(--gold), transparent); opacity: 0.7; }

.s-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 30px;
    border: 1px solid var(--gold);
    border-radius: 999px;
    background: var(--gold);
    color: #14110a;
    font: inherit;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.s-btn:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.s-btn.is-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.s-btn.is-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

/* --- Bölümler --- */

.s-section { padding: 104px 0; }
.s-section.is-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.s-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.s-eyebrow { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 14px; color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; }
.s-eyebrow::before, .s-eyebrow::after { content: ""; width: 36px; height: 1px; background: var(--gold-soft); }
.s-eyebrow.is-left::after { display: none; }
.s-section h2, .s-page-title { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 46px); font-weight: 500; line-height: 1.15; text-wrap: balance; }
.s-page-title { margin-bottom: 36px; text-align: center; }
.s-head p { margin-top: 14px; color: var(--muted); }
.s-note { margin-top: 36px; color: var(--muted); font-size: 15px; text-align: center; }
.s-prose { color: rgba(244, 240, 233, 0.86); }
.s-prose p { margin-bottom: 1.15em; text-wrap: pretty; }
.s-prose p:last-child { margin-bottom: 0; }

/* --- Galeri --- */

.s-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.s-gallery a { position: relative; display: block; overflow: hidden; border-radius: 4px; background: var(--surface); }
.s-gallery a::after { content: ""; position: absolute; inset: 0; border: 1px solid transparent; border-radius: 4px; transition: border-color 0.3s; pointer-events: none; }
.s-gallery a:hover::after { border-color: var(--gold-soft); }
.s-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.6s ease; }
.s-gallery a:hover img { transform: scale(1.04); }

/* --- Hakkımızda --- */

.s-about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.s-about.is-single { grid-template-columns: minmax(0, 740px); justify-content: center; }
.s-about h2 { margin-bottom: 26px; }
.s-stats { display: flex; flex-wrap: wrap; gap: 20px 56px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.s-stats strong { display: block; color: var(--gold-bright); font-family: var(--serif); font-size: 44px; font-weight: 500; line-height: 1.05; }
.s-stats span { color: var(--muted); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.s-card { padding: 38px 36px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.s-card h3 { margin-bottom: 22px; color: var(--gold-bright); font-family: var(--serif); font-size: 26px; font-weight: 500; }
.s-checks { display: grid; gap: 16px; }
.s-checks li { position: relative; padding-left: 30px; }
.s-checks li::before { content: ""; position: absolute; left: 3px; top: 0.42em; width: 12px; height: 7px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.s-card-foot { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; }
.s-card-foot a { color: var(--muted); text-decoration: none; }
.s-card-foot a:hover { color: var(--gold-bright); }

/* --- İletişim --- */

.s-contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.s-info > p { color: var(--muted); }
.s-info dl > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.s-info dl > div:first-child { padding-top: 0; }
.s-info dt { margin-bottom: 4px; color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.s-info dd { font-size: 18px; overflow-wrap: anywhere; }
.s-info dd a { color: var(--ink); text-decoration: none; transition: color 0.2s; }
.s-info dd a:hover { color: var(--gold-bright); }
.s-info dd .s-more { display: inline-block; margin-top: 8px; color: var(--gold-bright); font-size: 15px; }
.s-info dd .s-more:hover { text-decoration: underline; }

.s-form { display: grid; gap: 18px; padding: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.s-form label > span { display: block; margin-bottom: 7px; color: rgba(244, 240, 233, 0.86); font-size: 14px; font-weight: 500; }
.s-form label > span small { color: var(--muted); font-size: 13px; font-weight: 400; }
.s-form input[type="text"], .s-form input[type="tel"], .s-form input[type="email"], .s-form textarea {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 13px 15px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    transition: border-color 0.2s;
}
.s-form textarea { resize: vertical; }
.s-form input:hover, .s-form textarea:hover { border-color: rgba(255, 255, 255, 0.3); }
.s-form input:focus, .s-form textarea:focus { outline: 2px solid var(--gold-soft); outline-offset: 0; border-color: var(--gold); }
.s-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.s-check { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: 14px; line-height: 1.5; cursor: pointer; }
.s-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); }
.s-check span { margin: 0 !important; color: var(--muted) !important; font-weight: 400 !important; }
.s-form .s-btn { justify-self: start; min-width: 180px; }
.s-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.s-alert { padding: 13px 16px; border: 1px solid; border-radius: 6px; font-size: 15px; }
.s-alert.is-error { background: rgba(255, 120, 105, 0.09); border-color: rgba(255, 120, 105, 0.4); color: var(--danger); }
.s-alert.is-success { background: rgba(90, 200, 140, 0.09); border-color: rgba(90, 200, 140, 0.4); color: var(--ok); }

/* --- Çağrı bandı --- */

.s-cta { padding: 96px 0; text-align: center; background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(205, 169, 92, 0.1), transparent 72%), var(--bg); border-top: 1px solid var(--line); }
.s-cta h2 { font-family: var(--serif); font-size: clamp(30px, 4.6vw, 48px); font-weight: 500; line-height: 1.15; text-wrap: balance; }
.s-cta p { max-width: 32em; margin: 16px auto 0; color: var(--muted); }

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

.s-foot { padding: 64px 0 28px; background: #080808; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.s-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 40px; }
.s-foot h3 { margin-bottom: 16px; color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.s-foot .s-brand { margin-bottom: 16px; font-size: 22px; }
.s-foot li { margin-bottom: 9px; overflow-wrap: anywhere; }
.s-foot a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.s-foot a:hover { color: var(--gold-bright); }
.s-foot-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding: 24px 96px 0 0; border-top: 1px solid var(--line); font-size: 13.5px; }

.s-wa {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    background: #1f8f57;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
    transition: background 0.2s;
}
.s-wa::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #b9f5d2; }
.s-wa:hover { background: #24a364; }

/* --- Görsel büyütme (app.js ile ortak) --- */

.lightbox { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.9); }
.lightbox img { display: block; max-width: 96vw; max-height: 86vh; max-height: 86dvh; border-radius: 4px; }
.lightbox-stage { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; touch-action: none; }
.lightbox img { cursor: zoom-in; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; will-change: transform; }
.lightbox.is-zoomed img { cursor: grab; border-radius: 0; }
.lightbox-tools { position: fixed; left: 50%; bottom: 16px; bottom: max(16px, env(safe-area-inset-bottom)); display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(20, 18, 16, 0.78); transform: translateX(-50%); }
.lightbox-tools button { min-width: 44px; height: 44px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.lightbox-tools button:hover { background: rgba(255, 255, 255, 0.16); }
.lightbox-tools .lightbox-level { min-width: 64px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lightbox-close {
    position: fixed;
    top: 12px;
    right: 12px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

/* --- Tablet --- */

@media (max-width: 900px) {
    .s-gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .s-about, .s-contact { grid-template-columns: 1fr; gap: 44px; }
    .s-foot-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Telefon --- */

@media (max-width: 720px) {
    body { font-size: 16px; }
    .s-wrap, .s-top-in { padding-left: 18px; padding-right: 18px; }
    .s-top-in { min-height: 60px; }
    .s-brand { font-size: 22px; }
    .s-brand img { height: 32px; }

    /* Menü düğmesi yalnızca betik çalışıyorsa çıkar; çalışmıyorsa bağlantılar alt satırda açık kalır. */
    .js .s-menu-btn { display: inline-flex; }
    .s-top-in { flex-wrap: wrap; }
    .s-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 14px; }
    .js .s-nav { display: none; }
    .js .s-top.is-open .s-nav { display: flex; }
    .s-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 17px; }
    .s-nav .s-login { margin: 16px 0 0; padding: 13px 20px; border: 1px solid var(--gold-soft); border-radius: 999px; text-align: center; }

    .s-hero { min-height: calc(100svh - 61px); padding: 48px 0 84px; }
    .s-rule { margin: 26px auto 24px; }
    .s-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
    .s-section { padding: 68px 0; }
    .s-head { margin-bottom: 34px; }
    .s-eyebrow { gap: 12px; font-size: 11px; }
    .s-eyebrow::before, .s-eyebrow::after { width: 24px; }
    .s-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .s-stats { gap: 20px 36px; }
    .s-stats strong { font-size: 36px; }
    .s-card { padding: 28px 22px; }
    .s-form { padding: 22px 18px; }
    .s-row { grid-template-columns: 1fr; }
    .s-form .s-btn { justify-self: stretch; }
    .s-cta { padding: 68px 0; }
    .s-foot { padding-top: 48px; }
    .s-foot-grid { grid-template-columns: 1fr; gap: 32px; }
    .s-foot-end { padding-right: 0; padding-bottom: 64px; }
    .s-wa { right: 14px; bottom: 14px; }
}

/* --- Paylaşım bağlantısı: şifre ekranı ve koleksiyon sayfası --- */

.s-nav.is-plain { display: flex !important; flex-direction: row; flex-basis: auto; padding: 0; }
.s-nav.is-plain .s-login { margin: 0; padding: 9px 18px; font-size: 14px; }
.s-gate { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 69px - 90px); min-height: calc(100svh - 69px - 90px); padding: 48px 18px; background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(205, 169, 92, 0.11), transparent 70%); }
.s-gate .s-form { width: 100%; max-width: 440px; }
.s-gate-head { text-align: center; }
.s-gate-head h1 { font-family: var(--serif); font-size: clamp(28px, 6vw, 36px); font-weight: 500; line-height: 1.2; text-wrap: balance; }
.s-gate-head p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.s-form .s-code { min-height: 58px; font-size: 22px; font-weight: 600; letter-spacing: 0.3em; text-align: center; text-transform: uppercase; }
.s-gate .s-btn { justify-self: stretch; }
.s-section.is-share { padding-top: 64px; }
.s-section.is-share .s-page-title { margin-bottom: 0; }
.s-section.is-share .s-actions { margin-top: 56px; }
.s-gallery.is-labelled { gap: 26px 18px; }
.s-cap { display: flex; flex-direction: column; gap: 1px; padding-top: 10px; }
.s-cap strong { font-size: 15.5px; font-weight: 600; letter-spacing: 0.04em; }
.s-cap span { color: var(--muted); font-size: 13.5px; }
.s-foot.is-slim { padding: 28px 0; text-align: center; font-size: 13.5px; }

@media (max-width: 720px) {
    .s-gallery.is-labelled { gap: 20px 10px; }
    .s-section.is-share { padding-top: 44px; }
}

/* --- Paylaşım sayfası: model seçip WhatsApp'tan isteme --- */

.s-gallery.is-labelled li { position: relative; }
.s-pick { position: absolute; top: 8px; left: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px 0 9px; border-radius: 999px; background: rgba(11, 11, 12, 0.72); color: var(--ink); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.s-pick input { width: 18px; height: 18px; margin: 0; accent-color: var(--gold); }
.s-pick:has(input:checked) { background: var(--gold); color: #14110a; }
.s-gallery.is-labelled li:has(.s-pick input:checked) > a { outline: 2px solid var(--gold); outline-offset: 2px; }
.s-ask { position: sticky; bottom: 14px; z-index: 25; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; max-width: 620px; margin: 28px auto 0; padding: 12px 14px 12px 20px; border: 1px solid var(--gold-soft); border-radius: 999px; background: rgba(21, 21, 22, 0.96); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.6); }
.s-ask > span { flex: 1; min-width: 120px; color: var(--muted); }
.s-ask strong { color: var(--ink); }
.s-ask .link-btn { border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.s-ask .s-btn { min-height: 46px; padding: 0 22px; }
.s-ask.is-empty .s-btn { opacity: 0.45; pointer-events: none; }
@media (max-width: 720px) {
    .s-ask { border-radius: 16px; padding: 12px; }
    .s-ask .s-btn { flex: 1 1 100%; }
}
