/* Global settings */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #11141c;
  font-weight: 400;
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
    padding: 10px;
  }
  .container {
    width: 100%;
    flex-direction: column;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  /* Dodaj więcej stylów, aby dostosować układ do wąskiego ekranu */
}


/* HERO BACKGROUND SECTION */
.hero-bg {
  background: url('tlo.jpg') center center/cover no-repeat;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-bgs {
  background: url('tlo.jpg') center center/cover no-repeat;
  min-height: 440;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-content {
  background: rgba(16, 22, 38, 0.68);
  padding: 38px 50px;
  border-radius: 14px;
  box-shadow: 0 4px 44px 0 rgba(50, 60, 70, 0.17);
  text-align: center;
}
.hero-contents {
  padding: 38px 50px;
  border-radius: 14px;
  box-shadow: 0 4px 44px 0 rgba(50, 60, 70, 0.17);
  text-align: center;
}
.hero-content h1 {
  color: #29a3ff;
  font-size: 2.3em;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.hero-contents h1 {
  color: #29a3ff;
  font-size: 2.3em;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.hero-content p {
  color: #fff;
  font-size: 1.15em;
}
/* WHY US SECTION */
.why-us {
  padding: 60px 30px 30px 30px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.why-us h2 {
  color: #fff;
  font-size: 2em;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.why-us p {
  color: #b3c2df;
  font-size: 1.07em;
}

.super-offer {
  background: #181b23;
  padding: 60px 0;
}

.offer-container {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.offer-text {
  flex: 0 0 370px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.offer-text h2 {
  margin: 0 0 10px;
  font-size: 2em;
  font-weight: bold;
}

.offer-text .offer-blue {
  color: #29a3ff;
}

.offer-text p {
  color: #bbc7db;
  font-size: 1.08em;
  margin-bottom: 28px;
  line-height: 1.5;
}

.blue-btn {
  display: inline-block;
  background: #29a3ff;
  color: #fff;
  padding: 10px 24px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.18s;
}

.blue-btn:hover { background: #0b5f9a; }

.offer-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0px;
  min-width: 0;
}

.offer-row {
  display: flex;
  gap: 26px;
  margin-bottom: 18px;
}

.offer-box {
  background: #242636;
  box-shadow: 0 2px 13px 0 rgba(44, 57, 117, 0.09);
  border-radius: 11px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  min-width: 270px;
  width: 100%;
  flex: 1 1 0%;
  transition: transform 0.12s cubic-bezier(.6,1.2,.7,1), box-shadow 0.14s;
  cursor: pointer;
  padding: 13px 14px;
}

.offer-box.long {
  max-width: 564px;
  min-width: 322px;
  justify-content: flex-start;
}

.offer-box:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 24px 0 rgba(35,199,255,0.12);
  background: #2b334c;
  z-index: 2;
}

.offer-img {
  width: 54px;
  height: 54px;
  border-radius: 7px;
  background: #222433;
  flex-shrink: 0;
  /* Tutaj możesz dodać np. background-image jeśli chcesz; teraz tylko kolor tła */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.offer-box span {
  color: #fff;
  font-size: 1.1em;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.2;
  white-space: normal;
}

@media (max-width: 1100px) {
  .offer-container { flex-direction: column; gap: 38px; }
  .offer-text { align-items: center; text-align: center; margin-bottom:15px;}
}

@media (max-width: 700px) {
  .offer-row { flex-direction: column; gap: 14px; margin-bottom: 6px;}
  .offer-box, .offer-box.long { min-width: 0; max-width: none; width: 100%; }
  .offer-container { padding: 0 10px; }
}

/* Stopka */
.footer {
  background: #141621;
  color: #fff;
  padding: 38px 0 16px 0;
  margin-top: 40px;
  border-top: 2px solid #25283c;
}

.footer-content {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  font-size: 1em;
}

.footer-logo-menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 180px;
}

.footer-logo {
  color: #29a3ff;
  font-size: 1.18em;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 1.1px;
}

.footer-menu {
  color: #a7a9b4;
  line-height: 1.5;
}

.footer-social {
  margin-top: 10px;
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: #5aceff;
  font-size: 1.4em;
  transition: color 0.15s;
  text-decoration: none;
}

.footer-social a:hover {
  color: #fff;
}

.footer-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
}

.footer-section {
  min-width: 170px;
  color: #bbc3d7;
}

.footer-section h4 {
  font-size: 1em;
  margin: 0 0 7px 0;
  color: #31b9fa;
  font-weight: 700;
}

.footer-section ul {
  margin: 0;
  padding: 0 0 0 14px;
  list-style: disc;
  font-size: 0.98em;
}

.footer-section ul li {
  margin-bottom: 3px;
}

.footer-bottom {
  text-align: center;
  font-size: 0.96em;
  color: #767788;
  margin-top: 34px;
}

/* Responsywność */
@media (max-width: 1150px) {
  .footer-content {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 600px) {
  .footer-content {
    padding: 0 16px;
  }
}
/* Hamburger button - trzy kreski */
.hamburger {
  display: none; /* Ukryty na desktopie */
  flex-direction: column;
  justify-content: space-around;
  width: 25px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  box-sizing: border-box;
  margin-left: 10px;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: #14b9ff;
  border-radius: 2px;
}

/* Przy małych ekranach hamburger włączony, menu i CTA schowane */
@media (max-width: 900px) {
  .hamburger {
    display: flex; /* Pokazujemy hamburger */
  }

  .menu,
  .cta {
    display: none; /* Ukrywamy menu i przycisk CTA */
    width: 100%;
  }

  .menu.active {
    display: flex;
    flex-direction: column;
    background: #11141c;
    margin-top: 15px;
    border-radius: 8px;
    padding: 15px 20px;
  }

  .menu > li {
    margin: 12px 0;
  }

  .menu > li > a {
    padding: 10px 0;
    font-size: 1.1em;
  }

  /* W mobilnym menu wyłącz mega-menu hover, pokazuj po kliknięciu */
  .dropdown .mega-menu {
    position: static !important;
    box-shadow: none !important;
    background: transparent !important;
    width: 100% !important;
    padding: 0 !important;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex-wrap: wrap !important;
  }

  .dropdown.active .mega-menu {
    display: flex !important;
    gap: 20px !important;
    padding-left: 15px;
    flex-direction: column;
  }

  .cta {
    display: block;
    margin-top: 15px;
  }

  .cta .special-btn {
    width: 100%;
    text-align: center;
  }
}
