/* Reset */
body, h1, h2, p {
  margin: 0;
  padding: 0;
}



body {
  font-family: "Inter Tight", serif;
  background-color: #05142A;
  color: #C7B299; 
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  padding: 20px 0;
}

.logo {
  max-width: 400px;
  height: auto; 
  object-fit: contain;
  align-self: baseline;
}
/* Main */
main {
  width: 90%;
  max-width: 1200px;
}

.about, .contact {
  margin: 20px 0;
}

.about {
  margin: 20px auto;
  padding: 20px;
  background-color: #29446B;
  border-radius: 4px;
  color: #C7B299;
  text-align: justify;
  line-height: 1.6;
}

.about h2 {
  margin-bottom: 15px;
  font-size: 1.8rem;
  font-weight: 400;
  text-align: center;
}

.about p {
  font-size: 1rem;
  margin-bottom: 10px;
}

.map {
  width: 98%;
  height: 400px;
  background-color: #333; /* Tymczasowe tło dla mapy */
  margin: 20px;
  
}

.services-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
  padding: 5px;
}

.service {
  flex: 1;
  padding: 20px;
  background-color: #29446B;
  border: 1px solid #C7B299;
  border-radius: 8px;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service .icon {
  margin-bottom: 10px;
}

.service:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
  cursor: pointer;
}

.service h2 {
  margin: 10px 0;
  font-weight: 400;
}

.service p {
  font-size: 1rem;
}

.contact-button {
  background-color: #C7B299;
  color: #05142A;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.contact-button:hover {
  background-color: #a58a6d;
}

.hero {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  background-color: #29446B; /* Tło sekcji */
  margin: 20px auto;
  border-radius: 4px; /* Zaokrąglenie rogów */
}

.hero-text h1 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 400;
}

.hero-text p {
  font-size: 1rem;
}

.hero-photo {
  width: 550px;
}

.cta-section {
  position: relative;
}

.cta-background {
  background: url('hammer.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* height: 100%; */
}

.cta-content {
  background: rgba(41, 68, 107, 0.8); /* Kolor z półprzezroczystością */
  color: #C7B299;
  padding: 80px 20px 80px 20px;
  width: 50%;
  text-align: left;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 400;
}

.cta-content p {
  font-size: 1.2rem;
}

.cta-content .cta-contact {
  margin-top: 10px;
  font-size: 1.1rem;
}

.size-6 {
  font-size: 1px;
  width: 120px;
}

/* Footer */
footer {
  margin-top: 20px;
  text-align: center;
  padding: 10px 0;
  width: 100%;
  background-color: #333;
  color: #C7B299; /* Kolor tekstu w stopce */
}

/* Responsywność */
@media (max-width: 768px) {
  header {
      flex-direction: column;
      text-align: center;
  }
  main {
      width: 100%;
  }
  .hero {
    padding: 10px;
  }
  .hero-photo {
    width: 90%;
    margin: 20px 0;
  }
  .logo {
    width: 100%;
    margin-bottom: 20px;
  }
  .service-item {
    width: 100%;
    padding: 10px;
  }
  .about, .contact {
    margin: 20px 0;
    padding: 10px;
  }
  .contact-button {
    width: 100%;
  }
  .cta-content {
    width: 100%;
    padding: 20px;
  }
}
