
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&display=swap');

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  color: #e0e0e0;
  background: url('../img/background.png') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 80px;
}
header, footer {
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(6px);
  position: fixed;
  left: 0; right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 24px;
}
header { top: 0; }
footer {
  position: relative;
  margin-top: auto;
  text-align: center;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  padding-bottom: 24px;
}
.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
@keyframes neonPulse {
  0%, 100% { text-shadow: 0 0 8px #00ff88, 0 0 16px #00ff88, 0 0 24px #00ff88; color: #00ff88; }
  50% { text-shadow: 0 0 4px #00ff88, 0 0 8px #00ff88; color: #66ffbb; }
}
.logo-icon {
  font-size: 40px;
  font-weight: 700;
  color: #00ff88;
  animation: neonPulse 2s infinite;
}
.logo-text {
  font-size: 28px;
  font-weight: 500;
  color: #ffffff;
  text-shadow: 0 0 6px #00ff88, 0 0 12px #00ff88;
}
nav a { color: #e0e0e0; margin: 0 10px; text-decoration: none; }
nav a:hover { color: #00ff88; }

/* Social */
.social-links, .hero-social {
  display: flex; align-items: center; justify-content: center;
}
.social-links a, .hero-social a {
  color: #00ff88; margin: 0 10px; font-size: 24px;
  text-shadow: 0 0 6px #00ff88, 0 0 12px #00ff88;
  transition: transform .2s;
}
.social-links a:hover, .hero-social a:hover { transform: scale(1.2); }

main { width: 100%; }
.hero {
  text-align: center;
  padding: 120px 20px 80px;
  background: rgba(15, 15, 15, 0.65);
  backdrop-filter: blur(6px);
  margin: 20px; border-radius: 12px;
}
.hero h2 { color: #00ff88; font-size: 32px; }
.btn {
  background: #00ff88; color: #0a0a0a;
  padding: 12px 22px; border: none; border-radius: 3px;
  margin: 6px; text-decoration: none; font-weight: bold;
  cursor: pointer; display: inline-block;
}
.btn:hover { background: #00cc66; }

.services {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
  padding: 40px 20px;
}
.service-card {
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 12px; padding: 20px; max-width: 280px; text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);
   position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* rozpycha górę i dół */
  padding-bottom: 40px; /* miejsce na cenę */
}
.service-card h3 { color: #00ff88; margin-bottom: 10px; }

.webdev-section { margin:20px; padding:40px 20px; text-align:center; }
.webdev-section h2 { color: #00ff88; margin-bottom: 20px; }

/* Page layout for subpages */
.page { margin:20px; padding:30px; text-align:center; }
.page h1 { color: #00ff88; margin-top: 0; }
.page .cards { display:flex; flex-wrap:wrap; justify-content:center; gap:20px; }
.page .cta { text-align:center; margin-top: 20px; }

/* Modal (two separate ids) */
.modal { display:none; position: fixed; inset:0; background: rgba(0,0,0,0.7); z-index: 2000; align-items: center; justify-content: center; }
.modal-content {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(15, 15, 15, 0.95);
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  color: #e0e0e0;
  box-shadow: 0 0 20px #00ff88;
}
.modal-content form { display:flex; flex-direction:column; }
.modal-content label { margin-bottom: 12px; display:flex; flex-direction:column; text-align:left; font-size:14px; color:#e0e0e0; }
.modal-content input, .modal-content textarea, .modal-content select {
  margin-top: 6px; padding: 10px; border: 1px solid #444; border-radius: 6px; background: #111; color:#e0e0e0;
}
.modal-content button { background:#00ff88; color:#0a0a0a; padding:12px 22px; border:none; border-radius:8px; font-weight:bold; cursor:pointer; margin-top:10px; }
.modal-content button:hover { background:#00cc66; }
.close { float:right; font-size:24px; cursor:pointer; }

/* Partners infinite loop */
.partners {
  background: rgba(15,15,15,0.7);
  backdrop-filter: blur(6px);
  padding: 40px 20px;
  margin: 20px;
  border-radius: 12px;
  text-align: center;
  overflow: hidden;
}
.partners h2 { color:#00ff88; margin-bottom: 20px; }
.partner-slider { overflow: hidden; }
.partner-slider .track {
  display:flex; width: fit-content; gap: 40px;
  animation: scrollLoop 20s linear infinite;
}
.slide { flex: 0 0 auto; }
.slide img {
  width: 200px; height: 120px; object-fit: cover;
  border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
@keyframes scrollLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  header { flex-wrap: wrap; gap: 10px; }
  nav { width: 100%; display: flex; justify-content: center; flex-wrap: wrap; }
  .hero { padding-top: 100px; }
}

/* Page header styling */
.page-header { margin-top: 20px; margin-bottom: 30px; text-align: center; background: rgba(15,15,15,0.65); backdrop-filter: blur(6px); padding: 16px 24px; border-radius: 10px; }
.page-header h1 {
  margin: 0;
  font-size: 36px;
  color: #00ff88;
}



#orderServiceBtn,
#orderWebBtn {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #00ff88;
  color: #0a0a0a;
  padding: 12px 22px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

#orderServiceBtn:hover,
#orderWebBtn:hover {
  background: #00cc66;
  transform: scale(1.05);
}

/* Toast notification */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}
.toast.show { opacity: 1; }
.toast.success { background: #00cc66; }
.toast.error { background: #cc0033; }

/* Futuristic button style for .btn */
.btn {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #00ff88;
  color: #0a0a0a;
  padding: 12px 22px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  display:inline-block;
  text-decoration:none;
}
.btn:hover {
  background: #00cc66;
  transform: scale(1.05);
}

button.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}
button.loading::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 2px solid #0a0a0a;
  border-top: 2px solid #00ff88;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.service-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px auto;
  max-width: 1200px;
}

.service-card {
  flex: 1 1 280px;
  max-width: 300px;
  background: rgba(15,15,15,0.65);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,255,136,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 0 25px rgba(0,255,136,0.7);
}

nav a.active {
  color: #00ff88;
  text-shadow: 0 0 6px #00ff88, 0 0 12px #00ff88;
  border-bottom: 2px solid #00ff88;
}

.contact-card {
  flex: 1 1 280px;
  max-width: 300px;
  background: rgba(20,20,20,0.9);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,255,136,0.4);
}

@keyframes neonLinkPulse {
  0%,100% { text-shadow: 0 0 6px #00ff88, 0 0 12px #00ff88, 0 0 18px #00ff88; }
  50% { text-shadow: 0 0 3px #00ff88, 0 0 6px #00ff88; }
}
nav a.active {
  color: #00ff88;
  text-shadow: 0 0 6px #00ff88, 0 0 12px #00ff88;
  border-bottom: 2px solid #00ff88;
  animation: neonLinkPulse 2s ease-in-out infinite;
}

.service-card a {
  color: #00ff88;
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}
.service-card a:hover {
  color: #66ffbb;
  text-shadow: 0 0 6px #00ff88, 0 0 12px #00ff88;
}
.input-field {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  transition: border 0.3s, background 0.3s;
}
.input-field:focus {
  outline: none;
  border-color: #00ff99;
  background: rgba(0,0,0,0.8);
}
.service-card {
  position: relative; /* żeby badge ustawiło się w środku kafelka */
}

.price-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #00ff99;
  color: #000;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 0 10px #00ff99;
  font-size: 14px;
}
.card-footer {
  margin-top: 15px;
  padding: 8px;
  text-align: center;
  background: rgba(0,255,153,0.1);
  border-top: 1px solid #00ff99;
  color: #00ff99;
  font-weight: bold;
  border-radius: 0 0 12px 12px;
}
.price {
  font-size: 18px;
  color: #fff;
  margin-top: 10px;
}
.price span {
  color: #00ff99;
  font-size: 22px;
  font-weight: bold;
  text-shadow: 0 0 8px #00ff99;
}
.service-onas {
  flex: 1 1 280px;
  max-width: 500px;
  background: rgba(15,15,15,0.65);
  padding: 20px 20px;
  border-radius: 0px 0px 0px 25px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,255,136,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-onas:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 0 25px rgba(0,255,136,0.7);
}
service-onas h3 {
    color: #00ff88;
    margin-bottom: 10px;
}\
.zdalnie {
  position: absolute;
  top: 10px;        /* zamiast bottom */
  right: 10px;
  background: #00ff99;
  color: #000;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 0 10px #00ff99;
  font-size: 14px;
}



/* PARTNERZY — slider i logotypy */
.partners {
  padding: 40px 0;
}

.partner-slider {
  overflow: hidden;
  position: relative;
}

.partner-slider .track {
  display: flex;
  align-items: center;
  gap: 24px;                   /* odstęp między kafelkami */
  animation: partners-marquee 30s linear infinite;
}

.partner-slider:hover .track {
  animation-play-state: paused; /* pauza po najechaniu */
}

.partner-slider .slide {
  flex: 0 0 220px;             /* stała szerokość kafelka */
  height: 120px;               /* stała wysokość kafelka */
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;     /* żadnego białego tła */
  
  border-radius: 20px;
  padding: 10px;
  
}

/* Sama grafika logo: wypełnij kontener, ale nie przycinaj */
.partner-slider .slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
         /* CAŁE logo widoczne w ramce */
  background: transparent;     /* jeśli PNG ma przezroczystość, pokaże się tło strony */
  display: block;
   
}

/* Płynne przesuwanie (prawa -> lewa) */
@keyframes partners-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* przy zdublowanych slajdach */
}


/* Sekcja partnerów */
.partners {
  padding: 40px 0;
}

.partner-slider {
  overflow: hidden;
  position: relative;
}

.partner-slider .track {
  display: flex;
  align-items: center;
  gap: 60px; /* odstęp między logotypami */
  animation: partners-marquee 30s linear infinite;
}

.partner-slider:hover .track {
  animation-play-state: paused; /* pauza po najechaniu */
}

.partner-slider .slide {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent; /* brak ramek ani tła */
  padding: 0;
}

/* Same obrazki logo */
.partner-slider .slide img {
  height: 120px;     /* wszystkie logotypy mają tę samą wysokość */
  width: auto;      /* szerokość proporcjonalna */
  object-fit: contain;
  background: transparent;
  display: block;
}

/* Animacja przesuwania */
@keyframes partners-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* przy zdublowanych slajdach */
}
.visits-badge{
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9999;
  padding: 8px 12px;
  border-radius: 7px;
  border: 1px ;
  background: rgba(0,0,0,.6);
  color: #00ff99;
  font-family: Orbitron, system-ui, sans-serif;
  font-size: 14px;
  
clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.visits-badge strong{ color:#00ff99; }
