* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body {
  height: 100%;
}

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  background-image: url("bg.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Delikatne przyciemnienie dla czytelności tekstu */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.center-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  z-index: 2;
}

.center-text h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.logo {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
}

.logo img {
  width: clamp(240px, 30vw, 400px);
}

.top-text {
  position: absolute;
  top: 100px;
  left: 80px;
  z-index: 2;
  max-width: 70%;
  text-align: center;
}

.top-text h1 {
font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: #ffffff;
  font-size: clamp(3rem, 5.5vw, 5rem);
  line-height: 1.1;

-webkit-text-stroke: 1.5px rgba(255, 106, 0, 0.9);
  text-shadow:
    0 4px 20px rgba(0,0,0,0.6);
}



.newsletter {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.newsletter p {
  color: #fff;
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  margin-bottom: 0.75rem;
}

.newsletter-row {
  display: flex;
  gap: 0;
  max-width: 600px;
  width: 100%;
}

.newsletter-row input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid rgba(255, 106, 0, 0.9);
  border-right: none;
  border-radius: 8px 0 0 8px;
  outline: none;
  background: rgba(255, 255, 255, 0.95);
  color: #222;
}

.newsletter-row input[type="email"]:focus {
  border-color: #fff;
}

.newsletter-row button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 0 8px 8px 0;
  background: rgba(255, 106, 0, 0.9);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
}

.newsletter-row button:hover {
  background: rgba(255, 106, 0, 1);
}

.newsletter-msg {
  margin-top: 0.5rem;
  color: #90ee90;
  font-weight: 600;
}

.top-text::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0)
  );
  z-index: -1;
  border-radius: 12px;
}