/**
 * Kiyeog - Custom Styles
 * Minimal CSS for elements not covered by Tailwind
 */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f3f4f6;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #d1d5db #f3f4f6;
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Prevent body scroll when lightbox is open */
body.lightbox-open {
  overflow: hidden;
}

/* Selection color */
::selection {
  background-color: rgba(25, 96, 44, 0.2);
  color: #1f2937;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #19602c;
  outline-offset: 2px;
}

/* Image loading placeholder - only for project images */
#projekte img {
  background-color: #f3f4f6;
}
