@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  background-image: url("img/tlo.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 20px;
  height: 100%;
}

.container {
  padding: 20px;
  max-width: 750px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.logo {
  max-width: 300px;
  height: auto;
  margin-bottom: 30px;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.stores-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  /* odstęp między logo */
  margin-bottom: 30px;
}

.description {
  font-size: 1.1rem;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 10px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 300;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.postcriptum {
  color: #ffffff;
  font-size: 1.1rem;
}

.stores-section {
  margin-bottom: 30px;
}

.stores-title {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 30px;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.stores-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

.buttons-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 100px;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.client-button {
  padding: 15px 30px;
  width: 100%;
  max-width: 300px;
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 260px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.client-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s ease;
}

.client-button:hover::before {
  left: 100%;
}

.individual-client {
  background: rgba(52, 152, 219, 0.25);
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.individual-client:hover {
  background: rgba(52, 152, 219, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(52, 152, 219, 0.4);
  border-color: rgba(52, 152, 219, 0.6);
}

.corporate-client {
  background: rgba(231, 76, 60, 0.25);
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.corporate-client:hover {
  background: rgba(231, 76, 60, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(231, 76, 60, 0.4);
  border-color: rgba(231, 76, 60, 0.6);
}

/* Dropdown Języka */

.language-selector {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
}

.language-dropdown {
  position: relative;
  display: inline-block;
}

.language-button {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  padding: 10px 20px;
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.language-button::after {
  content: "▼";
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.language-dropdown:hover .language-button::after {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 10px 0;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  margin-top: 5px;
  z-index: 10;
}

.language-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.language-option:hover {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
  transform: translateX(5px);
}

.language-option.active {
  background: rgba(52, 152, 219, 0.2);
  color: #2980b9;
  font-weight: 600;
}

/* Banner wyboru usługi */

.service-selection-banner {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
  border-radius: 15px;
  padding: 25px;
  margin: 30px 0;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-selection-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  50% {
    transform: translate(-50%, -50%) rotate(180deg);
  }
}

.banner-content {
  position: relative;
  z-index: 1;
}

.banner-text {
  color: white;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
}

.service-name {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.15);
  padding: 12px 25px;
  border-radius: 25px;
  display: inline-block;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.service-name:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.neno-container,
.xblitz-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 300px;
  flex: 1 1 300px;
}

/* Media queries - POPRAWIONE */

@media (max-width: 768px) {
  .container {
    padding: 30px 20px;
  }
  .logo {
    max-width: 200px;
  }
  .stores-container {
    flex-direction: row;
    /* Logo obok siebie */
    justify-content: center;
    align-items: center;
    gap: 20px;
    /* Mniejszy odstęp */
    flex-wrap: wrap;
  }
  .neno-container,
  .xblitz-container {
    flex: 0 1 auto;
    max-width: 150px;
  }
  .store-logo {
    width: 120px;
    max-height: 80px;
  }
  .buttons-container {
    flex-direction: column;
    align-items: center;
  }
  .client-button {
    width: 100%;
    max-width: 300px;
  }
  .language-selector {
    top: 12px;
    left: 12px;
    right: auto;
  }
  .language-button {
    padding: 8px 15px;
    font-size: 0.8rem;
  }
  .language-menu {
    min-width: 140px;
  }
  .service-selection-banner {
    padding: 20px;
    margin: 20px 0;
  }
  .banner-text {
    font-size: 1rem;
  }
  .service-name {
    font-size: 1.2rem;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .stores-container {
    gap: 15px;
    /* Jeszcze mniejszy odstęp na bardzo małych ekranach */
  }
  .neno-container,
  .xblitz-container {
    max-width: 130px;
  }
  .store-logo {
    width: 100px;
    max-height: 70px;
  }
  .description {
    font-size: 1rem;
    padding: 15px;
  }
  .banner-text,
  .service-name {
    font-size: 0.95rem;
  }
  .client-button {
    font-size: 1rem;
    padding: 12px 24px;
  }
  .language-button {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
}

@media (max-height: 800px) {
  .buttons-container {
    margin-bottom: 120px;
  }
}
