html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

.swiper-container {
  width: 100%;
  height: 100vh;
}

.swiper-slide {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Háttérkép */
.background-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Tartalomréteg (három oszlop) */
.overlay {
  position: absolute;
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Egy-egy oszlop */
.column {
  width: 33.3333%;
  height: 100%;
  display: flex;
  flex-direction: column; /* ← EZ a kulcs! */
  justify-content: flex-start; /* tartalom felülről induljon */
  align-items: center; /* középre vízszintesen */
  color: white;
  font-size: 1.2rem;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  text-align: center;
  gap: 1rem; /* kis térköz a h1 és p között */
}

.column-reverse {
    width: 33.3333%;
    height: 100%;
    display: flex;
    flex-direction: column-reverse; /* ← EZ a kulcs! */
    justify-content: flex-start; /* tartalom felülről induljon */
    align-items: center; /* középre vízszintesen */
    color: white;
    font-size: 1.2rem;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    text-align: center;
    gap: 1rem; /* kis térköz a h1 és p között */
}

/* Cím (h1) */
.column h1 {
  font-family: 'Oswald', serif;
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

/* Szöveg (p) */
.column p {
  font-family: 'Libertinus', serif;
  font-size: 1.5rem;
  line-height: 1.6;
}

.column .moon-pic {
    clip-path: circle(50% at 50% 50%);
    width: 300px;
}


.column-reverse h1 {
  font-family: 'Oswald', serif;
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

/* Szöveg (p) */
.column-reverse p {
  font-family: 'Libertinus', serif;
  font-size: 1.5rem;
  line-height: 1.6;
  text-indent: 10px;
}

.column-reverse img {
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    width: 420px;
}

.hide-bg {
    width: 200px;
}

.road-track-wrapper {
  position: fixed;
  top: 0;
  left: 50%;
  width: auto;
  height: 600vh; /* ✅ 6 slide-nyi magasság, mert 6 slide-od van */
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
}

.road-track-img {
  width: 100px; /* ← Itt állítod a szélességet */
  height: 1000px;
  opacity: 0.6;
  pointer-events: none;
}

.car {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: top 0.5s ease-in-out;
  z-index: 5;
  pointer-events: none;
}

.car-img {
  width: 80px;
}

.event-box {
  position: absolute;
  max-width: 200px;
  background: rgba(255, 255, 255, 0.85);
  padding: 1rem;
  border-radius: 10px;
  font-size: 1.1rem;
  color:  black;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transform: translateY(-50%);
  z-index: 5;
  font-family: 'Yellowtail', serif;
  font-size: 18px;
}

.event-box.right {
  left: calc(50% + 80px); /* jobb oldal a kocsihoz képest */
  text-align: center;
}

.event-box.left {
  right: calc(50% + 80px); /* bal oldal a kocsihoz képest */
  text-align: center;
}

.fishing-img {
    width: 260px;
    border-radius: 25%;
    border-color: white;
    border-width: 6px;
    border-style: solid;
}

/* Reszponzivitás kisebb képernyőre */
@media screen and (max-width: 1100px) {
  .column, .column-reverse {
    font-size: 1.3rem;
    padding: 10px;
  }

  .column h1,
  .column-reverse h1 {
    font-size: 1.6rem;
  }

  .column p,
  .column-reverse p {
    font-size: 1.3rem;
    line-height: 1;
  }

  .column .moon-pic {
    width: 200px;
  }

  .car-img {
    width: 60px;
  }

  .hide-bg {
    width: 170px;
  }

  .road-track-img {
    width: 60px;
  }

  .event-box {
    font-size: 14px;
    max-width: 150px;
    padding: 0.6rem;
  }

  .fishing-img {
    width: 200px;
  }

  .column-reverse img {
    width: 200px;
  }
}

@media screen and (min-width: 1101px) and (max-width: 1300px) {
  .column, .column-reverse {
    font-size: 1.4rem;
    padding: 10px;
  }

  .column h1,
  .column-reverse h1 {
    font-size: 1.7rem;
  }

  .column p,
  .column-reverse p {
    font-size: 1.4rem;
    line-height: 1;
  }

  .column .moon-pic {
    width: 240px;
  }

  .car-img {
    width: 60px;
  }

  .hide-bg {
    width: 170px;
  }

  .road-track-img {
    width: 60px;
  }

  .event-box {
    font-size: 14px;
    max-width: 150px;
    padding: 0.6rem;
  }

  .fishing-img {
    width: 220px;
  }

  .column-reverse img {
    width: 200px;
  }
}

@media screen and (min-width: 1301px) and (max-width: 1620px) {
  .column, .column-reverse {
    font-size: 1.5rem;
    padding: 10px;
  }

  .column h1,
  .column-reverse h1 {
    font-size: 1.8rem;
  }

  .column p,
  .column-reverse p {
    font-size: 1.5rem;
    line-height: 1.1;
  }

  .column .moon-pic {
    width: 260px;
  }

  .car-img {
    width: 60px;
  }

  .hide-bg {
    width: 180px;
  }

  .road-track-img {
    width: 70px;
  }

  .event-box {
    font-size: 14px;
    max-width: 150px;
    padding: 0.6rem;
  }

  .fishing-img {
    width: 220px;
  }

  .column-reverse img {
    width: 200px;
  }
}

@media screen and (min-width: 1621px) and (max-width: 1700px) {
  .column, .column-reverse {
    font-size: 1.5rem;
    padding: 10px;
  }

  .column h1,
  .column-reverse h1 {
    font-size: 1.8rem;
  }

  .column p,
  .column-reverse p {
    font-size: 1.5rem;
    line-height: 1.1;
  }

  .column .moon-pic {
    width: 280px;
  }

  .car-img {
    width: 60px;
  }

  .hide-bg {
    width: 180px;
  }

  .road-track-img {
    width: 80px;
  }

  .event-box {
    font-size: 14px;
    max-width: 150px;
    padding: 0.6rem;
  }

  .fishing-img {
    width: 240px;
  }

  .column-reverse img {
    width: 200px;
  }
}

@media screen and (min-width: 1701px) and (max-width: 1860px) {
  .column, .column-reverse {
    font-size: 1.5rem;
    padding: 10px;
  }

  .column h1,
  .column-reverse h1 {
    font-size: 1.9rem;
  }

  .column p,
  .column-reverse p {
    font-size: 1.5rem;
    line-height: 1.5;
  }

  .column .moon-pic {
    width: 280px;
  }

  .car-img {
    width: 70px;
  }

  .hide-bg {
    width: 180px;
  }

  .road-track-img {
    width: 100px;
  }

  .event-box {
    font-size: 17px;
    max-width: 190px;
    padding: 0.9rem;
  }

  .fishing-img {
    width: 240px;
  }

  .column-reverse img {
    width: 200px;
  }
}

