/* ==========================================================================
   DMD Kampanya Sitesi — ziyaretçi arayüzü
   Mobil öncelikli. Renkler admin panelinden :root değişkenleriyle değiştirilir.
   ========================================================================== */

@font-face {
    font-family: "Jakarta";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/jakarta-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Jakarta";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/jakarta-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --primary: #1d5c96;
    --accent: #e8772e;
    --bg: #faf7f2;
    --surface: #ffffff;
    --ink: #1c2330;
    --muted: #5b6474;
    --line: #e7e1d6;
    --success: #1f7a4d;
    --danger: #b42318;
    --primary-soft: #e8f0f8;
    --accent-soft: #fdf0e6;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 1px 2px rgba(28, 35, 48, .05), 0 8px 24px rgba(28, 35, 48, .06);
    --shadow-lg: 0 2px 4px rgba(28, 35, 48, .05), 0 20px 48px rgba(28, 35, 48, .10);
    --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
    --header-h: 60px;
}
@supports (color: color-mix(in srgb, red 50%, white)) {
    :root {
        --primary-soft: color-mix(in srgb, var(--primary) 9%, white);
        --accent-soft: color-mix(in srgb, var(--accent) 11%, white);
        --primary-strong: color-mix(in srgb, var(--primary) 82%, black);
        --accent-strong: color-mix(in srgb, var(--accent) 86%, black);
    }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-strong, var(--primary)); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2rem, 7vw, 3.4rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.mono { font-family: var(--mono); }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 10px; }
.skip-link:focus { top: 12px; }

@media (min-width: 640px) { .container { padding: 0 24px; } }

/* --------------------------------------------------------------- butonlar */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 48px; padding: .7rem 1.3rem;
    border: 2px solid transparent; border-radius: 999px;
    font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
    cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
    -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: .92rem; }
.btn-lg { min-height: 54px; padding: .8rem 1.5rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(232, 119, 46, .28); }
.btn-accent:hover { background: var(--accent-strong, var(--accent)); color: #fff; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-strong, var(--primary)); color: #fff; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary-soft); color: var(--primary); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line);
    background: var(--surface); color: var(--primary); cursor: pointer; flex-shrink: 0;
}
.icon-btn:hover { border-color: var(--primary); }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------- üst çubuk */
.topbar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250, 247, 242, .88); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid rgba(231, 225, 214, .7);
}
.topbar .btn { white-space: nowrap; flex-shrink: 0; }
.topbar-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 800; min-width: 0; margin-right: auto; }
.brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-logo { max-height: 40px; width: auto; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.brand-mark .icon { width: 18px; height: 18px; fill: currentColor; }
.topnav { display: none; gap: 1.6rem; }
.topnav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.topnav a:hover { color: var(--primary); }
@media (min-width: 900px) { .topnav { display: flex; } }

/* --------------------------------------------------------------- hero */
.hero { padding: 12px 0 8px; }
.hero-grid { display: grid; gap: 1.5rem; }
.hero-media { position: relative; }
.hero-img {
    width: 100%; aspect-ratio: 4 / 5; max-height: 68vh; object-fit: cover; object-position: center 30%;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--primary-soft);
}
.hero-placeholder { display: grid; place-items: center; color: var(--accent); }
.hero-placeholder .icon { width: 72px; height: 72px; fill: currentColor; opacity: .35; }
.hero-avatar {
    position: absolute; left: 16px; bottom: -28px; width: 84px; height: 84px;
    border-radius: 50%; overflow: hidden; border: 4px solid var(--bg); box-shadow: var(--shadow);
}
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { padding-top: .5rem; }
.hero-avatar + * { margin-top: 0; }
.hero-media:has(.hero-avatar) + .hero-copy { padding-top: 1.75rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 .9rem; }
.chips li { display: inline-flex; align-items: center; gap: .3rem; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: .82rem; padding: .3rem .75rem; border-radius: 999px; }
.chips .icon { width: 14px; height: 14px; }
.hero h1 { margin-bottom: .35em; }
.lead { font-size: 1.12rem; color: #3a4252; }
.hero-progress {
    display: block; text-decoration: none; color: inherit;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: .9rem 1rem; margin: 1.2rem 0; box-shadow: var(--shadow);
}
.hero-progress-nums { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: .8rem; }
.hero-progress-nums > span { display: grid; gap: .1rem; padding: .6rem .8rem; border-radius: 12px; min-width: 0; }
.hero-progress-nums small { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-progress-nums strong { font-size: clamp(.95rem, 4.4vw, 1.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; white-space: nowrap; }
@media (max-width: 359px) { .hero-progress-nums { grid-template-columns: 1fr; } }
.hp-raised { background: var(--accent-soft); color: var(--accent-strong, var(--accent)); }
.hp-goal { background: var(--primary); color: #fff; }
.hp-goal small { color: rgba(255, 255, 255, .8); }
.hp-percent { display: block; margin-top: .55rem; font-size: .95rem; font-weight: 800; color: var(--accent-strong, var(--accent)); }
.hero-actions { display: grid; gap: .6rem; }
.hero-actions .btn-accent { order: -1; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; padding: 0; margin: 1.2rem 0 0; font-size: .88rem; color: var(--muted); font-weight: 600; }
.trust li { display: flex; align-items: center; gap: .4rem; }
.trust .icon { color: var(--success); }

/* Mobil: fotoğraf daha küçük, hafif eğik "polaroid" görünümü */
@media (max-width: 959px) {
    .hero-media { padding: 18px 0 10px; }
    .hero-img {
        width: min(74%, 300px); margin: 0 auto; max-height: 52vh; aspect-ratio: 4 / 5;
        border: 6px solid #fff; border-radius: 18px; transform: rotate(-3deg);
    }
    .hero-avatar { left: calc(50% - min(37%, 150px) - 8px); bottom: -22px; width: 72px; height: 72px; }
}
@media (min-width: 560px) {
    .hero-actions { grid-template-columns: repeat(2, 1fr); }
    .hero-actions .btn-accent { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
    .hero { padding: 40px 0 24px; }
    .hero-grid { grid-template-columns: 1.05fr .95fr; grid-template-areas: "copy media"; align-items: center; gap: 3.5rem; }
    .hero-copy { grid-area: copy; padding-top: 0 !important; }
    .hero-media { grid-area: media; }
    .hero-img { max-height: 620px; aspect-ratio: 4 / 5; }
    .hero-avatar { left: -28px; bottom: 32px; width: 104px; height: 104px; }
    .hero-actions { display: flex; flex-wrap: wrap; }
}

/* --------------------------------------------------------------- ilerleme */
.bar { display: block; height: 10px; border-radius: 999px; background: #ece6dc; overflow: hidden; }
.bar > span {
    display: block; height: 100%; border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), #f4a259);
    transform-origin: left; animation: grow 1.2s cubic-bezier(.2, .7, .2, 1) both;
}
.bar-lg { height: 16px; }
@keyframes grow { from { transform: scaleX(0); } }

.section { padding: 56px 0; }
.section-progress { padding: 24px 0 8px; }
@media (min-width: 900px) { .section { padding: 88px 0; } .section-progress { padding: 32px 0 16px; } }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 2rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.eyebrow .icon { width: 16px; height: 16px; }

.progress-card {
    background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow);
    border: 1px solid var(--line); padding: 1.4rem 1.2rem;
}
.progress-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; }
.progress-head h2 { font-size: 1.35rem; margin: 0; }
.progress-head p { display: flex; align-items: center; gap: .35rem; margin: 0; }
.progress-percent { display: flex; align-items: baseline; gap: .5rem; margin: .8rem 0 .6rem; }
.progress-percent span { font-size: clamp(2.6rem, 12vw, 3.8rem); font-weight: 800; color: var(--accent); line-height: 1; letter-spacing: -.03em; }
.progress-percent small { color: var(--muted); font-weight: 700; }
.progress-stats { display: grid; gap: .6rem; margin: 1.4rem 0 0; }
.progress-stats div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border-radius: 14px; background: var(--bg); border-left: 5px solid var(--line); }
.progress-stats dt { color: var(--muted); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.progress-stats dd { margin: 0; font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; text-align: right; }
.progress-stats div:nth-child(1) { background: var(--accent-soft); border-left-color: var(--accent); }
.progress-stats div:nth-child(1) dd { color: var(--accent-strong, var(--accent)); }
.progress-stats div:nth-child(2) { background: var(--primary-soft); border-left-color: var(--primary); }
.progress-stats div:nth-child(2) dd { color: var(--primary); }
.progress-card.is-done .bar > span { background: linear-gradient(90deg, var(--success), #3fb57a); }
.progress-card.is-done .progress-percent span { color: var(--success); }
@media (min-width: 640px) {
    .progress-card { padding: 2rem 2.2rem; }
    .progress-stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
    .progress-stats div { display: grid; gap: .3rem; border-left-width: 5px; padding: 1rem 1.2rem; }
    .progress-stats dd { text-align: left; font-size: 1.7rem; }
}

/* --------------------------------------------------------------- bağış */
.section-donate { background: linear-gradient(180deg, var(--bg), var(--surface) 30%, var(--surface)); }
.tabs {
    display: flex; gap: .35rem; padding: .35rem; margin: 0 auto 1.5rem; max-width: 560px;
    background: var(--bg); border: 1px solid var(--line); border-radius: 999px; overflow-x: auto;
}
.tab {
    flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    min-height: 46px; padding: .5rem .6rem; border: 0; border-radius: 999px; background: transparent;
    font-weight: 700; font-size: .9rem; color: var(--muted); cursor: pointer; white-space: nowrap;
}
@media (max-width: 459px) { .tab .icon { display: none; } .tab { font-size: .86rem; padding: .5rem .4rem; } }
.tab[aria-selected="true"] { background: var(--surface); color: var(--primary); box-shadow: var(--shadow); }
.note { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1rem; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); margin: 0 0 1.2rem; }
.note p { margin: 0; }
.note p + p { margin-top: .5rem; }
.note > .icon { margin-top: .15rem; color: var(--primary); }
.note-info { background: var(--accent-soft); border-color: transparent; font-weight: 600; }
.note-info > .icon { color: var(--accent); }
.note-soft { background: var(--primary-soft); border-color: transparent; }

.account-grid, .link-grid, .sms-grid { display: grid; gap: 1rem; }
.account, .link-card, .sms-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 1.2rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .8rem; min-width: 0;
}
.account-head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.account-head h3 { margin: 0; }
.currency-badge { background: var(--primary); color: #fff; font-weight: 800; font-size: .78rem; padding: .25rem .6rem; border-radius: 8px; letter-spacing: .03em; }
.account-rows { margin: 0; display: grid; gap: .25rem; }
.account-rows div { display: grid; grid-template-columns: 64px 1fr; gap: .5rem; align-items: center; }
.account-rows dt { color: var(--muted); font-size: .85rem; font-weight: 600; }
.account-rows dd { margin: 0; font-weight: 600; min-width: 0; }
.copy-line { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.copy-line span { overflow-wrap: anywhere; }
.copy-line .icon-btn { width: 34px; height: 34px; }
.copy-line .icon-btn .icon { width: 16px; height: 16px; }
.iban { background: var(--bg); border: 1px dashed #d8cfbf; border-radius: 12px; padding: .7rem .8rem; }
.iban-label { display: block; font-size: .75rem; font-weight: 800; color: var(--muted); letter-spacing: .08em; }
.iban-value { display: block; font-size: clamp(.82rem, 3.9vw, 1.12rem); font-weight: 700; letter-spacing: .02em; overflow-wrap: anywhere; user-select: all; }
.account-note { font-size: .9rem; color: var(--muted); margin: 0; }
.link-card-head { display: flex; align-items: center; gap: .8rem; }
.link-card-head h3 { margin: 0; }
.link-logo { max-height: 40px; width: auto; max-width: 120px; object-fit: contain; }
.link-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.link-card p { color: var(--muted); margin: 0; flex: 1; }
.sms-card { text-align: center; align-items: center; }
.sms-big { font-size: 1.25rem; font-weight: 600; margin: 0; }
.sms-big strong { color: var(--primary); font-size: 1.5rem; font-weight: 800; }
.sms-amount { display: inline-block; background: var(--accent-soft); color: var(--accent-strong, var(--accent)); font-weight: 800; padding: .3rem .9rem; border-radius: 999px; margin: 0; }
.sms-card p { margin: 0; }
.donate-share { text-align: center; margin: 1.6rem 0 0; }
@media (min-width: 720px) {
    .account-grid { grid-template-columns: repeat(2, 1fr); }
    .link-grid, .sms-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (min-width: 1100px) { .account-grid:has(> :nth-child(3)) { grid-template-columns: repeat(3, 1fr); } }
@media (hover: hover) { .sms-send { display: none; } }

/* --------------------------------------------------------------- tamamlandı */
.completed-card {
    text-align: center; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    padding: 2.4rem 1.2rem; border: 2px solid var(--success); max-width: 820px; margin: 0 auto;
}
.completed-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #e3f4ea; color: var(--success); margin-bottom: 1rem; }
.completed-icon .icon { width: 36px; height: 36px; fill: currentColor; }
.completed-card h2 { color: var(--success); font-size: clamp(1.7rem, 6vw, 2.6rem); letter-spacing: .01em; }
.completed-image img { border-radius: var(--radius); margin: 1.5rem auto 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; margin: 1.5rem 0 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.signature { font-weight: 700; margin: 1.4rem 0 0; color: var(--muted); }

/* --------------------------------------------------------------- metin */
.prose > :last-child { margin-bottom: 0; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.story-body .prose { font-size: 1.08rem; line-height: 1.85; color: #2c3445; letter-spacing: -.005em; }
.story-body .prose > p:first-child { font-size: 1.22rem; line-height: 1.7; font-weight: 500; color: var(--ink); }
.story-body .prose strong { color: var(--primary); font-weight: 700; }
.story-body .lead { font-size: 1.3rem; line-height: 1.6; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.prose-center { max-width: 620px; margin: 0 auto; }

/* --------------------------------------------------------------- hikâye */
.story-grid { display: grid; gap: 1.5rem; align-items: start; }
.profile-card { background: linear-gradient(160deg, var(--surface), var(--primary-soft)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: .8rem; box-shadow: var(--shadow-lg); }
.profile-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--radius-lg) - 6px); }
.facts { margin: .8rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.facts div { display: grid; gap: .1rem; padding: .7rem .8rem; background: rgba(255, 255, 255, .85); border: 1px solid var(--line); border-radius: 14px; min-width: 0; }
.facts div:first-child { grid-column: 1 / -1; background: var(--primary); border-color: var(--primary); }
.facts div:first-child dt { color: rgba(255, 255, 255, .75); }
.facts div:first-child dd { color: #fff; font-size: 1.15rem; }
.facts dt { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.facts dd { margin: 0; font-weight: 700; font-size: 1rem; overflow-wrap: anywhere; }
.story-body { display: grid; gap: 1.2rem; }
.story-block { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow); }
.story-block .prose { font-size: 1rem; }
.story-block .prose > p:first-child { font-size: 1rem; font-weight: 400; }
.story-block h3 { color: var(--primary); }
.story-purpose { border-top-color: var(--primary); }
@media (min-width: 640px) and (max-width: 959px) { .profile-card { display: grid; grid-template-columns: 220px 1fr; gap: 1.2rem; align-items: center; } .facts { margin: 0; } }
@media (min-width: 960px) {
    .story-grid { grid-template-columns: 320px 1fr; gap: 3rem; }
    .profile-card { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* --------------------------------------------------------------- zaman çizelgesi */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline-item { position: relative; padding: 0 0 1.8rem 2rem; }
.timeline-item::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: -8px; width: 2px; background: var(--line); }
.timeline-item.is-last::before { display: none; }
.timeline-item::after { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 4px solid var(--accent); }
.timeline-date { display: inline-block; font-size: .82rem; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .2rem; }
.timeline-item h3 { margin-bottom: .3em; }

/* --------------------------------------------------------------- DMD */
.section-dmd { background: var(--surface); }
.info-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.info-card { background: var(--bg); border-radius: var(--radius-lg); padding: 1.3rem; display: flex; flex-direction: column; gap: .2rem; }
.info-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); margin-bottom: .7rem; }
.info-icon .icon { width: 24px; height: 24px; }
.info-card .prose { font-size: .96rem; color: #3a4252; flex: 1; }
.source-link { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 600; margin-top: .8rem; }
.source-link .icon { width: 14px; height: 14px; }
.faq { max-width: 820px; margin: 3rem auto 0; }
.faq-title { text-align: center; font-size: 1.4rem; margin-bottom: 1rem; }
.faq-item { background: var(--bg); border-radius: var(--radius); margin-bottom: .6rem; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; font-weight: 700; cursor: pointer; list-style: none; min-height: 56px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform .2s ease; color: var(--primary); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item .prose { padding: 0 1.2rem 1.1rem; color: #3a4252; }
.medical-note { max-width: 820px; margin: 2rem auto 0; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.2rem; }
.medical-note p:first-child { display: flex; gap: .5rem; align-items: flex-start; }
.medical-note p:first-child .icon { margin-top: .2rem; }
.sources-title { font-weight: 800; color: var(--ink); margin: 1rem 0 .3rem; }
.sources { margin: 0; padding-left: 1.2rem; }

/* --------------------------------------------------------------- etkileşim */
.interact-grid { display: grid; gap: .9rem; }
.interact-card {
    display: flex; align-items: center; gap: 1rem; padding: 1.1rem; text-decoration: none; color: var(--ink);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.interact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--accent); color: var(--ink); }
.interact-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0; background: var(--accent-soft); color: var(--accent); }
.interact-icon .icon { width: 26px; height: 26px; }
.interact-mosaic .interact-icon, .interact-text .interact-icon { background: var(--primary-soft); color: var(--primary); }
.interact-card .interact-text { display: grid; gap: .15rem; flex: 1; min-width: 0; }
.interact-card strong { font-size: 1.05rem; }
.interact-card .interact-text > span { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.interact-arrow { color: var(--muted); }
@media (min-width: 720px) { .interact-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; } .interact-card { padding: 1.4rem; } }

.mosaic-preview { display: grid; gap: 1.2rem; margin-top: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem; box-shadow: var(--shadow); }
.mosaic-preview-img img { border-radius: var(--radius); width: 100%; background: var(--bg); }
.mosaic-preview-copy { display: grid; gap: .7rem; align-content: center; }
.mosaic-preview-copy h3 { font-size: 1.4rem; margin: 0; }
.mosaic-preview-copy p { margin: 0; color: var(--muted); }
.mosaic-count strong { color: var(--ink); font-size: 1.2rem; }
.mosaic-preview-copy .btn { justify-self: start; }
@media (min-width: 860px) { .mosaic-preview { grid-template-columns: 1.3fr 1fr; padding: 1.5rem; gap: 2rem; } }

/* --------------------------------------------------------------- galeri */
.section-gallery { background: var(--surface); }
.gallery { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: .6rem; }
.gallery-item { break-inside: avoid; margin-bottom: .6rem; position: relative; }
.gallery-item a { display: block; border-radius: 14px; overflow: hidden; background: var(--bg); }
.gallery-item img { width: 100%; transition: transform .35s ease; }
.gallery-item a:hover img { transform: scale(1.03); }
.gallery-caption { display: block; font-size: .82rem; color: var(--muted); padding: .35rem .2rem 0; }
@media (min-width: 720px) { .gallery { columns: 3; column-gap: 1rem; } .gallery-item { margin-bottom: 1rem; } }
@media (min-width: 1080px) { .gallery { columns: 4; } }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12, 14, 20, .94); display: flex; align-items: center; justify-content: center; padding: 56px 8px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: grid; gap: .6rem; justify-items: center; }
.lightbox img { max-height: calc(100vh - 150px); width: auto; border-radius: 10px; }
.lightbox figcaption { color: #e9e9ee; text-align: center; font-size: .95rem; }
.lightbox-close, .lightbox-nav { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-nav.prev { left: 8px; }
.lightbox-nav.next { right: 8px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------------- paylaşım */
.share-card { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 1.8rem 1.1rem; }
.share-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.share-btn {
    display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: .5rem .8rem;
    border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink);
    font-weight: 700; text-decoration: none; cursor: pointer; font-size: .95rem;
}
.share-btn:hover { border-color: currentColor; color: var(--ink); }
.share-btn .icon { width: 22px; height: 22px; }
@media (max-width: 459px) { .share-btn { flex-direction: column; gap: .25rem; font-size: .8rem; padding: .5rem .2rem; min-height: 64px; } }
.share-whatsapp .icon { color: #25d366; }
.share-facebook .icon { color: #1877f2; }
.share-x .icon { color: #000; }
.share-telegram .icon { color: #26a5e4; }
.share-linkedin .icon { color: #0a66c2; }
.share-instagram .icon { color: #d6249f; }
.share-copy { grid-column: 1 / -1; background: var(--primary); color: #fff; border-color: var(--primary); }
.share-copy:hover { color: #fff; }
.share-copy .icon { color: #fff; }
#instagramHelp { margin: 1rem 0 0; }
.follow { margin-top: 1.8rem; text-align: center; }
.follow > p { font-weight: 800; margin-bottom: .6rem; }
@media (min-width: 640px) { .share-card { padding: 2.4rem; } }

.social-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; padding: 0; margin: 0; }
.social-row a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: inherit; }
.social-row-lg a { display: inline-flex; width: auto; height: auto; gap: .45rem; padding: .55rem 1rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.social-row-lg a:hover { border-color: var(--primary); }

/* --------------------------------------------------------------- iletişim */
.contact-grid { list-style: none; padding: 0; margin: 0 auto; display: grid; gap: .8rem; max-width: 900px; }
.contact-card { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); min-height: 72px; box-shadow: var(--shadow); }
.contact-card:hover { border-color: var(--primary); color: var(--ink); }
.contact-card small { display: block; color: var(--muted); font-weight: 600; }
.contact-card strong { display: block; overflow-wrap: anywhere; }
.contact-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); flex-shrink: 0; }
.contact-whatsapp { background: #e3f8eb; color: #128c4b; }
.contact-instagram { background: #fdeaf5; color: #c13584; }
.section-head .muted { display: inline-flex; align-items: center; gap: .4rem; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

/* --------------------------------------------------------------- resmi izin */
.section-permit { padding-top: 0; }
.permit-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem 1.2rem; display: grid; gap: 1rem; }
.permit-head { display: flex; align-items: center; gap: .8rem; }
.permit-head h2 { font-size: 1.35rem; margin: 0; }
.permit-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #e3f4ea; color: var(--success); }
.permit-rows { margin: 0; display: grid; }
.permit-rows div { display: grid; gap: .1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.permit-rows dt { color: var(--muted); font-size: .88rem; font-weight: 600; }
.permit-rows dd { margin: 0; font-weight: 700; }
.permit-card .btn { justify-self: start; }
@media (min-width: 640px) { .permit-card { padding: 2rem; } .permit-rows div { grid-template-columns: 200px 1fr; } }

/* --------------------------------------------------------------- footer */
.footer { background: var(--ink); color: #c9ced8; padding: 40px 0 28px; }
.footer-inner { display: grid; gap: 1.5rem; }
.footer-brand { display: flex; gap: .8rem; align-items: flex-start; }
.footer-brand strong { color: #fff; font-size: 1.05rem; }
.footer-brand p { margin: .3rem 0 0; font-size: .92rem; }
.footer-permit { display: flex; align-items: center; gap: .4rem; }
.footer .social-row { justify-content: flex-start; }
.footer .social-row a { color: #fff; }
.footer .social-row a:hover { background: rgba(255, 255, 255, .2); }
.footer-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .85rem; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.2rem; }
.footer-meta a { color: #c9ced8; }
@media (min-width: 860px) { .footer-inner { grid-template-columns: 1fr auto; align-items: center; } .footer-meta { grid-column: 1 / -1; } }

/* --------------------------------------------------------------- mobil sabit çubuk */
.mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr auto; gap: .5rem;
    padding: .6rem 12px calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(28, 35, 48, .08);
    transform: translateY(110%); transition: transform .25s ease;
}
.mobile-cta.is-visible { transform: none; }
.home:has(.mobile-cta) .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .mobile-cta { display: none; } .home:has(.mobile-cta) .footer { padding-bottom: 28px; } }

.toast {
    position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 300;
    background: var(--ink); color: #fff; padding: .75rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
    box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .5rem; max-width: calc(100vw - 32px);
}
.toast .icon { color: #6ee7a8; }

/* ==========================================================================
   Etkileşim sayfaları (gazete, mozaik, sesli ve yazılı mesaj)
   ========================================================================== */
.page { padding: 28px 0 64px; }
.page-head { text-align: center; max-width: 640px; margin: 0 auto 1.8rem; }
.page-head .page-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--accent-soft); color: var(--accent); margin-bottom: 1rem; }
.page-head .page-icon .icon { width: 30px; height: 30px; }
.page-head h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.page-head p { color: var(--muted); font-size: 1.05rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.3rem 1.1rem; max-width: 640px; margin: 0 auto; }
@media (min-width: 640px) { .panel { padding: 2rem; } }
.private-note { display: flex; align-items: center; justify-content: center; gap: .45rem; color: var(--muted); font-size: .9rem; margin: 1rem auto 0; text-align: center; }
.back-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-decoration: none; margin-bottom: 1rem; }

.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label, .field .label { font-weight: 700; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); }
.input, .textarea, .select {
    width: 100%; min-height: 50px; padding: .75rem .9rem; font: inherit; font-size: 1rem; color: var(--ink);
    background: #fff; border: 1.5px solid #d9d2c5; border-radius: 12px; transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.counter { text-align: right; font-size: .82rem; color: var(--muted); }
.alert { padding: .9rem 1rem; border-radius: 12px; font-weight: 600; margin-bottom: 1rem; display: flex; gap: .55rem; align-items: flex-start; }
.alert .icon { margin-top: .15rem; }
.alert-success { background: #e3f4ea; color: #135c38; }
.alert-error { background: #fdecea; color: #8f1d14; }
.alert[hidden] { display: none; }

/* sesli mesaj */
.recorder { text-align: center; }
.rec-button {
    position: relative; width: 112px; height: 112px; border-radius: 50%; border: 0; margin: .5rem auto 1rem;
    background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer;
    box-shadow: 0 10px 30px rgba(232, 119, 46, .35);
}
.rec-button .icon { width: 44px; height: 44px; }
.rec-button[disabled] { background: #c9c2b6; box-shadow: none; cursor: not-allowed; }
.is-recording .rec-button { background: var(--danger); box-shadow: 0 10px 30px rgba(180, 35, 24, .35); }
.is-recording .rec-button::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 3px solid var(--danger); opacity: .5; animation: pulse 1.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.92); opacity: .7; } to { transform: scale(1.18); opacity: 0; } }
.rec-time { font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.rec-hint { color: var(--muted); margin-bottom: .8rem; }
.rec-meter { height: 6px; max-width: 240px; margin: 0 auto 1rem; background: var(--bg); border-radius: 999px; overflow: hidden; }
.rec-meter span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .08s linear; }
.rec-review { display: grid; gap: .8rem; margin-top: .5rem; }
.rec-review audio { width: 100%; }
.rec-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }

/* gazete */
.np-layout { display: grid; gap: 1.5rem; align-items: start; }
.np-preview { position: relative; max-width: 360px; width: 100%; margin: 0 auto; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); background: #ede6d8; }
.np-preview canvas { width: 100%; height: 100%; }
.np-layout > .np-preview-col { order: -1; }
.np-actions { display: grid; gap: .6rem; margin-top: 1rem; }
.np-presets { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
.np-presets button { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: .4rem .8rem; font-size: .88rem; cursor: pointer; min-height: 40px; }
.np-presets button:hover, .np-presets button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.photo-pick { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.photo-pick .thumb { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
@media (min-width: 900px) { .np-layout > .np-preview-col { order: 0; } .np-layout { grid-template-columns: 1fr 380px; } .np-layout .panel { margin: 0; max-width: none; } .np-preview { position: sticky; top: calc(var(--header-h) + 20px); } }

/* mozaik */
.mosaic-viewer { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.mosaic-viewer.is-zoomed { overflow: auto; max-height: 70vh; overscroll-behavior: contain; touch-action: pan-x pan-y; }
.mosaic-canvas { position: relative; width: 100%; transition: width .2s ease; }
.mosaic-canvas img { width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.mosaic-mark { position: absolute; border: 3px solid var(--accent); border-radius: 4px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .0), 0 0 0 3px rgba(255, 255, 255, .8); pointer-events: none; }
.mosaic-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 .8rem; flex-wrap: wrap; }
.mosaic-stats { font-weight: 700; }
.mosaic-stats strong { font-size: 1.3rem; color: var(--accent); }
.zoom { display: inline-flex; gap: .3rem; }
.mosaic-upload { margin-top: 1.4rem; }
.drop {
    display: grid; place-items: center; gap: .4rem; text-align: center; min-height: 200px; padding: 1.2rem;
    border: 2px dashed #d3c8b6; border-radius: var(--radius); background: var(--bg); cursor: pointer; color: var(--muted);
    background-size: cover; background-position: center;
}
.drop .icon { width: 40px; height: 40px; color: var(--primary); }
.drop.has-photo { border-style: solid; border-color: var(--primary); color: transparent; }
.drop.has-photo .icon, .drop.has-photo span { visibility: hidden; }
.pick-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: .8rem 0; }
.status-card { text-align: center; display: grid; gap: .6rem; justify-items: center; }
.status-card .tile-preview { width: 140px; height: 140px; border-radius: 16px; object-fit: cover; box-shadow: var(--shadow); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------- form ekleri */
.h3 { font-size: 1.25rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; margin: .2rem 0 1rem; font-size: .92rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--primary); flex-shrink: 0; }
.status-card .hero-actions { width: 100%; }
.page-interact .footer { margin-top: 0; }

/* --------------------------------------------------------------- sabit Destek butonu */
.fab {
    position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 55;
    display: inline-flex; align-items: center; gap: .5rem; min-height: 54px; padding: .7rem 1.3rem;
    border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; font-size: 1.02rem; text-decoration: none;
    box-shadow: 0 10px 28px rgba(232, 119, 46, .45), 0 2px 6px rgba(0, 0, 0, .15);
    transition: transform .2s ease, opacity .2s ease;
}
.fab:hover { color: #fff; transform: translateY(-2px); }
.fab .icon { fill: currentColor; }
.fab.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }
/* Ana sayfa mobilinde alt çubuk zaten Destek Ol içeriyor */
@media (max-width: 899px) { .fab-home { display: none; } }
@media (min-width: 900px) { .fab { right: 28px; bottom: 28px; } }
