/* Warsaw-themed CSS for PFR Ventures */

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

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Warsaw color palette */
  --primary: #d81e05; /* Vibrant red from Polish flag */
  --secondary: #ffffff; /* White from Polish flag */
  --accent: #005da4; /* Blue inspired by Warsaw coat of arms */
  --dark: #333333;
  --light: #f5f5f5;
  --gray: #e0e0e0;
  --gold: #c9a66b; /* Warsaw Royal Castle gold accent */
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  background-color: var(--light);
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
  color: var(--dark);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary);
}

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

/* Button Styles */
.btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--secondary);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 1rem;
}

.btn:hover {
  background-color: var(--accent);
  color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Section Styling */
section {
  padding: 5rem 0;
  position: relative;
}

section:nth-child(odd) {
  background-color: var(--secondary);
}

section:nth-child(even) {
  background-color: var(--light);
}

/* Main Offer Block with contrast background pattern */
#glowna {
  min-height: 430px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(216, 30, 5, 0.9), rgba(0, 93, 164, 0.8)),
    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");
  background-size: cover;
  background-position: center;
  color: var(--secondary);
  text-align: center;
  padding: 6rem 0;
  border-radius: 8px;
  margin-top: 2rem;
}

#glowna h1 {
  color: var(--secondary);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#glowna p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#glowna .btn {
  background-color: var(--secondary);
  color: var(--primary);
  font-size: 1.1rem;
  padding: 16px 32px;
  margin-top: 2rem;
}

#glowna .btn:hover {
  background-color: var(--light);
  color: var(--accent);
}

/* Products Section */
.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.product {
  background-color: var(--secondary);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1rem 0;
}

.product .btn {
  margin-top: auto;
}

/* Article Styling */
.blog-post {
  background-color: var(--secondary);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--accent);
  margin-top: 3rem;
}

.blog-post h3 {
  color: var(--accent);
  font-size: 1.8rem;
}

.blog-post p {
  text-align: justify;
}

/* Specialists Section */
.specialists-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.specialist {
  background-color: var(--secondary);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.specialist:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.specialist h3 {
  color: var(--primary);
}

/* Reviews Section */
.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review {
  background-color: var(--secondary);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.review::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 10px;
}

.author {
  font-style: italic;
  color: var(--accent);
  text-align: right;
  border-top: 1px solid var(--gray);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* Newsletter Form */
#newsletter {
  background-color: var(--accent);
  color: var(--secondary);
  text-align: center;
  padding: 4rem 0;
}

#newsletter h2 {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}

#newsletter form {
  display: flex;
  max-width: 600px;
  margin: 2rem auto 0;
}

#newsletter input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
}

#newsletter button {
  background-color: var(--primary);
  color: var(--secondary);
  padding: 12px 24px;
  border: none;
  border-radius: 0 4px 4px 0;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

#newsletter button:hover {
  background-color: var(--gold);
}

/* Contact Section */
#kontakt {
  background-color: var(--light);
}

address {
  margin-bottom: 2rem;
  font-style: normal;
  font-size: 1.1rem;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--secondary);
  padding: 2rem 0;
  text-align: center;
}

footer p {
  margin-bottom: 0.5rem;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  section {
    padding: 3rem 0;
  }

  #glowna {
    min-height: auto;
    padding: 4rem 0;
  }

  .products-container,
  .specialists-container,
  .reviews-container {
    grid-template-columns: 1fr;
  }

  #newsletter form {
    flex-direction: column;
  }

  #newsletter input[type="email"] {
    border-radius: 4px;
    margin-bottom: 1rem;
  }

  #newsletter button {
    border-radius: 4px;
    width: 100%;
  }
}

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

  .container {
    padding: 0 15px;
  }

  .product, .specialist, .review {
    padding: 1.5rem;
  }

  .blog-post {
    padding: 1.5rem;
  }
}
