/* =========================
   GLOBAL
========================= */
body.dark {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  background-color: #121212;
  color: #f5f5f5;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: #fff;
  margin: 0 0 15px 0;
}

p {
  margin: 0 0 15px 0;
  color: #ddd;
}

a {
  color: #ff6600;
  text-decoration: none;
}

a:hover {
  color: #ffa040;
}

/* =========================
   HEADER / NAV
========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #1e1e1e;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo span {
  color: #ff6600;
  font-weight: bold;
}

.main-nav {
  display: flex;
  gap: 20px;
}

.main-nav a {
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
}

.main-nav a:hover {
  background-color: #2c2c2c;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #2c2c2c;
  min-width: 200px;
  border-radius: 4px;
  overflow: hidden;
}

.nav-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px;
  color: #fff;
}

.dropdown-menu a:hover {
  background-color: #3a3a3a;
}

/* MOBILE MENU */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  display: block;
  transition: 0.3s;
}

.main-nav.active {
  display: block;
  flex-direction: column;
  gap: 10px;
}

/* CTA BUTTON */
.cta, .btn {
  background-color: #ff6600;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #ff6600;
}

.btn:hover, .btn-outline:hover {
  background-color: #ffa040;
  color: #fff;
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url('images/hero-pralki.jpg') center/cover no-repeat;
  z-index: -1;
}

.hero-inner h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.hero-inner .lead {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* =========================
   SEKCJE
========================= */
.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section--dark {
  background-color: #1e1e1e;
}

.two-col {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
}

.card {
  background-color: #2a2a2a;
  padding: 20px;
  border-radius: 8px;
  flex: 1;
}

.image-box img {
  max-width: 100%;
  border-radius: 8px;
}

.image-box {
  position: relative;
}

.realizacje-link {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(0,0,0,0.6);
  padding: 5px 10px;
  border-radius: 4px;
  color: #fff;
}

/* OFERTA / URZĄDZENIA */
.grid-3 {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.service, .device {
  background-color: #2a2a2a;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  flex: 1;
}

.device-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.device img {
  max-width: 100%;
  border-radius: 8px;
}

/* Wybrane urządzenia – tło z pralek */
#urzadzenia {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url('images/pralki-tlo.jpg') center/cover no-repeat;
}

/* DLACZEGO MY */
.features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.feature {
  background-color: #2a2a2a;
  padding: 20px;
  border-radius: 8px;
  flex: 1;
  min-width: 250px;
  text-align: center;
}

/* KONTAKT */
.contact-section .contact-card,
.contact-section .contact-info {
  background-color: #2a2a2a;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* FOOTER */
.site-footer {
  background-color: #1e1e1e;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.footer-links a {
  color: #ff6600;
  margin: 0 5px;
}

/* =========================
   ANIMACJE FADE-IN
========================= */
.fade-in, .fade-in-up, .fade-in-right {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.appear {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   RESPONSYWNOŚĆ
========================= */
@media (max-width: 768px) {
  .two-col {
    flex-direction: column;
  }

  .grid-3, .device-grid, .features {
    flex-direction: column;
  }

  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: #1e1e1e;
    padding: 10px;
  }

  .main-nav.active {
    display: flex;
  }
}
/* Zmniejsz obrazki, aby były responsywne */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* Ustawienia dla większych ekranów (desktop) */
@media screen and (min-width: 1024px) {
  .container {
    width: 80%;
  }
}

/* Ustawienia dla urządzeń mobilnych */
@media screen and (max-width: 768px) {
  .hero-inner h1 {
    font-size: 1.8rem;
  }

  .hero-inner p {
    font-size: 1rem;
  }

  .main-nav {
    display: block;
    text-align: center;
  }

  .main-nav a {
    display: block;
    padding: 10px 0;
  }

  .image-box img {
    width: 100%; /* Dopasuj obrazek do szerokości kontenera */
  }
}
