/* ============ AnıQr — "Anı Taşı" tasarım sistemi ============
   Palet: Marmara mermeri, servi yeşili, İznik turkuazı, pirinç
   Tip: Cormorant Garamond (taş oyması) + Source Sans 3 (gövde) */
:root {
  --marble: #f6f6f3;
  --marble-2: #eef0ec;
  --card: #fdfdfc;
  --ink: #1c2422;
  --muted: #5f6b66;
  --line: #dde1dc;
  --servi: #0f231d;
  --servi-2: #16302a;
  --turkuaz: #2fa79b;
  --turkuaz-dark: #1f7a72;
  --turkuaz-soft: #e2f2f0;
  --pirinc: #b08d57;
  --pirinc-soft: #f2ead9;
  --danger: #a33f3f;
  --radius: 10px;
  --shadow: 0 10px 34px rgba(15, 35, 29, 0.09);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  /* mermer dokusu: ince tanecik + yumuşak renk lekeleri + damar izleri */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.045'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E") repeat,
    radial-gradient(1100px 600px at 88% -120px, rgba(47, 167, 155, .07), transparent 62%),
    radial-gradient(900px 520px at -140px 34%, rgba(176, 141, 87, .06), transparent 60%),
    linear-gradient(118deg, transparent 46%, rgba(110, 122, 114, .05) 47%, transparent 50%),
    linear-gradient(104deg, transparent 71%, rgba(110, 122, 114, .04) 72%, transparent 76%),
    var(--marble);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; line-height: 1.18; letter-spacing: .01em; }
a { color: var(--turkuaz-dark); }
img { max-width: 100%; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

/* ---- butonlar: taş levha gibi köşeli, pastil değil ---- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 8px;
  font-weight: 600; font-size: 15.5px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  font-family: var(--sans); letter-spacing: .01em;
}
.btn:focus-visible { outline: 3px solid var(--turkuaz); outline-offset: 2px; }
.btn-primary { background: var(--servi); color: #f2f5f3; }
.btn-primary:hover { background: var(--servi-2); }
.btn-gold { background: var(--turkuaz); color: #06211d; box-shadow: 0 6px 18px rgba(47, 167, 155, .28); }
.btn-gold:hover { background: #37bcaf; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #9aa8a2; }
.btn-ghost:hover { border-color: var(--ink); background: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: var(--turkuaz-dark); color: var(--turkuaz-dark); }
.btn-danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn-block { display: block; width: 100%; text-align: center; }
button.btn { font-size: 15px; }

/* ---- üst menü ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 246, 243, .93); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand {
  font-family: var(--serif); font-size: 27px; font-weight: 700; color: var(--ink);
  text-decoration: none; letter-spacing: .02em;
}
.brand em { font-style: normal; color: var(--turkuaz-dark); }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 600; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav-links .hide-m { display: none; } }

/* ---- hero: akşam vakti servilik + plaket vitrini ---- */
.hero {
  padding: 82px 0 130px; position: relative; overflow: hidden;
  background:
    radial-gradient(820px 480px at 68% 36%, rgba(47, 167, 155, .16), transparent 62%),
    radial-gradient(600px 340px at 16% 12%, rgba(176, 141, 87, .10), transparent 60%),
    linear-gradient(180deg, #0a1a15 0%, #0f231d 55%, #16302a 100%);
  color: #dce6e2;
}
.hero .servi-edge { position: absolute; bottom: -1px; left: 0; right: 0; width: 100%; display: block; }
.hero h1 { color: #f4f6f4; }
.hero p.lead { color: #a3b8b0; }
.hero-note { color: #7f948c !important; }
.hero .eyebrow { color: #c9a86b; }
.hero .btn-ghost { color: #dce6e2; border-color: #44584f; }
.hero .btn-ghost:hover { border-color: #dce6e2; background: rgba(255,255,255,.06); color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } .hero { padding: 56px 0 64px; text-align: center; } .hero-actions { justify-content: center; } }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); margin: 0 0 20px; font-weight: 600; }
.hero h1 .gold { color: var(--turkuaz-dark); font-style: italic; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 34px; }
@media (max-width: 900px) { .hero p.lead { margin: 0 auto 34px; } }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

.eyebrow {
  display: inline-block; font-family: var(--serif); font-size: 15px; letter-spacing: .35em;
  text-transform: uppercase; color: var(--pirinc); font-weight: 600; margin-bottom: 16px;
}

/* İmza öğe: mermer blok üzerinde pirinç QR plaket (gerçek, okutulabilir) */
.plaque-scene {
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,.9), transparent 60%),
    linear-gradient(155deg, #e9eae5 0%, #d7dad3 45%, #e4e6e0 70%, #cfd3cb 100%);
  border: 1px solid #c8ccc4; border-radius: 14px;
  padding: 44px 34px 30px; text-align: center;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.8);
  position: relative; overflow: hidden;
}
.plaque-scene::before { /* mermer damarı */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    linear-gradient(115deg, transparent 42%, rgba(120,130,122,.14) 43%, transparent 45%),
    linear-gradient(100deg, transparent 68%, rgba(120,130,122,.10) 69%, transparent 72%),
    linear-gradient(130deg, transparent 22%, rgba(120,130,122,.08) 23%, transparent 26%);
}
.plaque {
  position: relative; display: inline-block;
  background: linear-gradient(160deg, #c9a86b 0%, #b08d57 38%, #97744231 39%, #b08d57 60%, #d3b47c 100%), #b08d57;
  border-radius: 12px; padding: 14px;
  box-shadow: 0 14px 30px rgba(15,35,29,.32), inset 0 1px 1px rgba(255,246,225,.75), inset 0 -2px 4px rgba(60,40,10,.35);
}
.plaque-inner { background: #faf9f6; border-radius: 6px; padding: 16px 16px 10px; box-shadow: inset 0 1px 4px rgba(60,40,10,.25); }
.plaque-inner img { width: 168px; height: 168px; display: block; }
.plaque-name { font-family: var(--serif); font-size: 15px; letter-spacing: .18em; color: #5a4a2e; margin-top: 6px; text-transform: uppercase; }
.plaque .screw { position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f3e3c2, #8a6b3c 70%); box-shadow: inset 0 -1px 2px rgba(0,0,0,.4); }
.plaque .s1 { top: 7px; left: 7px; } .plaque .s2 { top: 7px; right: 7px; }
.plaque .s3 { bottom: 7px; left: 7px; } .plaque .s4 { bottom: 7px; right: 7px; }
.plaque-caption { margin: 22px 0 0; font-size: 14px; color: var(--muted); position: relative; }
.plaque-caption b { color: var(--turkuaz-dark); }

/* ---- bölümler ---- */
.section { padding: 76px 0; }
.section-alt { background: rgba(20, 40, 32, .05); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(30px, 3.8vw, 44px); text-align: center; margin: 0 0 12px; }
.section .sub { text-align: center; color: var(--muted); max-width: 580px; margin: 0 auto 48px; font-size: 17px; }

/* servi kuşağı: koyu bölüm */
.section-dark { background: linear-gradient(180deg, var(--servi) 0%, var(--servi-2) 100%); color: #dce6e2; position: relative; }
.section-dark h2 { color: #f2f5f3; }
.section-dark .sub { color: #9db4ac; }
.section-dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; }
.section-dark .card h3 { color: #f2f5f3; }
.section-dark .card p { color: #9db4ac; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 10px; font-size: 22px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.step-no {
  width: 46px; height: 46px; border-radius: 8px; background: transparent;
  border: 1px solid var(--turkuaz); color: var(--turkuaz);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 23px; font-weight: 600; margin-bottom: 16px;
}

/* ---- fiyat kartları ---- */
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--turkuaz); box-shadow: 0 14px 44px rgba(47, 167, 155, .2); }
.badge-pop {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--turkuaz); color: #06211d; font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 6px; letter-spacing: .08em;
}
.price { font-family: var(--serif); font-size: 46px; font-weight: 600; margin: 8px 0 2px; }
.lira { font-family: var(--sans); font-weight: 600; font-size: .68em; }
.price small { font-size: 15px; color: var(--muted); font-family: var(--sans); font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 26px; flex: 1; }
.price-card li { padding: 7px 0 7px 28px; position: relative; font-size: 15px; color: var(--ink); }
.price-card li::before { content: '—'; position: absolute; left: 2px; color: var(--turkuaz); font-weight: 700; }
.price-card li.no { color: #a9b2ad; }
.price-card li.no::before { content: '·'; color: #c2c9c4; }

/* ---- SSS ---- */
.faq { max-width: 720px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: 15px 0; font-size: 16.5px; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; color: var(--turkuaz-dark); font-size: 22px; font-weight: 400; font-family: var(--serif); }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin: 0 0 16px; font-size: 15px; }

/* ---- footer ---- */
.footer { background: var(--servi); color: #b9c8c2; padding: 54px 0 30px; }
.footer a { color: #b9c8c2; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .brand { color: #f2f5f3; }
.footer .brand em { color: var(--turkuaz); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-note { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: 13px; color: #7f948c; }

/* ---- formlar ---- */
.form-card { max-width: 440px; margin: 60px auto; }
label { display: block; font-size: 13.5px; font-weight: 600; margin: 14px 0 6px; color: var(--ink); }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=url], input[type=number], textarea, select {
  width: 100%; padding: 11px 14px; border: 1px solid #c3cbc6; border-radius: 8px;
  font-size: 15px; font-family: var(--sans); background: #fff; color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(47,167,155,.4); border-color: var(--turkuaz); }
textarea { min-height: 110px; resize: vertical; }
.form-err { background: #fbeaea; color: var(--danger); border: 1px solid #eccfcf; border-radius: 8px; padding: 10px 14px; font-size: 14px; margin-bottom: 6px; }
.form-ok { background: #e2f2f0; color: #1f6a5f; border: 1px solid #bfe0dc; border-radius: 8px; padding: 10px 14px; font-size: 14px; margin-bottom: 6px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---- panel ---- */
.panel-wrap { padding: 40px 0 70px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.panel-head h1 { margin: 0; font-size: 34px; }
.plan-chip { display: inline-block; padding: 3px 12px; border-radius: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; }
.plan-free { background: #e6eae7; color: var(--muted); }
.plan-premium { background: var(--pirinc-soft); color: #86672f; }
.m-list-item { display: flex; align-items: center; gap: 18px; }
.m-list-item .thumb { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--turkuaz-soft); flex-shrink: 0; }
.m-list-item .grow { flex: 1; min-width: 0; }
.m-list-item .grow p { margin: 2px 0 0; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tabs a {
  padding: 10px 18px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14.5px;
  border-bottom: 2.5px solid transparent; margin-bottom: -1px;
}
.tabs a.active { color: var(--ink); border-color: var(--turkuaz); }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.photo-grid .ph { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 1; background: var(--marble-2); }
.photo-grid .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-grid .ph form { position: absolute; top: 6px; right: 6px; margin: 0; }
.photo-grid .ph button {
  background: rgba(15,35,29,.6); color: #fff; border: 0; border-radius: 6px;
  width: 28px; height: 28px; cursor: pointer; font-size: 14px; line-height: 1;
}
.quota { font-size: 13.5px; color: var(--muted); margin: 8px 0 14px; }
.quota b { color: var(--ink); }

.entry-item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.entry-item:last-child { border-bottom: 0; }
.entry-meta { font-size: 13px; color: var(--muted); }
.entry-actions { display: flex; gap: 8px; margin-top: 8px; }

table.admin { width: 100%; border-collapse: collapse; font-size: 14px; }
table.admin th, table.admin td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.admin th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* ============ Anı sayfası (kamuya açık) ============ */
.mem-body { background: var(--marble); }
.mem-cover {
  height: 320px; position: relative;
  background: linear-gradient(180deg, #12291f 0%, #0f231d 55%, #16302a 100%);
  background-size: cover; background-position: center;
}
.mem-cover .servi-edge { position: absolute; bottom: -1px; left: 0; right: 0; width: 100%; display: block; }
@media (max-width: 640px) { .mem-cover { height: 210px; } }
.mem-head { text-align: center; margin-top: -84px; padding-bottom: 26px; position: relative; z-index: 2; }
.mem-avatar {
  width: 164px; height: 164px; border-radius: 50%; object-fit: cover;
  border: 5px solid var(--marble); box-shadow: var(--shadow); background: var(--turkuaz-soft);
}
.mem-avatar-ph {
  width: 164px; height: 164px; border-radius: 50%; border: 5px solid var(--marble); box-shadow: var(--shadow);
  background: var(--servi-2); display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 60px; color: var(--turkuaz);
}
.mem-head h1 { font-size: clamp(34px, 5.2vw, 52px); margin: 18px 0 4px; letter-spacing: .02em; }
.mem-dates {
  color: var(--muted); font-size: 18px; font-family: var(--serif);
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.mem-dates::before, .mem-dates::after { content: ''; width: 44px; height: 1px; background: #b9c2bc; }
.mem-dates .age { color: var(--turkuaz-dark); }
.mem-actions { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.mem-epitaph {
  font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--servi-2);
  text-align: center; max-width: 640px; margin: 14px auto 0; padding: 0 20px;
}
.mem-section { padding: 50px 0; }
.mem-section + .mem-section { border-top: 1px solid var(--line); }
.mem-section h2 { font-size: 31px; text-align: center; margin: 0 0 6px; }
.mem-section .orn { text-align: center; margin-bottom: 30px; color: var(--turkuaz-dark); }
.mem-section .orn svg { width: 26px; height: 26px; }
.mem-bio { max-width: 720px; margin: 0 auto; font-size: 17px; white-space: pre-line; color: #33403b; }

.mem-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
@media (max-width: 640px) { .mem-gallery { grid-template-columns: repeat(3, 1fr); } }
.mem-gallery a { display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--marble-2); }
.mem-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.mem-gallery a:hover img { transform: scale(1.04); }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.video-grid .vid { border-radius: 10px; overflow: hidden; background: #000; aspect-ratio: 16/9; }
.video-grid iframe { width: 100%; height: 100%; border: 0; display: block; }
.vid-title { font-size: 14px; color: var(--muted); margin-top: 6px; }

.audio-item { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; margin-bottom: 12px; }
.audio-item audio { width: 100%; margin-top: 8px; }

.guest-entry { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--turkuaz); border-radius: 10px; padding: 20px 22px; margin-bottom: 14px; }
.guest-entry .who { font-weight: 700; }
.guest-entry .rel { color: var(--turkuaz-dark); font-size: 13.5px; font-weight: 600; }
.guest-entry .when { color: var(--muted); font-size: 12.5px; float: right; }
.guest-entry p { margin: 8px 0 0; color: #33403b; white-space: pre-line; }

.map-wrap { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }

.mem-footer { background: var(--servi); color: #b9c8c2; text-align: center; padding: 40px 20px; margin-top: 46px; }
.mem-footer a { color: var(--turkuaz); text-decoration: none; font-weight: 600; }

/* ışık kutusu */
.lightbox {
  position: fixed; inset: 0; background: rgba(8, 16, 13, .95); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 6px; }
.lightbox .lb-close { position: absolute; top: 18px; right: 24px; color: #fff; font-size: 34px; cursor: pointer; background: none; border: 0; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 40px; cursor: pointer; background: none; border: 0; padding: 20px; }
.lb-prev { left: 6px; } .lb-next { right: 6px; }

/* QR modal */
.qr-modal { position: fixed; inset: 0; background: rgba(8,16,13,.6); z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.qr-modal.open { display: flex; }
.qr-box { background: #fff; border-radius: 12px; padding: 30px; text-align: center; max-width: 340px; }
.qr-box svg, .qr-box img { width: 220px; height: 220px; }
.qr-box h3 { margin: 0 0 14px; }

/* ---- Dua bölümü: sitenin geri kalanıyla birebir aynı tasarım dili ---- */
.dua-band { padding: 50px 0; border-top: 1px solid var(--line); }
.dua-band h2 { color: var(--ink); font-family: var(--serif); font-size: 31px; margin: 0 0 6px; text-align: center; }
.dua-band .orn { color: var(--turkuaz-dark); text-align: center; margin-bottom: 14px; }
.dua-band .orn svg { width: 26px; height: 26px; }
.dua-note { color: var(--muted); font-size: 15px; margin: 0 0 26px; }
.dua-list { display: flex; flex-direction: column; gap: 14px; max-width: 420px; margin: 0 auto; }
.dua-btn {
  display: flex; align-items: center; gap: 16px; width: 100%;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 22px; font-size: 18px; font-family: var(--serif); font-weight: 600;
  cursor: pointer; transition: background .18s, border-color .18s, transform .18s;
  letter-spacing: .04em; box-shadow: var(--shadow);
}
.dua-btn:hover { border-color: var(--turkuaz); transform: translateY(-2px); }
.dua-btn.playing { border-color: var(--turkuaz); background: var(--turkuaz-soft); }
.dua-btn:focus-visible { outline: 3px solid var(--turkuaz); outline-offset: 2px; }
.dua-ic {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--turkuaz); color: #06211d;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-family: var(--sans);
}
.dua-title { flex: 1; text-align: left; }

/* ---- anı sayfası temaları ---- */
.theme-gece {
  --marble: #0c0f0e; --marble-2: #131715; --card: #151a18; --ink: #e6e9e5; --muted: #9aa8a1;
  --line: #242c28; --servi: #070a09; --servi-2: #0e1613; --turkuaz: #43c2b5; --turkuaz-dark: #5ecfc3;
  --turkuaz-soft: #14231f; --pirinc: #c9a86b; --pirinc-soft: #292217;
}
.theme-gece .mem-bio, .theme-gece .guest-entry p { color: #c2cbc5; }
.theme-gece .mem-epitaph { color: #b7d6d0; }
.theme-gece .btn-light { background: #1c2622; color: #e6e9e5; border-color: #2a3630; }
.theme-gece .qr-box { background: #1c2622; color: #e6e9e5; }
/* gece temasında form kutuları da karanlık olsun (beyaz parlamayı önler) */
.theme-gece input[type=text], .theme-gece input[type=email], .theme-gece textarea, .theme-gece select {
  background: #1a211e; color: #e6e9e5; border-color: #2e3833;
}
.theme-gece input::placeholder, .theme-gece textarea::placeholder { color: #6f7d76; }
.theme-gece select option { background: #1a211e; }
.theme-sepya {
  --marble: #f3ecdd; --marble-2: #ece3d0; --card: #faf6ec; --ink: #3d3527; --muted: #7d715a;
  --line: #ddd2ba; --servi: #3a2f1d; --servi-2: #4a3c26; --turkuaz: #9c7d3f; --turkuaz-dark: #86672f;
  --turkuaz-soft: #eee5cd; --pirinc: #a3854e; --pirinc-soft: #eee5cd;
}
.theme-sepya .mem-cover { background: linear-gradient(180deg, #4a3c26 0%, #3a2f1d 100%); background-size: cover; background-position: center; }

/* ============ Hareket: premium giriş ve kaydırma efektleri ============ */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes shine { from { background-position: 200% 0; } to { background-position: -100% 0; } }

/* vitrin giriş sekansı */
.hero .eyebrow { animation: rise .7s cubic-bezier(.2,.7,.3,1) both; }
.hero h1 { animation: rise .8s cubic-bezier(.2,.7,.3,1) .12s both; }
.hero p.lead { animation: rise .8s cubic-bezier(.2,.7,.3,1) .24s both; }
.hero-actions { animation: rise .8s cubic-bezier(.2,.7,.3,1) .36s both; }
.hero .hero-note { animation: rise .8s cubic-bezier(.2,.7,.3,1) .48s both; }
.plaque-scene { animation: rise 1s cubic-bezier(.2,.7,.3,1) .3s both; }

/* plaket üzerinde altın parlama süpürmesi */
.plaque::after {
  content: ''; position: absolute; inset: 0; border-radius: 12px; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 246, 220, .4) 48%, transparent 62%);
  background-size: 250% 100%; background-repeat: no-repeat;
  animation: shine 2.4s ease 1.4s 1 both;
}

/* anı sayfası girişi */
.mem-avatar, .mem-avatar-ph { animation: fadeIn 1s ease both; }
.mem-head h1 { animation: rise .8s cubic-bezier(.2,.7,.3,1) .15s both; }
.mem-dates { animation: rise .8s cubic-bezier(.2,.7,.3,1) .3s both; }
.mem-epitaph { animation: rise .9s cubic-bezier(.2,.7,.3,1) .45s both; }
.mem-actions { animation: rise .9s cubic-bezier(.2,.7,.3,1) .6s both; }

/* kaydırınca belirme (JS .reveal ekler, görününce .in) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* dokunuş hissi: buton ve kartlar */
.btn { will-change: transform; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.card { transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, border-color .3s ease; }
.grid-3 .card:hover, .grid-2 .card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(15, 35, 29, .14); }
.section-dark .card:hover { box-shadow: 0 18px 44px rgba(0, 0, 0, .4); }

/* modallar yumuşak açılır */
.lightbox.open, .qr-modal.open { animation: fadeIn .25s ease both; }
.qr-modal.open .qr-box { animation: rise .3s cubic-bezier(.2,.7,.3,1) both; }
.guest-entry { transition: border-color .25s ease, transform .25s ease; }
.guest-entry:hover { border-left-color: var(--pirinc); transform: translateX(3px); }

/* küçük yardımcılar */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 30px; }
.mb-2 { margin-bottom: 20px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
hr.soft { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.empty-note { text-align: center; color: var(--muted); padding: 30px 0; font-style: italic; }
