/* Импорт шрифтов Google */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Oswald:wght@500;600;700&display=swap');

/* Глобальный сброс стилей */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  background-color: #f8f9fa;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 70px 0;
  position: relative;
}

/* Типография */
h1, h2, h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 25px;
}

h1 {
  font-size: 3.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h2 {
  font-size: 2.4rem;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 40px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: #d11141;
}

h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  background-color: #d11141;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Oswald', sans-serif;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn:hover {
  box-shadow: 0 6px 20px rgba(209, 17, 65, 0.3);
  transform: translateY(-2px);
}

/* Блок 1: Предложение (оффер) */
#oferta {
  background: linear-gradient(135deg, #070f4e 0%, #2b32b2 100%);
  color: #ffffff;
  min-height: 430px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#oferta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C92AC' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='1'/%3E%3Ccircle cx='13' cy='13' r='1'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

#oferta .container {
  position: relative;
  z-index: 2;
}

#oferta h1, #oferta h2 {
  color: #ffffff;
}

#oferta h1 {
  margin-bottom: 15px;
}

#oferta h2 {
  font-weight: 500;
  font-size: 1.8rem;
  margin-bottom: 25px;
  padding-bottom: 0;
}

#oferta h2::after {
  display: none;
}

#oferta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 700px;
  margin-bottom: 30px;
}

#oferta .cta-button {
  margin-top: 35px;
}

#oferta .btn {
  background-color: #d11141;
  padding: 16px 36px;
  font-size: 1.1rem;
  border: 2px solid transparent;
  box-shadow: 0 5px 25px rgba(209, 17, 65, 0.4);
}

#oferta .btn:hover {
  background-color: #e81c55;
  border-color: transparent;
  transform: translateY(-3px);
}

/* Блок 2: Форма подписки */
#formularz {
  background-color: #ffffff;
  border-top: 5px solid #070f4e;
}

#formularz .container {
  text-align: center;
}

#formularz p {
  max-width: 600px;
  margin: 0 auto 30px;
}

#formularz form {
  max-width: 500px;
  margin: 40px auto 0;
  background: #f8f9fa;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  text-align: left;
  position: relative;
}

#formularz form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #070f4e, #d11141);
  border-radius: 10px 10px 0 0;
}

.form-group {
  margin-bottom: 25px;
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #222;
  font-size: 1rem;
}

input[type="email"] {
  width: 100%;
  padding: 15px;
  border: 2px solid #e1e5ee;
  border-radius: 4px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

input[type="email"]:focus {
  border-color: #2b32b2;
  outline: none;
  box-shadow: 0 0 0 3px rgba(43, 50, 178, 0.1);
}

#formularz .btn {
  width: 100%;
  margin-top: 10px;
}

/* Блок 3: Продукты и цены */
#oferta-produkty {
  background-color: #f8f9fa;
}

.products-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 60px;
}

.product {
  flex: 1;
  min-width: 300px;
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  padding: 35px;
  border-top: 5px solid #070f4e;
  position: relative;
}

.product:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product h3 {
  color: #070f4e;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #d11141;
  margin: 25px 0;
  font-family: 'Oswald', sans-serif;
  display: inline-block;
  position: relative;
}

.price::after {
  content: 'zł';
  font-size: 1.2rem;
  position: absolute;
  top: 8px;
  right: -25px;
  color: #999;
}

.product .btn {
  width: 100%;
  text-align: center;
  margin-top: 15px;
}

/* Статья в блоке продуктов */
.article {
  background: linear-gradient(135deg, #070f4e 0%, #2b32b2 100%);
  color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  margin-top: 70px;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.article h3 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.article h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #d11141;
}

.article p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.8;
}

/* Блок 4: Специалисты */
#specjalisci {
  background-color: #ffffff;
}

.specialists-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.specialist {
  flex: 1;
  min-width: 300px;
  background-color: #f8f9fa;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border-left: 5px solid #d11141;
  position: relative;
  overflow: hidden;
}

.specialist:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.specialist h3 {
  color: #070f4e;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.specialist h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #d11141;
}

/* Блок 5: Отзывы */
#opinie {
  background-color: #f8f9fa;
  position: relative;
}

#opinie::before {
  content: '❝';
  font-size: 350px;
  position: absolute;
  top: 50px;
  right: 30px;
  color: rgba(7, 15, 78, 0.03);
  font-family: serif;
  line-height: 0;
}

.reviews-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.review {
  flex: 1;
  min-width: 300px;
  background-color: #ffffff;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.review:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.review::before {
  content: '❝';
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 2.5rem;
  color: #d11141;
  opacity: 0.2;
  line-height: 1;
}

.review h3 {
  color: #070f4e;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 3px solid #d11141;
}

.rating {
  color: #ffb400;
  font-size: 1.3rem;
  margin-top: 25px;
}

/* Блок 6: Контакт и карта */
#kontakt {
  background-color: #ffffff;
}

#kontakt h2 {
  margin-bottom: 35px;
}

address {
  margin-bottom: 40px;
  font-style: normal;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #222;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  position: relative;
}

.map-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #070f4e, #d11141);
  z-index: 10;
}

/* Блок 7: Футер */
footer {
  background-color: #070f4e;
  color: #ffffff;
  padding: 35px 0;
  text-align: center;
}

footer p {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Медиа-запросы для адаптивности */
@media (max-width: 992px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .products-container,
  .specialists-container,
  .reviews-container {
    flex-direction: column;
  }

  .product,
  .specialist,
  .review {
    min-width: 100%;
  }

  #oferta {
    min-height: auto;
    padding: 70px 0;
  }

  .article {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  section {
    padding: 50px 0;
  }

  .btn {
    padding: 12px 25px;
    font-size: 0.95rem;
  }

  #oferta .btn {
    padding: 14px 30px;
  }

  #formularz form {
    padding: 30px 20px;
  }

  .product,
  .specialist,
  .review {
    padding: 25px;
  }

  .article {
    padding: 25px;
  }

  .price {
    font-size: 2rem;
  }
}
