/* ============================================================
   VELORA — "Bulut Beyazı" Kurumsal Tema
   Layout: Tailwind CDN (utility-first)
   Bu dosya yalnızca Tailwind'in karşılayamadığı ince ayarları tutar.
   ============================================================ */

:root {
  --brand: #1e40af;
  --ink: #0f172a;
}

html { scroll-behavior: smooth; }

body { text-rendering: optimizeLegibility; }

::selection { background: var(--ink); color: #fff; }

/* İnce kurumsal grid dokusu (hero arka planı) */
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}

/* Scroll reveal mikro-animasyonu */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Sticky header scroll'da hafif gölge */
#siteHeader.scrolled { box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06); }

/* Form odak halkaları */
input:focus-visible, textarea:focus-visible {
  outline: 2px solid rgba(30, 64, 175, 0.35);
  outline-offset: 1px;
}
