/* =========================================================
   ESKÜVŐI OLDAL – STATIKUS HERO (SZOLGÁLTATÁSOK STÍLUS)
   ========================================================= */

.hero--wedding {
  margin-bottom: 2.5rem;
}

/* Csak az esküvő hero-jára vonatkozzon */
.hero--wedding .hero-subhero {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  height: 620px;
  background: #e5e7eb;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.18);
}

.hero--wedding .hero-subhero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  filter: brightness(0.8);
}

.hero--wedding .hero-subhero-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 2.4rem 2.7rem;
  color: #f9fafb;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero--wedding .hero-subhero-content h1 {
  font-size: 1.8rem;
  line-height: 1.25;
}

.hero--wedding .hero-subhero-content p {
  font-size: 1rem;
  max-width: 32rem;
  opacity: 0.95;
}

/* =========================================================
   RESZPONZÍV – TABLET
   ========================================================= */

@media (max-width: 900px) {
  .hero--wedding .hero-subhero {
    height: 320px;
  }

  .hero--wedding .hero-subhero-content {
    padding: 1.6rem 1.4rem;
    max-width: 100%;
  }

  .hero--wedding .hero-subhero-content h1 {
    font-size: 1.4rem;
  }
}

/* =========================================================
   RESZPONZÍV – MOBIL
   ========================================================= */

@media (max-width: 640px) {
  .hero--wedding .hero-subhero {
    height: 260px;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.18);
  }

  .hero--wedding .hero-subhero-content {
    padding: 1.1rem 1rem;
    text-align: center;
    align-items: center;
  }

  .hero--wedding .hero-subhero-content p {
    font-size: 0.9rem;
  }
}

/* =========================================================
   ESKÜVŐ – SZÖVEG/KÉP BLOKKOK (LETISZTULT, NEM KÁRTYÁS)
   ========================================================= */

.wedding-splits {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.wedding-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); /* több hely a szövegnek */
  gap: 1.8rem;
  align-items: center;
}

.wedding-split--reverse {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

/* a képoszlop ne nőjön végtelenre */
.wedding-split__media {
  justify-self: end;
  max-width: 460px; /* <-- ettől nem lesz “óriás” */
  width: 100%;
}

.wedding-split--reverse .wedding-split__media {
  justify-self: start;
}

/* Szöveg: nincs kártya */
.wedding-split__text {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* Finom elválasztó csak a "kapcsolat" blokkhoz */
.wedding-split__text--highlight {
  padding-top: 0.6rem;
  border-top: 1px solid rgba(17, 24, 39, 0.12);
}

/* Kép: ne vágja le, látszódjon teljesen */
.wedding-split__media,
.wedding-bottom-media {
  margin: 0;
}

.wedding-split__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5; /* egységes, nem lesz össze-vissza */
  height: auto;
  object-fit: cover; /* szép, “fotós” megjelenés */
  object-position: center;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
}

/* Legalul nagyobb kép */
.wedding-bottom-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
}

/* Tablet */
@media (max-width: 900px) {
  /* Tablet: minden blokk egységes, ne legyen “jobbra-balra ugrálás” */
  .wedding-split,
  .wedding-split--reverse {
    display: flex;
    flex-direction: column; /* mindig: szöveg -> kép */
    gap: 1rem;
    align-items: stretch;
  }

  /* Mindkét variánsban a szöveg legyen elöl, a kép alatta */
  .wedding-split__text {
    order: 1;
  }
  .wedding-split__media {
    order: 2;
    justify-self: auto;
    max-width: 420px; /* kisebb */
    margin: 0 auto;
    width: 100%;
  }

  .wedding-split__media img {
    max-height: 360px; /* ne legyen túl magas */
  }

  .wedding-splits {
    gap: 1.6rem;
  }

  /* az alsó nagy kép is legyen szép, ne óriás */
  .wedding-bottom-media {
    max-width: 720px; /* kisebb */
    margin: 0 auto;
    width: 100%;
  }

  .wedding-bottom-media img {
    max-height: 420px; /* ne legyen óriási */
  }
}

/* Mobil */
@media (max-width: 640px) {
  .wedding-splits {
    padding: 0 0.9rem;
    gap: 1.5rem;
  }
}
