/*
Theme Name: Asım Beşikci — Kâğıt ve Mürekkep
Template: asimbesikci
Description: Asım Beşikci teması için özgün görünüm: krem kâğıt, mürekkep, güneş.
Version: 1.4.2
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: asimbesikci
*/

:root {
	--paper: #f5f0e6;
	--paper-2: #ece5d6;
	--ink: #1e1c19;
	--ink-2: #5d564b;
	--rule: #d8cfbd;
	--sun: #c0862a;
	--sun-2: #e3b04b;
	--night: #0e1726;
	--night-2: #1a2a44;
	--display: Raleway, sans-serif;
	--text: Roboto, sans-serif;
}

* { box-sizing: border-box; }
/* Raleway rakamları varsayılanda eski usul (inişli); "font" kısaltması bunu sıfırladığı için !important. */
* { font-variant-numeric: lining-nums !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.7 var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--sun); text-decoration: none; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; color: var(--ink); }
h2 em, h3 em { font-style: italic; color: var(--sun); }
.hero-title em { font-style: normal; color: var(--sun); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.kicker { font: 600 12px/1 var(--text); letter-spacing: .22em; text-transform: uppercase; color: var(--sun); margin: 0 0 18px; }

.btn, .wp-block-button__link, .wpcf7-submit, .comment-form .submit, .search-submit {
	display: inline-block; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 999px;
	font: 600 13px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; padding: 15px 28px; cursor: pointer;
}
.btn:hover, .wpcf7-submit:hover, .search-submit:hover { background: transparent; color: var(--ink); }
.link { font-style: italic; color: var(--ink); border-bottom: 1px solid var(--sun); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(245,240,230,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.admin-bar .site-header { top: 32px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.logo { font: italic 400 26px var(--display); color: var(--ink); }
.site-nav ul, .footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.site-nav a { font: 600 12px var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.site-nav a:hover, .site-nav a.active { color: var(--sun); }
.nav-toggle { display: none; font-size: 26px; cursor: pointer; }

/* Hero */
.hero { padding: 90px 0 110px; border-bottom: 1px solid var(--rule); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero-title { font-size: clamp(64px, 10vw, 110px); font-weight: 700; line-height: .95; letter-spacing: -.02em; margin: 0 0 28px; }
.hero-sub { font-size: 22px; font-style: italic; color: var(--ink-2); margin: 0 0 40px; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0; }
.btn-sun { background: var(--sun-2); border-color: var(--sun-2); color: var(--ink); }
.btn-sun:hover { background: transparent; border-color: var(--sun); color: var(--sun); }
.hero-sun { position: relative; margin: 0; min-height: 420px; display: flex; flex-direction: column; justify-content: center; padding-left: 40px; }
.sun {
	position: absolute; right: -60px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%); border-radius: 50%;
	background: radial-gradient(circle at 40% 38%, var(--sun-2), var(--sun) 55%, #9c6619 100%);
	box-shadow: 0 0 0 18px rgba(192,134,42,.10), 0 0 0 46px rgba(192,134,42,.06), 0 0 0 82px rgba(192,134,42,.035);
}
.hero-sun blockquote { position: relative; margin: 0; font: italic 300 30px/1.35 var(--display); color: var(--ink); }
.hero-sun blockquote.uzun { font-size: 19px; line-height: 1.45; }
.hero-sun figcaption { position: relative; margin-top: 18px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.hero-sun figcaption::before { content: "— "; }

/* Sections */
.front > * { margin: 0; }
.sec { padding: 110px 24px; }
.sec > * { max-width: 1112px; margin-left: auto; margin-right: auto; }
.sec h2 { font-size: clamp(38px, 5vw, 60px); }

.about .wp-block-columns { gap: 60px; }
.about h2 { font-size: clamp(32px, 3.6vw, 46px); }
.about .lead { font-size: 21px; line-height: 1.75; margin: 0; }

/* Books */
.books { background: radial-gradient(ellipse at 50% 0%, var(--night-2), var(--night) 65%); color: #d9d3c6; }
/* Şiir bölümü: üst kenarı Kitaplar'ın alt rengiyle aynı, geçiş görünmesin */
.books.poems { background: radial-gradient(ellipse 65% 42% at 50% 50%, var(--night-2), var(--night)); }
.books h2, .books h3 { color: #f5f0e6; }
.books .kicker { color: var(--sun-2); }
.books h3 em, .books h2 em { color: var(--sun-2); }
.book { gap: 80px; margin: 80px auto 0; }
.book.flip { flex-direction: row-reverse; }
.book h3 { font-size: 40px; }
.book p { font-size: 17px; }
.cover { position: relative; display: block; max-width: 300px; margin: 0 auto; transform: perspective(1400px) rotateY(-10deg); transition: transform .5s ease; }
.flip .cover { transform: perspective(1400px) rotateY(10deg); }
.cover img { display: block; width: 100%; border-radius: 2px 5px 5px 2px; box-shadow: 0 40px 60px -25px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.07); }
.cover::before {
	content: ""; position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: 14px; border-radius: 2px 0 0 2px;
	background: linear-gradient(90deg, rgba(255,255,255,.28), rgba(0,0,0,.25) 45%, transparent);
}
.cover:hover, .flip .cover:hover { transform: perspective(1400px) rotateY(0); }
.poems { padding-top: 40px; }
.book > .wp-block-column:has(.cover) { align-self: flex-start; position: sticky; top: 120px; }
.shelf { gap: 50px; margin-top: 60px; }
.shelf .cover { width: fit-content; height: 330px; margin-bottom: 36px; transform: none; }
.shelf .cover img { height: 100%; width: auto; }
.shelf h3 { font-size: 24px; text-align: center; }
.poem { font: italic 300 20px/1.6 var(--display); color: #f0e9da; text-align: center; margin: 0 0 20px; }
.note { font-size: 15px; text-align: center; color: #a9a291; }

/* Journal */
.journal .wp-block-query { margin-top: 50px; }
.journal .wp-block-post-template { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; border-top: 1px solid var(--ink); }
.journal .wp-block-post { padding: 30px 0; border-bottom: 1px solid var(--rule); }
.journal .wp-block-post-date { font: 600 12px var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--sun); margin-bottom: 10px; }
.journal .wp-block-post-title { font-size: 28px; margin: 0 0 10px; }
.journal .wp-block-post-title a { color: var(--ink); }
.journal .wp-block-post-title a:hover { color: var(--sun); }
.journal .wp-block-post-excerpt p { margin: 0; font-size: 16px; color: var(--ink-2); }
.wp-block-post-excerpt__more-link { display: inline-block; margin-top: 8px; font-style: italic; color: var(--sun); }
.all-posts { margin-top: 40px !important; text-align: right; font-style: italic; }
.all-posts a { color: var(--ink); border-bottom: 1px solid var(--sun); }

/* Contact */
.contact { background: var(--ink); color: #cfc8b9; }
.contact h2 { color: var(--paper); }
.contact h2 em { color: var(--sun-2); }
.contact .kicker { color: var(--sun-2); }
.contact .wp-block-columns { gap: 60px; }
.wpcf7 .row { display: flex; flex-wrap: wrap; gap: 0 30px; }
.wpcf7 .col-sm-6 { flex: 1 1 200px; }
.wpcf7 .col-sm-12 { flex: 1 1 100%; }
.wpcf7 label { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #a9a291; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 textarea {
	width: 100%; background: transparent; border: 0; border-bottom: 1px solid #57514a; color: var(--paper); font: 19px var(--text); padding: 10px 0; margin-top: 4px;
}
.wpcf7 textarea { height: 140px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-bottom-color: var(--sun-2); }
.contact .wpcf7-submit { background: var(--sun-2); border-color: var(--sun-2); color: var(--ink); }
.contact .wpcf7-submit:hover { background: transparent; color: var(--sun-2); }
.wpcf7-turnstile { margin: 10px 0 20px; }

/* Inner pages */
.title-bar { border-bottom: 1px solid var(--rule); padding: 70px 0 40px; }
.title-bar h1 { font-size: clamp(36px, 5vw, 56px); margin: 18px 0 0; }
.crumbs { order: -1; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.crumbs a { color: var(--sun); }
.crumbs span { display: none; }
.title-bar .wrap { display: flex; flex-direction: column; }
.layout { display: grid; grid-template-columns: 1fr 260px; gap: 60px; padding-top: 50px; padding-bottom: 90px; }
.page .layout { grid-template-columns: 1fr; max-width: 808px; }
.page .sidebar { display: none; }
.single .entry > .entry-title, .page .entry > .entry-title { display: none; }
.entry { margin-bottom: 50px; }
.entry .entry-title { font-size: 32px; }
.entry .entry-title a { color: var(--ink); }
.meta { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 20px; }
.entry-content { font-size: 19px; line-height: 1.8; }
.share { display: flex; gap: 18px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.share a { font-size: 13px; font-style: italic; color: var(--ink-2); border-bottom: 1px solid var(--rule); }
.share a:hover { color: var(--sun); border-color: var(--sun); }
.sidebar > div { margin-bottom: 40px; }
.sidebar h2 { font: 600 12px var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--sun); }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { font-size: 16px; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.sidebar li a { color: var(--ink); }
.search-form { display: flex; gap: 8px; }
.search-field, .comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
	width: 100%; background: #fffdf8; border: 1px solid var(--rule); border-radius: 4px; padding: 10px 12px; font: inherit; font-size: 16px;
}
.comments { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--ink); }
.comments h3 { font-size: 30px; }
.comment-list { padding-left: 0; list-style: none; }
.comment-list li { margin-bottom: 26px; }
.comment-list .avatar { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-meta { font-size: 13px; color: var(--ink-2); }
.comment-content { font-size: 17px; }
.nav-links { display: flex; gap: 12px; }

/* Footer */
.site-footer { background: var(--ink); color: #8d8679; border-top: 1px solid #36322c; font-size: 13px; padding: 26px 0; }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-nav ul { gap: 10px 22px; flex-wrap: wrap; }
.site-footer a { color: #cfc8b9; }

/* Mobile */
@media (max-width: 900px) {
	.hero { padding: 60px 0 80px; }
	.hero-grid { grid-template-columns: 1fr; }
	.hero-sun { min-height: 300px; padding-left: 0; }
	.sun { width: 300px; height: 300px; right: -90px; }
	.hero-sun blockquote { font-size: 24px; }
	.sec { padding: 80px 24px; }
	.book, .book.flip { flex-direction: column; gap: 40px; }
	.cover, .flip .cover { transform: none; max-width: 240px; }
	.book > .wp-block-column:has(.cover) { position: static; align-self: auto; }
	.shelf .cover { height: 300px; max-width: none; }
	.journal .wp-block-post-template { grid-template-columns: 1fr; }
	.layout { grid-template-columns: 1fr; }
	.nav-toggle { display: block; }
	.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); padding: 16px 24px; border-bottom: 1px solid var(--rule); }
	#nav-toggle:checked ~ .site-nav { display: block; }
	.site-nav ul { flex-direction: column; gap: 14px; }
}
@media (max-width: 600px) {
	body { font-size: 17px; }
	.about .lead { font-size: 18px; }
	.book h3 { font-size: 30px; }
	.journal .wp-block-post-title { font-size: 24px; }
}

/* Menüde "Bütün Yazılarım" butonu */
.site-nav .menu-btn a { border: 1px solid var(--ink); border-radius: 999px; padding: 8px 16px; color: var(--ink); }
.site-nav .menu-btn a:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 900px) { .site-nav .menu-btn a { display: inline-block; } }

/* ── Hareket: kâğıda mürekkep, ufukta güneş ─────────────────────────── */
@keyframes abo-yukari { from { opacity: 0; transform: translateY(18px); } }
@keyframes abo-dogus { from { opacity: 0; transform: translateY(calc(-50% + 90px)) scale(.9); } }
@keyframes abo-nefes {
	0%, 100% { box-shadow: 0 0 0 18px rgba(192,134,42,.10), 0 0 0 46px rgba(192,134,42,.06), 0 0 0 82px rgba(192,134,42,.035); }
	50% { box-shadow: 0 0 0 24px rgba(192,134,42,.12), 0 0 0 58px rgba(192,134,42,.065), 0 0 0 100px rgba(192,134,42,.03); }
}
@keyframes abo-don { to { transform: rotate(360deg); } }
/* Şiir dizeleri soldan sağa, kalemle yazılır gibi belirir. */
@keyframes abo-yaz { from { clip-path: inset(0 100% 0 0); opacity: .3; } to { clip-path: inset(0 0 0 0); opacity: 1; } }

.hero-text > * { animation: abo-yukari .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-title { animation-delay: .1s; }
.hero-title em { display: inline-block; animation: abo-yukari .9s .35s cubic-bezier(.2,.7,.2,1) both; }
.hero-sub { animation-delay: .5s; }
.hero-links { animation-delay: .65s; }
.sun { animation: abo-dogus 1.8s cubic-bezier(.2,.7,.2,1) both, abo-nefes 7s 1.8s ease-in-out infinite; }
/* Güneşin çevresinde çok yavaş dönen ince ışınlar */
.sun::after {
	content: ""; position: absolute; inset: -70px; border-radius: 50%; opacity: .5;
	background: repeating-conic-gradient(from 0deg, rgba(192,134,42,.22) 0 1deg, transparent 1deg 15deg);
	-webkit-mask: radial-gradient(closest-side, transparent 72%, #000 78%, transparent 100%);
	mask: radial-gradient(closest-side, transparent 72%, #000 78%, transparent 100%);
	animation: abo-don 120s linear infinite;
}
.hero-sun blockquote span { display: block; animation: abo-yaz 1.1s calc(.9s + var(--i) * .32s) cubic-bezier(.45,.05,.3,1) both; }
.hero-sun figcaption { animation: abo-yukari .8s calc(1.3s + var(--i) * .32s) ease both; }
/* Uzun şiirlerde dizeler daha sık gelir, bekletmesin. */
.hero-sun blockquote.uzun span { animation-delay: calc(.9s + var(--i) * .16s); }
.hero-sun .uzun + figcaption { animation-delay: calc(1.3s + var(--i) * .16s); }

/* Bölümler ekrana girince belirir (JS .reveal / .on ekler) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.on { opacity: 1; transform: none; }
/* Başlıklardaki vurgulu sözcüğün altına mürekkep çizgisi çekilir */
.sec h2 em { background: linear-gradient(currentColor, currentColor) no-repeat 0 96% / 0 2px; transition: background-size 1.1s .5s cubic-bezier(.65,0,.35,1); }
.sec h2.on em, .sec h2:not(.reveal) em { background-size: 100% 2px; }
/* Kitap kapakları sayfası çevrilir gibi yerine oturur */
.book.reveal .cover, .shelf .reveal .cover { transform: perspective(1400px) rotateY(-38deg) translateX(-20px); }
.book.flip.reveal .cover { transform: perspective(1400px) rotateY(38deg) translateX(20px); }
.book.on .cover { transform: perspective(1400px) rotateY(-10deg); }
.book.flip.on .cover { transform: perspective(1400px) rotateY(10deg); }
.shelf .on .cover { transform: none; }
.cover { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.book.on .cover:hover, .shelf .on .cover:hover { transform: perspective(1400px) rotateY(0) translateY(-6px); transition-duration: .5s; }

/* Yazılarda okuma çizgisi */
.okuma { position: fixed; left: 0; top: 0; z-index: 100; height: 3px; width: 100%; background: var(--sun); transform: scaleX(0); transform-origin: 0 50%; }
.admin-bar .okuma { top: 32px; }

/* Başa dön oku */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; box-shadow: 0 6px 18px rgba(30,28,25,.18); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s, background .2s, color .2s; }
.to-top.on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover, .to-top:focus-visible { background: var(--ink); color: var(--sun-2); }
.to-top:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }

@media (max-width: 900px) {
	.book.reveal .cover, .book.flip.reveal .cover { transform: perspective(1400px) rotateY(-30deg); }
	.book.on .cover, .book.flip.on .cover { transform: none; }
}
@media (max-width: 782px) { .admin-bar .okuma { top: 46px; } }
@media (prefers-reduced-motion: reduce) {
	.hero-text > *, .hero-title em, .sun, .sun::after, .hero-sun blockquote span, .hero-sun figcaption { animation: none; }
	.cover, .to-top { transition: none; }
}

/* Telefonda sütunlar alt alta (WordPress'in kendi kuralı bu sayfaya yüklenmediği için burada). */
@media (max-width: 781px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile) { flex-wrap: wrap !important; }
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 100% !important; }
}
html, body { overflow-x: clip; }

/* ── Arka planda belli belirsiz hareket: akan mürekkep, yağmur, kelebek ── */
.hero, .sec { position: relative; isolation: isolate; }
.hero > .wrap, .sec > * { position: relative; z-index: 1; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url(images/cimen.svg) center bottom / 1200px 300px repeat-x; opacity: .9; }
/* Kitap bölümleri Ankara'nın o anki havasına göre (body: hava-yagmur / kar / gece / gunduz / bulutlu) */
.books, .journal { overflow: clip; }
.books::before, .books::after { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 0; pointer-events: none; }
/* Yağmur: iki katman, farklı hız */
.hava-yagmur .books::before { top: -160px; background: url(images/yagmur.svg) repeat; opacity: .32; animation: abo-yagmur 2.2s linear infinite; }
.hava-yagmur .books::after { top: -240px; background: url(images/yagmur.svg) 0 0 / 240px repeat; opacity: .18; animation: abo-yagmur-2 4s linear infinite; }
@keyframes abo-yagmur { to { transform: translateY(160px); } }
@keyframes abo-yagmur-2 { to { transform: translateY(240px); } }
/* Kar: yavaş, hafifçe salınarak */
.hava-kar .books::before, .hava-kar .books::after { display: none; }
/* Açık gece: göz kırpan yıldızlar, arada bir kayan yıldız */
.hava-gece .books::before { background: url(images/yildiz3.svg) 0 0 / 320px repeat, url(images/yildiz3.svg) 137px 89px / 451px repeat; opacity: .7; }
/* Açık gündüz: yavaşça yükselen ışık zerreleri ve hafif ışık hüzmeleri */
.hava-gunduz .books::before { bottom: -260px; background: url(images/zerre.svg) repeat; opacity: .6; animation: abo-zerre 26s linear infinite; }
.hava-gunduz .books::after { background: repeating-linear-gradient(115deg, transparent 0 140px, rgba(227,176,75,.045) 140px 230px, transparent 230px 420px); animation: abo-huzme 9s ease-in-out infinite alternate; }
@keyframes abo-zerre { 50% { transform: translate(12px, -130px); } 100% { transform: translate(0, -260px); } }
@keyframes abo-huzme { from { opacity: .4; } to { opacity: 1; } }
/* Bulutlu: yavaş geçen silik bulutlar */
.hava-bulutlu .books::before { right: -900px; background: url(images/bulut-cizgi2.svg) 0 0 / 900px 420px repeat; opacity: .5; animation: abo-bulut 140s linear infinite; }
.hava-bulutlu .books::after { display: none; }
@keyframes abo-bulut { to { transform: translateX(-900px); } }
/* Son yazılar (krem zemin): aynı hava, koyu tonlu sürümler */
.journal::before, .journal::after { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 0; pointer-events: none; }
.hava-yagmur .journal::before { top: -160px; background: url(images/yagmur-koyu.svg) repeat; opacity: .28; animation: abo-yagmur 2.2s linear infinite; }
.hava-yagmur .journal::after { top: -240px; background: url(images/yagmur-koyu.svg) 0 0 / 240px repeat; opacity: .14; animation: abo-yagmur-2 4s linear infinite; }
.hava-kar .journal::before, .hava-kar .journal::after { display: none; }
.hava-gece .journal::before { background: url(images/yildiz3-koyu.svg) 0 0 / 320px repeat, url(images/yildiz3-koyu.svg) 137px 89px / 451px repeat; opacity: .55; }
.hava-gunduz .journal::before { bottom: -260px; background: url(images/zerre.svg) repeat; opacity: .7; animation: abo-zerre 26s linear infinite; }
.hava-gunduz .journal::after { background: repeating-linear-gradient(115deg, transparent 0 140px, rgba(227,176,75,.07) 140px 230px, transparent 230px 420px); animation: abo-huzme 9s ease-in-out infinite alternate; }
.hava-bulutlu .journal::before { right: -900px; background: url(images/bulut-cizgi2-koyu.svg) 0 0 / 900px 420px repeat; opacity: .45; animation: abo-bulut 140s linear infinite; }
.hava-bulutlu .journal::after { display: none; }

.kelebek { position: absolute; left: 0; top: 0; z-index: 2; width: 22px; color: var(--sun); opacity: .55; pointer-events: none; offset-rotate: auto 90deg; animation: abo-ucus 28s linear infinite; }
.kelebek svg { display: block; width: 100%; animation: abo-suzul 3.4s ease-in-out infinite; }
.kelebek .ks, .kelebek .kg { transform-origin: 12px 10px; animation: abo-kanat .22s ease-in-out infinite alternate; }
.kelebek .kg { animation-name: abo-kanat-2; }
.kelebek.k2 { width: 16px; color: var(--ink); opacity: .35; animation-duration: 36s; animation-delay: -14s; }
.kelebek.k3 { width: 18px; opacity: .45; animation-duration: 32s; animation-delay: -6s; }
@keyframes abo-ucus { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes abo-suzul { 50% { transform: translateY(-6px) rotate(6deg); } }
@keyframes abo-kanat { to { transform: scaleX(.3); } }
@keyframes abo-kanat-2 { to { transform: scaleX(.3); } }
.hero .k1 { offset-path: path("M -60 460 C 180 330 360 560 600 380 S 980 140 1400 300"); }
.hero .k2 { offset-path: path("M 1400 140 C 1100 240 900 40 640 170 S 220 300 -60 150"); }
.journal .k3 { offset-path: path("M -60 260 C 260 120 520 420 820 220 S 1200 120 1500 300"); }

@media (prefers-reduced-motion: reduce) {
	.kelebek, .books::after, .journal::after { display: none; }
	.books::before, .journal::before { animation: none !important; }
}

/* Açık gece: rastgele yerde parlayan yıldızlar ve kayan yıldızlar (JS yerleştirir) */
.gok { position: absolute; inset: 0; max-width: none; margin: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.parilti { position: absolute; width: var(--b, 10px); color: #f3dca0; opacity: 0; transform: rotate(var(--a, 0deg)) scale(.3, .3); animation: abo-parilti var(--s, 8s) var(--g, 0s) ease-in-out infinite; }
.parilti svg { display: block; width: 100%; }
.journal .parilti { color: #a8741f; }
@keyframes abo-parilti {
	0%, 100% { opacity: 0; transform: rotate(var(--a)) scale(.3, .3); }
	8% { opacity: 1; transform: rotate(calc(var(--a) + 18deg)) scale(1, var(--y, 1)); }
	14% { opacity: .55; transform: rotate(calc(var(--a) + 28deg)) scale(.7, calc(var(--y, 1) * .7)); }
	24% { opacity: 0; transform: rotate(calc(var(--a) + 40deg)) scale(.3, .3); }
}
.kayan { position: absolute; height: 1px; width: var(--u, 140px); background: linear-gradient(90deg, rgba(245,240,230,.9), rgba(245,240,230,0)); transform-origin: 100% 50%; transform: rotate(var(--a)); opacity: 0; animation: abo-kayan var(--s, 1.4s) ease-out forwards; }
.journal .kayan { background: linear-gradient(90deg, rgba(168,116,31,.75), rgba(168,116,31,0)); }
.kayan::before { content: ""; position: absolute; left: -1.5px; top: -1.5px; width: 4px; height: 4px; border-radius: 50%; background: #fffaf0; box-shadow: 0 0 6px 2px rgba(255,240,200,.6); }
.journal .kayan::before { background: #c0862a; box-shadow: 0 0 5px 1px rgba(192,134,42,.45); }
@keyframes abo-kayan { 0% { opacity: 0; transform: rotate(var(--a)) translateX(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateX(-380px); } }
@media (prefers-reduced-motion: reduce) { .gok { display: none; } }

/* Kar: her tane kendi hızında düşer, kendi salınır ve döner (JS yerleştirir) */
.kar { position: absolute; top: 0; left: var(--x); width: var(--b); color: #f5f0e6; opacity: var(--o); animation: abo-dus var(--s) linear var(--g) infinite; }
.journal .kar { color: #7f93ab; }
.gok-ortak { bottom: auto; z-index: 2; mix-blend-mode: difference; }
.kar > span { display: block; animation: abo-salin var(--w) ease-in-out var(--g2) infinite alternate; }
.kar svg { display: block; width: 100%; }
@keyframes abo-dus { from { transform: translateY(-30px); } to { transform: translateY(var(--h)); } }
@keyframes abo-salin { from { transform: translateX(calc(var(--m) * -1)) rotate(var(--d1)); } to { transform: translateX(var(--m)) rotate(var(--d2)); } }

/* Gönderirken: buton pasif, yanında belirgin dönen halka (koyu ve açık zeminde görünür) */
.wpcf7-form.submitting .wpcf7-submit, .comment-form.gonderiliyor .submit { opacity: .45; pointer-events: none; cursor: progress; }
.wpcf7-spinner, .gonder-spin { display: inline-block; width: 22px; height: 22px; margin: 0 0 0 14px; vertical-align: middle; background: none !important; border: 2.5px solid var(--ink); border-right-color: transparent; border-radius: 50%; opacity: 1; animation: abo-don .7s linear infinite; }
.wpcf7-spinner::before { display: none !important; }
.contact .wpcf7-spinner { border-color: var(--sun-2); border-right-color: transparent; }