body {
  margin: 0;
  background-color: #f1cf9f;
  font-family: 'Playpen Sans', sans-serif;
  color: #000;
  padding: 0 10%; /* ✨ oto Twoje marginesy po bokach */
  box-sizing: border-box;
}

/* Uniwersalny kontener do wyrównywania zawartości
.section-intro,
#shop,
#outro,
#contact {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
} */

.site-header {
  background-color: #000;
  padding: 10px 20px;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 80px;
  width: auto;
}

.nav-menu a {
  font-family: 'More Sugar', cursive;
  color: #fbf8f0;
  text-decoration: none;
  margin-left: 20px;
  font-size: 20px;
}

.nav-menu a:hover {
  text-decoration: underline;
}


/* GŁÓWNA SEKCJA */
.section-intro {
  background-color: #f1cf9f;
  padding: 60px 0;
  display: block;
}

/* KONTENER CENTRALNY */
.intro-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10%;
  box-sizing: border-box;
}

/* NAGŁÓWEK (różowy obszar) */
.intro-title {
  font-family: 'More Sugar', cursive;
  font-size: 2.5rem;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 40px;
}

/* FLEX WRAPPER (niebieski kontener) */
.intro-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* LEWA KOLUMNA – tekst */
.intro-text {
  flex: 2;
  font-family: 'Playpen Sans', sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* PRAWA KOLUMNA – obrazek */
.intro-image {
  flex: 1;
  text-align: center;
}

.intro-image img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
}

/* --- SEKCJA SHOP --- */
.section-shop {
  background-color: #f1cf9f;
  padding: 20px 0;
}

.shop-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  box-sizing: border-box;
}

/* Nagłówek sekcji SHOP */
.shop-title {
  font-family: 'More Sugar', cursive;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
}

/* GRIIIIID 3x2 */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

/* Karta produktu */
.product-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Obrazek okładki */
.product-image {
  max-width: 200px;
  height: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Przycisk "Buy on Amazon" */
.buy-button {
  background-color: #e63946;
  color: #fff;
  padding: 12px 24px;
  border-radius: 25px;
  font-family: 'Playpen Sans', sans-serif;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border: 3px solid #fff;
  box-shadow: 0 3px 0 #a02431;
}

.buy-button:hover {
  background-color: #d62839;
}

/*sekcja outro */

.section-outro {
  background-color: #f1cf9f;
  padding: 80px 0;
}

.outro-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10%;
  align-items: start;
}

/* Nagłówki wyrównane w jednym rzędzie */
.outro-left h3,
.outro-right h3 {
  margin: 0;
  font-family: 'More Sugar', cursive;
  font-size: 2rem;
}

/* Lewa kolumna */
.outro-left {
  grid-column: 1;
  grid-row: 1 / span 2; /* rozszerza kolumnę na wysokość obrazka i nagłówka */
  text-align: center;
}

.cat-image {
  max-width: 200px;
  height: auto;
  margin-top: 20px;
}

/* Prawa kolumna */
.outro-right {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-family: 'Playpen Sans', sans-serif;
}

.outro-right p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-top: 20px;
}

.section-contact {
  background-color: #000;
  color: #fbf8f0;
  padding: 60px 0;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-text .t1,
.contact-text .t2 {
  font-family: 'More Sugar', cursive;
  font-size: 1.8rem;
  margin: 0;
}

.contact-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  justify-items: center;
}

.contact-icons a img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.contact-icons a:hover img {
  transform: scale(1.15);
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-icons {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 30px;
  }
}

/* Responsywność – układ 1-kolumnowy */
@media (max-width: 768px) {
  .outro-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .outro-left,
  .outro-right {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Responsywność */
@media (max-width: 768px) {
  .outro-container {
    flex-direction: column;
    text-align: center;
  }

  .outro-left h3,
  .outro-right h3 {
    font-size: 1.8rem;
  }

  .outro-right p {
    font-size: 1rem;
  }
}


@media (max-width: 768px) {
  .intro-flex {
    flex-direction: column;
    text-align: center;
  }

  .intro-text {
    flex: unset;
    font-size: 1rem;
  }

  .intro-title {
    font-size: 2rem;
    padding: 0 10px;
  }
}
