/* ============================================================
   SEDAT GmbH – Custom Styles
   ============================================================ */

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* Navbar */
#navbar { background: transparent; }
#navbar.nav-scrolled {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a1628; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(#0ea5e9, #2dd4bf);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover { background: #38bdf8; }

/* Selection */
::selection { background: #0ea5e9; color: #fff; }

/* Subtle floating grid glow behind hero (extra flair) */
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .animate-bounce { animation: none; }
}
