/* eVitality custom overrides — loaded last, after style.css + skin-1.css */

/* ---- Hero FITNESS watermark: STATIC (no pulse/float), subtle red ---- */
.main-bnr-one .banner-inner .data-text,
.main-bnr-one .banner-inner .data-text span {
  animation: none !important;
}
.main-bnr-one .banner-inner .data-text {
  color: rgba(255, 45, 45, 0.10) !important;
  opacity: 1 !important;
  -webkit-text-stroke: 1px rgba(255, 45, 45, 0.28);
  filter: none !important;
}

/* ---- Mobile hero: title clears the fixed navbar, tidy stacked layout ---- */
@media only screen and (max-width: 991px) {
  .main-bnr-one .banner-inner {
    min-height: auto !important;
    padding-top: 96px !important;
    padding-bottom: 36px !important;
  }
  /* image on TOP, text BELOW */
  .main-bnr-one .banner-row {
    flex-direction: column-reverse !important;
  }
  .main-bnr-one .banner-media,
  .main-bnr-one .media1 {
    position: relative !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
  }
  .main-bnr-one .banner-content {
    position: relative;
    z-index: 3;
    margin-top: -8px;
    text-align: center;
  }
  .main-bnr-one .banner-content .d-flex {
    justify-content: center;
  }
  /* the giant background word breaks the phone layout — hide on mobile */
  .main-bnr-one .banner-inner .data-text {
    display: none !important;
  }
}

/* ---- "Tökéletes edző" section (about-bx1): KEEP the FITNESZ/EGÉSZSÉG
        visual, just contain it in a tidy card; lighten the text panel
        on mobile so the copy is readable over the background ---- */
@media only screen and (max-width: 991px) {
  .about-bx1 .dz-media {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    max-width: 440px;
    margin: 0 auto 26px !important;
  }
  .about-bx1 .dz-media img {
    width: 100% !important;
  }
  .about-bx1 .about-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 26px 20px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
  }
  .about-bx1 .section-head .title,
  .about-bx1 .about-content p {
    color: #1c1c1c !important;
  }
}

/* ---- Mobile contrast on image-backed section (Rólam) ---- */
@media only screen and (max-width: 767px) {
  .about-wrapper2 {
    position: relative;
  }
  .about-wrapper2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
  }
  .about-wrapper2 .container {
    position: relative;
    z-index: 1;
  }
}

/* ---- Lead form: clean, refined card ---- */
.ev-lead {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  padding: 40px;
  border: 1px solid #ececec;
}
@media only screen and (max-width: 575px) {
  .ev-lead {
    padding: 24px;
  }
}
.ev-lead .ev-field {
  margin-bottom: 16px;
}
.ev-lead label {
  display: block;
  font-family: Oswald, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 7px;
}
.ev-lead input,
.ev-lead select {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  font-size: 16px;
  color: #1c1c1c;
  background: #f6f6f7;
  border: 2px solid #ececec;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.ev-lead select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.ev-lead input:focus,
.ev-lead select:focus {
  border-color: var(--primary);
  background: #fff;
}
.ev-lead input::placeholder {
  color: #9a9a9a;
}
.ev-lead .ev-submit {
  width: 100%;
  height: 58px;
  margin-top: 8px;
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-family: Oswald, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.ev-lead .ev-submit:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}
.ev-lead .ev-ok {
  margin: 16px 0 0;
  color: var(--primary);
  font-weight: 600;
}

/* ---- BMI calculator ---- */
.ev-bmi {
  background: #15110f;
  border-radius: 20px;
  padding: 48px 40px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media only screen and (max-width: 575px) {
  .ev-bmi {
    padding: 32px 22px;
  }
}
.ev-bmi h2 {
  color: #fff;
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ev-bmi h2 span {
  color: var(--primary);
}
.ev-bmi .ev-bmi-sub {
  color: #b9b3af;
  margin-bottom: 28px;
}
.ev-bmi-grid {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 560px;
  margin: 0 auto;
}
.ev-bmi-grid input {
  flex: 1 1 150px;
  height: 56px;
  padding: 0 18px;
  font-size: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  outline: none;
}
.ev-bmi-grid input::placeholder {
  color: #8d8884;
}
.ev-bmi-grid input:focus {
  border-color: var(--primary);
}
.ev-bmi button {
  margin-top: 22px;
  height: 56px;
  padding: 0 40px;
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-family: Oswald, sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.ev-bmi button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}
.ev-bmi-result {
  margin-top: 28px;
  font-size: 18px;
}
.ev-bmi-result strong {
  display: block;
  font-family: Oswald, sans-serif;
  font-size: 52px;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 6px;
}

/* ===== Minimal header: transparent -> sticky bar with logo + CTA ===== */
.ev-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 22px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.ev-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ev-header .ev-logo {
  display: inline-flex;
  align-items: center;
}
.ev-header.is-stuck {
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}
.ev-cta {
  display: inline-block;
  background: var(--primary);
  color: #fff !important;
  font-family: Oswald, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
}
.ev-header.is-stuck .ev-cta {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.ev-cta:hover {
  background: var(--primary-hover);
}
@media only screen and (max-width: 575px) {
  .ev-header {
    padding: 16px 0;
  }
  .ev-cta {
    font-size: 12px;
    padding: 11px 18px;
  }
}

/* ===== Testimonial section: tidy on mobile (kill scattered decor) ===== */
@media only screen and (max-width: 991px) {
  .testimonial-wrapper1 .avatar1,
  .testimonial-wrapper1 .avatar2,
  .testimonial-wrapper1 .avatar3,
  .testimonial-wrapper1 .avatar4,
  .testimonial-wrapper1 .avatar5,
  .testimonial-wrapper1 .avatar6,
  .testimonial-wrapper1 .svg-shape,
  .testimonial-wrapper1 .svg-shape-2 {
    display: none !important;
  }
  .testimonial-1 {
    padding: 10px 14px;
    text-align: center;
  }
  .testimonial-1 .testimonial-text {
    max-width: 100% !important;
  }
  .testimonial-swiper,
  .testimonial-swiper .swiper-slide {
    width: 100% !important;
  }
}

/* ===== Services detail modal ===== */
.ev-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(15, 12, 11, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: evFade 0.2s ease;
}
@keyframes evFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.ev-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 560px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  animation: evPop 0.22s ease;
}
@keyframes evPop {
  from {
    transform: translateY(14px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@media only screen and (max-width: 575px) {
  .ev-modal {
    padding: 28px 22px;
  }
}
.ev-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f3f3f4;
  color: #333;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.ev-modal-close:hover {
  background: var(--primary);
  color: #fff;
}
.ev-modal .ev-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--rgba-primary-1, rgba(255, 45, 45, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.ev-modal .ev-modal-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.ev-modal h3 {
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  color: #1c1c1c;
  font-size: 26px;
  margin: 0 0 14px;
}
.ev-modal p {
  color: #5a5a5a;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 14px;
}
.ev-modal .ev-modal-cta {
  display: inline-block;
  margin-top: 10px;
  background: var(--primary);
  color: #fff !important;
  font-family: Oswald, sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}
.ev-modal .ev-modal-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}
