/* Kiegészítő animációk és dizájn-elemek — az eredeti Divi-stílus FÖLÖTT, azt nem módosítva */

/* Görgetésre megjelenő tartalmi sorok */
.kp-x-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.kp-x-reveal.kp-x-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .kp-x-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Finom gomb-hover az összes Divi gombra */
.et_pb_button, .et_pb_button_bottom {
  transition: transform .2s ease, box-shadow .2s ease !important;
}
.et_pb_button:hover, .et_pb_button_bottom:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(190, 27, 4, 0.22);
}

/* Kép hover finom nagyítás */
.et_pb_image .et_pb_image_wrap {
  display: block;
  overflow: hidden;
  border-radius: 16px;
}
.et_pb_image img {
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.et_pb_image:hover img {
  transform: scale(1.04);
}

/* Fejléc finom árnyék, amint elgörgetünk alóla */
#main-header {
  transition: box-shadow .25s ease;
}
#main-header.kp-x-scrolled {
  box-shadow: 0 4px 18px rgba(74, 52, 40, 0.1);
}

/* Vissza a tetejére gomb */
.kp-x-top-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #be1b04;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(74, 30, 15, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 9999;
  text-decoration: none;
}
.kp-x-top-btn.kp-x-show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.kp-x-top-btn:hover { background: #8f1503; transform: translateY(-3px); }
@media (max-width: 640px) {
  .kp-x-top-btn { width: 44px; height: 44px; bottom: 18px; right: 18px; }
}

/* Foglalás-popup gomb enyhe lüktetése, hogy felhívja magára a figyelmet */
@keyframes kp-x-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(190, 27, 4, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(190, 27, 4, 0); }
}
.kp-x-pulse { animation: kp-x-pulse 2.6s ease-in-out 3; }

/* Aloldal-áthidaló finom betöltés (a teljes oldal enyhe fade-in-je) */
body { animation: kp-x-body-fade .5s ease; }
@keyframes kp-x-body-fade { from { opacity: 0; } to { opacity: 1; } }
