/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Playfair+Display:wght@500;700&display=swap');

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 1180px;
  margin: 0 auto;
  background-color: #f5f5f5;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
  color: #D62828; /* Polish red shade */
}

.container {
  width: 90%;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Polish-themed color palette */
:root {
  --polish-red: #D62828;
  --polish-white: #F8F9FA;
  --polish-dark: #222831;
  --polish-accent: #003049;
  --polish-light-accent: #FCF6F5;
}

section {
  padding: 3rem 0;
}

/* Offer section (Block 1) */
.offer-section {
  min-height: 430px;
  background: linear-gradient(135deg, var(--polish-red) 0%, #892B1B 100%);
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.offer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
  z-index: 1;
}

.offer-section .container {
  position: relative;
  z-index: 2;
}

.offer-section h1 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 0.5rem;
}

.offer-section h2 {
  font-size: 2rem;
  color: white;
  margin-bottom: 1.5rem;
}

.offer-section p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  background-color: white;
  color: var(--polish-red);
  padding: 0.8rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid white;
  font-size: 1.1rem;
}

.btn:hover {
  background-color: transparent;
  color: white;
}

/* Reviews section (Block 5) */
.reviews-section {
  background-color: var(--polish-white);
  text-align: center;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.review {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.review p {
  font-style: italic;
}

.review .author {
  font-weight: bold;
  color: var(--polish-red);
  margin-top: 1rem;
}

/* Specialists section (Block 4) */
.specialists-section {
  background-color: var(--polish-accent);
  color: white;
}

.specialists-section h2 {
  color: white;
  text-align: center;
}

.specialist-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.specialist {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.specialist:hover {
  transform: translateY(-5px);
}

.specialist h3 {
  color: white;
}

/* Subscribe section (Block 2) */
.subscribe-section {
  background-color: var(--polish-light-accent);
  text-align: center;
  padding: 4rem 0;
}

.subscribe-section form {
  max-width: 500px;
  margin: 2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.subscribe-section input[type="email"] {
  flex: 1;
  min-width: 250px;
  padding: 0.8rem 1.5rem;
  border: 1px solid #ddd;
  border-radius: 30px;
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
}

.subscribe-section button {
  background-color: var(--polish-red);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
}

.subscribe-section button:hover {
  background-color: #b71c1c;
}

/* Products section (Block 3) */
.products-section {
  background-color: white;
}

.products-section h2 {
  text-align: center;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0 4rem;
}

.product {
  border: 1px solid #eee;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product h3 {
  color: var(--polish-accent);
}

.product .price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--polish-red);
  margin: 1rem 0;
}

.product .btn {
  background-color: var(--polish-red);
  color: white;
  border-color: var(--polish-red);
}

.product .btn:hover {
  background-color: transparent;
  color: var(--polish-red);
}

/* Article styling */
.article {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  border-left: 5px solid var(--polish-red);
  margin-top: 2rem;
}

.article h2 {
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.article p {
  margin-bottom: 1rem;
}

/* Contact section (Block 6) */
.contact-section {
  background-color: var(--polish-white);
  text-align: center;
}

.contact-section address {
  font-style: normal;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.map-container {
  margin-top: 2rem;
  border-radius: 10px;
  overflow: hidden;
}

/* Footer section (Block 7) */
.footer-section {
  background-color: var(--polish-dark);
  color: white;
  text-align: center;
  padding: 2rem 0;
}

/* Mobile styles */
@media (max-width: 768px) {
  .offer-section h1 {
    font-size: 2rem;
  }

  .offer-section h2 {
    font-size: 1.5rem;
  }

  .offer-section p {
    font-size: 1rem;
  }

  .product-list, .specialist-list, .review-list {
    grid-template-columns: 1fr;
  }

  .container {
    width: 95%;
    padding: 1.5rem 0;
  }

  section {
    padding: 2rem 0;
  }

  .subscribe-section form {
    flex-direction: column;
  }

  .subscribe-section input[type="email"] {
    width: 100%;
  }

  .subscribe-section button {
    width: 100%;
  }

  .map-container iframe {
    height: 300px;
  }
}

/* Accent styling for Polish theme */
::selection {
  background-color: var(--polish-red);
  color: white;
}
