/*@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #fff;

}

button {
  cursor: pointer;
}

.bg {
  width: 100%;
  height: 100vh;

}

.first {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  align-content: center;
}

.section-cont {
  display: flex;
}

.vbg {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.videoBg {
  position: relative;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  /*z-index: -1000; */
  display: block;
}

.vbg .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  /* <-- itt tudod állítani az átlátszóságot */
}

.bookbtn {
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid #297d43;
  background: #44c97a;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
}

.firstContent {
  position: absolute;
  padding: 40px;
  z-index: 0;
}

.firstContent h1 {
  font-size: 60px;
  font-weight: 400;
  color: #fff;
  text-align: center;
}

.firstContent h4 {
  font-size: 25px;
  font-weight: 300;
  color: #fff;
  text-align: center;
}

.content {
  width: 100%;
  height: auto;
  padding: 20px;
  display: flex;
  align-items: center;
  align-content: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #fff;
}

/* Alap szekció */
.bemutatkozas {
  width: 100%;
  min-height: 100vh;
  /* ne vágja le a hosszú szöveget */
  padding: 24px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  background-color: #d2ab67;
  color: #fff;
  box-sizing: border-box;
}

/* Középre húzott max szélesség, hogy nagy monitoron is szép legyen */
.bemutatkozas>.bemut-left,
.bemutatkozas>.marcsi {
  box-sizing: border-box;
}

.bemutatkozas {
  /* “container” érzet – a két oszlop együtt ne menjen végtelenig */
  --maxw: 1200px;
}

.bemutatkozas::before {
  content: "";
  /* vizuálisan nem látszik, csak referenciának */
}

/* Tipográfia – rugalmas méret */
.bemut-left {
  flex: 1 1 0;
  min-width: 0;
  /* flex overflow fix */
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.55;
  max-width: 70ch;
  /* kényelmes olvasási sorhossz */
  overflow-wrap: anywhere;
  /* hosszú szavak/URL-ek nem lógjanak ki */
}

.bemut-left h3 {
  margin: 0 0 12px 0;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
}

/* Jobb oldali kép-doboz */
.marcsi {
  flex: 0 1 420px;
  max-width: 30%;
  border-radius: 8px;
  background-image: url("marcsi.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  filter: drop-shadow(2px 2px 5px #383838);
  min-height: 420px;
}

.wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-image: url("trx2.jpg");
  background-blend-mode: multiply;
  background-color: #38bbb0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.wrapsp {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-image: url("spinning3.png");
  background-blend-mode: multiply;
  background-color: #f35d18;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.wrapbasic {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-image: url("basic1.jpg");
  background-blend-mode: multiply;
  background-color: #faf73c;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.wrapmax {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-image: url("max4.jpg");
  background-blend-mode: multiply;
  background-color: #23f751;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.wrapjoga {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-image: url("joga4.jpg");
  background-blend-mode: multiply;
  background-color: #ff8ccf;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.wrapgerinc {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-image: url("gerinc2.jpg");
  background-blend-mode: multiply;
  background-color: #35bef5;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.wrappilates {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-image: url("pilates2.png");
  background-blend-mode: multiply;
  background-color: #f53535;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.page {
  width: 80%;
  margin: 0 auto;
  margin-top: 100px;
  padding: 30px;
  color: #ffffff;
}

.leir p {
  font-size: 18px;
  font-weight: 600;
}

.pagesp {
  width: 80%;
  margin: 0 auto;
  margin-top: 100px;
  padding: 30px;
  color: #3a3a3a;
}

.card {
  width: 450px;
  height: 350px;
  min-height: 300px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.card h1 {
  color: #fff;
  font-size: 35px;
  font-weight: 900;
  padding: 10px;
  text-align: center;
  line-height: 40px;
}

.card p {
  font-size: 14px;
  color: #fff;
  padding: 10px;
  text-align: center;
  min-height: 200px;
  display: flex;
  align-items: center;
}

.card button {
  padding: 8px 25px;
  border: 1px solid #fff;
  border-radius: 4px;
  background-color: transparent;
  color: #fff;
  font-weight: 500;
}

.trx {
  background-image: url("trx2.png");
  background-blend-mode: multiply;
  background-color: #38bbb0;
  background-repeat: no-repeat;
  background-size: cover;
}

.spinning {
  background-image: url("spinning3.png");
  background-blend-mode: multiply;
  background-color: #f35d18;
  background-repeat: no-repeat;
  background-size: cover;
}

.basic {
  background-image: url("basic1.png");
  background-blend-mode: multiply;
  background-color: #faf73c;
  background-repeat: no-repeat;
  background-size: cover;
}

.max {
  background-image: url("max4.png");
  background-blend-mode: multiply;
  background-color: #23f751;
  background-repeat: no-repeat;
  background-size: cover;
}

.joga {
  background-image: url("joga4.png");
  background-blend-mode: multiply;
  background-color: #ff8ccf;
  background-repeat: no-repeat;
  background-size: cover;
}

.gerinc {
  background-image: url("gerinc2.png");
  background-blend-mode: multiply;
  background-color: #35bef5;
  background-repeat: no-repeat;
  background-size: cover;
}

.pilates {
  background-image: url("pilates2.png");
  background-blend-mode: multiply;
  background-color: #f53535;
  background-repeat: no-repeat;
  background-size: cover;
}

.footer {
  width: 100%;
  height: auto;
  padding: 15px;
  background-color: #2c3e50;
  color: #fff;
  font-size: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-new {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  padding: 30px;
  width: 100%;
  background-color: #2c3e50;
  color: #ffffff;
}

.calendar-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.calendar-nav button {
  background: #d2ab67;
  color: #ffffff;
  border: 1px solid #a78851;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
}

.week-controls button:hover {
  background: #273244;
}

#weekLabel {
  font-weight: 600;
}

.calendar-header {
  text-align: center;
}


.footer-icons {
  display: flex;
  gap: 30px;
  font-weight: 200;
  padding: 30px;
}

.footer-icons a {
  color: #fff;
}

.footer-cont {
  padding: 15px;
}

.footer-cont1 {
  width: 100%;
  display: flex;
  padding: 10px;
  align-items: center;
  justify-content: space-evenly;
}

.contact {
  font-size: 16px;
  color: #fff;
  padding: 15px;
}

.contact li {
  padding: 10px;
}

.circle {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
  width: 55px;
  height: 55px;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
}

.circle:hover {
  transform: scale(1.5);
  color: #23f751;
  border: 2px solid #23f751;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 200px;
  background-color: rgba(255, 255, 255, 0.9);
}

.nav,
.nav .nav-links {
  display: flex;
  align-items: center;
}

.nav {
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

a {
  color: #54646d;
  text-decoration: none;
}

.nav .logo {
  font-size: 22px;
  font-weight: 500;
}

.nav .logo img {
  width: 180px;
}

.nav .nav-links {
  column-gap: 20px;
  list-style: none;
}

.nav .nav-links a {
  transition: all 0.2s linear;
  margin-left: 20px;
}

.nav.openSearch .nav-links a {
  opacity: 0;
  pointer-events: none;
}

.nav .search-icon {
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.nav .search-box {
  position: absolute;
  right: 250px;
  height: 45px;
  max-width: 555px;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s linear;
}

.nav.openSearch .search-box {
  opacity: 1;
  pointer-events: auto;
}

.search-box .search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  left: 15px;
  color: #4a98f7;
  transform: translateY(-50%);
}

.search-box input {
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  border-radius: 6px;
  background-color: #fff;
  padding: 0 15px 0 45px;
}

.nav .navOpenBtn,
.nav .navCloseBtn {
  display: none;
}

/* -----   Média Blokk ------ */

:root {
  --radius: 8px;
  --shadow: 0 8px 28px rgba(0, 0, 0, .12);
  --gap: 18px;
  --overlay: rgba(0, 0, 0, .28);
  /* videó sötétítés mértéke */
  --maxw: 1100px;
}

.media-block {
  max-width: var(--maxw);
  margin: clamp(16px, 3vw, 40px) auto;
  padding: 0 clamp(12px, 2.5vw, 20px);
}

/* Videó doboz */
.media-video {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}

.media-video video {
  width: 100%;
  /* 16:9 arány, kitöltés – szép vágás különböző forrásoknál */
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.media-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 35%, var(--overlay));
  pointer-events: none;
}

/* Galéria rács */
.media-gallery {
  margin-top: var(--gap);
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Töréspontok – 3→2→1 oszlop */
@media (max-width: 960px) {
  .media-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .media-gallery {
    grid-template-columns: 1fr;
  }
}

/* Képkártyák */
.media-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #111;
}

.media-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  /* egységes arány a szép rácshoz */
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.media-card:hover img {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .media-card img {
    transition: none;
  }

  .media-card:hover img {
    transform: none;
  }
}



/* responsive */
@media screen and (max-width: 1160px) {
  .nav {
    padding: 15px 60px;
  }

  .nav .search-box {
    right: 150px;
  }

  .firstContent h1 {
    font-size: 40px;
  }

  .bemut-left {
    font-size: 13px;
  }

  .marcsi {
    max-width: 35%;
  }
}

@media screen and (max-width: 950px) {
  .nav {
    padding: 5px 50px;
  }

  .nav .nav-links a {
    font-size: 14px;
  }

  .nav .search-box {
    right: 100px;
    max-width: 400px;
  }

  .firstContent h1 {
    font-size: 35px;
  }

  .card {
    width: 400px;
  }

  .footer-cont1 {
    flex-direction: column;
  }

  .bemutatkozas {
    gap: 20px;
    padding: 20px;
  }

  .marcsi {
    flex-basis: 360px;
    max-width: 40%;
    min-height: 360px;
  }

  .page {
    width: 100%;
  }

}

@media screen and (max-width: 850px) {
  .firstContent h1 {
    font-size: 30px;
  }

  .nav .nav-links a {
    margin-left: 10px;
    font-size: 12px;
  }
}

@media screen and (max-width: 768px) {

  .nav .navOpenBtn,
  .nav .navCloseBtn {
    display: block;
  }

  .nav {
    padding: 5px 10px;
  }

  .nav .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100%;
    max-width: 45%;
    width: 100%;
    padding-top: 100px;
    row-gap: 20px;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    z-index: 100;
  }

  .nav.openNav .nav-links {
    left: 0;
  }

  .nav .navOpenBtn {
    color: #849daa;
    font-size: 20px;
    cursor: pointer;
  }

  .nav .navCloseBtn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #849daa;
    font-size: 20px;
    cursor: pointer;
  }

  .nav .search-box {
    top: calc(100% + 10px);
    max-width: calc(100% - 20px);
    right: 50%;
    transform: translateX(50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .firstContent h1 {
    font-size: 25px;
  }

  .bemutatkozas {
    flex-direction: column;
    align-items: center;
  }

  .bemut-left {
    max-width: 65ch;
    width: 100%;
  }

  .marcsi {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 3 / 4;
    /* magasság arányos, nem nyomja össze */
    min-height: auto;
    border-radius: 12px;
    background-position: top center;
    /* fej ne legyen levágva */
    background-size: contain;
    /* teljes alak látható legyen */
    background-color: #3498db;
    /* ha oldalt üres rész van, beleolvad a háttérbe */
  }
}

@media screen and (max-width: 540px) {
  .vbg {
    margin-bottom: 5px;
    margin-top: 50px;
  }

  .nav .logo img {
    width: 140px;
  }

  .firstContent h1 {
    font-size: 22px;
  }

  .firstContent h4 {
    font-size: 14px;
  }

  .content {
    padding: 0;
    gap: 0;
  }

  .card {
    border-radius: 0;
    width: 100%;
    padding: 10px;
  }

  .card p {
    padding: 0;
  }

  .bookbtn {
    padding: 10px 15px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
  }

  .bemutatkozas {
    padding: 16px;
    gap: 16px;
  }

  .bemut-left {
    font-size: clamp(14px, 3.8vw, 16px);
  }

  .bemut-left h3 {
    font-size: clamp(18px, 6vw, 24px);
  }

  .marcsi {
    aspect-ratio: 3 / 5;
    max-width: 100%;
    border-radius: 10px;
    background-size: contain;
  }

  .footer {
    font-size: 25px;
  }

  .circle {
    width: 40px;
    height: 40px;
  }

  .contact {
    font-size: 15px;
    color: #fff;
    padding: 5px;
  }

  .map {
    width: 320px;
  }

  .gw {
    width: 320px;
  }

  .calendar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
  }
}

@media screen and (max-width: 420px) {

  .firstContent {
    padding: 10px;
  }

  .firstContent h1 {
    font-size: 18px;
  }

  .firstContent h4 {
    font-size: 12px;
  }

  .card h1 {
    font-size: 30px;
  }

  .card p {
    font-size: 12px;
  }
}