/* dnsara.site — yumuşatma katmanı (renklere dokunmaz; sadece geçiş, odak, gölge ve köşe inceltmeleri) */

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
::selection { background: rgba(180, 83, 9, .18); }

/* ince, sade kaydırma çubuğu (sitenin mevcut kenarlık rengiyle) */
* { scrollbar-width: thin; scrollbar-color: var(--border2, #d6c9b8) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: var(--border2, #d6c9b8); border-radius: 999px; border: 2px solid transparent; background-clip: content-box; }
*::-webkit-scrollbar-thumb:hover { background: var(--dim, #a8a29e); background-clip: content-box; border: 2px solid transparent; }

/* yumuşak geçişler */
a, button, input, select, textarea, summary {
  transition-property: background-color, border-color, color, box-shadow, opacity, transform;
  transition-duration: .18s;
  transition-timing-function: ease;
}
a, button { -webkit-tap-highlight-color: transparent; }
a { text-underline-offset: 3px; }

/* tıklama geri bildirimi */
button:not(:disabled):active,
.search-btn:active, .review-submit:active { transform: scale(.98); }
button:disabled { cursor: not-allowed; }

/* klavye ile gezinirken görünür, yumuşak odak halkası */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid rgba(180, 83, 9, .45);
  outline-offset: 2px;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent, #b45309);
  box-shadow: 0 0 0 3px rgba(180, 83, 9, .12);
}

/* köşeler biraz daha yumuşak */
.search-input, .search-btn, .review-input, .review-submit { border-radius: 8px; }
textarea { resize: vertical; }

/* kartlar: çok hafif, sıcak tonlu gölge + üzerine gelince hafif yükselme */
[class*="card"]:not([class*="grid"]):not([class*="cards"]):not([class*="-wrap"]) {
  box-shadow: 0 1px 2px rgba(60, 40, 20, .04), 0 6px 18px rgba(60, 40, 20, .04);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
a[class*="card"]:hover, [class*="tool-card"]:hover, [class*="card"][onclick]:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(60, 40, 20, .05), 0 12px 28px rgba(60, 40, 20, .08);
}

/* sayfa açılışında yumuşak belirme (sadece opaklık; menü ve açılır kutuları etkilemez) */
@keyframes sn-fade { from { opacity: 0; } to { opacity: 1; } }
body > *:not(.sn-nav):not(script):not(style):not(link) { animation: sn-fade .28s ease both; }

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