/* Dodatkowe style dla strony głównej */

/* Sekcja główna */
.main-content {
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  margin: 20px 0;
  padding: 30px;
}

/* Sekcja hero */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.hero-text {
  flex: 1;
  padding-right: 30px;
}

.hero-image {
  flex: 1;
  text-align: right;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  /* Usuwamy te właściwości, które powodują białe ramki */
  /* border-radius: 5px; */
  /* box-shadow: 0 3px 10px rgba(0,0,0,0.1); */
  /* Dodajemy background: transparent aby upewnić się, że tło będzie przezroczyste */
  background: transparent;
}

/* Lista usług */
.services-list h2 {
  font-size: 18px;
  color: var(--dark-text);
  margin-bottom: 15px;
}

.services-list ul {
  list-style-type: none;
  margin-left: 20px;
  margin-bottom: 25px;
}

.services-list ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 15px;
  font-size: 14px;
}

.services-list ul li::before {
  content: "•";
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

/* Lokalizacja */
.location {
  font-weight: bold;
  margin: 20px 0;
  color: var(--dark-text);
  font-size: 16px;
}

/* Wyróżnione usługi */
.featured-services {
  display: flex;
  flex-direction: column;
  margin: 20px 0;
}

.featured-services span {
  font-size: 24px;
  font-weight: bold;
  color: #CCCCCC;
  margin-bottom: 5px;
  transition: color 0.3s;
}

.featured-services span:hover {
  color: var(--primary-color);
}

/* Sekcja korzyści */
.benefits {
  margin: 50px 0;
}

.benefits h2 {
  color: var(--dark-text);
  font-size: 24px;
  margin-bottom: 30px;
  position: relative;
}

.benefits h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.benefit-item {
  background-color: var(--light-bg);
  padding: 20px;
  border-radius: 5px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.benefit-item h3 {
  color: var(--primary-color);
  font-size: 18px;
  margin-bottom: 10px;
}

.benefit-item p {
  font-size: 14px;
}

/* Krótka sekcja o firmie */
.about-short {
  margin: 50px 0;
  background-color: var(--light-bg);
  padding: 30px;
  border-radius: 5px;
}

.about-short h2 {
  color: var(--dark-text);
  font-size: 24px;
  margin-bottom: 20px;
}

.about-short p {
  margin-bottom: 20px;
  max-width: 800px;
}

/* Sekcja kontaktowa */
.contact-teaser {
  background-color: var(--primary-color);
  color: white;
  padding: 30px;
  border-radius: 5px;
  text-align: center;
  margin: 50px 0 20px;
}

.contact-teaser h2 {
  color: white;
  font-size: 24px;
  margin-bottom: 15px;
}

.contact-teaser p {
  margin-bottom: 15px;
}

.phone-number {
  font-size: 20px;
  font-weight: bold;
  margin: 20px 0;
}

/* Przycisk */
.btn {
  display: inline-block;
  background-color: white;
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
  margin-top: 10px;
}

.btn:hover {
  background-color: var(--dark-text);
  color: white;
}

.about-short .btn {
  background-color: var(--primary-color);
  color: white;
}

.about-short .btn:hover {
  background-color: var(--dark-text);
}

/* Media Queries */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }
  
  .hero-text {
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .hero-image {
    text-align: center;
  }
  
  .featured-services {
    align-items: center;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .main-content {
    padding: 20px;
  }
}
