/* style.css - Custom Styles für Social Visuals */

/* Scroll-Verhalten für sanftes Scrollen zu den Ankern */
html {
  scroll-behavior: smooth;
  /* Verhindert horizontales Scrollen auf Mobile */
  overflow-x: hidden;
}

body {
  /* Setzt den dunklen Hintergrund transparent durch Tailwind, aber hier als Fallback */
  background-color: #0a0a0a;
  color: #fafafa;
  overflow-x: hidden;
}

/* Custom Scrollbar für modernen Look */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: #262626;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a855f7;
}

/* 
  Basis-Animations-Klassen für Initiale CSS Keyframes.
  Später nutzen wir IntersectionObserver in script.js,
  aber für Hero ist reines CSS am besten.
*/
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUpAnim 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUpAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Delay-Klassen für gestaffelte Animation (Stagger) */
.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-300 {
  animation-delay: 300ms;
}

/* Für den Intersection Observer später */
.scroll-hidden {
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-shown {
  opacity: 1;
  transform: translateY(0);
}


/* Ripple / Water Wave Animation for Central Node */
@keyframes rippleWave {
  0% {
    transform: scale(0.8);
    opacity: 0.6;
  }

  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

.animate-ripple {
  animation: rippleWave 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.animation-delay-1000 {
  animation-delay: 1000ms;
}

.animation-delay-2000 {
  animation-delay: 2000ms;
}