/* Reset stylów */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(270deg, #003366, #0066cc, #0099cc, #004080);
  background-size: 800% 800%;
  animation: gradientMove 20s ease infinite;
  color: #fff;
  text-align: center;
  padding: 20px;
  overflow-x: hidden;
}

/* Sekcja kontenera */
.container {
  background: rgba(0, 0, 0, 0.45);
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Teksty */
h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #cce6ff;
}

.contact-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
}

.contact-box h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.contact-box p {
  margin: 6px 0;
  font-size: 1rem;
}

.contact-box a {
  color: #66ccff;
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}

/* 📱 Responsywność */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  .subtitle { font-size: 1rem; }
  .contact-box { padding: 15px; }
  .contact-box h2 { font-size: 1.3rem; }
  .contact-box p { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  body { padding: 10px; }
  .container { padding: 20px; }
  h1 { font-size: 1.8rem; }
  .subtitle { font-size: 0.95rem; }
  .contact-box h2 { font-size: 1.1rem; }
  .contact-box p { font-size: 0.9rem; }
}

/* ✨ Animacje pojawiania się */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.9s ease-out forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

/* 🌈 Animowany gradient tła */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
