/* Osmaniye Çilingir - Anahtarcı Musa
   El ile yazılmış özel CSS. Tailwind CDN kalıcı animasyonlar ve özel efektler için tamamlanır. */

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, .font-display {
  letter-spacing: -0.02em;
}

::selection { background: #F59E0B; color: #0B1120; }

/* Hemen Ara pulse/ripple */
@keyframes call-ripple {
  0%   { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7), 0 0 0 0 rgba(245, 158, 11, 0.35); }
  70%  { box-shadow: 0 0 0 18px rgba(245, 158, 11, 0), 0 0 0 34px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0), 0 0 0 0 rgba(245, 158, 11, 0); }
}
.call-ripple { animation: call-ripple 1.6s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

@keyframes ring-shake {
  0%, 100% { transform: rotate(0deg); }
  10%, 30%, 50% { transform: rotate(-14deg); }
  20%, 40%, 60% { transform: rotate(14deg); }
  70% { transform: rotate(0deg); }
}
.ring-shake { display: inline-block; animation: ring-shake 1.6s ease-in-out infinite; transform-origin: 50% 20%; }

/* Bağlantı altı animasyonu */
.link-underline {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 220ms ease;
}
.link-underline:hover { background-size: 100% 2px; }

/* Grain overlay */
.grain::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
}

/* FAQ accordion */
.faq-item[open] { border-left-color: #F59E0B; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary { list-style: none; cursor: pointer; }
.faq-item summary .chev { transition: transform .25s ease; }
.faq-item[open] summary .chev { transform: rotate(180deg); }

/* Prose */
.prose p { margin-top: 1rem; color: #334155; line-height: 1.75; }
.prose a { color: #d97706; }
.prose a:hover { color: #b45309; }

/* Admin */
.admin-nav a.active { background: #F59E0B; color: #0f172a; }
