/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Orbitron:wght@400;600;900&display=swap');

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

body {
  font-family: 'Roboto', sans-serif;
  color: #222;
  background-color: #f0f2f5;
  line-height: 1.6;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}

.container {
  width: 100%;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 1rem;
  color: #0a2540;
}

h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0066ff, #00aaff);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: #0066cc;
  transition: all 0.3s ease;
}

a:hover {
  color: #0099ff;
}

.section {
  padding: 60px 0;
  position: relative;
}

/* Main Offer Section */
#glowna-oferta {
  background: linear-gradient(135deg, #001e3c, #0a2540);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%230066cc' fill-opacity='0.1'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h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zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: #616161;
  min-height: 430px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

#glowna-oferta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,102,255,0) 0%, rgba(0,170,255,0.2) 100%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

#glowna-oferta h1 {
  color: #fff;
  text-shadow: 0 0 15px rgba(0, 170, 255, 0.5);
  margin-bottom: 15px;
}

#glowna-oferta h2 {
  color: #00aaff;
  font-size: 1.5rem;
  margin-bottom: 25px;
}

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

#glowna-oferta p {
  max-width: 600px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

#glowna-oferta .button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(90deg, #00aaff, #0066ff);
  color: white;
  border-radius: 30px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 170, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

#glowna-oferta .button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 170, 255, 0.4);
}

#glowna-oferta .button:active {
  transform: translateY(1px);
}

#glowna-oferta .button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

#glowna-oferta .button:hover::after {
  left: 100%;
}

/* Section Styles */
#opinie {
  background-color: #f9fafc;
}

#specjalisci {
  background-color: #e9f0f7;
}

#formularz {
  background: linear-gradient(135deg, #0066cc, #0099ff);
  color: white;
}

#uslugi {
  background-color: #fff;
}

#kontakt {
  background-color: #0a2540;
  color: white;
}

/* Reviews Section */
.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.review {
  background-color: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.review h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #0a2540;
}

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

/* Specialists Section */
.specialists-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.specialist {
  background-color: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.specialist::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, #0066ff, #00aaff);
}

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

.specialist h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: #0a2540;
}

.specialist h4 {
  font-size: 1rem;
  color: #0066cc;
  margin-bottom: 15px;
  font-weight: normal;
}

/* Form Section */
form {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 10px;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

input, textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  color: #0a2540;
  transition: all 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.3);
}

.button {
  display: inline-block;
  padding: 12px 30px;
  background: #0a2540;
  color: white;
  border-radius: 30px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.button:hover {
  background: #00aaff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.product {
  background-color: #f9fafc;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.product h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #0a2540;
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0066cc;
  margin-bottom: 20px;
  font-family: 'Orbitron', sans-serif;
}

.product ul {
  list-style-type: none;
  margin-bottom: 25px;
  flex-grow: 1;
}

.product ul li {
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  padding-left: 25px;
}

.product ul li:last-child {
  border-bottom: none;
}

.product ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0066cc;
  font-weight: bold;
}

.product .button {
  align-self: flex-start;
  margin-top: auto;
}

/* Article Section */
.article {
  background-color: #0a2540;
  color: #fff;
  padding: 30px;
  border-radius: 10px;
  margin-top: 50px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.article::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 30px;
  width: 30px;
  height: 30px;
  background-color: #0066cc;
  transform: rotate(45deg);
  z-index: -1;
}

.article h3 {
  color: #00aaff;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.article p {
  line-height: 1.7;
}

/* Contact Section */
.contact-info {
  margin-bottom: 30px;
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

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

/* Footer */
.footer {
  background-color: #0a1a2d;
  color: rgba(255, 255, 255, 0.7);
  padding: 30px 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer p {
  margin: 5px 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .section {
    padding: 40px 0;
  }

  #glowna-oferta {
    padding: 60px 0;
  }

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

  .product {
    padding: 20px;
  }

  form {
    padding: 20px;
  }

  .article {
    padding: 20px;
  }

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

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

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  #glowna-oferta {
    padding: 40px 0;
  }

  .button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  form {
    padding: 15px;
  }

  input, textarea {
    padding: 10px;
  }
}
