/* ======================================================================
   gorus-yazin.css — /gorus-yazin "Panoya bir not iliştirin" (2026-11-30)
   gorusler.css'in ÜSTÜNE biner: kurdele (.gp-kurdele), dokulu pano
   (.gp-pano), başlık (.gp-bas) ve not (.gp-not) oradan gelir. Buradaki
   her şey .gn- önekli.

   DÜZEN: form, panoya bantlanmış çizgili bir kağıttır; not gövdesi çizgili
   alana yazılır, altındaki satırlar imzadır. Yanında "panoda böyle
   görünecek" önizleme notu yazdıkça dolar (JS yoksa örnek hali durur).
   Kağıt bir nesnedir: koyu temada da açık zemin + siyah yazı kalır
   (gorusler.css'teki notlarla aynı kural). Pano üstündeki düz metin
   açık temada tam siyah, koyu temada tam beyaz.
   Tema tuzakları: style.css "button { width:100% }" ve form alanlarına
   koyu temada verdiği renkler; alan stilleri bu yüzden açık yazıldı.
   ====================================================================== */

/* Tema body'ye overflow:hidden verir; yapışık önizleme tutmaz. Deneyim ve
   dosya indirme sayfalarındaki çözümün aynısı. */
body.gn-govde { overflow: visible; overflow-x: clip; }

.gn-duzen { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: 56px; align-items: start; }

/* ---------- Kağıt (form) ---------- */
.gn-kagit {
    --gn-murekkep: #503b4b;
    position: relative; margin: 0; padding: 44px 40px 34px; border-radius: 3px;
    background: #fffdf8; color: #000;
    transform: rotate(-.45deg);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .08), 0 26px 42px -22px rgba(0, 0, 0, .46);
}
.gn-kagit::after {
    content: ""; position: absolute; z-index: -1; right: 14px; bottom: 10px; width: 44%; height: 20px;
    box-shadow: 0 16px 16px rgba(0, 0, 0, .22); transform: rotate(2.4deg);
}
.gn-kagit .gp-bant { width: 128px; height: 30px; margin-left: -64px; top: -14px; transform: rotate(-1.6deg); }

.gn-etiket, .gn-kagit label, .gn-kagit legend {
    display: block; margin: 0 0 4px; padding: 0; width: auto; float: none; border: 0;
    font-size: 11.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; line-height: 1.4;
    color: var(--gn-murekkep);
}
.gn-kagit label small, .gn-kagit legend small {
    margin-left: 6px; font-size: 11.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #000;
}
.gn-kagit label b { font-weight: 800; }

/* not gövdesi: çizgili alan */
.gn-kagit textarea.gn-yazi,
body.active-dark-mode .gn-kagit textarea.gn-yazi {
    display: block; width: 100%; min-height: 194px; height: auto; margin: 6px 0 0; padding: 0 2px;
    font: inherit; font-size: 17.5px; font-weight: 500; line-height: 32px; color: #000;
    border: 0; border-radius: 0; box-shadow: none; resize: vertical;
    background-color: transparent;
    background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, rgba(80, 59, 75, .2) 31px, rgba(80, 59, 75, .2) 32px);
    background-attachment: local;
}
.gn-kagit textarea.gn-yazi::placeholder { color: #6f6470; opacity: 1; font-weight: 400; }
.gn-kagit textarea.gn-yazi:focus { outline: none; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, rgba(80, 59, 75, .5) 31px, rgba(80, 59, 75, .5) 32px); }
.gn-ipucu { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 12.5px; color: #000; }
.gn-ipucu span:last-child { font-variant-numeric: tabular-nums; }

/* imza satırları: alt çizgili alanlar */
.gn-satir { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.gn-alan { margin-top: 22px; min-width: 0; }
.gn-kagit input[type=text], .gn-kagit input[type=email], .gn-kagit input[type=url], .gn-kagit input[type=tel],
body.active-dark-mode .gn-kagit input[type=text], body.active-dark-mode .gn-kagit input[type=email],
body.active-dark-mode .gn-kagit input[type=url], body.active-dark-mode .gn-kagit input[type=tel] {
    display: block; width: 100%; height: 42px; padding: 0 2px;
    font: inherit; font-size: 16.5px; font-weight: 600; line-height: 1.3; color: #000;
    background: transparent; border: 0; border-bottom: 2px solid #000; border-radius: 0; box-shadow: none;
}
.gn-kagit input::placeholder { color: #6f6470; opacity: 1; font-weight: 400; }
.gn-kagit input[type=text]:focus, .gn-kagit input[type=email]:focus, .gn-kagit input[type=url]:focus, .gn-kagit input[type=tel]:focus {
    outline: none; border-bottom-color: var(--gn-murekkep); box-shadow: 0 2px 0 0 var(--gn-murekkep);
}

/* yalnız bende kalanlar */
.gn-ozel {
    margin: 30px 0 0; padding: 18px 20px 20px; min-width: 0;
    border: 1px dashed rgba(80, 59, 75, .42); border-radius: 10px; background: rgba(80, 59, 75, .055);
}
.gn-ozel legend { display: inline-flex; align-items: center; gap: 8px; padding: 0 8px; margin: 0 0 0 -8px; }
.gn-ozel legend i { font-size: 12px; }
.gn-ozel .gn-alan { margin-top: 12px; }
.gn-secim { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.gn-secim label {
    display: inline-flex; align-items: center; margin: 0; cursor: pointer;
    font-size: 13.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #000;
}
.gn-secim input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gn-secim span {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, .3); background: transparent; color: #000;
    transition: background .15s, border-color .15s, color .15s;
}
.gn-secim input:checked + span { background: var(--gn-murekkep); border-color: var(--gn-murekkep); color: #fff; }
.gn-secim input:focus-visible + span { outline: 2px solid var(--gn-murekkep); outline-offset: 2px; }

.gn-gonder { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.gn-dugme, a.gn-dugme {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: auto;
    height: 52px; padding: 0 30px; border-radius: 999px;
    font: inherit; font-size: 16px; font-weight: 800; line-height: 1; text-decoration: none;
    color: #fff; background: #503b4b; border: 1px solid #503b4b; cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}
.gn-dugme:hover, a.gn-dugme:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(46, 34, 48, .7); }
.gn-dugme:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
.gn-dugme i { transition: transform .2s; }
.gn-dugme:hover i { transform: translateX(4px); }
a.gn-dugme.gn-dugme-hat { color: #000; background: transparent; border-color: rgba(0, 0, 0, .35); }
a.gn-dugme.gn-dugme-hat:hover { color: #000; }
.gn-gonder-not { font-size: 13.5px; line-height: 1.5; color: #000; }
.gn-hata { margin: 0 0 22px; padding: 12px 16px; border-radius: 10px; font-size: 14.5px; font-weight: 700; background: #fbe3df; color: #8a1c1c; }
.gn-hata i { margin-right: 8px; }

/* ---------- Yan: önizleme + adımlar ---------- */
.gn-yan { position: sticky; top: 104px; }
.gn-yan .gp-etiket { margin-bottom: 26px; }
.gn-onizleme { display: block; margin-bottom: 34px; }
.gn-onizleme blockquote { overflow-wrap: anywhere; white-space: pre-line; }
.gn-onizleme blockquote.bos, .gn-onizleme .bos { opacity: .55; font-style: italic; }
.gn-onizleme [hidden] { display: none !important; }
.gn-damga {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px 4px;
    border: 2px solid var(--vurgu); border-radius: 6px; color: var(--vurgu);
    font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; line-height: 1;
    transform: rotate(-4deg); opacity: .9;
}
.gn-damga.gn-yeni { animation: gnDamga .45s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes gnDamga { from { transform: rotate(-16deg) scale(1.9); opacity: 0; } to { transform: rotate(-4deg) scale(1); opacity: .9; } }

.gn-adimlar { list-style: none; margin: 0 0 22px; padding: 0; counter-reset: gn; }
.gn-adimlar li {
    position: relative; margin: 0; padding: 0 0 16px 46px; counter-increment: gn;
    font-size: 14.5px; line-height: 1.55; color: #000;
}
.gn-adimlar li::before {
    content: counter(gn); position: absolute; left: 0; top: -2px;
    display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
    font-size: 13.5px; font-weight: 900; color: #fff; background: #503b4b;
}
.gn-adimlar li::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: rgba(80, 59, 75, .28); }
.gn-adimlar li:last-child { padding-bottom: 0; }
.gn-adimlar li:last-child::after { content: none; }
.gn-adimlar b { display: block; font-size: 15.5px; font-weight: 800; color: #000; }
.gn-pano-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: #503b4b; text-decoration: none; }
.gn-pano-link:hover { color: #503b4b; text-decoration: underline; text-underline-offset: 4px; }
.gn-pano-link i { transition: transform .2s; }
.gn-pano-link:hover i { transform: translateX(4px); }
body.active-dark-mode .gn-adimlar li, body.active-dark-mode .gn-adimlar b { color: #fff; }
body.active-dark-mode .gn-adimlar li::before { background: #c9a3bd; color: #000; }
body.active-dark-mode .gn-adimlar li::after { background: rgba(201, 163, 189, .35); }
body.active-dark-mode .gn-pano-link, body.active-dark-mode .gn-pano-link:hover { color: #c9a3bd; }

/* ---------- Teşekkür notu ---------- */
.gn-tesekkur {
    position: relative; max-width: 560px; margin: 16px auto 0; padding: 50px 40px 38px; text-align: center; border-radius: 3px;
    background: #fffdf8; color: #000; transform: rotate(-1deg);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .08), 0 26px 42px -22px rgba(0, 0, 0, .46);
}
.gn-tesekkur .gp-raptiye { width: 22px; height: 22px; margin-left: -11px; top: -11px; }
.gn-tesekkur .gn-onay {
    display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 50%;
    font-size: 24px; color: #fff; background: #503b4b; margin-bottom: 18px;
}
.gn-tesekkur h2 { margin: 0 0 10px; font-size: 28px; font-weight: 900; letter-spacing: -.02em; line-height: 1.2; color: #000; }
.gn-tesekkur p { margin: 0 auto; max-width: 40ch; font-size: 16px; line-height: 1.7; color: #000; }
.gn-tesekkur .gn-gonder { justify-content: center; }

/* ---------- Dar ekran ---------- */
@media (max-width: 1199px) { .gn-duzen { gap: 40px; } }
@media (max-width: 991px) {
    .gn-duzen { grid-template-columns: minmax(0, 1fr); gap: 46px; }
    .gn-yan { position: static; }
    .gn-onizleme { max-width: 420px; }
}
@media (max-width: 575px) {
    .gn-kagit { padding: 38px 22px 28px; transform: none; }
    .gn-satir { grid-template-columns: minmax(0, 1fr); }
    .gn-kagit textarea.gn-yazi { font-size: 16.5px; }
    .gn-ozel { padding: 16px 14px 18px; }
    .gn-dugme { flex: 1 1 100%; }
    .gn-tesekkur { padding: 46px 22px 30px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .gn-dugme, .gn-dugme i, .gn-pano-link i, .gn-secim span { transition: none; }
    .gn-damga.gn-yeni { animation: none; }
}
@media print { .gn-yan, .gn-gonder { display: none !important; } .gn-kagit { box-shadow: none; transform: none; } }
