body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 300;
  color: #333;
  background: linear-gradient(to bottom, #e6f4ea, #fff);
  min-height: 100vh;
}
header {
  position: relative;
  min-height: 60vh;
  width: 100%;
    background: linear-gradient(to right, rgba(65,105,225,0.8), rgba(0,0,0,0.4));

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  overflow: hidden;
}

header .hero-flex {
  display: flex;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  z-index: 2;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* tekst do lewej */
  color: white;
  padding-left: 2vw;      /* mniejszy odstęp od lewej */
  padding-right: 0;       /* brak odstępu od prawej */
}

.hero-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img img {
  width: 90%;
  max-width: 500px;
    aspect-ratio: 16/9; /* wymusza poziome proporcje */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  border: 4px solid rgb(255, 255, 255);
  transition: opacity 0.8s;
  opacity: 1;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(65,105,225,0.8), rgba(0,0,0,0.4));
}
header .content {
  position: relative;
  color: white;
}
header h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 300;
  font-size: 3.2rem;
  margin: 0;
  letter-spacing: 2px;
}
header h1 .peach { color: #FFDAB9; }
header h1 .blue { color: #4169E1; }
header h1 .blueSMECZ { color: #6ff352; }


header p {
  font-size: 1.3rem;
  margin-top: 15px;
  color: #f0f0f0; /* zamiast czystej bieli – bardziej miękkie */
}
.btn {
  background: #4169E1;
  border: none;
}
.btn:hover {
  background: #FFDAB9;
  color: #333;
}

section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}
section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
}
section p {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform .3s;
}
.card:hover { transform: translateY(-5px); }

footer {
  width: 100vw;
  background: #4169E1;
  color: #fff;
  text-align: center;
  padding: 24px 8px;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.peach {
  color: #FFDAB9; /* Peach */
}
.blue {
  color: #4169E1; /* Royal Blue */
  -webkit-text-stroke: 1px #FFDAB9; /* Peach obwódka */
  text-shadow: 1px #FFDAB9; /* Standard */
}

.blueSMECZ {
  color: #A0522D; /* Maczka kolor */
}

@media (max-width: 700px) {

  header {
    min-height: 40vh;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .hero-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-text {
    align-items: center;
    padding-left: 0;
  }
  .hero-img {
    margin-top: 20px;
    width: 100%;
    justify-content: center;
  }
  .hero-img img {
    width: 100%;
    max-width: 350px;
    max-height: 180px;
    aspect-ratio: 16/9;
  }

  .map-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* proporcja 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

}