/* /assets/css/styles.css – dodatkowe style do Archiwum AI Creative Challenge */

html {
  scroll-behavior: smooth;
}

body {
  background-color: #0a0a0a;
  color: #e5e7eb; /* Tailwind neutral-200 */
  font-family: 'Inter', sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* Główne nagłówki – z efektem fade-in */
h1, h2 {
  animation: fadeIn 0.6s ease-out both;
}

a {
  transition: color 0.2s ease-in-out, text-shadow 0.2s ease-in-out;
}

a:hover {
  color: #60a5fa; /* Tailwind blue-400 */
  text-shadow: 0 0 4px rgba(96, 165, 250, 0.4);
}

/* Sekcje animowane przy wejściu */
section {
  animation: fadeInUp 0.7s ease-out both;
}

/* Prosta animacja wejścia */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Przygotka pod lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.lightbox-overlay img {
  max-height: 90vh;
  max-width: 90vw;
  border-radius: 0.75rem;
  box-shadow: 0 0 32px rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease-in-out;
}

.lightbox-overlay img:hover {
  transform: scale(1.02);
  cursor: zoom-out;
}
