/* GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #fff;
  background: url('img/background.jpg') no-repeat center center;
  background-size: cover;
  background-color: #0d0d0d;
  overflow-x: hidden;
}

/* LANGUAGE SWITCHER */
.lang-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  gap: 10px;
}

.lang-switcher button {
  background: rgba(0,0,0,0.6);
  border: 1px solid #b300ff;
  color: #fff;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
  transition: 0.3s;
}

.lang-switcher button:hover {
  background: #b300ff;
}

/* HERO SECTION */
.hero {
  position: relative;
  padding: 180px 20px 160px;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeIn 1.2s ease-out forwards;
  opacity: 0;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.neon {
  color: #b300ff;
  text-shadow: 0 0 8px #b300ff, 0 0 16px #b300ff;
  animation: neonPulse 3s infinite ease-in-out;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #cccccc;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-primary,
.btn-secondary {
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 1rem;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary {
  background: #b300ff;
  color: #fff;
  box-shadow: 0 0 12px #b300ff;
}

.btn-primary:hover {
  background: #d24dff;
  box-shadow: 0 0 18px #d24dff;
}

.btn-secondary {
  border: 2px solid #b300ff;
  color: #b300ff;
}

.btn-secondary:hover {
  background: #b300ff;
  color: #fff;
}

/* FOG */
.hero-fog {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 200px;
  background: url('img/fog.png') repeat-x;
  opacity: 0.6;
  animation: fogMove 40s linear infinite;
  z-index: 1;
}

/* SERVICES SECTION */
.services {
  padding: 120px 20px;
  background: rgba(0,0,0,0.75);
  position: relative;
  overflow: hidden;
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #2a2a2a;
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #b300ff;
  box-shadow: 0 0 14px #b300ff55;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

/* BATS */
.bat {
  position: absolute;
  width: 40px;
  height: 20px;
  background: url('img/bbat.png') no-repeat center/contain;
  opacity: 0.7;
  animation: fly 18s linear infinite;
}

.bat-1 { top: 40px; left: -80px; animation-delay: 0s; }
.bat-2 { top: 180px; left: -120px; animation-delay: 3s; }
.bat-3 { top: 300px; left: -100px; animation-delay: 6s; }

/* WHY SECTION */
.why {
  padding: 120px 20px;
  background: rgba(0,0,0,0.85);
}

.why-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
}

.why-item h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.why-item p {
  color: #cccccc;
  line-height: 1.6;
}

/* CONTACT SECTION */
.contact {
  padding: 120px 20px;
  background: rgba(0,0,0,0.75);
}

.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #444;
  background: #111;
  color: #fff;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  background: #b300ff;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #d24dff;
}

.form-message {
  margin-top: 10px;
  font-size: 1rem;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 40px 20px;
  background: rgba(0,0,0,0.9);
  font-size: 0.9rem;
  color: #cccccc;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes neonPulse {
  0%, 100% { text-shadow: 0 0 8px #b300ff, 0 0 16px #b300ff; }
  50% { text-shadow: 0 0 14px #d24dff, 0 0 28px #d24dff; }
}

@keyframes fogMove {
  from { background-position: 0 0; }
  to { background-position: -1000px 0; }
}
@keyframes fly {
  0%   { transform: translateX(0) translateY(0) scale(1); }
  50%  { transform: translateX(120vw) translateY(-40px) scale(1.1); }
  100% { transform: translateX(0) translateY(0) scale(1); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-actions { flex-direction: column; }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
/* PERFORMANCE: Lazy start animacji */
.hero-fog,
.bat {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-fog.animate,
.bat.animate {
  opacity: 1;
}